Releases: baileyherbert/container
Releases · baileyherbert/container
Release list
v3.0.0
v2.0.3
- Preserves context in
resolveAll()when using a container with parents
v2.0.2
- Added missing context parameter to
resolveAll
v2.0.1
- Fixed context not applying in registration lookups
- Fixed context not being used for registration lookups in
allmode - Fixed duplicate instances when resolving in
allmode
v2.0.0
- Breaking: Passing arrays into
contextwhen resolving or registering is now treated as an array of contexts rather than a single context token
v1.9.0
- Added a container context variable called
defaultResolutionContextthat sets the default resolution context- The default context can still be overridden on a per-resolution basis
- Resolution will still fall back to non-contextual registrations if no matches are found
v1.8.0
- Added a
clone()method to dispatchers
v1.7.1
- The
TiedContainerDispatcherclass now extends theContainerDispatcherclass to reduce code duplication and maintain consistent resolution behavior. Test cases added.
v1.7.0
- Dispatchers can now use the
setTokenParameter(token, instance)parameter to override the injection for exact tokens, including tokens set with the@Token()decorator.