Skip to content

Releases: alpinejs/alpine

v1.3.1

07 Jan 04:36
Compare
Choose a tag to compare

Fixed

  • $refs was causing "Invalid invocation" error - fixed now

v1.3.0

07 Jan 03:48
Compare
Choose a tag to compare

Added

  • x-init expression:
<div x-data="{ foo: 'bar' }" x-init="foo = 'baz'">
  <span x-text="foo"></span>
</div>

(<span> will be set to "baz" initially)

v1.2.0

04 Jan 08:19
Compare
Choose a tag to compare

Added

  • x-html directive:
<div x-data="{ html: '<h1>Hello World!</h1>' }">
    <div x-html="html">
        <!-- Will contain: "<h1>Hello World!</h1>" -->
    </div>
</div>

v1.1.5

03 Jan 12:21
Compare
Choose a tag to compare

Added

  • Transition API:
<div x-data="{ open: false }">
    <div
        x-show="open"
        x-transition:enter="ease-out transition-fastest"
        x-transition:enter-start="opacity-0 scale-90"
        x-transition:enter-end="opacity-100 scale-100"
        x-transition:leave="ease-in transition-fastest"
        x-transition:leave-start="opacity-100 scale-100"
        x-transition:leave-end="opacity-0 scale-90"
    >thing</div>

    <button x-on:click="open = ! open">
        toggle thing
    </button>
</div>

v1.1.4 (mis-release)

03 Jan 12:19
Compare
Choose a tag to compare

v1.1.5 contains the changes intended for this release: whoops

v1.1.3

03 Jan 02:21
Compare
Choose a tag to compare

Convert build from Microbundle to Rollup

v1.1.2

31 Dec 06:21
Compare
Choose a tag to compare

Changed "Laravel Mix" to "Microbundle" for bunding.

v1.1.1

24 Dec 13:47
Compare
Choose a tag to compare

Added

Fixed

  • Support adding/removing multiple classes from "x-bind:class" [#28 ]
  • Made manual DOM changes to x-data reactive using MutationObserver
  • Attempted to prevent double initialization when importing from webpack

v1.1.0

20 Dec 16:56
Compare
Choose a tag to compare

Added

  • wire:on:keydown.enter Added "keydown" modifiers
  • Added x-if (to be used on <template> tags)

v1.0.0

18 Dec 20:25
Compare
Choose a tag to compare

Added

  • Renamed "Project-X" to "Alpine.js"