Skip to content

0.4.0

Compare
Choose a tag to compare
@BenMorel BenMorel released this 19 Jan 15:10
· 8 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