Skip to content

Releases: alpine-collective/alpine-magic-helpers

v0.3.6

03 Nov 19:07
Compare
Choose a tag to compare
v0.3.6 Pre-release
Pre-release

Fixed

  • Removed CharacterData option from mutation observer to match Alpine core
  • Fixed error where null values were throwing an error on proxy

Changed

  • Switched from using Laravel Mix using rollup.js
  • Switched from Using LiveReload to Browsersync

Added

  • Added this changelog
  • Added Jest and added some tests for each helper
  • Added esLint (+ husky and lint-staged to run the linter before each commits) and fixed code standard errors
  • Added workflow to automate README update and publish new versions to npm

v0.3.5

28 Sep 16:00
d18282c
Compare
Choose a tag to compare
v0.3.5 Pre-release
Pre-release

Fixed:
[$parent/$component]: Updated an incorrect null check on the proxy get trap

v0.3.4

26 Sep 11:17
32c71f1
Compare
Choose a tag to compare
v0.3.4 Pre-release
Pre-release

Fixed:
[$parent/$component]: Added support for deep prop updating ($parent.square.color === 'orange')

v0.3.3

21 Sep 06:47
a6c20bd
Compare
Choose a tag to compare
v0.3.3 Pre-release
Pre-release

Changed:
[$parent]: Now returns a proxy on initial call instead of the data object so it's useful on the first call.

v0.3.2

10 Sep 05:52
2698130
Compare
Choose a tag to compare
v0.3.2 Pre-release
Pre-release

Fixes:
Adds a refresh attribute to each watched component so that a mutation will always fire when the data changes.
Adds a check whether the magic property already exists
Fixes a scenario when both a nested component and an external component attempt to watch the same component

v0.3.1

23 Aug 05:51
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release

Adds a fix for $parent where in some cases it would read from sibling data

v0.3.0

21 Aug 16:18
9febeb7
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Adds $component() and $parent magic helpers

v0.2.1

17 Aug 21:20
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release

Adds missing third parameter to make $truncate work more like Str::limit() from Laravel

v0.2.0

17 Aug 20:47
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Adds ellipsis (…) to $truncate, which is also customizable.

v0.1.1

17 Aug 13:53
Compare
Choose a tag to compare
v0.1.1 Pre-release
Pre-release

Update build files