- Added the
location
Twig tag. - Added the
sleep
Twig tag.
- Added the
datastar.signals()
anddatastar.signalsFromClass()
methods.
- Fixed a bug in which templates were not being correctly rendered (#2).
- Added CSRF protection to all non-GET requests to the Datastar controller action.
- Fixed a bug that was resulting in an infinite loop when validating variables containing arrays (#3).
- Added the
datastar.get()
,datastar.post()
,datastar.put()
,datastar.patch()
anddatastar.delete()
methods, which replacedatastar.sse()
.
- 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.
- Added the ability to expose the Datastar object by attaching it to the
window
element.
- The plugin now requires Datastar 0.21.3.
- Require Datastar 0.21.2.
- Require Datastar 0.20.1.
- Initial functional release.
- Initial alpha release.