Releases: nimbly/Resolve
Releases · nimbly/Resolve
Release 2.4
Updates
- Adding support for PHP 8.4
- Dropping support for PHP 8.0
Fixes
- Fixing implicit null deprecation on parameters
Release 2.3
Fixes
- Fixed bug where untyped parameters with no entries in container or user parameters and no default value were being assigned
nullas default value. Behavior is now to correctly throw aParameterResolutionException.
Updates
- Updating Docblocks in Resolve class with better documentation.
- Updating Github Actions config and Codecov API token.
- Adding PHP 8.3 as test target in Github Actions.
Release 2.2
Updates
- Complete refactor of parameter resolution logic, especially around Union types.
Release 2.1
Updates
- Adding support for resolving Union types.
Release 2.0.1
Updates
- Adding support for
psr/container2.0.
Release 2.0
Breaking change
Resolve has been reworked into a Trait instead of a class.
Release 1.0
Initial release
- Call any
callablemake any makeable - Resolves dependencies for class constructors, methods, and functions.
- Add a PSR-11 ContainerInterface instance to Resolve for a full fledged dependency injection library.
Release 0.3
Updates
- Adding support for PHP 8.0.
Breaking changes
- Dropping support for PHP 7.2
Release 0.2
Updates
- Adding
getCallableArgumentsmethod to return an array of resolved arguments for any callable. - Adding
makeCallablemethod to convert common string formats into acallableinstance.
Release 0.1
Initial release
Resolve is a dependency injection helper that can call any callable and handle the dependency injection for you. You can optionally provide it a PSR-11 container instance for additional help in resolving dependencies.