-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,28 @@ | ||
# Release Notes for Sprig | ||
|
||
## 3.0.0 - Unreleased | ||
## 3.0.0-beta.1 - Unreleased | ||
|
||
> {warning} Flash messages are no longer returned when calling controller actions. The `message` variable should be used instead. | ||
> {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. | ||
|
||
### Changed | ||
|
||
- Flash messages are no longer returned when calling controller actions. The `message` variable should be used instead. | ||
- Requests that accept JSON responses are now used when running controller actions ([#301](https://github.com/putyourlightson/craft-sprig/issues/301)). | ||
- Changed how the component configuration is encoded. | ||
|
||
### Removed | ||
|
||
- 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. |