Releases: codenamephp/platform.di
Releases · codenamephp/platform.di
5.2.0
What’s Changed
- Add PHP8 support (#46) @bastianschwarz
- Update marcj/topsort requirement from ^1.1 to ^1.1 || ^2.0 (#45) @dependabot
5.1.1
What’s Changed
- 5.1.1 (#44) @bastianschwarz
- Extracted check for added provider for improved readability (#43) @bastianschwarz
- Updated release workflow (#42) @bastianschwarz
5.1.0
What’s Changed
- Auto created dependencies (#38) @bastianschwarz
- Remove unused symfony/filesystem package (#37) @bastianschwarz
- Updated CI tools (#36) @bastianschwarz
5.0.0
What’s Changed
- Rework of dependency system and introduction of TopoGraph sort (#32) @bastianschwarz
- Update dealerdirect/phpcodesniffer-composer-installer requirement from ^0.5 || ^0.6 to ^0.5 || ^0.6 || ^0.7 (#30) @dependabot-preview
Bugfix
Updated codesniffer installer
Update dealerdirect/phpcodesniffer-composer-installer requirement from ^0.5 to ^0.5 || ^0.6
Added MetaProvider interface
Added
- Added new
\de\codenamephp\platform\di\definitionsProvider\iMetaProviderinterface to add multiple providers with a single class
Strict typing, composition and QA
Added
- Added psalm as QA tool
- Added phive to install QA tools
- Added
\de\codenamephp\platform\di\iContainerBuilderinterface
Changed
- Switched from Jenkins (which wasn't operational in a few years) to travis
- Updated PHPComp
- Added strict type declaration to all files
- Added type hints and return type hints to all methods
- ContainerBuilder was changed from inheritance to composition
- Made classes final
Update to php-di 6
Changed
- Dependency to php-di is now ^6 which requires PHP7 @bastianschwarz
- Replaced
Interop\Container\ContainerInterfacewith\Psr\Container\ContainerInterfacein\de\codenamephp\platform\di\iContainer@bastianschwarz - Changed constructor of
\de\codenamephp\platform\di\Containerto expect an instance of\DI\Definition\Source\MutableDefinitionSourceand
\Psr\Container\ContainerInterfaceas the parent constructor was changed @bastianschwarz - All parameters of
\de\codenamephp\platform\di\Container::__constructare now optional same as the parent constructor @bastianschwarz - The type of the first parameter $name of
\de\codenamephp\platform\di\Container::setis now enforced via type hint @bastianschwarz
Trait and dependency fix
- Added trait for the container @bastianschwarz
- Added
\de\codenamephp\platform\di\definitionsProvider\dependency\Wrapperand enabled dependency check for classes that do not implement
the\de\codenamephp\platform\di\definitionsProvider\dependency\iDependencyinterface @bastianschwarz