Skip to content

Releases: young-steveo/bottlejs

ES Module Release

20 Aug 18:24
cf2adef
Compare
Choose a tag to compare

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

07 Feb 23:08
baba6ab
Compare
Choose a tag to compare

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

03 May 14:53
cf1e7bd
Compare
Choose a tag to compare

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

29 Jan 16:25
889cc52
Compare
Choose a tag to compare

New Feature

Minor improvements

  • Internal uglification optimizations. #101
  • Improved TypeScript container support #102

Version 1.6.3

06 Dec 21:41
97ef4e3
Compare
Choose a tag to compare

Fixes a bug with resetProviders when using nested containers. Nested containers will no longer break when they have multiple children.

Version 1.6.2

27 Nov 16:54
acd4843
Compare
Choose a tag to compare

This patch release adds better support for classes in the typescript definition file, and fixes a bug with registering new services on an already-instantiated nested container ( thanks to @aretmy and @TimWolla ).

Minor Bug Fix: v1.6.1

17 May 13:50
Compare
Choose a tag to compare
v1.6.1 Bugfix for `resetProviders`

Version 1.6.0

22 Feb 18:20
Compare
Choose a tag to compare

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

Version 1.5.0

15 Oct 15:22
Compare
Choose a tag to compare

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.

Version 1.4.0

03 Aug 22:29
Compare
Choose a tag to compare
  • Added a new method instanceFactory - thanks @nzack
  • Fixed a bug in the TypeScript definition file - thanks @pferdone
  • Updated the TypeScript definition file with some missing methods.