All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
6.3.0 (2022-01-10)
- breaker should emit a shutdown event when it is shutdown (#625) (ea4d058), closes #620
- upgrade @babel/core from 7.15.4 to 7.15.5 (#604) (709530d)
- upgrade @babel/core from 7.16.0 to 7.16.5 (#622) (43edde6)
- upgrade @babel/preset-env from 7.15.4 to 7.15.6 (#605) (eb1d279)
- upgrade @babel/preset-env from 7.16.0 to 7.16.5 (#623) (b875a23)
- upgrade babel-loader from 8.2.2 to 8.2.3 (#611) (dc31373)
- upgrade eslint-plugin-import from 2.24.1 to 2.24.2 (#602) (940d3f6)
- upgrade eslint-plugin-import from 2.24.2 to 2.25.1 (#608) (f827090)
- upgrade eslint-plugin-import from 2.25.1 to 2.25.2 (#609) (c589ad0)
- upgrade eslint-plugin-import from 2.25.2 to 2.25.3 (#614) (2084fcc)
- upgrade eslint-plugin-promise from 5.1.0 to 5.1.1 (#619) (0139be6)
- upgrade eslint-plugin-promise from 5.1.1 to 5.2.0 (#621) (a2d11b8)
- upgrade multiple dependencies with Snyk (#603) (ed3fe4f)
- upgrade multiple dependencies with Snyk (#606) (0385cbd)
- upgrade multiple dependencies with Snyk (#612) (78982f8)
- upgrade tape from 5.2.2 to 5.3.1 (#599) (54b2a64)
- upgrade tape from 5.3.1 to 5.3.2 (#616) (42f21ed)
- upgrade webpack-cli from 4.7.2 to 4.8.0 (#600) (09744be)
- upgrade webpack-cli from 4.8.0 to 4.9.0 (#607) (ebadc43)
- upgrade webpack-cli from 4.9.0 to 4.9.1 (#610) (b390eb1)
6.2.1 (2021-08-23)
- @babel/core, @babel/preset-env (#582) (b5291ac)
- upgrade coveralls from 3.1.0 to 3.1.1 (#590) (211dffa)
- upgrade documentation from 13.1.1 to 13.2.5 (#583) (b9d7bc2)
- upgrade eslint from 7.24.0 to 7.29.0 (#585) (c4570f8)
- upgrade eslint from 7.29.0 to 7.30.0 (#592) (2747b82)
- upgrade eslint from 7.30.0 to 7.31.0 (#594) (536b312)
- upgrade eslint from 7.31.0 to 7.32.0 (#597) (1e7ca08)
- upgrade eslint-config-standard from 16.0.2 to 16.0.3 (#589) (ec1c3de)
- upgrade eslint-plugin-import from 2.22.1 to 2.23.4 (#584) (15a0b18)
- upgrade tape from 5.2.0 to 5.2.2 (#588) (4139fd7)
- upgrade webpack-cli from 4.5.0 to 4.7.2 (#586) (d588890)
6.2.0 (2021-07-07)
6.1.0 (2021-05-06)
6.0.1 (2021-04-15)
- return errors from invocation filtered errors (#567) (737e1b1), closes #556
- docs: Fix documentation for default value of rollingPercentilesEnabled (#563) (93d5969)
6.0.0 (2021-03-18)
A succesful erroFilter should not trigger the fallback function.
Previously, if an errorFilter function passed it would emit success but still call the fallback function. This corrects this behavior. even a passing errorFilter is a success
-
upgrade standard-version from 9.1.0 to 9.1.1 (#551) (16341bb)
-
fix!: A succesful erroFilter should not trigger the fallback function. (8a4fb7c), closes #540
5.1.3 (2021-01-25)
- package.json & package-lock.json to reduce vulnerabilities (#533) (deaa258)
- upgrade standard-version from 9.0.0 to 9.1.0 (#535) (3665bb0)
- upgrade tape from 5.0.1 to 5.1.0 (#534) (be93012)
- upgrade tape from 5.1.0 to 5.1.1 (#537) (78db7ba)
- upgrade webpack from 5.10.3 to 5.11.0 (#529) (039fb48)
- upgrade webpack from 5.11.0 to 5.11.1 (#532) (67d850e)
- upgrade webpack-cli from 4.2.0 to 4.3.0 (#531) (9625ff7)
- upgrade webpack-cli from 4.3.0 to 4.3.1 (#536) (afcc950)
5.1.2 (2021-01-07)
- type-error on empty action (#528) (7b51dba), closes #524
- upgrade @babel/core from 7.12.7 to 7.12.9 (#517) (2a28a73)
- upgrade @babel/preset-env from 7.12.10 to 7.12.11 (#527) (bce3bfc)
- upgrade babel-loader from 8.2.1 to 8.2.2 (#519) (654af20)
- upgrade multiple dependencies with Snyk (#513) (7e3ef5c)
- upgrade multiple dependencies with Snyk (#523) (480d2ff)
- upgrade webpack from 5.10.1 to 5.10.3 (#526) (e72394c)
- upgrade webpack from 5.4.0 to 5.6.0 (#512) (dc8f308)
- upgrade webpack from 5.6.0 to 5.8.0 (#518) (f4438c8)
- upgrade webpack from 5.8.0 to 5.9.0 (#520) (119ac47)
- upgrade webpack from 5.9.0 to 5.10.1 (#525) (d552015)
- using default parameter to avoid runtime error (#522) (6a6f08b)
5.1.1 (2020-12-07)
- catch exceptions in fallback functions (#510) (34f75a2)
- upgrade webpack from 5.3.2 to 5.4.0 (#507) (05a8876)
- upgrade webpack-cli from 4.1.0 to 4.2.0 (#506) (ba91b77)
5.1.0 (2020-12-02)
- lint issues in test (#499) (35ddd8c)
- package.json & package-lock.json to reduce vulnerabilities (#493) (03fed29)
- upgrade @babel/core from 7.12.1 to 7.12.3 (#490) (6a73957)
- upgrade babel-loader from 8.1.0 to 8.2.1 (#505) (885403b)
- upgrade documentation from 13.0.2 to 13.1.0 (#491) (cc94100)
- upgrade multiple dependencies with Snyk (#485) (efe299e)
- upgrade multiple dependencies with Snyk (#487) (3afaa17)
- upgrade webpack from 5.1.1 to 5.3.2 (#500) (1562a41)
- upgrade webpack-cli from 4.0.0 to 4.1.0 (#501) (63d20c2)
5.0.2 (2020-10-14)
- Adding docs about fallback parameters (#460) (e8989b6), closes #459
- upgrade @babel/core from 7.11.0 to 7.11.1 (#458) (bd59b48)
- upgrade @babel/core from 7.11.1 to 7.11.4 (#463) (2d4318d)
- upgrade @babel/core from 7.11.5 to 7.11.6 (#467) (c0edb40)
- upgrade multiple dependencies with Snyk (#466) (4dc36ef)
- upgrade opener from 1.5.1 to 1.5.2 (#465) (96df963)
- upgrade webpack from 4.44.1 to 4.44.2 (#471) (a9d8b86)
5.0.1 (2020-08-21)
- [Snyk] Upgrade documentation from 12.1.4 to 12.2.0 (#411) (4ed0b30)
- package.json to reduce vulnerabilities (#405) (186b464)
- upgrade @babel/core from 7.10.4 to 7.10.5 (#449) (a18d669)
- upgrade coveralls from 3.0.3 to 3.0.9 (#408) (d3bf2b4)
- upgrade documentation from 12.0.0 to 12.1.4 (#407) (f2a2a67)
- upgrade multiple dependencies with Snyk (#406) (c485c2d)
- upgrade multiple dependencies with Snyk (#455) (1fb7791)
- upgrade serve from 11.0.0 to 11.3.0 (#409) (8f35473)
- upgrade standard-version from 8.0.1 to 8.0.2 (#448) (dcba522)
- upgrade tape from 4.13.0 to 4.13.2 (#410) (b6bbf55)
- upgrade webpack from 4.43.0 to 4.44.0 (#451) (ff127d5)
- upgrade webpack from 4.44.0 to 4.44.1 (#456) (544fcd9)
- test: Avoiding an UnhandledPromiseRejection (196457f)
5.0.0 (2020-02-20)
4.2.4 (2020-01-22)
4.2.3 (2020-01-03)
4.2.2 (2020-01-02)
4.2.1 (2019-11-08)
4.2.0 (2019-10-28)
- clear intervals on shutdown (#378) (91e2dbe)
- Clear reset timer on open() (#383) (7f488f1)
- do not close if preexisting task resolves when state is not OPEN (#382) (7b92602)
- circuit: remove unneeded resolve() (#377) (cde55eb)
4.1.0 (2019-10-16)
4.0.0 (2019-08-21)
- The factory function has been removed in favor of simply using the
CircuitBreaker
constructor. - Prometheus and Hystrix metrics have been moved into their own repositories.
- We no longer keep a set of all circuits
3.0.0 (2019-07-26)
-
Remove the Promisify function from the CircuitBreaker factory
-
Node has its own built-in promisify function that can be used instead.
2.3.0 (2019-07-01)
2.2.0 (2019-06-24)
- ensure that including dist/opossum.js works (#341) (873deb5), closes /github.com/lance/elizabethan-insults/commit/ebabdf359c54090cfde31a06ad09576eeba82488#diff-23fce1009af5652674e09470cda3c008R9
2.1.0 (2019-06-12)
- add function to get metrics for all circuits (#328) (ff29f2e)
- Add original function parameters to the failure and timeout events (#326) (f8918c4), closes #324
2.0.0 (2019-06-05)
- use node 12 on ci/cd in addition to 8 and 10 (93f8008)
- prometheus client integration (282b467)
health-check-failed
andsemaphore-locked
events have been changed tohealthCheckFailed
andsemaphoreLocked
respectively
1.11.1 (2019-05-22)
- don't fail coverage from untrusted forks (194e18d)
- remove travis-ci now that circleci is good (9756bf5)
- rename the workflow to test_node_versions in circleci (c7cc277)
- set circleci to ignore gh-pages branch (23e1384)
- set up coveralls (again); remove Makefile (d099b45)
- switch to standardx for linting (4967736)
- try circleci for continuous integration (1a77f3a)
- try workflows for multiple version builds (5e9e6c8)
- use codacy for coverage instead of coveralls (e359ab9)
- generate browser/headless test suite (2d24b35)
- improve circuit.shutdown() test (6841abc)
- switch to serve instead of http-server for browser tests (50ccab7)
1.11.0 (2019-03-14)
- add errorFilter option to bypass incrementing failure stats (8018012)
1.10.1 (2019-02-25)
- eliminates a bug where the circuit could remain halfOpen forever (0039ee1)
1.10.0 (2019-01-28)
- add circuit.shutdown() to shut a circuit down (e14796c)
1.9.0 (2018-10-27)
- add options.volumeThreshold (f9a720e)
1.8.0 (2018-10-02)
- changed currentTime to number as specified in the docs (e816f43)
- add options.allowWarmUp as a creation option (#218) (ff42d1b)
- change default capacity from 10 to MAX_SAFE_INTEGER (4a8b98b)
1.7.1 (2018-07-18)
1.7.0 (2018-06-06)
1.6.0 (2018-05-24)
1.5.0 (2018-04-25)
- add full support for webpack and angular (#185) (a8cdad6)
- address sec vuln in marked coming from jsdoc (224c6ef)
- security issue related to electron version (#138) (4739c62)
- add enable/disable for a circuit (#160) (016eba5)
- allow multiple circuits to aggregate stats (#140) (ba71840)
1.4.0 (2018-03-26)
- address sec vuln in marked coming from jsdoc (224c6ef)
- security issue related to electron version (#138) (4739c62)
- add enable/disable for a circuit (#160) (016eba5)
- allow multiple circuits to aggregate stats (#140) (ba71840)
1.3.1 (2017-12-14)
- build on windows10 due browserify limitations (#112) (dee4a9a)
- halfOpen state does not reject and doesn't trigger a later re-try. (#120 (04df6f7)
1.3.0 (2017-10-16)
- ensure breaker.fire() returns rejected promise when fallback fails (fbedb07)
- ensure fallback event always fires (27c3f8b)
- JSDoc now available for semaphore-locked event (6f6c9bd)
1.2.1 (2017-06-20)
1.2.0 (2017-06-20)
1.1.0 (2017-06-06)
- add ETIMEDOUT error code for timeout error (#64) (5df9f65)
- addition of rolling percentile latency's. GH-ISSUE #38 (ce7b50d)
- remove fidelity promises. (3f5827a)
1.0.0 (2017-04-06)
- do not fire failure event on short circuit (ab87350)
- make Status an EventEmitter (8aad11a)
- remove default maxFailures option (be65d3b)
- add a group option. GH-Issue #43 (3052f23)
- Add an example on how to use the Hystrix Metrics (fd8246a)
- Addition of Hystrix Mertrics Stream. GH-ISSUE #39 (2d44df6)
- circuit status now contains a rolling window (#34) (05c0a2f)
- prefer an error percentage threshold (245d47b)
0.6.0 (2017-03-30)
- circuit should emit failure event on fallback (f2594d8)
- include the error when emitting the 'fallback event' (40eb2eb)
- promise should reject when action throws (58dab98)
- typo copy past duplicated property (54a27b9)
- add basic rolling stats to a circuit (8fb9561)
- Add caching capability to circuits (6c3144f)
- Add caching capability to circuits (0b717f6)
- Applying code review (6a0f7ff)
- Applying code review (8445a24)
- circuits now have a name based on the action (f08d46e)
0.5.1 (2017-03-02)
0.5.0 (2016-12-22)
- ensure fallback event emits after function call (df40ea7)
- ensure pending close flag is reset (5a1b70b)
- ensure that promise is rejected on fallback (d4496d8)
- fix (again) browser load of circuitBreaker (58a80fb)
- fix export of module in browser environment (5a0594c)
0.4.0 (2016-12-20)
- Full featured browser capabilities (427c155)
0.3.0 (2016-12-16)
- create a browser distribution (cc8036c)
0.2.0 (2016-12-13)
- return 'this' from CircuitBreaker.fallback (159c006)