Skip to content

Releases: awolden/brakes

Fix streaming in versions of node > 12

20 Jan 19:25
576c47c
Compare
Choose a tag to compare
  • Fixes issue described in #120 where stats stream stops reporting

Fix: Deal with exception when err is undefined.

14 Sep 18:40
Compare
Choose a tag to compare
  • Will now gracefully handle an undefined error.

Rename slave circuits

24 Jun 00:34
e2b3f6b
Compare
Choose a tag to compare

slaveCircuits have been renamed to subCircuits to help erase prejudicial language.

Disable error prefixing

08 May 22:17
7252faa
Compare
Choose a tag to compare
  • Added a toggle to disabled prefixing error message with circuit name

Cumulative Statistics

18 Mar 15:42
9b91c0b
Compare
Choose a tag to compare
  • Added cumulative counters that are independent of buckets. These counter stream out total requests (timeouts, etc.) per breaker, as well as the diff between two report events.

Added circuit generations

15 Dec 17:56
Compare
Choose a tag to compare
  • Adds in the concept of circuit generations. A generation will be an integer that increments by one every time a circuit is opened. Service requests will be tagged with a generation and the generation will be checked on failed response to make sure we don't inadvertently pollute the current circuit with requests that are from a previous circuit generation.
  • Add the breaker name to circuit rejections

Fix callback detection to support single argument anonymous functions.

16 May 16:23
Compare
Choose a tag to compare
  • Updates regex detection for callback detection when passing a function

Fix Bug with Fallback when Using Slave Circuits

15 Mar 17:08
Compare
Choose a tag to compare
  • Fixes issue found in #78. Slave circuits weren't using master fallback when circuit was open.

Include error in timeout and failure event

27 Nov 00:25
Compare
Choose a tag to compare
  • The timeout and failure event now provides the underlying error as the second argument.

isPromise and Error Percentage Fix

15 Nov 20:36
Compare
Choose a tag to compare
  • Added isPromise and isFunction options to Brakes. These options will force the library to treat functions that are passed in as either promises or callbacks.
  • Fixed an issue where errorPercentage in the hystrixStream was not being aggregated by turbine correctly due to being a float