Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

0.4.0

Choose a tag to compare

@BenMorel BenMorel released this 19 Jan 15:10
· 9 commits to master since this release

💥 Breaking changes

  • minimum PHP version is now 8.0
  • namespace Brick\Di is now Brick\DI
  • DependencyInjectionException has been renamed to DIException
  • Inject is now an attribute, not a Doctrine annotation anymore
  • Inject has been moved to Brick\DI\Inject
  • Container now defaults to using attributes
  • ValueResolver::getParameter|PropertyValue() now have a mixed return type

✨ New features

  • Support for typed properties
  • Support for union types