Skip to content

Latest commit

 

History

History
539 lines (273 loc) · 27.9 KB

CHANGELOG.md

File metadata and controls

539 lines (273 loc) · 27.9 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

5.1.2 (2021-01-07)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Features

Bug Fixes

  • 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)

Reverts

  • Revert "build: use pull_request_target in actions workflow (#476)" (3fa32b9), closes #476

5.0.2 (2020-10-14)

Bug Fixes

  • 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)

Bug Fixes

  • [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)

Bug Fixes

4.2.3 (2020-01-03)

4.2.2 (2020-01-02)

4.2.1 (2019-11-08)

Bug Fixes

4.2.0 (2019-10-28)

Bug Fixes

  • 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)

Features

4.1.0 (2019-10-16)

Features

4.0.0 (2019-08-21)

Breaking Changes

  • 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

Features

  • refactor Prometheus and Hystrix metrics (#350) (3adbb90)

3.0.0 (2019-07-26)

src

BREAKING CHANGES

  • 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)

Features

  • provide an Iterator of all active circuits (#344) (13616b0)

2.2.0 (2019-06-24)

Bug Fixes

Features

2.1.0 (2019-06-12)

Features

  • 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)

Build System

  • use node 12 on ci/cd in addition to 8 and 10 (93f8008)

Features

  • prometheus client integration (282b467)

Breaking Changes

  • health-check-failed and semaphore-locked events have been changed to healthCheckFailed and semaphoreLocked respectively

1.11.1 (2019-05-22)

Build System

  • 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)

Tests

  • 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)

Features

  • add errorFilter option to bypass incrementing failure stats (8018012)

1.10.1 (2019-02-25)

Bug Fixes

  • eliminates a bug where the circuit could remain halfOpen forever (0039ee1)

1.10.0 (2019-01-28)

Features

  • add circuit.shutdown() to shut a circuit down (e14796c)

1.9.0 (2018-10-27)

Features

  • add options.volumeThreshold (f9a720e)

1.8.0 (2018-10-02)

Bug Fixes

  • changed currentTime to number as specified in the docs (e816f43)

Features

  • 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)

Bug Fixes

Features

1.6.0 (2018-05-24)

Features

  • pass error as parameter to fallback function (#197) (ae6c1cc)

1.5.0 (2018-04-25)

Bug Fixes

  • 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)

Features

  • add enable/disable for a circuit (#160) (016eba5)
  • allow multiple circuits to aggregate stats (#140) (ba71840)

1.4.0 (2018-03-26)

Bug Fixes

  • address sec vuln in marked coming from jsdoc (224c6ef)
  • security issue related to electron version (#138) (4739c62)

Features

  • add enable/disable for a circuit (#160) (016eba5)
  • allow multiple circuits to aggregate stats (#140) (ba71840)

1.3.1 (2017-12-14)

Bug Fixes

  • 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)

Bug Fixes

  • ensure breaker.fire() returns rejected promise when fallback fails (fbedb07)
  • ensure fallback event always fires (27c3f8b)
  • JSDoc now available for semaphore-locked event (6f6c9bd)

Features

  • Add health check function to a circuit breaker (#76) (0e39faa)

1.2.1 (2017-06-20)

1.2.0 (2017-06-20)

Features

1.1.0 (2017-06-06)

Bug Fixes

  • don't let circuits get stuck half open (5e1171c)
  • fix logic around pendingClose (4d89ae4)

Features

  • 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)

Bug Fixes

  • do not fire failure event on short circuit (ab87350)
  • make Status an EventEmitter (8aad11a)
  • remove default maxFailures option (be65d3b)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • allow for a CircuitBreaker as a fallback (85cbc34)
  • Full featured browser capabilities (2cc08f0)

0.4.0 (2016-12-20)

Features

  • Full featured browser capabilities (427c155)

0.3.0 (2016-12-16)

Features

  • create a browser distribution (cc8036c)

0.2.0 (2016-12-13)

Features

  • return 'this' from CircuitBreaker.fallback (159c006)

0.1.1 (2016-11-03)

Bug Fixes

  • Don't use Status for managing breaker state (8c4c659)
  • events: Include timeout in stats (abbdb61)

0.1.0 (2016-11-01)

Bug Fixes

  • Add 'use strict'; everywhere! (87ea863)
  • Add status for fallback calls. (fe1eeee)
  • Reset after resetTimeout when using fallbacks (47de312), closes #1

Features

  • events: Make CircuitBreaker an EventEmitter (dea7c53)
  • add methods to open and close the circuit manually (9c78ecf)
  • Handling for node-like callback functions (77f3d6b)
  • Make actions flexible (2672c34)