| 1 | # Changelog |
| 2 | All notable changes to this project will be documented in this file. |
| 3 | |
| 4 | The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) |
| 5 | and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). |
| 6 | |
| 7 | ## [1.3.0] |
| 8 | ### Fixed |
| 9 | - Built-in ignores now match function names more accurately. |
| 10 | They will no longer ignore stacks because of file names |
| 11 | that look similar to function names. (#112) |
| 12 | ### Added |
| 13 | - Add an `IgnoreAnyFunction` option to ignore stack traces |
| 14 | that have the provided function anywhere in the stack. (#113) |
| 15 | - Ignore `testing.runFuzzing` and `testing.runFuzzTests` alongside |
| 16 | other already-ignored test functions (`testing.RunTests`, etc). (#105) |
| 17 | ### Changed |
| 18 | - Miscellaneous CI-related fixes. (#103, #108, #114) |
| 19 | |
| 20 | [1.3.0]: https://github.com/uber-go/goleak/compare/v1.2.1...v1.3.0 |
| 21 | |
| 22 | ## [1.2.1] |
| 23 | ### Changed |
| 24 | - Drop golang/x/lint dependency. |
| 25 | |
| 26 | [1.2.1]: https://github.com/uber-go/goleak/compare/v1.2.0...v1.2.1 |
| 27 | |
| 28 | ## [1.2.0] |
| 29 | ### Added |
| 30 | - Add Cleanup option that can be used for registering cleanup callbacks. (#78) |
| 31 | |
| 32 | ### Changed |
| 33 | - Mark VerifyNone as a test helper. (#75) |
| 34 | |
| 35 | Thanks to @tallclair for their contribution to this release. |
| 36 | |
| 37 | [1.2.0]: https://github.com/uber-go/goleak/compare/v1.1.12...v1.2.0 |
| 38 | |
| 39 | ## [1.1.12] |
| 40 | ### Fixed |
| 41 | - Fixed logic for ignoring trace related goroutines on Go versions 1.16 and above. |
| 42 | |
| 43 | [1.1.12]: https://github.com/uber-go/goleak/compare/v1.1.11...v1.1.12 |
| 44 | |
| 45 | ## [1.1.11] |
| 46 | ### Fixed |
| 47 | - Documentation fix on how to test. |
| 48 | - Update dependency on stretchr/testify to v1.7.0. (#59) |
| 49 | - Update dependency on golang.org/x/tools to address CVE-2020-14040. (#62) |
| 50 | |
| 51 | [1.1.11]: https://github.com/uber-go/goleak/compare/v1.1.10...v1.1.11 |
| 52 | |
| 53 | ## [1.1.10] |
| 54 | ### Added |
| 55 | - [#49]: Add option to ignore current goroutines, which checks for any additional leaks and allows for incremental adoption of goleak in larger projects. |
| 56 | |
| 57 | Thanks to @denis-tingajkin for their contributions to this release. |
| 58 | |
| 59 | [#49]: https://github.com/uber-go/goleak/pull/49 |
| 60 | [1.1.10]: https://github.com/uber-go/goleak/compare/v1.0.0...v1.1.10 |
| 61 | |
| 62 | ## [1.0.0] |
| 63 | ### Changed |
| 64 | - Migrate to Go modules. |
| 65 | |
| 66 | ### Fixed |
| 67 | - Ignore trace related goroutines that cause false positives with -trace. |
| 68 | |
| 69 | [1.0.0]: https://github.com/uber-go/goleak/compare/v0.10.0...v1.0.0 |
| 70 | |
| 71 | ## [0.10.0] |
| 72 | - Initial release. |
| 73 | |
| 74 | [0.10.0]: https://github.com/uber-go/goleak/compare/v0.10.0...HEAD |