Skip to content

Releases: uber-go/goleak

v1.3.0

24 Oct 16:29
31095c6
Compare
Choose a tag to compare

Fixed

  • Built-in ignores now match function names more accurately.
    They will no longer ignore stacks because of file names
    that look similar to function names. (#112)

Added

  • Add an IgnoreAnyFunction option to ignore stack traces
    that have the provided function anywhere in the stack. (#113)
  • Ignore testing.runFuzzing and testing.runFuzzTests alongside
    other already-ignored test functions (testing.RunTests, etc). (#105)

Changed

v.1.2.1

13 Feb 20:13
83c7e12
Compare
Choose a tag to compare

[1.2.1]

Changed

  • Drop golang/x/lint dependency.

v1.2.0

07 Sep 16:09
5c9bf00
Compare
Choose a tag to compare

Added

  • Add Cleanup option that can be used for registering cleanup callbacks. (#78)

Changed

  • Mark VerifyNone as a test helper. (#75)

Thanks to @tallclair for their contribution to this release.

v1.1.12

04 Oct 22:18
421b885
Compare
Choose a tag to compare

Fixed

  • Fixed logic for ignoring trace related goroutines on Go versions 1.16 and above. (#68)

v1.1.11

08 Sep 23:28
1e9de54
Compare
Choose a tag to compare

Fixed

  • Documentation fix on how to test.
  • Update dependency on stretchr/testify to v1.7.0. (#59)
  • Update dependency on golang.org/x/tools to address CVE-2020-14040. (#62)

v1.1.10

21 Jul 18:43
8186b79
Compare
Choose a tag to compare

Added

  • [#49]: Add option to ignore current goroutines, which checks for any additional leaks and allows for incremental adoption of goleak in larger projects.

v1.0.0

07 Jan 23:13
16be2ab
Compare
Choose a tag to compare

Changed

  • Migrate to Go modules.

Fixed

  • Ignore trace related goroutines that cause false positives with -trace.