Skip to content

1.1.2

Latest
Compare
Choose a tag to compare
@divmgl divmgl released this 30 Oct 15:23
e093594

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 the Container. Useful for situations where you need to guarantee that a static property is never clobbered (such as passing req and res through the Service.
  • shallow is now deprecated and its functionality has been merged into context.
  • build is now deprecated (use new)
  • instance is now deprecated (use singleton)
  • 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