Releases: Accudio/async-alpine
Releases · Accudio/async-alpine
v0.5.3
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
v0.4.0
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