v3.17.6
Includes security fixes for attribute binding and CSP expression evaluation. Updating is recommended.
Folge Alpine.js, um die Release Notes in deinen Feed zu holen.
Includes security fixes for attribute binding and CSP expression evaluation. Updating is recommended.
Full Changelog: https://github.com/alpinejs/alpine/compare/v3.17.4...v3.17.5
Alpine.js 3.17.4 behebt die Wiederherstellung des Mutation Observers nach Fehlern und ergänzt im resize-Plugin einen viewport-Modifier.
Full Changelog: https://github.com/alpinejs/alpine/compare/v3.17.3...v3.17.4
Alpine.js 3.17.3 erlaubt x-for-Schleifen wie (foo)in(bar), akzeptiert im CSP-Parser reservierte Wörter als Eigenschafts-, Methoden- und Objektschlüsselnamen und behebt mehrere Fehler bei $watch, x-modelable, init() in x-data während des Klonens sowie bei der Auswertung von Modifiern in x-on und x-model als Tastennamen.
(foo)in(bar) by @ColonelThirtyTwo in https://github.com/alpinejs/alpine/pull/4897$watch and x-modelable can fire after being unwatched/released by @MaxencePaulin in https://github.com/alpinejs/alpine/pull/4903Full Changelog: https://github.com/alpinejs/alpine/compare/v3.17.2...v3.17.3
Alpine.js 3.17.2 behebt die CSP-Initialisierung in Sandbox-Iframes und schließt eine Dependabot-Warnung zu decode-uri-component.
Full Changelog: https://github.com/alpinejs/alpine/compare/v3.17.1...v3.17.2
Alpine.js 3.17.1 fügt dem intersect-Plugin ein Dwell-Timing hinzu und aktualisiert brace-expansion sowie die Dokumentation zur Abhängigkeitsverfolgung von Effekten.
Full Changelog: https://github.com/alpinejs/alpine/compare/v3.17.0...v3.17.1
Alpine.js 3.17.0 führt Alpine.deferInit() ein, womit sich ein Baum bis zum Abschluss einer asynchronen Voraussetzung zurückstellen lässt, und korrigiert Unicode-Escapes in CSP-Stringliteralen.
Full Changelog: https://github.com/alpinejs/alpine/compare/v3.16.3...v3.17.0
Alpine.js 3.16.3 behebt Probleme bei Änderungen des x-mask-Attributs an x-model-Eingabefeldern, präzisiert die Dokumentation zu x-modelable und aktualisiert postcss.
x-mask attribute changes on x-model inputs by @joshhanley in https://github.com/alpinejs/alpine/pull/4852Full Changelog: https://github.com/alpinejs/alpine/compare/v3.16.2...v3.16.3
Alpine.js 3.16.2 behebt Fehler beim Fallback-Storage und bei persist, das undefinierte Werte nicht mehr speichert, führt strukturelle Effekte vor abhängigen Effekten aus und aktualisiert @vue/reactivity auf Vue 3.5.
@vue/reactivity to Vue 3.5 by @oddvalue in https://github.com/alpinejs/alpine/pull/4861Full Changelog: https://github.com/alpinejs/alpine/compare/v3.16.1...v3.16.2
Alpine.js 3.16.1 stellt die Kompatibilität von Persist mit älteren Alpine-Versionen wieder her.
Full Changelog: https://github.com/alpinejs/alpine/compare/v3.16.0...v3.16.1
Alpine.js 3.16.0 ergänzt einen .parent-Modifier für x-intersect und behebt zahlreiche Fehler, unter anderem bei Objekt-Bindings an Attribute, x-mask, x-if und x-for im Morph, x-model auf select, :value-Bindings, persistierten Einzelwert-Stores und dem Erhalt des x-data-Scopes.
x-bind:value on <option> losing attribute when value is an empty string by @joshhanley in https://github.com/alpinejs/alpine/pull/4831:value bindings not updating custom elements when bound object data mutates by @joshhanley in https://github.com/alpinejs/alpine/pull/4833.parent modifier for x-intersect by @kevinruscoe in https://github.com/alpinejs/alpine/pull/4839Version 3.15.12 fügt den .fixed-Modifier für x-anchor und minifizierte ESM-Builds hinzu und behebt mehrere Fehler, unter anderem bei x-for, x-sort, x-id, @teleport sowie im CSP-Evaluator.
x-for crashing on null-prototype objects like Object.groupBy() results by @joshhanley in https://github.com/alpinejs/alpine/pull/4825&& and || not short-circuiting in CSP evaluator by @joshhanley in https://github.com/alpinejs/alpine/pull/4823x-sort crash when container has a <template> with no .content by @joshhanley in https://github.com/alpinejs/alpine/pull/4819x-id evaluation order so $id resolves consistently inside x-data by @joshhanley in https://github.com/alpinejs/alpine/pull/4821@teleport leaking detached nodes on every Livewire render by @joshhanley in https://github.com/alpinejs/alpine/pull/4822Full Changelog: https://github.com/alpinejs/alpine/compare/v3.15.11...v3.15.12
Version 3.15.11 ergänzt den Modifier x-anchor.noflip, unterstützt x-sort:handle in Template-Tags, warnt bei x-for-Templates mit mehreren Root-Elementen und behebt unter anderem eine $refs-Regression beim Morphing.
x-anchor.noflip modifier by @calebporzio in https://github.com/alpinejs/alpine/pull/4791Full Changelog: https://github.com/alpinejs/alpine/compare/v3.15.10...v3.15.11
Ein Absturz von x-anchor während der Bereinigung bei wire:navigate wurde behoben.
Version 3.15.9 bringt unter anderem dynamische Referenzen für x-anchor, den Modifier x-on.passive.false, Set-Unterstützung in x-for und anpassbare, abbrechbare $dispatch-Events sowie mehrere Fehlerbehebungen, etwa für Dialoge bei morph, x-model.parent in x-teleport und x-html mit undefined.
tabbable and focus-trap dependencies in focus plugin by @joshhanley in https://github.com/alpinejs/alpine/pull/4737x-model.parent when inside of x-teleport by @willrowe in https://github.com/alpinejs/alpine/pull/4676x-on.passive.false modifier by @hirasso in https://github.com/alpinejs/alpine/pull/4610$dispatch by @nicolagianelli in https://github.com/alpinejs/alpine/pull/4608x-html handles undefined by @willrowe in https://github.com/alpinejs/alpine/pull/4555Der Wert von x-model.blur wird nun übernommen, bevor Submit-Handler von Formularen ausgeführt werden.
x-model.blur value before form submit handlers run #4729$watch löst seinen Callback nicht mehr aus, wenn sich ein primitiver Wert nicht geändert hat.
Neu hinzugefügt wurden reaktive Effekt-Transaktionen.
x-model unterstützt jetzt die Event-Modifier .change, .blur und .enter.
Die automatische Auswertung bei sort sowie Situationen mit doppelten Attributen und Werten wurden korrigiert.