Skip to content

Commit

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

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

## 3.3.0 - 2024-08-08

### Added
Expand All @@ -16,7 +23,7 @@

### Changed

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

## 3.2.0 - 2024-08-01

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": "3.3.0",
"version": "3.4.0",
"type": "craft-plugin",
"license": "mit",
"require": {
"php": "^8.2",
"craftcms/cms": "^5.0",
"nystudio107/craft-code-editor": "^1.0",
"putyourlightson/craft-sprig-core": "^3.3.0"
"putyourlightson/craft-sprig-core": "^3.4.0"
},
"require-dev": {
"craftcms/ecs": "dev-main",
Expand Down

0 comments on commit 39adafa

Please sign in to comment.