Skip to content

Releases: cep21/circuit

v4 major release

19 Jan 17:46
Compare
Choose a tag to compare

A major version v4 release of circuit library. See the changes in this PR: #121

For an up to date guide on upgrading v3 -> v4, see https://github.com/cep21/circuit/blob/master/UPGRADE_GUIDE.md.

A short list of changes are:

  • Drop support for Gopkg.toml
  • Remove the "/v3" root directory
  • Move statsd implementation to another library
  • Add ctx to the stats interfaces
  • Move benchmarks to their own repo
  • Use Go's built in atomic package
  • Add upgrade guide

Add AfterFunc configuration for testing

07 Mar 21:17
2762902
Compare
Choose a tag to compare
Add AfterFunc configuration option to hystrix.ConfigureCloser (#111)

* Add AfterFunc configuration option to hystrix.ConfigureCloser

* Add AfterFunc field to ConfigureCloser Merge function

* Add json tag to omit AfterFunc from json encoding

Signed-off-by: Chris Guiney <chrisg@tune.com>

Co-authored-by: Chris Guiney <chrisg@tune.com>

Reduced imports

01 Sep 21:26
d9005b3
Compare
Choose a tag to compare

Reduce number of imports by giving benchmarking exclusive go.mod.

Support changing IsInterrupt behavior

29 Oct 16:48
f4e42e6
Compare
Choose a tag to compare
Zuzmic treat deadline expired as failure (#95)

* treat DeadlineExceeded as failure

* remove comment: typo alrady fixed

* add IsErrInterrupt config option

* remove mutex

* fix ordering

* circle/circuit

Co-authored-by: Kolokhanin Roman <rkolokhanin@ozon.ru>

Copy license file

08 May 18:06
8c12d76
Compare
Choose a tag to compare

I copy the license file to v3 directory so pkg.go.dev can see it correctly.

Add Error interface for type casting

28 Aug 01:57
7687802
Compare
Choose a tag to compare
Merge pull request #78 from cep21/pr

Error: add Error type.

Modules should work better

18 Jul 16:26
fb2df49
Compare
Choose a tag to compare

Slowly figuring out all the go module corner cases for the right way to do this.

Support golang mod file

02 Apr 20:01
9acd688
Compare
Choose a tag to compare

Supports a golang module file

Bug fix config setting while live

16 Oct 04:53
14b9f8e
Compare
Choose a tag to compare
Pr53 with unit tests (#54)

* SetConfigThreadSafe should set notThreadSafeConfig to new config first

Change-Id: Ib8cde17faa1054e511d64ad23199ef519dc7e307

* Add unit test for setting circuit config

* Expand config unit test

Check the before and after state to make sure it changed

Allow setting statsd metric sanitizer

13 Feb 23:55
75282f1
Compare
Choose a tag to compare
Allow people to sanitize their own statsd names. (#37)

People can pick how they want to sanitize statsd metric names