Livewire v4.2.0 has been released with Laravel 13 compatibility and seven targeted security hardening improvements. Security changes include lifecycle method protection against frontend invocation, timing-safe checksum comparison using hash_equals(), payload schema validation, stricter X-Livewire header and JSON content type requirements, and web middleware enforcement on custom update routes. New developer features include reactive props during boot hooks and a $errors.clear() method on the JavaScript errors object. Bug fixes address an EventBus listener memory leak under Octane, silent failures for non-UTF-8 property data, broken route model binding with cached middleware, and wire:model failures with string array keys. No breaking changes are expected for typical applications.

3m read timeFrom laravel-news.com
Post cover image
Table of contents
# What's New# Upgrade Notes

Sort: