Skip to content

Commit

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

## 2.11.0 - 2024-08-08

### Added

- Added the component configurations to a `Sprig` variable in the browser console when `devMode` is enabled.
- Added the ability to pass any value into `s-method`, including the `put`, `patch` and `delete` verbs.
- Added the `sprig.registerJs(js)` function.

### Changed

- The `sprig.triggerRefresh(selector, variables)` function now prevents cyclical requests.

## 2.10.1 - 2024-08-06

### Changed
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.10.1",
"version": "2.11.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.9.0"
"putyourlightson/craft-sprig-core": "^2.10.0"
},
"require-dev": {
"craftcms/ecs": "dev-main",
Expand Down

0 comments on commit d2fe2a4

Please sign in to comment.