Skip to content

Releases: putyourlightson/craft-sprig-core

3.5.3

19 Jan 13:54
3.5.3
c6a1daf
Compare
Choose a tag to compare

Fixed

  • Fixed a bug in which s-action attributes were being inherited by descendent elements (#408).

3.5.2

23 Oct 18:52
3.5.2
0d34434
Compare
Choose a tag to compare

Changed

  • Updated htmx to version 2.0.3 (changelog).
  • The fetch function is now called inside an event listener when calling sprig.triggerRefreshOnLoad(), making it more robust.
  • Reverted some variable method name changes to improve autocompletion in PhpStorm.

2.12.4

23 Oct 18:59
2.12.4
f09fdff
Compare
Choose a tag to compare

Changed

  • Updated htmx to version 2.0.3 (changelog).
  • The fetch function is now called inside an event listener when calling sprig.triggerRefreshOnLoad(), making it more robust.
  • Reverted some variable method name changes to improve autocompletion in PhpStorm.

2.12.3

19 Sep 17:54
2.12.3
f125ae3
Compare
Choose a tag to compare

Fixed

  • Fixed a missing import (#16.

2.12.2

17 Sep 06:00
2.12.2
52ff31a
Compare
Choose a tag to compare

Changed

  • Reverted the removal of the sprig.script function (#391.

3.5.1

11 Sep 11:53
3.5.1
2f6e18f
Compare
Choose a tag to compare

Fixed

  • Fixed the ability to pass a JSON encoded string into the sprig.triggerEvents() function (#15.

2.12.1

11 Sep 11:53
2.12.1
5db7e78
Compare
Choose a tag to compare

Fixed

  • Fixed the ability to pass a JSON encoded string into the sprig.triggerEvents() function (#15.

3.5.0

29 Aug 07:37
3.5.0
cdf6e05
Compare
Choose a tag to compare

Added

  • Added the ability to assign an ID to a component by passing a string as the third argument to the sprig() function.

Changed

Fixed

  • Fixed the positioning of the JavaScript output by the sprig.triggerRefreshOnLoad function.

Deprecated

  • Deprecated sprig.getIsBoosted, sprig.getIsError, sprig.getIsHistoryRestoreRequest, sprig.getIsInclude, sprig.getIsRequest, sprig.getIsSuccess. Use sprig.isBoosted, sprig.isError, sprig.isHistoryRestoreRequest, sprig.isInclude, sprig.isRequest, sprig.isSuccess instead.

2.12.0

29 Aug 11:34
2.12.0
513f544
Compare
Choose a tag to compare

Added

  • Added the ability to assign an ID to a component by passing a string as the third argument to the sprig() function.

Changed

Fixed

  • Fixed the positioning of the JavaScript output by the sprig.triggerRefreshOnLoad function.

Deprecated

  • Deprecated sprig.getIsBoosted, sprig.getIsError, sprig.getIsHistoryRestoreRequest, sprig.getIsInclude, sprig.getIsRequest, sprig.getIsSuccess. Use sprig.isBoosted, sprig.isError, sprig.isHistoryRestoreRequest, sprig.isInclude, sprig.isRequest, sprig.isSuccess instead.

3.4.1

20 Aug 18:31
3.4.1
8dc409c
Compare
Choose a tag to compare

Fixed

  • Fixed a bug that was breaking the Sprig variable in the browser console with devMode enabled.