- Fixed a bug in which some
sprig
variables were incorrectly persisting across requests (#363).
{warning} Template caches and static page caches should be cleared after performing this update.
- Added compatibility with Craft 5.
- Changed how the component configuration is encoded.
- Removed the
sprig.script
variable. - Removed the
s-on
attribute. - Removed the
success
variable. Usesprig.isSuccess
orsprig.isError
instead. - Removed the
flashes
variable. Usesprig.message
instead. - Removed the
id
variable. Usesprig.modelId
instead.