Skip to content

Releases: Kdyby/Autowired

3.1.0

29 Oct 09:23
Compare
Choose a tag to compare
  • Minimal required version of Tracy bumped from 2.6 to 2.8
  • PHP 8.4 compatibility

3.0.2

03 Nov 10:47
Compare
Choose a tag to compare
  • PHP 8.3 compatibility

3.0.1

04 Feb 16:59
Compare
Choose a tag to compare
  • Add support for nette/utils 4

3.0.0

24 Dec 08:44
Compare
Choose a tag to compare
  • Removed support for using stand-alone autowire traits without registering DI extension (BC break)
  • Removed support for autowiring properties without native PHP property types (BC break)
  • Removed support for phpdoc @autowire annotation in favor of native PHP attribute (BC break)
  • Store the autowired services in original properties and allow their overwriting
  • Explicitly restrict maximum supported PHP version

2.3.0

03 Dec 09:29
Compare
Choose a tag to compare
  • Invalidate cache also on any change in any trait used by the component or presenter
  • Common caching logic used by both autowire traits extracted to shared service
  • Improved test coverage
  • Dropped support for PHP 7.x
  • PHP 8.2 compatibility

Deprecations:

  • Deprecated usage of stand-alone autowire traits without registering DI extension
  • Deprecated phpdoc annotations in favor of native PHP attributes
  • Deprecated support for autowiring properties without native PHP property types

2.2.1

11 Mar 08:19
Compare
Choose a tag to compare
  • Fixed DI extension compatibility with latest Nette.

2.2.0

28 Oct 20:48
Compare
Choose a tag to compare

Added

  • Added support for PHP 8 Autowire attribute as an alternative to @autowire property annotation
  • Added PHP 8.1 support

Changes and fixes

  • Fixed compatibility with latest nette/di
  • Bumped minimum required versions of Nette dependencies
  • Fix edge case check for component creation in autowired component factories
  • Improved autowiring validation for both autowired component factories and properties

Removed

  • Removed support for PHP <7.4

Internal improvements

  • Migrated CI from Travis to Github Actions
  • Increased code coverage
  • Analyse tests by PHPStan
  • Check coding standard by PHP CodeSniffer

2.1.1

31 Oct 10:56
Compare
Choose a tag to compare
  • PHP 8.0 compatibility.

2.1.0

18 Jun 10:31
Compare
Choose a tag to compare
  • AutowireProperties: add support for native property typehints.
  • AutowireProperties: add support for native return typehint of factory service.
  • Dropped abandoned nette/reflection dependency.

v2.0.1

06 Feb 06:23
f82cde0
Compare
Choose a tag to compare

Updated for nette/di 3.0.2.