Skip to content

Releases: nimbly/Resolve

Release 2.4

Choose a tag to compare

@brentscheffler brentscheffler released this 26 Feb 23:48

Updates

  • Adding support for PHP 8.4
  • Dropping support for PHP 8.0

Fixes

  • Fixing implicit null deprecation on parameters

Release 2.3

Choose a tag to compare

@brentscheffler brentscheffler released this 04 May 17:31

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

Choose a tag to compare

@brentscheffler brentscheffler released this 23 Mar 21:43

Updates

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

Release 2.1

Choose a tag to compare

@brentscheffler brentscheffler released this 14 Mar 00:30

Updates

  • Adding support for resolving Union types.

Release 2.0.1

Choose a tag to compare

@brentscheffler brentscheffler released this 31 Jan 23:07

Updates

  • Adding support for psr/container 2.0.

Release 2.0

Choose a tag to compare

@brentscheffler brentscheffler released this 10 Nov 20:51

Breaking change

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

Release 1.0

Choose a tag to compare

@brentscheffler brentscheffler released this 03 Sep 16:40

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

Choose a tag to compare

@brentscheffler brentscheffler released this 04 Jan 01:12

Updates

  • Adding support for PHP 8.0.

Breaking changes

  • Dropping support for PHP 7.2

Release 0.2

Choose a tag to compare

@brentscheffler brentscheffler released this 13 Oct 20:03

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

Choose a tag to compare

@brentscheffler brentscheffler released this 13 Oct 19:36

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.