Skip to content

Commit

Permalink
Add default sse method
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Dec 5, 2024
1 parent ccdd0d7 commit 887b9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ We’ve overhauled Datastar in v0.21.0, doubling down on making nestable signals
- Renamed the `data-bind` attribute to `data-attributes`.
- Renamed the `data-model` attribute to `data-bind`.
- Changed the `data-*` attribute modifier delimiter from `.` to `:` (`data-on-keydown:debounce_100ms:throttle_lead="value"`).
- The the `get()`, `post()`, `put()`, and `delete()` plugins have been replaced by a single `sse()` plugin that accepts the method as an option (`sse(url, {method="get"})`).
- The the `get()`, `post()`, `put()`, and `delete()` plugins have been replaced by a single `sse()` plugin that accepts the method as an option (`sse(url, {method: 'post'})`), defaulting to `get`.
- The `setAll()` and `toggleAll` plugins now accept a dot-delimited path format, instead of a regular expression.

### Fixed
Expand Down

0 comments on commit 887b9f7

Please sign in to comment.