Skip to content

Commit 39adafa

Browse files
committed
3.4.0
1 parent 6c655bf commit 39adafa

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.md

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

3+
## 3.4.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
## 3.3.0 - 2024-08-08
411

512
### Added
@@ -16,7 +23,7 @@
1623

1724
### Changed
1825

19-
- The `sprig.swapOob()` function now accepts a string in addition to a template to be rendered, in the second argument.
26+
- The `sprig.swapOob()` function now accepts a string, in addition to a template to be rendered, in the second argument.
2027

2128
## 3.2.0 - 2024-08-01
2229

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": "3.3.0",
4+
"version": "3.4.0",
55
"type": "craft-plugin",
66
"license": "mit",
77
"require": {
88
"php": "^8.2",
99
"craftcms/cms": "^5.0",
1010
"nystudio107/craft-code-editor": "^1.0",
11-
"putyourlightson/craft-sprig-core": "^3.3.0"
11+
"putyourlightson/craft-sprig-core": "^3.4.0"
1212
},
1313
"require-dev": {
1414
"craftcms/ecs": "dev-main",

0 commit comments

Comments
 (0)