Aura PHP v3.0.0 Release Notes

Release Date: 2016-03-14 // about 8 years ago
  • ๐Ÿ›  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.