All Versions
10
Latest Version
Avg Release Cycle
83 days
Latest Release
1421 days ago
Changelog History
Changelog History
-
v6.3.0 Changes
October 26, 2020- π± π allow adding headers to generated fakes (#153 via @hoegaarden)
- π± π ensure type info is loaded for compatibility with go 1.13+ (fixes #147)
- π± π avoid data race (fixes #145 via #149 / @ mariash and #159 / @NilsJPWerner)
- π± π§Ήremove tests for
GOPATH
, and ask people to use counterfeiter with go modules (fixes #161) - π± β¬οΈ dependencies
- β‘οΈ π update CI to use
go
1.15
Detailed changes: v6.2.3...v6.3.0
-
v6.2.3 Changes
March 20, 2020- π± π ensure the tool works when using
go
1.14
(#157, fixes #156, via @howardjohn) - π π§Ήremove unused variable with usage information (#138, via @nkovacs)
- π± β¬οΈ dependencies
- β‘οΈ π update CI to use
go
1.14
Detailed changes: v6.2.2...v6.2.3
- π± π ensure the tool works when using
-
v6.2.2 Changes
July 19, 2019 -
v6.2.1 Changes
July 08, 2019- π π commit all generated fakes so that the package is buildable without using
go:generate
, and for checks and balances: fail ci if fakes are modified in any way as a result ofgo:generate
(#127, via @zikaeroh) - π± π correctly support interfaces with functions that have inline struct paramters (#129, via @chrusty)
Detailed changes: v6.2.0...v6.2.1
- π π commit all generated fakes so that the package is buildable without using
-
v6.2.0 Changes
June 03, 2019- π¦ β‘οΈmoar speed; speed up single invocations of counterfeiter (#125, via @joefitzgerald, fixes #120); on a reference package with 19
//go:generate
directives:
Detailed changes: v6.1.2...v6.2.0
- π¦ β‘οΈmoar speed; speed up single invocations of counterfeiter (#125, via @joefitzgerald, fixes #120); on a reference package with 19
-
v6.1.2
June 03, 2019 -
v6.1.0 Changes
June 03, 2019- π¦ β‘οΈmoar speed; speed up multiple invocations of counterfeiter in the same package by introducing caching (#123, via @joefitzgerald, partially addresses #120); on a reference package with 19
//go:generate
directives: - π± π add
-generate
flag and new //counterfeiter:generate directive (#124, via @joefitzgerald) - π± π allow counterfeiting unexported interface methods (#112, via @davidnewhall)
- π± π describe how to specify third party interfaces (#116, via @glyn)
- π± π fix typo (#118, via @dionysius)
Detailed changes: v6.0.2...v6.1.0
- π¦ β‘οΈmoar speed; speed up multiple invocations of counterfeiter in the same package by introducing caching (#123, via @joefitzgerald, partially addresses #120); on a reference package with 19
-
v6.0.2 Changes
June 03, 2019- π π 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 Changes
October 15, 2018- π¦ π 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
- π¦ π allow fakes to be generated for interfaces that are contained in a package named
-
v6.0.0 Changes
October 12, 2018π 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