Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency alpinejs to v3 #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 26, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
alpinejs (source) ^2.7.3 -> ^3.0.0 age adoption passing confidence

Release Notes

alpinejs/alpine (alpinejs)

v3.14.3

Compare Source

Changes

Full Changelog: alpinejs/alpine@v3.14.2...v3.14.3

v3.14.2

Compare Source

What's Changed

New Contributors

Full Changelog: alpinejs/alpine@v3.14.1...v3.14.2

v3.14.1

Compare Source

Changed
  • Minor grammar correction in the for directive docs #​4266
  • 🐛 Fixes issue with setters accessing deeply nested data #​4265
  • [UI][Tabs] Prevent tab focus on mousedown #​4239
  • [CSP] Add support for nested properties to CSP build #​4238

v3.14.0

Compare Source

Changed

  • ✨ Enhances clicks with key modifiers #​4209
  • Update transition.md - changed span to div #​4215
  • collapse: remove overflow hidden even if height does not match perfect #​4203
  • Fix error: TypeError: i is not a function #​4204
  • Adjust code block according to example #​4197
  • Higher visibility in docs about needing x-data for things to work #​4194

v3.13.10

Compare Source

Changed

  • Comma modifier to keyup and keydown events #​4170
  • Fix morphing root level state #​4169
  • Fix morph when x-for is used inside x-teleport #​4168
  • Fix form reset for x-model radio, checkbox arrays, select multiple and various modifiers #​4159
  • Wrong plugin name in Sort docs #​4165

v3.13.9

Compare Source

Changed

  • Add "sort" plugin #​4137
  • Add missing plugin warnings #​4158
  • Change to x-sort:item, add sorting class to body, and use x-sort:group #​4161
  • Remove extra destroyTree call #​4151
  • Fix x-on with both self and once #​4152
  • Documentation issue: Event name in code snippet and description doesn't match in dispatch.md #​4141
  • Fix some typos #​4134
  • Chore: remove repetitive words #​4132

v3.13.8

Compare Source

Changed

  • Cleanup after x-bind:class and other attribute modifications #​4111
  • Bug: Fixes x-model.fill when used with debounce #​4103
  • Remove hidden from booleanAttributes #​4099
  • Fix fill modifier for radio buttons #​4101
  • Add missing border to fill example #​4104
  • Fixed persist crash when the stored value is undefined #​4091

v3.13.7

Compare Source

Changed

  • Revert breaking mutation fix #​4084
  • 🐛 Prevents Setting from registering a dependency #​4081

v3.13.6

Compare Source

Changes

v3.13.5

Compare Source

Fixed

v3.13.4

Compare Source

What's Changed

New Contributors

Full Changelog: alpinejs/alpine@v3.13.3...v3.13.4

v3.13.3

Compare Source

What's Changed

New Contributors

Full Changelog: alpinejs/alpine@v3.13.2...v3.13.3

v3.13.2

Compare Source

Changed

  • ✅ Allows underscore in event names #​3756
  • update CSP build/installation docs #​3762
  • use normal single quotes #​3764
  • Gracefully handle SecurityError exception if localStorage is unavailable #​3775
  • ♻️ Cleans Up Entangle #​3792
  • 🐛 Fixes proxy stack setters bug #​3807
  • 🐛 Fixes reference to incorrect attribute #​3814
  • Use Internet Explorer conditional comment syntax to preserve morph markers on Cloudflare-proxied sites #​3794

v3.13.1

Compare Source

Changed

  • ✨ Names expression evaluators #​3765
  • Fix typos #​3771
  • Update installation.md #​3779
  • Fixed webpack 4 builds breaking due to nullish coalescing operator #​3679
  • ♻️ improves merge proxies #​3722
  • x-if warning if used on non-template #​3737
  • clarify execution order of init #​3702
  • Document destroy method in Alpine.data #​3716
  • Fixed a variable typo #​3727
  • fix(morph): currentNode can also be null, not just undefined, fixes #​3728 #​3729

v3.13.0

Compare Source

What's Changed

New Contributors

Full Changelog: alpinejs/alpine@v3.12.3...v3.13.0

v3.12.3

Compare Source

Internal changes release...

v3.12.2

Compare Source

Fixed

v3.12.1

Compare Source

Added

  • Support for registering multiple plugins at once: Alpine.plugin([...]) #​3497
  • Add warning to prevent Alpine from being loaded twice on the same page #​3565
  • Add descriptive warning for undefined x-for key and updates tests. #​3498

Fixed

  • Fix x-for scope updates when looping through x-data elements #​3504
  • Exclude dependencies from non-CDN builds #​3459
  • Make x-transition delay syntax consistent with duration syntax #​3476
  • Fix throttle/debounce user callback after preventDefault/stopPropagation is executed #​3481
  • Make .fill work with selects and other modifiers #​3495
  • Fix morphing @​event handlers #​3494
  • Allow Booleans in bound x-transitions #​3519
  • Handle special binding case for 'checked' and 'selected' #​3535
  • Fix Safari AutoFill #​3483
  • Fix duplicate/inaccurate test #​3520
  • Fix typo on alt "component" #​3541
  • Attempt memory leak fix from using magics #​2832

v3.12.0

Compare Source

Added

  • x-model.fill by input value on null or empty string #​3423
  • x-mask custom decimal precision #​3415
  • x-mask $money allow for negative values #​3416
  • Accept x-data="true" as a synonym for x-data="{}" #​3339

Fixed

  • 🐛 fixes improper use of nullish coalescing #​3408
  • Fixes @keyup and @keydown listeners with .capture modifier never executed #​3398
  • Remove Alpine UI references from Alpine core #​3336
  • Update CSP documentation to clarify availability of the CSP build #​2619
  • Fix x-model event listener doubling when cloned #​3393
  • docs: Fix a few typos #​3363
  • Fix Alpine.js becoming unresponsive after uncaught exception in reactive effect callback #​3279
  • Fix inconsistent update for template x-if (issue #​2803) #​3278

v3.11.1

Compare Source

Fixed

  • Hotfix: "outerHashLatest" is not defined

v3.11.0

Compare Source

  • Support for custom directive order #​3307
  • Fix recursion problem with x-trap inert #​3309
  • x-mask: Allow overriding thousands separator #​3122
  • Remove letters from money mask #​3174
  • Allow await in invalid expression wrapper #​3146
  • Fixed throttling on keypress #​3054
  • Introduce x-teleport values/modifiers #​3268
  • Refactor: remove next tick import #​3163
  • Fix: prevents coercion of space and underscore to minus #​3134
  • Use supercommas to break up comma-containing list items #​3125
  • Docs: switch unpkg to jsdelivr #​3048

v3.10.5

Compare Source

Added

Fixed

v3.10.4

Compare Source

Changed

  • Process headless Alpine UI component directives before standard Alpine ones (namely x-bind)

v3.10.3

Compare Source

Added

  • Add x-show.important #​3002
  • Add autofocus awareness to the focus plugin #​2946

Fixed

  • Change Morph plugin to use createElement('template').content for crating DOM fragments, this enables table / support. #​3020
  • Fix x-show updating DOM inconsistently if state changes too fast #​2968
  • Allow disabling x-mask with a falsy value #​2945
  • Fix x-mask $money with bad input #​2876
  • change "Alpine.store(...)" link to /globals/alpine-store #​2870

v3.10.2

Compare Source

Added

  • Add x-mask:dynamic instead of :function #​2858

Fixed

v3.10.1

Compare Source

Fixed

  • Fix Safari x-mask bug that causes focus trap #​2852

v3.10.0

Compare Source

Added

Fixed

v3.9.6

Compare Source

Added

  • Warn if directive from plugin is being used without plugin #​2815
  • Add x-collapse.min modifier #​2814

v3.9.5

Compare Source

This is a release because the last one didn't contain the build files...

v3.9.4

Compare Source

Fixed

  • Adjust threshold modifier to use 100 as 100% instead of 1 #​2787

v3.9.3

Compare Source

Added

  • Add .threshold modifier to x-intersect #​2785

Fixed

v3.9.2

Compare Source

Fixed

  • Fix $watch Livewire loop issues d061f2d
  • Remove x-model input event listener if x-modelable is used #​2774
  • Fix trouble combining keyup event, key name and modificator "once" #​2731
  • Swap mainfields in build script for a smaller esm bundle #​2751
  • Bug - Multiple morph calls clash #​2772
  • Fix Morph missing next sibling when replacing element #​2725
  • Allow accessing current scope in the destroy() callback #​2733

v3.9.1

Compare Source

Fixed

  • Fix $watch memory leak issue alpinejs/alpine@260679b
  • Focus trap doesn't release focus when the element is removed from the dom #​2682
  • Fix morhdom sibling cleanup bug #​2712
  • Removed non breaking space #​2711
  • Fix failing tests - account for the morph function now returning a promise #​2528

v3.9.0

Compare Source

Added

  • Add rootMargin support to x-intersect with .margin #​2558
  • Add .noreturn modifier to x-trap #​2603
  • Add x-modelable #​2654

Fixed

  • Fix x-intersect reliability #​2557
  • Fix binding style attribute with CSS variables #​2581
  • Fix x-if sub expressions still being evaluated after x-if evals to false #​2556
  • Bug - Morph text nodes. #​2524
  • Bug - morph lookahead and keys #​2544

v3.8.1

Compare Source

Added

  • Added aria-selected to list of attributes to preserve if falsy using x-bind

v3.8.0

Compare Source

Added

  • Added Focus plugin (and deprecated "Trap" plugin) #​2570
  • Added Alpine.bound(el, attributeName, fallback) method to retreive bound attribute data (either from Alpine or plain element attributes) #​2570
  • Added Alpine.bind('foo', FooObject) to make global element bindings available #​2570
  • Added Alpine.$data(el) to get a reactive data scope object from any element within Alpine #​2570

v3.7.1

Compare Source

Added

Fixed

  • Bug - x-collapse flickering #​2441
  • Firefox: Avoid warning "Unknown property 'null'. Skipped to next declaration." #​2457

v3.7.0

Compare Source

Added

  • Change portal plugin to x-teleport and add to core #​2431

v3.6.1

Compare Source

Added

v3.6.0

Compare Source

Added

Fixed

  • Wrong order when x-for children use x-if #​2421
  • Issues with mutations and third party libs #​2399

v3.5.2

Compare Source

Added

  • Add morph plugin #​2392
  • Use the hidden attribute & display:none to hide x-collapse content from the accessibility tree #​2353

Fixed

  • Fix evaluatorMemo memory leak #​2398
  • Fix components instantiated twice because of complex mutations #​2376

v3.5.1

Compare Source

Fixed

  • Fix x-trap when cloning DOM (or using @​entangle) #​2352
  • Fix x-transition fast double click bug #​2339
  • Fix global Alpine.$persist shared between different properties #​2320

v3.5.0

Compare Source

Added

  • Add .inert and .noscroll x-trap modifiers #​2309
  • Allow x-model to be accessed programmatically #​2303
  • Add $data magic property #​2301
  • Create global Alpine.$persist to enable persisting in Alpine.store #​2191
  • Improve Alpine error resiliency and logging #​2027

Fixed

  • Fix transition bug where @​click.outside AND leave transition only break #​2302
  • Fix x-collapse: only set overflow:hidden when strictly needed #​2213
  • x-collapse not working properly when used with click.away #​2201
  • Fix binding plain attributes #​2299
  • Fix static attribute binding in x-bind object #​2256
  • Fix evaluator bug when expression starts with let or const #​2224

v3.4.2

Compare Source

Added

  • Add x-collapse #​2141
  • Allow accessing outer scope from within getters and setters #​2128
  • Add x-on:.capture modifier #​2129

v3.4.1

Compare Source

Added

  • Add Alpine.deferMutations() & Alpine.flushAndStopDeferringMutations() #​2117

v3.4.0

Compare Source

Added

  • Refactored x-trap to use focus-trap plugin #​2072
  • Add aria-expanded to the list of attribute bindings that don't remove when falsy

Fixed

  • Fix another x-transition regression with x-show #​2096

v3.3.5

Compare Source

Fixed

v3.3.4

Compare Source

Added

  • Allow access to parent scope refs #​2077

Fixed

  • Fix x-show requestAnimationFrame latency bug #​2076
  • Fix bug where components are initialised twice because of x-init #​2060

v3.3.3

Compare Source

Fixed

  • Fix x-init bug introduced in v3.3.0 #​2028
  • Add ShadowRoot protection for older browsers #​2030

v3.3.2

Compare Source

Added

  • Add x-intersect.half and x-intersect.full #​2022
  • Support normal HTML attribute bindings from x-bind #​2015

v3.3.1

Compare Source

Fixed

  • Support object destructuring in x-for expression #​2012

v3.3.0

Compare Source

Added

  • Add $root magic property #​2011
  • Add $persist(...).using(sessionStorage) (Persist to custom storage) #​2006
  • Add period and equal key modifiers #​2000
  • Allow empty x-init expression #​1993

Fixed

v3.2.4

Compare Source

Added

  • Add x-intersect:enter and x-intersect:leave #​1933
  • Add .dot modifier #​1906

Fixed

v3.2.3

Compare Source

Added

Fixed

  • Allow undefined inside x-for #​1903
  • Support all documented key modifiers #​1902
  • Give init() function access to parent scope #​1874
  • Fix directive handler flushing order #​1901
  • Allow setting custom properties in style attribute correctly #​1854
  • Allow $persisting multiple components #​1841

v3.2.2

Compare Source

Added

Fixed

  • Allow dynamic transition classes #​1785

v3.2.1

Compare Source

Fixed

  • Fixed error where data was being hoisted to global scope introduced in 3.2.0 #​1665

v3.2.0

Compare Source

Added

  • Allow passing runtime parameters to Alpine.data() objects #​1660
  • Expose the initTree method #​1648
  • Add warning for x-for key not being an integer or string #​1639

Fixed

  • Only run watcher after specified dependency changes #​1640
  • Allow referencing $ref elements outside of x-init #​1661
  • Evaluate Alpine syntax inside x-html #​1646
  • Allow x-transition in x-bind to use functions #​1637

v3.1.1

Compare Source

Fixed

  • Remove ?. syntax to support Safari 12 #​1620
  • Initialize x-if AFTER being added to the DOM so x-ref works #​1574

v3.1.0

Compare Source

Added

  • Add back the x-html directive from V2 #​1573

v3.0.9

Compare Source

Fixed

  • Don't wait until nextTick to remove x-cloak (remove in a microtask) #​1570
  • Cleanup nested removed element's directives #​1569

v3.0.8

Compare Source

Fixed

  • Fix empty transitions so they transition in/out immediately instead of after one tick #​1566
  • x-for now supports spaces in parenthesis #​1560
  • Init directives for x-if contents after it's created inside an x-for loop #​1536

v3.0.7

Compare Source

Added

  • Add "alpine:initializing" alias: "alpine:init" #​1559

Fixed

  • Fix binding the value of a missing nested object value to be empty string instead of "undefine" #​1498
  • Fix x-bind:class directive using object syntax: currently removes classes that are in a true condition when the class is also present in a false condition #​1556
  • Fix store's init() function not receiving reactive "this" context

v3.0.6

Release of Alpine V3!

Visit the upgrade guide here for a list of changes: https://alpinejs.dev/upgrade-guide

v2.8.2

Compare Source

Fixed

  • Fix nested Alpine within nested Livewire components [#​1160]

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants