Skip to content

Commit c6ca31a

Browse files
committed
2.12.0
1 parent d2fe2a4 commit c6ca31a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Release Notes for Sprig
22

3+
## 2.12.0 - 2024-08-20
4+
5+
### Changed
6+
7+
- 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.
8+
- Components no longer render markup added via `{% html %}`, `{% css %}` and `{% js %}` tags during Sprig requests.
9+
310
## 2.11.0 - 2024-08-08
411

512
### Added

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "putyourlightson/craft-sprig",
33
"description": "A reactive Twig component framework for Craft.",
4-
"version": "2.11.0",
4+
"version": "2.12.0",
55
"type": "craft-plugin",
66
"license": "mit",
77
"require": {
88
"php": "^8.0.2",
99
"craftcms/cms": "^4.0",
1010
"nystudio107/craft-code-editor": "^1.0.0",
11-
"putyourlightson/craft-sprig-core": "^2.10.0"
11+
"putyourlightson/craft-sprig-core": "^2.11.0"
1212
},
1313
"require-dev": {
1414
"craftcms/ecs": "dev-main",

0 commit comments

Comments
 (0)