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()
andget()
now lock the Container automatically. (See note below.)(CHG)
$di->params
now allowsnull
as a parameter value.(ADD) ContainerConfigInterface
👻 (ADD) Better exception messages.
📚 (DOC) Add and update documentation.
Regarding auto-locking of the Container after
newInstance()
andget()
:This prevents errors from premature unification of params/setters/values/etc. in the Resolver. As a result, do not use Container
newInstance()
orget()
before you are finished calling$params
,$setters
,$values
,set()
, or other methods that modify the Container. Use thelazy*()
equivalents to avoid auto-locking the Container. -
v3.0.0-beta2 Changes
✅ BREAK: Rename
Aura\Di\_Config\AbstractContinerTest
toAura\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.