Releases: nette/di
Releases · nette/di
Released version 3.2.3
Released version 3.2.2
- Container: refactoring
- NeonAdapter: resolving of constants and enums moved here from
filterArguments()
(BC break) Container::getServiceType()
ignores dynamically added services (BC break)Container::getByType()
fixed cooperation with dynamic factory #314- Resolver: better exception when
normalizeEntity()
fails due to service replacement - Revert "LocatorDefinition: deprecated support for create($name) method (BC break)"
Released version 3.2.1
Released version 3.2.0
- requires PHP 8.1
- uses PHP 8.1 features
- Sensitive parameters are put in markers /sensitive{/ and /}/
- added support for first-class callable syntax in NEON
- SearchExtension: added 'exclude -> files'
- ServicesExtension: locator supports Statement (#294)
changes
- Resolver: only optional parameters are autowired with default value (BC break)
- generated accessors/factories must have defined return type (BC break)
- %parameters% is deprecated (BC break)
- LocatorDefinition: deprecated support for
create($name)
method (BC break) - PhpGenerator: warns about suspicious dumping of objects
Released version 3.1.10
- ParametersExtension: exports both statements and dynamic parameters, preloads only the latter
- allowed %foo.bar% expansion of Statement
- SearchExtension: also searches for accessors
Resolver::autowireArgument()
fixed handling of new-initializer with typehint #302- InjectExtension: added type checking
NeonAdapter::removeUnderscoreVisitor()
checks if key doesn't exist
Released version 3.1.8
- ParametersExtension, Container: redesigned way of exporting dynamic parameters via
getParameter()
#291 Helpers::expand()
allow concatenation of Statements #288- more self explanatory message for factory and service mismatch (closes #199) (#284)
- Support list
<Type>
syntax for autowiring a collection of services (#293) - Resolver: added support for named variadics #289
- ParametersExtension: better validation exception for dynamic parameters
- ContainerPanel: refactoring
- Container: detects circular reference for parameters
- ServiceDefinition: prepends
@self
to setup immediately - Option 'class' is allowed again
Released version 3.0.17
- Resolver: added support for named variadics #289
- Resolver: tolerates nullable types when resolving
- Container: added
initialize()
Released version 3.1.3
- support for PHP 8.3
- Resolver: tolerates nullable types when resolving
Released version 3.1.2
- ContainerPanel: removed padding & word-break for dumps, class name moved to the top and removed from the header
Resolver::autowireArguments()
fixed support for variadics- fixed exception messages
- fix
Container::getByType()
compatibility with PHPStan (#285)
Released version 3.0.16 (end of support)
- ContainerPanel: removed padding & word-break for dumps
Resolver::autowireArguments()
fixed support for variadics- fixed exception messages
v3.0 maintenance has been ended, please update to v 3.1