Version 1.0.0-RC.2
July 16, 2025
- The plugin now includes Datastar 1.0.0-RC.2.
Version 1.0.0-RC.1
July 15, 2025
- The plugin now requires Datastar 1.0.0-RC.1 or later, and Craft CMS 5.4.0 or later.
- Added the
patchsignals
Twig tag. - Added the
removeelements
Twig tag. - Renamed the
fragments
Twig tag topatchelements
. - Renamed the
defaultFragmentOptions
config setting todefaultElementOptions
. - Removed the
datastar.signals()
anddatastar.signalsFromClass()
methods. Use the|json_encode
filter instead. - Removed the
SignalsModel
class. Thesignals
variable passed into Datastar templates is now a regular array. Use thepatchsignals
Twig tag to update and remove signals.
Version 1.0.0-beta.9
March 29, 2025
Changed
- Control panel requests now use the
data-star-*
aliased bundle.
Removed
- Removed the
settleDuration
fragment option.
Version 1.0.0-beta.8
February 25, 2025
Removed
- Removed the ability to expose the Datastar object, since the framework no longer exposes it.
Version 1.0.0-beta.7
February 1, 2025
Added
- Added the
location
Twig tag. - Added the
sleep
Twig tag.
Version 1.0.0-beta.6
January 18, 2025
Added
- Added the
datastar.signals()
anddatastar.signalsFromClass()
methods.
Version 1.0.0-beta.5
January 6, 2025
Fixed
- Fixed a bug in which templates were not being correctly rendered (#2).
Version 1.0.0-beta.4
January 5, 2025
Added
- Added CSRF protection to all non-GET requests to the Datastar controller action.
Fixed
- Fixed a bug that was resulting in an infinite loop when validating variables containing arrays (#3).
Version 1.0.0-beta.3
January 2, 2025
Added
- Added the
datastar.get()
,datastar.post()
,datastar.put()
,datastar.patch()
anddatastar.delete()
methods, which replacedatastar.sse()
.
Changed
- The
datastar.sse()
method has been removed. - Query and body params are no longer removed when the request content type is not JSON.
- The plugin now requires Datastar v1.0.0-beta.1.
Version 1.0.0-beta.2
December 17, 2024
Added
- Added the ability to expose the Datastar object by attaching it to the
window
element.
Changed
- The plugin now requires Datastar 0.21.3.
Version 1.0.0-beta.1
December 11, 2024
- Require Datastar 0.21.2.
Version 1.0.0-alpha.3
November 26, 2024
- Require Datastar 0.20.1.
Version 1.0.0-alpha.2
November 24, 2024
- Initial functional release.
Version 1.0.0-alpha.1
November 22, 2024
- Initial alpha release.