All Versions
Latest Version
Avg Release Cycle
289 days
Latest Release
600 days ago

Changelog History
Page 2

  • v3.0.0-beta1 Changes

    • โœ… BREAK: Rename Aura\Di\_Config\AbstractContinerTest to Aura\Di\AbstractContainerConfigTest.

    • BREAK: The ContainerBuilder no longer accepts pre-built services, only config class names.

    • ๐Ÿšš BREAK: Remove the Aura\Di\Exception\ReflectionFailure exception, throw the native \ReflectionException instead.

    • BREAK: Previously, the AutoResolver would supply an empty array for array typehints, and null for non-typehinted parameters. It no longer does so; it only attempts to auto-resolve class/interface typehints.

    • ๐Ÿ”„ CHANGE: Add .gitattributes file for export-ignore values.

    • ๐Ÿ”„ CHANGE: Allow PHP 5.5 as the minimum version.

    • โž• ADD: Allow constructor params to be specified using position number; this is in addition to specifying by $param name. Positional params take precendence over named params, to be consistent pre-existing behavior regarding merged parameters.

    • ๐Ÿ“„ DOCS: Update documentation, add bookdown files.

  • v3.0.0-alpha1 Changes

    ๐Ÿš€ This is releases moves the AbstractContainerTest to is proper location. Sorry for making two releases in a row so quickly.

  • v2.2.5 Changes

    December 24, 2018

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

    โšก๏ธ Also update the Travis configuration.

    Thanks to @dstepe for these changes!

  • v2.2.4 Changes

    January 21, 2016
    • ๐Ÿ›  Fixes #91 property-read designation causes PHPStorm to have syntax error. Changed @property-read to @Property so they will still be auto-completed by IDE. Thank you David Stockton, Brandon Savage.
    • ๐Ÿ›  Fix the doc comments.
  • v2.2.3 Changes

    ๐Ÿ‘ป This release provides a better message for Exception\ReflectionFailure, via issue #73.

  • v2.2.2 Changes

    ๐Ÿš€ This is releases moves the AbstractContainerTest to is proper location. Sorry for making two releases in a row so quickly.

  • v2.2.1 Changes

    ๐Ÿš€ This release restructures the testing and support files, particularly Composer. Note the changes in how tests are run in the new

  • v2.2.0 Changes

    ๐Ÿš€ This release has a couple of feature improvements: traits in ancestor classes and in ancestor traits are now honored, and the DI container can now be serialized and unserialized (unless it contains closures).

    • โž• ADD: The Factory now gets all traits of ancestor classes & ancestor traits.

    • ๐Ÿ†• NEW: Class Aura\Di\Reflection decorates ReflectionClass to permit serialization of the DI Container for caching.

    • ๐Ÿ›  FIX: The ContainerBuilder now call setAutoResolve() early, rather than late.

    • ๐Ÿ›  FIX: If the class being factories has no __construct() method, instantiate without constructor.

    • ๐Ÿ“š DOC: Update documentation and support files.

  • v2.1.0 Changes

    ๐Ÿš€ This release incorporates functionality to optionally disable auto-resolution. 0๏ธโƒฃ By default it remains enabled, but this default may change in a future version.

    • โž• Add Container::setAutoResolve(), Factory::setAutoResolve(), etc. to allow disabling of auto-resolution

    • When auto-resolution is disabled, Factory::newInstance() now throws Exception\MissingParam when a constructor param has not been defined

    • ContainerBuilder::newInstance() now takes a third param to enable/disable auto-resolution

    • โœ… AbstractContainerTest now allows you to enable/disable auto-resolve for the tests via a new getAutoResolve() method

  • v2.0.0 Changes

    • DOC: In README, note that magic-call setters will not work.

    • ๐Ÿšš BRK: Related to testing under PHP 5.3, remove the ContainerAssertionsTrait. The trait is not 5.3 compatible, so it has to go. Instead, you can extend the Aura\Di_Config\AbstractContainerTest in tests/container/src/ and override the provideGet() and provideNewInstance() methods. Sorry for the hassle.