Releases: maxbrunsfeld/counterfeiter
Releases · maxbrunsfeld/counterfeiter
v6.0.2
- 🔒 lock when resetting stubs via Returns / ReturnsOnCall (#96, partially fixes #44 and #84)
- 🆕 add Calls function to set Stub without a race (#97, fixes #44)
- 🐛 restore prior behavior for type assertion on unexported interfaces (#101, via @sykesm)
- 📖 fix examples url (#105, via @beono)
- 🔦 code cleanup (#107, via @dnephin)
- 🔦 remove duplicate value fields (#108, via @dnephin)
- 🔦 refactor imports (#109, via @dnephin)
- 🔦 shrink main package (#110, via @dnephin)
- 🔦 only add import aliases to packages when necessary (#111, via @dnephin)
- 🐛 use v6 import path for go module v2+ compatibilty (fixes #114, via @joefitzgerald)
- 📖 document how to use
counterfeiter
v6 withgo modules
(via @joefitzgerald)
Detailed changes: v6.0.1...v6.0.2
v6.0.1
- 🐛 allow fakes to be generated for interfaces that are contained in a package named
sync
(fixes #95) - 🔬 prove that fakes can now be generated for interfaces that embed an interface in an aliased package (#18)
- 🔬 prove that fakes can now be generated for interfaces that embed an interface in a package with a package name that is different from the final segment of the import path (#87, #88)
Detailed changes: v6.0.0...v6.0.1
v6.0.0
This release is a rewrite of counterfeiter
that supports go modules (#94).
- counterfeiter is now a go module
- counterfeiter will now be released using the
semver
versioning scheme - any regression in behavior from
v5
will be considered a bug inv6
, unless this regression is related to go 1.9 or earlier - going forward, we will support N-1 (e.g. today,
go
1.11.1
is the latest version ofgo
, sogo
1.10
andgo
1.11
are supported); this matches thego
team's support policy and thus our use ofgolang.org/x/tools/go/packages