v1.0.30 — Fix Livewire wire:snapshot JSON corruption from escaped [[ handling
Release Notes (v1.0.30)
Fixed
- Resolved a regression introduced in v1.0.29 where escaped shortcode handling ([[) could alter non-shortcode content and corrupt Livewire wire:snapshot JSON.
- Scoped unescape behavior to valid escaped shortcode tags only, so non-shortcode double brackets are preserved.
Impact
- Fixes page-load/hydration failures in Livewire (and Filament, which depends on Livewire) caused by malformed snapshot JSON after shortcode compilation.
Tests
- Added package regression test for issue #87 to ensure snapshot-like JSON data such as [[],{"s":"arr"}] is not modified.
- Verified with Laravel + Livewire integration test using withShortcodes().
Reference
Closes: #87