This repository was archived by the owner on Jun 4, 2025. It is now read-only.
Repository navigation
Releases
Releases · brick/di
0.4.2
0.4.1
0.4.0
💥 Breaking changes
- minimum PHP version is now 8.0
- namespace
Brick\Diis nowBrick\DI DependencyInjectionExceptionhas been renamed toDIExceptionInjectis now an attribute, not a Doctrine annotation anymoreInjecthas been moved toBrick\DI\InjectContainernow defaults to using attributesValueResolver::getParameter|PropertyValue()now have amixedreturn type
✨ New features
- Support for typed properties
- Support for union types
0.3.4
0.3.3
0.3.2
0.3.1
Non-breaking change
The $object parameter of the Brick\Di\Injector::inject() method is now strongly typed to object:
public function inject(object $object) : voidNote that this change is non-breaking because PHP allows a subclass to override the method with no type hint.