Skip to content

Commit

Permalink
2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Mar 27, 2024
1 parent e2f08b4 commit 930406d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Release Notes for Sprig

## 2.8.0 - 2024-03-26

### Added

- Added the `sprig.isSuccess` variable.
- Added the `sprig.isError` variable.
- Added the `sprig.message` variable.
- Added the `sprig.modelId` variable.

### 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.

## 2.7.3 - 2023-12-12

### Added
Expand Down
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/v2/src/icon.svg"></p>

# Sprig Plugin for Craft CMS

Expand Down
4 changes: 2 additions & 2 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": "2.7.3",
"version": "2.8.0",
"type": "craft-plugin",
"license": "mit",
"require": {
"php": "^8.0.2",
"craftcms/cms": "^4.0",
"nystudio107/craft-code-editor": "^1.0.0",
"putyourlightson/craft-sprig-core": "^2.6.4"
"putyourlightson/craft-sprig-core": "^2.7.0"
},
"require-dev": {
"craftcms/ecs": "dev-main",
Expand Down

0 comments on commit 930406d

Please sign in to comment.