Releases: Kdyby/Autowired
Releases · Kdyby/Autowired
3.1.0
3.0.2
3.0.1
3.0.0
- 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
- 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
2.2.0
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