livewire/livewire: Fix fragment scrolling after wire:navigate
Contributed by calebporzio
Part of the livewire v4.4.7 release
Contributed by calebporzio
Part of the livewire v4.4.7 release
Livewire 4.x now understands Laravel's JSON session serialization. Previously, typed `#[Session]` properties such as Collections came back from a full page refresh as plain arrays and failed assignment with a `TypeError`, so the first update after any refresh broke. This backport of #10630 and #10628 introduces a persisted-value codec that restores object types through Livewire's synth system, wrapped in HMAC-signed envelopes so stale, corrupt, or forged values degrade gracefully instead of throwing. Apps on the default PHP serializer see no change.