⬆️ Update dependency livewire/livewire to v4#572
Open
renovate[bot] wants to merge 1 commit intodevfrom
Open
Conversation
Contributor
Author
|
0659936 to
4346b64
Compare
4346b64 to
da452b5
Compare
da452b5 to
565ae2b
Compare
565ae2b to
15ea78f
Compare
15ea78f to
bb283f4
Compare
bb283f4 to
7061303
Compare
7061303 to
3f76a83
Compare
3f76a83 to
70565b8
Compare
70565b8 to
fa26463
Compare
fa26463 to
5bd2b1a
Compare
5bd2b1a to
4aa247d
Compare
4aa247d to
6f021aa
Compare
6f021aa to
ad57b6d
Compare
ad57b6d to
7243256
Compare
d88fefe to
3b7ab1a
Compare
3b7ab1a to
17a1e40
Compare
17a1e40 to
7baea83
Compare
7baea83 to
31dff33
Compare
31dff33 to
e5a2d99
Compare
e5a2d99 to
677751d
Compare
677751d to
dd196d4
Compare
dd196d4 to
b34da61
Compare
b34da61 to
45f274b
Compare
45f274b to
092677a
Compare
092677a to
07f4d57
Compare
07f4d57 to
c1bced4
Compare
c1bced4 to
4573b4e
Compare
4573b4e to
b6e51e4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.6→^4.0Release Notes
livewire/livewire (livewire/livewire)
v4.2.3Compare Source
What's Changed
reset()andpull()on nested array properties by @ganyicz in #10148New Contributors
Full Changelog: livewire/livewire@v4.2.2...v4.2.3
v4.2.2Compare Source
What's Changed
newinside comments when addingreturnstatement by @joshhanley in #10107DOMDocument::loadHTML()warnings when parsing HTML with SVG elements by @joshhanley in #10105$wire.$parentthrowing on root components by @joshhanley in #10104--emojiflag being ignored onmake:livewireby @joshhanley in #10090@forand@whileloops by @joshhanley in #10084mergeNewSnapshotcorrupting ephemeral data when array keys contain dots by @joshhanley in #10029rendering()andrendered()lifecycle hook descriptions by @joshhanley in #10080->lazy()and->defer()route macros not working for components withoutmount()by @joshhanley in #10106opcache.restrict_apidirective is set by @andrzejkakietek in #10118New Contributors
Full Changelog: livewire/livewire@v4.2.1...v4.2.2
v4.2.1Compare Source
What's Changed
processElementKey()method by @joshhanley in #10070Full Changelog: livewire/livewire@v4.2.0...v4.2.1
v4.2.0Compare Source
What's Changed
bothto animation shorthands inwire:transitiondocs by @joshhanley in #9983wire:modelnot setting values when string array key doesn't exist by @joshhanley in #9981X-Livewireand JSON content type on update requests by @joshhanley in #9965CollectionSynthto prevent arbitrary class instantiation by @joshhanley in #9969make:livewirecrash when using--classwith a view-only namespace by @joshhanley in #9995$errors.clear()method to JS errors object by @PhiloNL in #9975$jsinside alpine loop by @sohailahmad07 in #9974#[Json]methods not handling non-validation exceptions via Promise rejection by @joshhanley in #10053window.location.hashwhen history coordinator flushes batched URL updates by @joshhanley in #10052:keyexpression overwriting foreach$keyvariable by @joshhanley in #10025hash_equals()for checksum comparison by @joshhanley in #10012New Contributors
Full Changelog: livewire/livewire@v4.1.4...v4.2.0
v4.1.4Compare Source
What's Changed
defaultkeyword conflict by @joshhanley in #9937wire:transitionnot animating correctly when components are swapped by @joshhanley in #9936assertJsmethod by @gdebrauwer in #9934$wirereturning no-op for elements in morph template tree by @joshhanley in #9951colocateCommitsByComponentcrash with in-flightwire:modelchild commits by @joshhanley in #9949livewire:stubscommand by @joshhanley in #9950New Contributors
Full Changelog: livewire/livewire@v4.1.3...v4.1.4
v4.1.3Compare Source
What's Changed
#[Validate]attributes losing rules on consolidated updates by @joshhanley in #9876Route::livewire()not available for package service providers by @joshhanley in #9903metaFileData()skipping.jsonlookup in tests when default filesystem uses S3 driver by @joshhanley in #9912@assetsnot loading before script module in lazy-loaded SFCs by @joshhanley in #9919Full Changelog: livewire/livewire@v4.1.2...v4.1.3
v4.1.2Compare Source
What's Changed
Full Changelog: livewire/livewire@v4.1.1...v4.1.2
v4.1.1Compare Source
What's Changed
wire:loadingwithwire:targetto cross island boundaries by @joshhanley in #9890#[Url]properties corrupted by scientific notation overflow by @joshhanley in #9888throwis enabled on the S3 disk by @joshhanley in #9887--cssflag and config support tomake:livewirecommand by @joshhanley in #9872wire:model.blurform submission sync by @joshhanley in #9873New Contributors
Full Changelog: livewire/livewire@v4.1.0...v4.1.1
v4.1.0Compare Source
Breaking Change
wire:modelmodifiers.blur,.change, and.enternow control client-side sync timing. To restore the previous behaviour, add.livebefore the modifier:See the https://livewire.laravel.com/docs/4.x/upgrading for details.
What's Changed
@islanddirectives inside Blade comments being processed by @joshhanley in #9838Full Changelog: livewire/livewire@v4.0.3...v4.1.0
v4.0.3Compare Source
What's Changed
@vite-ignoreto suppress dynamic import warning by @joshhanley in #9815Full Changelog: livewire/livewire@v4.0.2...v4.0.3
v4.0.2Compare Source
What's Changed
Route::macro()return type by @alloylab in #9790_livewire_componentparameter leaking into URL during SPA navigation by @joshhanley in #9781New Contributors
Full Changelog: livewire/livewire@v4.0.1...v4.0.2
v4.0.1Compare Source
What's Changed
<script>tags in single file componentsNew Contributors
Full Changelog: livewire/livewire@v4.0.0...v4.0.1
v4.0.0Compare Source
⚡ Livewire 4.0
Livewire 4.0 is finally here.
This release represents a massive step forward for Livewire, bringing powerful new features, improved developer experience, and a more solid foundation for building dynamic Laravel applications.
Getting Started
Upgrading from v3? Follow the upgrade guide for step-by-step instructions.
Wanna go deep? Check out the Livewire 4.0 series on Laracasts to get up to speed.
What's New
Livewire 4.0 introduces several game-changing features:
View-based Components
Write your component class, template, styles, and JavaScript all in one file—or use the multi-file format that keeps everything together in a single directory. The new single-file format is the default when you run
php artisan make:livewire, and you can convert between formats anytime withphp artisan livewire:convert.Route::livewire()
Reference components by name everywhere in your app, including routes. The new
Route::livewire()macro provides a consistent way to define full-page component routes.Namespaces
Livewire now ships with
pages::andlayouts::namespaces by default, with support for custom namespaces to organize components however your application needs.Component Scripts and Styles
Add
<script>and<style>tags directly in your templates. Styles are automatically scoped to your component, and scripts have access tothisfor component context. Both are served as native .js/.css files with browser caching.Islands
Create isolated regions within a component that update independently from the rest of your page. Islands can be lazy-loaded, named for cross-component targeting, and support appending content for infinite scroll patterns. When combined with computed properties, islands optimize queries from the database all the way to rendered HTML.
Slots and Attribute Forwarding
Full Blade component parity—inject content into child components while keeping everything reactive, and forward HTML attributes seamlessly.
Drag Sorting
Use
wire:sortto make any group of elements draggable and sortable with smooth animations—no external library required. Supports drag handles, multiple lists, and custom positioning logic.Smooth Transitions
The
wire:transitiondirective adds hardware-accelerated animations using the browser's View Transitions API. Control transition direction for step wizards and carousels.Optimistic UI
Make interfaces feel instant with directives that update immediately:
wire:show- Toggle visibility using CSSwire:text- Update text contentwire:bind- Bind any HTML attribute reactively$dirty- Track unsaved changesLoading States
Automatic
data-loadingattributes on any element that triggers a network request, making it simple to style loading states directly from CSS.Inline Placeholders
Define loading states with the
@placeholderdirective right next to the content they replace—no separate placeholder views needed.JavaScript Power Tools
When you need to drop into JavaScript, Livewire 4 meets you there:
wire:ref- Name elements and target them from PHP or JavaScript#[Json]- Return data directly to JavaScript$jsactions - Run client-side only actions...and dozens of bug fixes, performance improvements, and quality-of-life enhancements.
Thank You
A massive thank you to everyone who contributed to this release—whether through code, bug reports, documentation, or community support. Special recognition to @joshhanley and @ganyicz for their tireless work on core features and fixes throughout this release cycle.
What's Changed (since the last beta release)
view:cacheby @27pchrisl in #8068invade()method by @PerryvanderMeer in #9325withoutLazyLoadingto facade docblock by @NicTorgersen in #9298getValue()exception message labelled withsetby @rinodrummer in #9282mount()arguments from Livewire directive by @AJenbo in #9194wire:streamcontent into the DOM by @austincarpenter in #9204method_exists()error when resetting arrays using nested syntax by @danie-ramdhani in #9221scripts()andstyles()methods by @AJenbo in #9274preserve-scrollby @joshhanley in #9341Livewire.dispatch()by @GC-Max in #9163FileUploadControllerso it can be overridden by @marianperca in #8953wire:targetby @blazery in #8940wire-model.mdby @matiaslauriti in #9373wire:currentafter morph by @joshhanley in #9384prepareViewsForCompilationUsingby @ganyicz in #9529lazy_placeholderwithcomponent_placeholderin lazy docs by @hebbet in #9524wire:intersectandwire:refentries to sidebar navigation in docs by @AqibTeam in #9545DUSK_HEADLESS_DISABLEDin .env by @ganyicz in #9552Livewire::visit()by @ganyicz in #9554$jsavailable in scripts by @ganyicz in #9556console.logfrom tests by @ganyicz in [#9560](https://redirect.github.com/liConfiguration
📅 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.