Releases: young-steveo/bottlejs
ES Module Release
v2.0.0
This version updates several dev dependencies to resolve security vulnerabilities, (thanks @dependabot-bot !)
It also adds a new ES module build, available in the /dist directory. This is a possible breaking change for some webpack users, so the major version has been bumped to 2. Most users can migrate to bottlejs 2.0.0 without any backwards compatibility problems. Thanks, @blikblum !
v1.7.2 Maintenance Update
This release updates the dev dependencies to resolve security vulnerabilities in the testing pipeline. It also updates the typescript file to support limiting / type checking entry names: #115 (thanks @ethanresnick )
v1.7.1 Security Update
Security Patch
Bottle does not have any dependencies.
However, a security vulnerability was discovered in one of Bottle's build and testing tools. This version of BottleJS updates all of Bottle's dev tools to their latest versions and recompiles the minified source to alleviate any security concerns.
The only noticeable change is an improved file size from the minification library that BotteJS uses (the minified file is about 30 bytes smaller. 🤣)
v 1.7.0
Version 1.6.3
Fixes a bug with resetProviders
when using nested containers. Nested containers will no longer break when they have multiple children.
Version 1.6.2
Minor Bug Fix: v1.6.1
v1.6.1 Bugfix for `resetProviders`
Version 1.6.0
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
andBottle.clear
have been updated to allow empty strings to name and clear a bottle. Any string value is now valid. @Coburn37
Other stuff
- Updated jasmine to the latest version. @cjsaylor
- Added a fix for jshint bug introduced in node 6. @cjsaylor
- TypeScript definition file was missing a few things. It should now be fully up to date.
Version 1.5.0
What's New
- Refactored internals to reduce memory footprint when many nested bottles are created by allowing for better garbage collection. This exposes a few new properties on the bottle instances. See the Readme API section for more details.
- Added a new method to unset named bottle references
Bottle.clear
. - thanks, @emilong - Updated the documentation to better explain isolated containers when using dot notation.
Bugs Fixed
- Deeply nested decorators and middleware were not firing.
- TypeScript definition file was missing the container
$list
method definition.