Skip to content

Version 1.6.0

Choose a tag to compare

@young-steveo young-steveo released this 22 Feb 18:20
· 177 commits to master since this release

What's New

  • Providers can now be reset on a bottle instance by calling bottle.resetProviders(). This is primarily useful for unit testing. @cjsaylor
  • Containers now have a $decorator function that will only add decorators to that container's services. This is useful for nested bottles. @iMoses
  • Bottle.pop and Bottle.clear have been updated to allow empty strings to name and clear a bottle. Any string value is now valid. @Coburn37

Other stuff