Skip to content

Releases: auraphp/Aura.Di

5.0.0-alpha.2

13 Aug 10:37
Compare
Choose a tag to compare
  • (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 have Attribute::TARGET_PROPERTY to allow constructor promotion.

5.0.0-alpha.1

28 May 07:05
a6c82f7
Compare
Choose a tag to compare
  • (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

04 Jan 21:38
Compare
Choose a tag to compare
  • (CHG) Allow both v1 and v2 of psr/container

4.2.0

04 Jan 21:31
Compare
Choose a tag to compare
  • (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

26 May 11:21
fefda6b
Compare
Choose a tag to compare
  • (ADD) Support 7.4

4.0.0

17 Jul 14:59
Compare
Choose a tag to compare
  • (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

11 Jul 07:43
Compare
Choose a tag to compare
4.0.0-beta1 Pre-release
Pre-release
  • (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

26 Apr 12:10
Compare
Choose a tag to compare
4.0.0-alpha1 Pre-release
Pre-release
  • (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

2.2.5

24 Dec 14:24
Compare
Choose a tag to compare

To remove 7.x warning, replace list() ... each() with foreach.

Also update the Travis configuration.

Thanks to @dstepe for these changes!

3.4.0

30 Jul 04:15
Compare
Choose a tag to compare
  • (CHG) LazyArray now extends ArrayObject. PR #151.