Releases: livewire/livewire
Releases · livewire/livewire
v3.4.12
What's Changed
- Remove yo by @joshhanley in #8342
- Add request hook by @joshhanley in #8340
- Fix Laravel 10.x dependency by @tpetry in #8344
- Fix legacy model synth not allowing a property to be set to
null
by @joshhanley in #8343 - Add support for "paginationSimpleView()" method in components by @iBotPeaches in #8331
- Fix file uploads while time travelling by @PerryvanderMeer in #8328
- Fix listening multiple event using
@
directive attribute from child component by @danie-ramdhani in #8242 - Clarify docs for validation utilities by @PerryvanderMeer in #8348
- Remove the duplicate definition of $cacheDir by @xurshudyan in #8361
- Update wire-model.md by @alfanzain in #8370
- Improve performance for nested component updates by @alexwass-lr in #8288
- Fix - navigation wire:navigate with progress bar animation by @lguichard in #8376
- fix: use published stubs by @MltStephane in #8355
- Prevent multiple 100% progress events by flooring the result by @blazery in #8352
- Added validate to updating a post example by @alexjustesen in #8356
- Refactor tests by @PerryvanderMeer in #8365
- Tests for #8355 by @PerryvanderMeer in #8377
- Remove redundant class_exists() check as is_subclass_of() already checks class existence by @hrant1020 in #8384
- Refactor variable names to use "article" instead of "post" to align w… by @hrant1020 in #8380
- Fix typo by @PerryvanderMeer in #8379
- Docs: Add tip for getClientOriginalName method by @caseydwyer in #8385
- Prevent computed properties from being overridden by @calebporzio in #8388
New Contributors
- @tpetry made their first contribution in #8344
- @iBotPeaches made their first contribution in #8331
- @lguichard made their first contribution in #8376
- @MltStephane made their first contribution in #8355
- @blazery made their first contribution in #8352
- @alexjustesen made their first contribution in #8356
- @hrant1020 made their first contribution in #8384
- @caseydwyer made their first contribution in #8385
Full Changelog: v3.4.11...v3.4.12
v3.4.11
What's Changed
- Fixed missing semicolon in forms.md by @Qirel in #8249
- Fixed undefined key with unset method of DataStore by @dmyers in #8231
- Improved the progress bar animation . fix for discussion #8041 by @joydeep-bhowmik in #8204
- Add $wire to directive API by @calebporzio in #8258
- Don't register listener for custom directive by @calebporzio in #8259
- [3.x] Fix conflicts with PHP's predefined classes by @PerryvanderMeer in #8253
- [3.x] Clarify docs for validation utilities by @PerryvanderMeer in #8254
- [3.x] Fix persistance of validation errors in forms by @PerryvanderMeer in #8262
- Add
$this->pull()
component method by @calebporzio in #8266 - Add support to invade
Testable
by @PerryvanderMeer in #8264 - Missing trait hooks by @AlexandreBonaventure in #8268
- Fix readme logo in dark mode by @PerryvanderMeer in #8274
- Removed unnecessary call to $property->setAccessible(true); by @xurshudyan in #8273
- Fix URL in issue template by @PerryvanderMeer in #8295
- Use
assertSetStrict
in tests by @PerryvanderMeer in #8297 - Add
withoutLazyLoading()
testing helper by @calebporzio in #8326 - Fix
@teleport
directive when view is cached by @luanfreitasdev in #8282 - Added config for cleaning up old files. by @Boorinio in #8296
- Fix hydrating union types by @PerryvanderMeer in #8286
- Fix submit form using magic actions without breaking form by @danie-ramdhani in #8241
New Contributors
- @Qirel made their first contribution in #8249
- @dmyers made their first contribution in #8231
- @joydeep-bhowmik made their first contribution in #8204
- @Boorinio made their first contribution in #8296
Full Changelog: v3.4.10...v3.4.11
v3.4.10
What's Changed
- Update forms.md by @danie-ramdhani in #8131
- Fix
wire:navigate
back button "null" issue by @calebporzio in #7895 - Update actions.md by @danie-ramdhani in #8122
- Add float synthesizer to handle empty inputs in combination with Forms by @lsmedia in #8126
- [3.x] Make commands lazy by @timacdonald in #8157
- Warn about multiple Alpine instances from Livewire by @calebporzio in #8164
- Add troubleshooting documentation page by @calebporzio in #8174
- [Docs] Fix typo in
troubleshooting.md
by @PerryvanderMeer in #8176 - BaseUrl Attribute properties are not filled similarly when using queryString() methods by @robert-stanciu in #8099
- Remove unused use statement by @buismaarten in #8179
- Fix deterministic Blade key generation by @calebporzio in #8167
- Fix empty body after visiting 404 page in laravel octane by @gazzoy in #8139
- Re-enable Laravel 11 tests by @PerryvanderMeer in #8188
- add cancelable alpine:navigate event by @n1crack in #8093
- Added warning about event listeners with wire:navigate by @samlev in #8140
- Prevent listeners leak with once modifier by @AlexandreBonaventure in #8147
- Fix
wire:loading.remove
with renderless actions by @calebporzio in #8218 - [3.x] Better support for
BackedEnum
while testing by @PerryvanderMeer in #8187 - Fix file input clearing by @joshhanley in #8120
- Add browser test for navigate page with hashtag by @danie-ramdhani in #8143
- Add browser test for binding class when navigate back by @danie-ramdhani in #8154
- Update wire-loading.md by @danie-ramdhani in #8221
- Prioritize component listener registration by @calebporzio in #8226
- Fix - Handling query params without values by @davidrushton in #8197
- EloquentModelSynth: convert empty string to null for enum casted attributes by @TobMoeller in #8220
- Fix Laravel 11 tests by @joshhanley in #8232
New Contributors
- @danie-ramdhani made their first contribution in #8131
- @lsmedia made their first contribution in #8126
- @robert-stanciu made their first contribution in #8099
- @buismaarten made their first contribution in #8179
- @n1crack made their first contribution in #8093
- @AlexandreBonaventure made their first contribution in #8147
- @TobMoeller made their first contribution in #8220
Full Changelog: v3.4.9...v3.4.10
v3.4.9
THIS RELEASE CONTAINS AN IMPORTANT VULNERABILITY PATCH
Livewire version 3.3.4 introduced an XSS security vulnerability that has been patched in this release:
- Patch XSS vulnerability by @calebporzio in #8117
What's Changed
- Uncaught (in promise) DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided must not be empty. due to two spaces in a class list by @macbookandrew in #8064
- [3.x] Adjusts docs for L11 by @nunomaduro in #8095
- Document BackEnum support by @edalzell in #8090
- Enable cookie testing on subsequent request by @fikri-kompanion in #8087
- Add wire:target.except modifier functionality by @patriktoth67 in #8065
- Add @alpinejs/persist to npm link command in contribute guide by @patriktoth67 in #8105
- Fix various typos by @rinodrummer in #8109
- Fix highlighting in blade samples by @machour in #8106
New Contributors
- @macbookandrew made their first contribution in #8064
- @fikri-kompanion made their first contribution in #8087
- @patriktoth67 made their first contribution in #8065
- @rinodrummer made their first contribution in #8109
- @machour made their first contribution in #8106
Full Changelog: v3.4.8...v3.4.9
v3.4.8
This release contains an updated version of Alpine (3.13.7) that reverts a few recent breaking changes. Here's the notable Alpine release notes: https://github.com/alpinejs/alpine/releases/tag/v3.13.7
v3.4.7
What's Changed
- Fix morph marker edge case with one-liner statements by @austenc in #7992
- Fix anchor link for reactive props warning by @Rattone in #7990
- Fix form errors not triggering specific rule assertion for
validateOnly()
by @PerryvanderMeer in #8006 - Add trigger async to global Livewire object by @PhiloNL in #8002
- Fire alpine:navigated after url update by @PhiloNL in #8015
- Add assertRedirectToRoute test function by @RSpeekenbrink in #8016
- Add asset publishing by @joshhanley in #7973
- Change assertRedirectToRoute to match Laravel Signature by @RSpeekenbrink in #8017
- Update Bootstrap pagination views by @juliangarcess in #8019
- Fix unsetting legacy computed properties by @joshhanley in #8048
- Don't break wire:navigate when inert effecting dialogs are open by @calebporzio in #8054
- Adding Anchor as a core included plugins, minor wording tweaks by @lrljoe in #8056
- Fix validating forms via
$this->validate()
by @PerryvanderMeer in #8052 - Fix offline breaking runtime by @joshhanley in #7972
- Failing test for wire:confirm where inputs remain disabled by @jakewhiteley in #8039
- Add improved error logging for unclosed elements by @PhiloNL in #8042
New Contributors
- @Rattone made their first contribution in #7990
- @RSpeekenbrink made their first contribution in #8016
- @juliangarcess made their first contribution in #8019
- @jakewhiteley made their first contribution in #8039
Full Changelog: v3.4.6...v3.4.7
v3.4.6
What's Changed
- Fix morph marker edge cases by @joshhanley in #7984
- Fix strtotime(): Passing null to parameter #1 ($datetime) of type deprecation by @ziming in #7983
New Contributors
Full Changelog: v3.4.5...v3.4.6
v3.4.5
What's Changed
- Add a session prefix for uniqueness by @ju5t in #7825
- Added refresh method to Testable by @amshehzad in #7844
- Add event name to exception by @nullsub in #7846
- Add assertPropertyHasAttribute test helper by @ju5t in #7838
- Revert "Add assertPropertyHasAttribute test helper" by @calebporzio in #7852
- Support integer backed enums in query string by @satoved in #7863
- [3.x] Fix
getContent
by @nuernbergerA in #7859 - Undefined errors (and duplicate html elements) in x-for when data is provided by Livewire event by @gdebrauwer in #7843
- session flash data is missing when using redirect with nested component and Modelable by @jhonoryza in #7837
- Fix Laravel 11 tests by @joshhanley in #7874
- Fix cleanup handler for Echo presence channels by @alexwass-lr in #7875
- Docs: Add example for multiple actions in wire:target by @Arne1303 in #7876
- Fix use statements in Url docs by @NiclasvanEyk in #7877
- Contribution guide by @PhiloNL in #7847
- Fix typo in lifecycle-hooks.md by @rossalexander in #7890
- Undefined errors (and duplicate html elements) in x-for when using wire:navigate by @gdebrauwer in #7845
- Alpine property undefined when reordering array returned to view by @mattyforth in #7850
- Remove unused js imports and params by @gdebrauwer in #7892
- Create dedicated EventHandlerDoesNotExist exception by @levu42 in #7898
- Fix loading not working while actually uploading a file by @joshhanley in #7897
- Handling null in querystring by @gdebrauwer in #7868
- Add
assertSetStrict()
andassertNotSetStrict()
test assertions by @joshhanley in #7909 - Fix flaky navigate test by @joshhanley in #7927
- Update alpine.md by @justincone in #7926
- Add
wire:stream
and Laravel Octane warning by @joshhanley in #7929 - Add support for minified assets by @joshhanley in #7928
- Update reserved names in
MakeCommand
by @xurshudyan in #7923 - Allows trashed binding by @mauro-baptista in #7913
- Allow download of preview files directly from storage by @apreiml in #7889
- Fix query string updates for multiple components of same type with dynamics query string by @wimski in #7910
- Fix form errors not triggering specific rule assertion by @joshhanley in #7935
- Removing and re-adding a livewire component causes that livewire component to not work anymore by @gdebrauwer in #7881
- Intersect Alpine plugin does not work when livewire component is updated by @gdebrauwer in #7880
- fix typo by @Naoray in #7949
- Fix typo by @helmut in #7951
- Save latest Alpine (v3.13.5) in lockfile by @CasEbb in #7939
- Flash data is being removed on initial render/dehydrate instead of subsequent renders by @TWithers in #7921
- EnumSynth: Fix synthing empty string into null by @levu42 in #7955
- Added check to see if a route has already been registered by @chrispage1 in #7963
- Change morph markers strategy by @joshhanley in #7967
- Fix
CarbonSynth
to use type matching by @rynomars in #7958 - Fix morph forward slash issue by @joshhanley in #7974
New Contributors
- @nullsub made their first contribution in #7846
- @satoved made their first contribution in #7863
- @jhonoryza made their first contribution in #7837
- @alexwass-lr made their first contribution in #7875
- @Arne1303 made their first contribution in #7876
- @rossalexander made their first contribution in #7890
- @mattyforth made their first contribution in #7850
- @justincone made their first contribution in #7926
- @mauro-baptista made their first contribution in #7913
- @wimski made their first contribution in #7910
- @helmut made their first contribution in #7951
- @CasEbb made their first contribution in #7939
- @chrispage1 made their first contribution in #7963
Full Changelog: v3.4.4...v3.4.5
v3.4.4
What's Changed
- Fix stale echo listeners with wire:navigate by @calebporzio in #7833
- Revert "Add dependency injection to computed properties" by @calebporzio in #7834
Full Changelog: v3.4.3...v3.4.4
v3.4.3
What's Changed
- Add missing Form and Attribute stubs from StubsCommand by @mrfelipemartins in #7816
- Prevent ClassMorphViolationException when enforceMorphMap is used by @Naoray in #7810
- Add fix for standard model synth morph map exception by @joshhanley in #7828
- Add failing test for query string not retaining loaded values by @joshhanley in #7827
New Contributors
- @mrfelipemartins made their first contribution in #7816
Full Changelog: v3.4.2...v3.4.3