Release notes
1.0.4 had a lot of bugs and things that weren't working. This version is a big rework of internal systems while keeping the API mostly the same. There are some breaking changes so I've bumped the version to 1.1.
- Added a
base
method which allows you to set a base - Added an override argument to
context
so callers can provide an object of registrations that will always be favored over theContainer
. Useful for situations where you need to guarantee that a static property is never clobbered (such as passingreq
andres
through theService
. shallow
is now deprecated and its functionality has been merged intocontext
.build
is now deprecated (usenew
)instance
is now deprecated (usesingleton
)- Fixed an issue where a circular reference could cause the process to hang when enumerated
- Fixed an issue where references would only be partially resolved
- Fixed an issue where dependencies would not receive the full context