Skip to content

Releases: nette/di

Released version 3.0.8

02 Mar 03:42
@dg dg
Compare
Choose a tag to compare
  • Resolver: handles nullable or default union|types
  • ContainerPanel: better sorting for human eyes
  • ContainerPanel: shows names of anonymous services
  • uses nette/utils 3.2

Released version 3.0.7

31 Dec 03:19
@dg dg
Compare
Choose a tag to compare
  • Compiler: triggers schema warnings
  • uses nette/schema 1.1
  • DecoratorExtension: throws exception if class not exists

Released version 3.0.6

25 Nov 22:44
@dg dg
Compare
Choose a tag to compare
  • added PHP 8 attribute Inject
  • cooperation with union types
  • Resolver::completeException() appends entity to exception message when type is not known
  • DependencyChecker: checks types of properties
  • DependencyChecker: fixed compatibility with PHP 8 #247
  • DIExtension: detects Tracy by presence of service @tracy\Bar #245
  • InjectExtension: updated exception messages

For the details you can have a look at the diff.

Released version 2.4.17

25 Nov 22:52
@dg dg
Compare
Choose a tag to compare

compatible with PHP 8.0

Released version 3.0.5

13 Aug 13:10
@dg dg
Compare
Choose a tag to compare
  • compatible with PHP 8.0
  • added new internal functions bool(), int(), float(), string()
  • added Helpers::escape()
  • improved exception messages

For the details you can have a look at the diff.

Released version 3.0.4

15 May 23:30
@dg dg
Compare
Choose a tag to compare
  • Resolver: fixed self-dependency #240
  • InjectExtension: chooses a more specific type #234
  • SearchExtension: Exception when class is not autoloaded.
  • DecoratorExtension: resolves definitions before uses its findByType()
  • Container: added getByName() as alias for getService()
  • Compiler: moved Search extension before Decorator (#197)
  • Resolver: better exception message (#233)
  • InjectExtension: maintains natural order of inject methods (BC break)

For the details you can have a look at the diff.

Released version 3.0.3

20 Jan 12:20
@dg dg
Compare
Choose a tag to compare
  • CompilerExtension: added $initialization as replacement for modifying initialize() method
  • class aliases are loaded on demand #226
  • Statement: can be used as dynamic parameter #228
  • parameters: dynamic parameters are resolved
  • parameters: statements are replaced with null in Container
  • %parameters% resolves to all parameters
  • Revert "parameters can contain statements #221"
  • ContainerPanel: uses capturing

For the details you can have a look at the diff.

Released version 3.0.2

27 Dec 03:15
@dg dg
Compare
Choose a tag to compare
  • InjectExtension: accepts native type
  • parameters can contain statements #221
  • InjectExtension: scans resolved class #218
  • SearchExtension: removes conflicting services before it starts to add them
  • Resolver.autowireArguments() fixed counting optional args
  • Resolver::autowireArguments() refactoring, added autowireArgument(), Resolver|Container replaced with callback
  • ExtensionsExtension: better exception message #219

For the details you can have a look at the diff.

Released version 2.4.16

19 Nov 18:26
@dg dg
Compare
Choose a tag to compare
  • supports PHP 7.4
  • Helpers::expand() fixed expansion of dynamic parameters

For the details you can have a look at the diff.

Released version 3.0.1

07 Aug 12:20
@dg dg
Compare
Choose a tag to compare
  • SearchExtension: ability to add factory definitions from interfaces with method create() (#200)
  • Revert "Container: deprecated support for dynamically added services (BC break)" #203
  • ServiceDefinition: removed unnecessary $service variable #206
  • Autowiring: bug fix & tests
  • ExtensionsExtension: added extension type checking (#209)
  • fixed bugs reported by PhpStan (#212)(#211)(#210)(#208)(#207)(#213)(#214)
  • PHP 7.4 compatibility fixes

For the details you can have a look at the diff.