Releases: nimbly/Carton
Releases · nimbly/Carton
Release list
Release 2.2
Updates
- Adding test coverage for PHP 8.4
- Dropping support for PHP 8.0 and 8.1
- Bumping dev dependencies
Release 2.1
Features
- Expanding method signatures for
set,singleton, andfactoryto allow passing in an alias or an array of aliases to assign. - Updating method signature for
aliasto allow a string or an array of strings for aliases.
Updates
- New copyright year in license.
- Updating documentation (adding alias docs.)
- Fleshing out Docblocks in
Container. - Bumping dev dependencies.
- Removing unused dev dependencies.
- Updating Github Actions config to add composer audit and validate.
Release 2.0.1
Updates
- Updating package description
- Updating CI configs to use latest versions of actions
- Adding PHP 8.3 to test matrix
- Increasing test coverage, now at 100%
Fixes
- Several small typos and errors in documentation
Release 2.0
Breaking changes
- Dropping support for PHP 7.x
- Moving namespace from
CartontoNimbly\Carton
Updates
- Updating to Resolve 2.1
- Fixing
Makefilerecipe for coverage command
Fixes
- Fixing typo in
providesection ofcomposer.json
Release 1.2.1
Updates
- Using official Travis PHP 8.0 build for testing.
- Returning support for PHP 7.3.
Release 1.2
Updates
- Adding PHP 8.0 support
- Dropping support for PHP 7.2 and 7.3
Release 1.1
What's new
- Added
aliasmethod to register an alias to another container item. - Added
makeCallablemethod to take a string and convert it into acallable. Supports commonClass@Methodformat as well as invocable classes. - Added
getCallableArgumentsmethod to resolve arguments of a callable from both the container and any passed-in arguments.
Breaking changes
- Changing method signature for
call
Release 1.0
Features
- PSR-11 compliant
- Singleton and factory builders
- Service provider registration
- Nested PSR-11 containers
- Autowiring