Skip to content

Commit

Permalink
2.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Aug 20, 2024
1 parent d2fe2a4 commit c6ca31a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Release Notes for Sprig

## 2.12.0 - 2024-08-20

### Changed

- The `sprig.registerJs(js)` function now executes the registered JavaScript after htmx settles, and is now the recommended way of outputting JavaScript in Sprig components.
- Components no longer render markup added via `{% html %}`, `{% css %}` and `{% js %}` tags during Sprig requests.

## 2.11.0 - 2024-08-08

### Added
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.11.0",
"version": "2.12.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.10.0"
"putyourlightson/craft-sprig-core": "^2.11.0"
},
"require-dev": {
"craftcms/ecs": "dev-main",
Expand Down

0 comments on commit c6ca31a

Please sign in to comment.