Releases: xp-forge/inject
Releases · xp-forge/inject
6.0.0: XP 12 compatibility, PHP 7.4+
5.5.0: Eager singletons
5.4.0: Simplified primitives
- Prefer
floatoverdoublefor floating point numbers. Consistent
with PHP's type system, see xp-framework/core#213
(@thekid) - Merged PR #28: Fix type errors with primitive bindings - @thekid
- Merged PR #27: Simplify string bindings (in
ConfiguredBindings). Now,
string bindings can be intuitively written askey=value.
(@thekid)
5.3.0: Exception consistency
5.2.0: Type union injection
5.1.2: Injection lookup loop fix
5.1.1: XP 11, PHP 8.1 compatibility
- Made library compatible with XP 11 - @thekid
- Made compatible with PHP 8.1 - add
ReturnTypeWillChangeattributes to
array access, see https://wiki.php.net/rfc/internal_method_return_types
5.1.0: Named binding precedence
- Changed implementation to check named bindings before resorting to
parameters' default values
(@thekid)
5.0.2: Nullable fix
- Fixed compatibility with XP 10.6.0's nullable types - @thekid
5.0.1: PHP8 compatibility fix
- Fixed
ParseError (syntax error, unexpected token "@")in PHP 8.0
(@thekid)