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.