Skip to content

1.14.0

Choose a tag to compare

@koriym koriym released this 15 Jul 10:31
· 30 commits to 1.x since this release

Changed

  • Skip file_exists() guard on the hot path in prototype()/singleton() — an OPcache-cached require performs no filesystem access, so the guard was the only stat() syscall left [#134]
  • prototype()/singleton() now require the script directly without try/catch; a missing compiled script is a build invariant violation that surfaces as PHP 8's native catchable Error [#134]
  • Deprecate ScriptFileNotFound exception (kept for BC) [#134]
  • Remove redundant realpath() call in CompiledInjector::getInstance() [#134]
  • Resolve #[ScriptDir] to __DIR__ instead of baking the compile-time absolute path [#136]

Added

  • Add performance documentation (docs/performance.md) covering OPcache prerequisites and benchmarking methodology [#134]
  • Add self-validating DI benchmark under demo/benchmark/ [#134]

Fixed

  • Add --memory-limit=256M to phpstan in composer scripts