Skip to content

Releases: nimbly/Resolve

Release 2.3

04 May 17:31
Compare
Choose a tag to compare

Fixes

  • Fixed bug where untyped parameters with no entries in container or user parameters and no default value were being assigned null as default value. Behavior is now to correctly throw a ParameterResolutionException.

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

23 Mar 21:43
Compare
Choose a tag to compare

Updates

  • Complete refactor of parameter resolution logic, especially around Union types.

Release 2.1

14 Mar 00:30
Compare
Choose a tag to compare

Updates

  • Adding support for resolving Union types.

Release 2.0.1

31 Jan 23:07
Compare
Choose a tag to compare

Updates

  • Adding support for psr/container 2.0.

Release 2.0

10 Nov 20:51
Compare
Choose a tag to compare

Breaking change

Resolve has been reworked into a Trait instead of a class.

Release 1.0

03 Sep 16:40
Compare
Choose a tag to compare

Initial release

  • Call any callable make 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

04 Jan 01:12
Compare
Choose a tag to compare

Updates

  • Adding support for PHP 8.0.

Breaking changes

  • Dropping support for PHP 7.2

Release 0.2

13 Oct 20:03
Compare
Choose a tag to compare

Updates

  • Adding getCallableArguments method to return an array of resolved arguments for any callable.
  • Adding makeCallable method to convert common string formats into a callable instance.

Release 0.1

13 Oct 19:36
Compare
Choose a tag to compare

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.