This minor release continues to sand down some rough edges in Alpine AJAX:
x-target will now initialize an Alpine component without requiring x-init or x-data. While this isn't a breaking change, you may want to remove unnecessary x-init’s in your code:
<!-- Before -->
<form x-init x-target="...">
</form>
We've fixed some edge cases around response caching. Now Alpine AJAX can further reduce the number of requests hitting the server when multiple components fetch from the same endpoint.
Here's a secret for anybody reading these release notes: I just recorded a 30min walkthrough on how to build apps with Alpine AJAX. It'll go up on the documentation site soon but you can watch it here now: https://www.youtube.com/watch?v=vNiZyFVmoOI
This patch release fixes an edge case where the wrong element with autofocus could receive focus when multiple elements having autofocus children are targeted.
v0.8.1
Alpine AJAX automatically disables form submit buttons while an AJAX request is in flight. This patch release fixes an issue where submit buttons are not properly re-enabled when a request is aborted mid-flight.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @imacrayon/alpine-ajax from 0.8.0 to 0.9.0.
Release notes
Sourced from
@imacrayon/alpine-ajax
's releases.Commits
ec52e82
Bump version9949ab5
Remove redundantx-init
from docs & testsc982e0c
Remove thex-init
requirement35949b5
Bundle redirect responsesfb5b7c1
Fix nested autofocus with multiple targets54f1bd9
Re-enable the submitter when a request is aborted5bc8959
Remove redundantaria-live="polite"
caeff34
Target the correct parent element for removal7a67e4b
Dynamically insert version numbers in docsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show