Skip to content

Releases: Accudio/async-alpine

v0.5.3

02 Oct 15:31
a559ad7
Compare
Choose a tag to compare

Compiled from three previous versions:

New Features

  • .url() function as a shorthand way of specifying component URLs once in JavaScript instead of on every component with inline.
  • .alias() function allowing component loading to default to requesting a URL based on format and the component name.
  • Allowed Async Alpine to load any elements, not just components with JavaScript modules. See Advanced usage and options for more info.

v0.4.1

27 Sep 14:15
ae3c304
Compare
Choose a tag to compare

See v0.4.0 for breaking changes since 0.3.

Fixes

  • #22—replacing body element removes mutation observer

v0.4.0

24 Sep 12:28
a0c5b7d
Compare
Choose a tag to compare

Async Alpine has been completely rewritten to offer a better and more flexible API and syntax, support for dynamic content added after load—like client-side routers—and a new .data() API that improves support for build tools. The rewrite has also significantly improved the speed and size of the plugin.

New Features:

  • Adds support for dynamically-added content, including client-side routing;
  • Adds method to register components that handle their own downloads using .data('name', callback);
  • Added the ability to specify options object for script installation method.

Tweaks and Fixes

  • API to initialise and start has changed to be more similar to Alpine;
  • Significant size, speed and efficiency improvements;
  • Re-architecture makes the project easier, more understandable and more extensible;
  • Fixed relative component URLs when Async Alpine is loaded from a different origin than the page;

Upgrade

This version has major breaking changes and changes the API and how you declare components. Check out the Readme for updated documentation. Breaking changes:

  • The x-ignore attribute is required on all Async Alpine components;
  • Removed the 'parent' strategy—now nested components can only initialise when their ancestors have;
  • API to initialise and start has changed

0.3.0

25 May 16:37
9c72960
Compare
Choose a tag to compare

Added:

  • Test pages to repo
  • Custom prefix for Async Alpine
  • parents strategy

Fix:

  • Supports :class and @click shorthands