VictoriaMetrics/vendor/go.uber.org/goleak/CHANGELOG.md
2023-11-02 21:18:17 +01:00

2.3 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

1.3.0

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

  • Miscellaneous CI-related fixes. (#103, #108, #114)

1.2.1

Changed

  • Drop golang/x/lint dependency.

1.2.0

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.

1.1.12

Fixed

  • Fixed logic for ignoring trace related goroutines on Go versions 1.16 and above.

1.1.11

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)

1.1.10

Added

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

Thanks to @denis-tingajkin for their contributions to this release.

1.0.0

Changed

  • Migrate to Go modules.

Fixed

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

0.10.0

  • Initial release.