Repository navigation
A CompiledInjector can now be serialized after resolving a singleton PHP cannot serialize (a PDO connection, a closure), and so can an object holding one of its #[Set] providers.
- Resolved singletons are left out of the serialized injector, as
Ray\Di\Injectordoes; a restored injector builds each again on first use. State those singletons held is not carried over. - After restoring an injector in a coroutine runtime (Swoole, OpenSwoole), call
warmup()again. - BEAR.Package 1.23 and earlier cached the injector after resolving the application; the application graph is now built again in each process, as BEAR.Package 1.24 and later do.
- The dist archive no longer ships
bin/,demo/,rector.php,CLAUDE.mdand.coderabbit.yaml.