Releases: auraphp/Aura.Di
5.0.0-alpha.2
- (ADD) $container->lazyLazy() to create a callable from a LazyInterface that is directly invokable.
- (ADD)
#[AttributeConfigFor]
attribute to indicate scanner which attribute is configured by the annotated class. - (ADD)
#[CompileNamespace]
attribute to indicate scanner which namespace should have compiled blueprints. - (ADD)
bin/auradi
executable with scan command. - (CHG) Fix
lazyGet
not resolving the same service. - (CHG) Fix collection of attributes for class constants.
- (CHG)
#[Service]
,#[Instance]
and#[Value]
must haveAttribute::TARGET_PROPERTY
to allow constructor promotion.
5.0.0-alpha.1
- (ADD) Inject via attributes
- (ADD) Configure the container via attributes using the AttributeConfigInterface
- (ADD) Directories scanner for classes and annotations
- (ADD) Dependency requirement of composer/class-map-generator when using the scanner
- (ADD) Compile the container, making it fully ready to instantiate instances and services
- (ADD) ContainerCompileInterface to allow config classes to hook into the compilation process
- (ADD) Support for PHP 8.2 and 8.3
- (ADD) Support for PHPUnit 10
- (ADD) PHPStan analysis
- (CHG) Dropped support psr/container 1.x
- (CHG) Dropped PHP 7
- (CHG) Dropped PHPUnit 8
- (CHG) Remove roave/security-advisories (include composer now)
- (CHG) Container constructor now requires a Resolver
- (CHG) Container constructor does not require a InjectionFactory anymore
- (CHG) LazyInterface now expects a Resolver when __invoke gets called
- (CHG) Resolver now holds the service instances
- (CHG) Dropped PHPUnit polyfills
4.2.1
- (CHG) Allow both v1 and v2 of psr/container
4.2.0
- (CHG) Upgrade to PHP 7.4+ and PHP 8.0
- (CHG) Upgrade psr/container to ^2.0
- (CHG) Upgrade phpunit to ^9.5
- (CHG) Resolver now checks if class exists before calling get_parent_class
- (CHG) Wrapped ReflectionClass calls in a try catch
- (CHG) Removed acclimate/container.
- (ADD) Replace acclimate/container with CompositeContainer
4.1.0
- (ADD) Support 7.4
4.0.0
-
(CHG) Upgrade to PHP 7.2+ only, strict types enabled
-
(CHG) Dropped HHVM support
-
(CHG) Signatures of methods in ContainerConfigInterface changed.
-
(CHG) LazyRequire and LazyInclude do not accept another lazy
-
(CHG) Removed container interop dependency
-
(CHG) Removed unsupported community channels
-
(ADD) Contextual parameters
-
(ADD) Producer
4.0.0-beta1
-
(CHG) Upgrade to PHP 7.2+ only, strict types enabled
-
(CHG) Dropped HHVM support
-
(CHG) Signatures of methods in ContainerConfigInterface changed.
-
(CHG) LazyRequire and LazyInclude do not accept another lazy
-
(CHG) Removed container interop dependency
-
(CHG) Removed unsupported community channels
-
(ADD) Contextual parameters
-
(ADD) Producer
4.0.0-alpha1
-
(CHG) Upgrade to PHP 7.2+ only, strict types enabled
-
(CHG) Dropped HHVM support
-
(CHG) Signatures of methods in ContainerConfigInterface changed.
-
(CHG) LazyRequire and LazyInclude do not accept another lazy
-
(CHG) Removed container interop dependency
-
(CHG) Removed unsupported community channels
-
(ADD) Contextual parameters
-
(ADD) Producer