Skip to content

Commit

Permalink
3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Apr 8, 2024
1 parent 35cb9d0 commit 1f27df0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 52 deletions.
1 change: 0 additions & 1 deletion .github/workflows/code-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:
branches:
- develop
- v3
workflow_dispatch:
permissions:
contents: read
Expand Down
21 changes: 0 additions & 21 deletions CHANGELOG-WIP.md

This file was deleted.

29 changes: 5 additions & 24 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,12 @@
# Release Notes for Sprig

## 3.0.0-beta.2 - 2024-03-26

### Fixed

- Fixed the site selector dropdown.

### Removed

- Removed the `success` variable. Use `sprig.isSuccess` or `sprig.isError` instead.
- Removed the `flashes` variable. Use `sprig.message` or `craft.app.session.flash()` instead.
- Removed the `id` variable. Use `sprig.modelId` instead.

## 3.0.0-beta.1 - 2024-02-14
## 3.0.0 - 2024-04-08

> {warning} Template caches and static page caches should be cleared after performing this update.
### Added

- Added compatibility with Craft 5.0.0.
- Added the `sprig.isSuccess` variable.
- Added the `sprig.isError` variable.
- Added the `sprig.message` variable.
- Added the `sprig.modelId` variable.
- Added compatibility with Craft 5.

### Changed

Expand All @@ -32,9 +16,6 @@

- Removed the `sprig.script` variable.
- Removed the `s-on` attribute.

### Deprecated

- Deprecated the `success` variable. Use `sprig.isSuccess` or `sprig.isError` instead.
- Deprecated the `flashes` variable. Use `sprig.message` or `craft.app.session.flash()` instead.
- Deprecated the `id` variable. Use `sprig.modelId` instead.
- Removed the `success` variable. Use `sprig.isSuccess` or `sprig.isError` instead.
- Removed the `flashes` variable. Use `sprig.message` instead.
- Removed the `id` variable. Use `sprig.modelId` instead.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Stable Version](https://img.shields.io/packagist/v/putyourlightson/craft-sprig?label=stable)]((https://packagist.org/packages/putyourlightson/craft-sprig))
[![Total Downloads](https://img.shields.io/packagist/dt/putyourlightson/craft-sprig)](https://packagist.org/packages/putyourlightson/craft-sprig)

<p align="center"><img width="150" src="https://raw.githubusercontent.com/putyourlightson/craft-sprig/v1/src/icon.svg"></p>
<p align="center"><img width="150" src="https://raw.githubusercontent.com/putyourlightson/craft-sprig/develop/src/icon.svg"></p>

# Sprig Plugin for Craft CMS

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "putyourlightson/craft-sprig",
"description": "A reactive Twig component framework for Craft.",
"version": "3.0.0-beta.2",
"version": "3.0.0",
"type": "craft-plugin",
"license": "mit",
"require": {
"php": "^8.2",
"craftcms/cms": "^5.0.0",
"nystudio107/craft-code-editor": "^1.0.0",
"putyourlightson/craft-sprig-core": "^3.0.0-beta.2"
"craftcms/cms": "^5.0",
"nystudio107/craft-code-editor": "^1.0",
"putyourlightson/craft-sprig-core": "^3.0"
},
"require-dev": {
"craftcms/ecs": "dev-main",
Expand Down Expand Up @@ -44,7 +44,7 @@
"developer": "PutYourLightsOn",
"developerUrl": "https://putyourlightson.com/",
"documentationUrl": "https://putyourlightson.com/plugins/sprig",
"changelogUrl": "https://raw.githubusercontent.com/putyourlightson/craft-sprig/v3/CHANGELOG.md",
"changelogUrl": "https://raw.githubusercontent.com/putyourlightson/craft-sprig/develop/CHANGELOG.md",
"class": "putyourlightson\\sprig\\plugin\\Sprig"
}
}

0 comments on commit 1f27df0

Please sign in to comment.