diff --git a/CHANGELOG.md b/CHANGELOG.md index acc5c4e..62ff758 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Release Notes for Sprig +## 2.13.0 - 2024-08-29 + +### Added + +- Added the ability to assign an ID to a component by passing a string as the third argument to the `sprig()` function. + +### Changed + +- Updated htmx to version 2.0.2 ([changelog](https://github.com/bigskysoftware/htmx/blob/master/CHANGELOG.md#202---2024-08-12)). + +### Fixed + +- Fixed the positioning of the JavaScript output by the `sprig.triggerRefreshOnLoad` function. + +### Deprecated + +- Deprecated `sprig.getIsBoosted`, `sprig.getIsError`, `sprig.getIsHistoryRestoreRequest`, `sprig.getIsInclude`, `sprig.getIsRequest`, `sprig.getIsSuccess`. Use `sprig.isBoosted`, `sprig.isError`, `sprig.isHistoryRestoreRequest`, `sprig.isInclude`, `sprig.isRequest`, `sprig.isSuccess` instead. + ## 2.12.0 - 2024-08-20 ### Changed diff --git a/composer.json b/composer.json index 5b6e86f..f20ce8d 100644 --- a/composer.json +++ b/composer.json @@ -1,14 +1,14 @@ { "name": "putyourlightson/craft-sprig", "description": "A reactive Twig component framework for Craft.", - "version": "2.12.0", + "version": "2.13.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.11.0" + "putyourlightson/craft-sprig-core": "^2.12.0" }, "require-dev": { "craftcms/ecs": "dev-main",