From a9c44d91ce00ef09603d3822452a4f9c8fefd278 Mon Sep 17 00:00:00 2001 From: Taiwon Chung <2008812+tchung1118@users.noreply.github.com> Date: Thu, 17 Oct 2024 17:35:14 -0400 Subject: [PATCH] Release v0.5.0 (#213) --- CHANGELOG.md | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee09ea9..606b71e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,41 @@ 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 +- [#214][]: Add gob mode to support custom package loading techniques in place + of --exec_only + +### 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 +[#214]: https://github.com/uber-go/mock/pull/214 + +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