Skip to content

v0.4.0

Compare
Choose a tag to compare
@Accudio Accudio released this 24 Sep 12:28
· 29 commits to main since this release
a0c5b7d

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