All Versions
27
Latest Version
Avg Release Cycle
289 days
Latest Release
508 days ago

Changelog History
Page 1

  • v4.1.0 Changes

    May 26, 2020
    • ๐Ÿ‘ (ADD) Support 7.4
  • v4.0.0 Changes

    July 17, 2019

    โฌ†๏ธ (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

  • v4.0.0-beta1 Changes

    July 11, 2019

    โฌ†๏ธ (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

  • v4.0.0-alpha1 Changes

    April 26, 2019

    โฌ†๏ธ (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

  • v3.4.0 Changes

    July 30, 2017
    • (CHG) LazyArray now extends ArrayObject. PR #151.
  • v3.3.0 Changes

    July 25, 2017

    ๐Ÿ“š (DOC) Update documentation. PR #140.

    โœ… (CHG) Rearranging code to achieve full test coverage with the existing test suite. PR #141.

    ๐Ÿ›  (ADD) ResolutionHelper. PR #143. Fixes #133.

    (Add) ConfigCollection. PR #146.

    โšก๏ธ (CHG) Update Reflector.php for PHP 7.2 compatibility. PR #148.

    ๐Ÿ‘ท (CHG) Travis CI changes. PR #152.

    ๐Ÿšš (CHG) Removed CHANGES.md. Added CHANGELOG.md

  • v3.2.0 Changes

    October 04, 2016

    ๐Ÿš€ This release adds these new features.

    • (ADD) LazyInclude and LazyRequire can now recieve a LazyValue as a filename, so that the filename is not resolved until the include/require is invoked.
    • (ADD) Allow direct use of lazies in Lazy; cf PR #128.
    • (ADD) Add a new LazyCallable type for injecting callable services; cf. PR #129.
    • (CHG) LazyValue now resolves lazies itself; cf. PR #137.
    • (ADD) Add a new LazyArray type for injecting arrays of lazy-resolved values; cf PR #138.

    ๐Ÿ“š There are also various documentation improvements, and the package now provides (via Composer) the virtual package container-interop-implementation.

  • v3.1.0 Changes

    March 23, 2016

    ๐Ÿ“š This release has one documentation addition, and one feature addition.

    • โž• Added documentation for upgrading/migrating from 2.x to 3.x
    • In ContainerBuilder::newConfiguredInstance(), added the ability to pass a ContainerConfig object instance as a config specification.
  • v3.0.0 Changes

    March 14, 2016

    ๐Ÿ›  This is the second beta release of this library, and likely the last before a stable release (barring unexpected feature changes and bugfixes).

    • (BRK) Container methods newInstance() and get() now lock the Container automatically. (See note below.)

    • (CHG) $di->params now allows null as a parameter value.

    • (ADD) ContainerConfigInterface

    • ๐Ÿ‘ป (ADD) Better exception messages.

    • ๐Ÿ“š (DOC) Add and update documentation.


    Regarding auto-locking of the Container after newInstance() and get():

    This prevents errors from premature unification of params/setters/values/etc. in the Resolver. As a result, do not use Container newInstance() or get() before you are finished calling $params, $setters, $values, set(), or other methods that modify the Container. Use the lazy*() equivalents to avoid auto-locking the Container.

  • v3.0.0-beta2 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.