1.0.0-RC.1
Pre-release
Pre-release
·
7 commits
to develop
since this release
- 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.