Releases: alpine-collective/alpine-magic-helpers
v0.3.6
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
Fixed:
[$parent/$component
]: Updated an incorrect null check on the proxy get trap
v0.3.4
Fixed:
[$parent/$component
]: Added support for deep prop updating ($parent.square.color === 'orange'
)
v0.3.3
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
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
Adds a fix for $parent
where in some cases it would read from sibling data
v0.3.0
Adds $component()
and $parent
magic helpers
v0.2.1
Adds missing third parameter to make $truncate
work more like Str::limit()
from Laravel
v0.2.0
Adds ellipsis (…) to $truncate, which is also customizable.
v0.1.1
Update build files