foxcoverts / climbing-team

Activity team bookings management site.
https://climbfoxcoverts.co.uk/
MIT License
2 stars 0 forks source link

Bump @imacrayon/alpine-ajax from 0.8.0 to 0.9.0 #227

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps @imacrayon/alpine-ajax from 0.8.0 to 0.9.0.

Release notes

Sourced from @​imacrayon/alpine-ajax's releases.

v0.9.0

This minor release continues to sand down some rough edges in Alpine AJAX:

  1. 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>
    

    <tbody x-data>
    <a x-target="...">
    </tbody>

    <!-- After -->
    <form x-target="...">
    </form>

    <tbody>
    <a x-target="...">
    </tbody>

    Check out all the attributes we were able to remove from the documentation in this commit: https://github.com/imacrayon/alpine-ajax/commit/9949ab5489d847f5a23fb819c4c9385bab0b3c4d

  2. 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

Full Changelog: https://github.com/imacrayon/alpine-ajax/compare/v0.8.2...v0.9.0

v0.8.2

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.

Commits
  • ec52e82 Bump version
  • 9949ab5 Remove redundant x-init from docs & tests
  • c982e0c Remove the x-init requirement
  • 35949b5 Bundle redirect responses
  • fb5b7c1 Fix nested autofocus with multiple targets
  • 54f1bd9 Re-enable the submitter when a request is aborted
  • 5bc8959 Remove redundant aria-live="polite"
  • caeff34 Target the correct parent element for removal
  • 7a67e4b Dynamically insert version numbers in docs
  • See full diff in compare view


Dependabot compatibility score

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)