Releases: ray-di/Ray.AuraSessionModule
Releases · ray-di/Ray.AuraSessionModule
1.3.0
Changes
Changed
- PHP 8 Attributes Migration: Removed deprecated Doctrine annotations, migrated to native PHP 8 attributes
- Minimum PHP Version: Updated requirement to PHP 8.0
- Dependencies: Updated ray/di to ^2.14, aura/session to ^4.0, PHPUnit to 9.6
Added
- PHP 8.4 & 8.5 Support: Added PHP 8.4 and 8.5 support in CI workflow
Removed
- Doctrine annotation support (
@Annotation,@Qualifier,@\Ray\Di\Di\Inject)
Migration Required
Update your code to use PHP 8 attributes instead of annotations:
- /**
- * @Annotation
- * @Qualifier
- */
#[Attribute, Qualifier]
final class Cookie
{
}- /**
- * @\Ray\Di\Di\Inject
- */
public function setSession(Session $session)
{
$this->session = $session;
}Why This Change?
The doctrine/annotations package has been officially abandoned and will no longer receive updates or security patches. This change:
- Eliminates security risks from the abandoned package
- Adopts native PHP 8 attributes as the modern standard
- Improves performance (no runtime annotation parsing)
1.2.2
What's Changed
- Update license copyright year(s) by @github-actions in #5
- Enhance compile by @apple-x-co in #6
New Contributors
- @github-actions made their first contribution in #5
- @apple-x-co made their first contribution in #6
Full Changelog: 1.2.0...1.2.2