Skip to content

Releases: alpine-collective/alpine-magic-helpers

v0.3.6

v0.3.6 Pre-release
Pre-release

Choose a tag to compare

@KevinBatdorf KevinBatdorf released this 03 Nov 19:07

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

v0.3.5 Pre-release
Pre-release

Choose a tag to compare

@KevinBatdorf KevinBatdorf released this 28 Sep 16:00
d18282c

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

v0.3.4

v0.3.4 Pre-release
Pre-release

Choose a tag to compare

@KevinBatdorf KevinBatdorf released this 26 Sep 11:17
32c71f1

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

v0.3.3

v0.3.3 Pre-release
Pre-release

Choose a tag to compare

@KevinBatdorf KevinBatdorf released this 21 Sep 06:47
a6c20bd

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

v0.3.2 Pre-release
Pre-release

Choose a tag to compare

@KevinBatdorf KevinBatdorf released this 10 Sep 05:52
2698130

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

v0.3.1 Pre-release
Pre-release

Choose a tag to compare

@KevinBatdorf KevinBatdorf released this 23 Aug 05:51

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

v0.3.0

v0.3.0 Pre-release
Pre-release

Choose a tag to compare

@KevinBatdorf KevinBatdorf released this 21 Aug 16:18
9febeb7

Adds $component() and $parent magic helpers

v0.2.1

v0.2.1 Pre-release
Pre-release

Choose a tag to compare

@KevinBatdorf KevinBatdorf released this 17 Aug 21:20

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

v0.2.0

v0.2.0 Pre-release
Pre-release

Choose a tag to compare

@KevinBatdorf KevinBatdorf released this 17 Aug 20:47

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

v0.1.1

v0.1.1 Pre-release
Pre-release

Choose a tag to compare

@KevinBatdorf KevinBatdorf released this 17 Aug 13:53

Update build files