Skip to content

2.19.0

Choose a tag to compare

@koriym koriym released this 17 Nov 07:00
· 66 commits to 2.x since this release

What's Changed

Breaking Changes

  • Removed PECL extension support (#248, refs #242)
    • Migration: Use proxy-based AOP with $aspect->bind() + newInstance() instead
    • Backward-compatible deprecation stubs provided in src-deprecated/
    • See #242 for migration guide

Improvements

  • PHP 8.2 Optimization: Replace @readonly annotations with native readonly keyword (#249)
    • Removed 37 lines of redundant PHPDoc annotations
    • Improved type safety with constructor property promotion
    • Files optimized: AopPostfixClassName, Compiler, AnnotatedMatcher, ReflectiveMethodInvocation, InterceptTraitState

Documentation

  • Add comprehensive CHANGELOG.md following Keep a Changelog format
  • Document all releases from 2.10.0 onwards

Deprecation Notice

Existing code using AspectPecl or PeclDispatcher will receive a clear LogicException with migration instructions instead of "Class not found" errors.

Full Changelog: 2.18.0...2.19.0