diff --git a/CHANGELOG.md b/CHANGELOG.md index ee09ea9..0153bf0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,38 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## Unreleased -- No changes yet. +## 0.5.0 (15 Oct 2024) +### Added +- [#153][]: Add `--write_command_comment` flag to specify whether to include + `Generated by this command` comment. +- [#191][]: Add `--build_constraint` flag to add `//go:build` directives + to generated mocks + +### Changed +- [#181][]: Made mockgen faster by changing flags passed to `go list`. +- [#183][]: Made `Cond` matcher generic. +- [#204][]: Removed `ISGOMOCK()` from generated mocks. +- [#207][]: Deprecated reflect mode and replaced it with the new package mode. + +### Fixed +- [#144][]: Fix a deadlock that can happen when mocking an interface that + matches `fmt.Stringer`. +- [#168][]: Fix an issue where the "generated by" comment was being included + in the package comment of generated mocks. + +[#144]: https://github.com/uber-go/mock/pull/144 +[#153]: https://github.com/uber-go/mock/pull/153 +[#168]: https://github.com/uber-go/mock/pull/168 +[#181]: https://github.com/uber-go/mock/pull/181 +[#183]: https://github.com/uber-go/mock/pull/183 +[#191]: https://github.com/uber-go/mock/pull/191 +[#204]: https://github.com/uber-go/mock/pull/204 +[#207]: https://github.com/uber-go/mock/pull/207 + +Thanks to @tulzke @JacobOaks @ARR4N @sashamelentyev @sywhang @fasmat +@eyasy1217 @ghouscht @tie @Neo2308 @carson-brill @alexandear @sodul +@nbgraham for their contributions this release. + ## 0.4.0 (20 Dec 2023) ### Added