v4.1.0
This release is compatible with Laravel 11, 12 & 13
Added
- Laravel 13 support (PHP ^8.3, Symfony ^7.4||^8.0, Testbench ^11, Pest ^4)
test:l11,test:l12,test:l13,test:allcomposer scripts for local matrix runs- CI matrix bumped to PHP 8.3/8.4 against Laravel 11, 12 & 13
Changed
- Bumped
pdphilip/omnitermto^3.0(drops L10/Symfony 6) - Bumped
pdphilip/elasticsearchto^5.6 - Bumped
illuminate/contractsto^11.0||^12.0||^13.0(dropped L10) - PHP minimum is now
^8.3 Indexable::bootIndexable()now wires the base-model observer via closures at boot time instead of instantiatingBaseModelObserverthroughObserverRegistry::register(). L13 throwsLogicExceptionwhen a model is instantiated during another model's boot, and the old path triggered exactly that via theIndexConfigresolution chain.ObserverRegistry::register()deprecated in favour ofregisterEmbedded()+flushPending(). The embedded-watcher setup is now queued and flushed lazily so it doesn't fire during boot.
Fixed
restoredevent is only hooked when the base model actually supports soft deletes (guarded bymethod_exists(static::class, 'restore'))
Full Changelog: v4.0.1...v4.1.0