Releases: parable-php/di
Releases · parable-php/di
Parable DI 1.0.1
Parable DI 1.0.0
It's time! Finally a 1.0.0 release, locking the interface in place for at least a while.
Changes
- Completed the
README. clear()no longer throws on a non-stored instance, since the expected result (that instance no longer being stored) is met.NotFoundExceptionrenamed toInstanceNotFoundExceptionfor clarity.- Added
unmap(string $requested): voidto unmap and clear any mapped instance. - Improved
clearExcept()to useclear()so it also unsets any existing relationships.
Parable DI 0.3.2
Changes
- Add static analysis using psalm.
Parable DI 0.3.1
0.3.1
Fixes
- Small fix for the new php8 reflection types.
Parable DI 0.3.0
0.3.0
Changes
- Dropped support for php7, php8 only from now on.
Parable DI 0.2.6
0.2.6
Changes
ReflectionParameter::getClass()is deprecated in php 8+, so reworked to useReflectionParameter::getType()instead.
Parable DI 0.2.5
0.2.5
Changes
normalize()now also trims the provided string of whitespace first.
Parable DI 0.2.4
0.2.4
Changes
- Remove
objectreturn type hinting, since it didn't actually help. - Thanks to @dmvdbrugge,
dynamicReturnTypeMeta.jsonhas been replaced by the PhpStorm-native.phpstorm.meta.php. See PR #1.
Parable DI 0.2.3
0.2.3
Changes
- Scalar parameters can now also be handled, but only if they are considered optional. This means after any required parameters, and with a default value.
Parable DI 0.2.2
0.2.2
Changes
- Define strict types.