All Versions
27
Latest Version
Avg Release Cycle
289 days
Latest Release
552 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 README.md.

  • 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.