From 93a906ed9cb7b1e14126092d2df401fe2402e462 Mon Sep 17 00:00:00 2001 From: Dmitriy Shirchenko Date: Thu, 23 Apr 2020 12:21:13 -0700 Subject: [PATCH 1/2] Prepare release v1.15.0 --- CHANGELOG.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e28b6ea4..24d2e9806 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 1.15.0 (23 Apr 2020) + +Bugfixes: +* [#804][]: Fix handling of `Time` values out of `UnixNano` range. +* [#812][]: Fix `IncreaseLevel` being reset after a call to `With`. + +Enhancements: +* [#806][]: Add `WithCaller` method to allow disabling Logger's option to + annotate each message with the filename and line number of zap's caller. +* [#813][]: Deprecate `NewSampler` constructor in favor of + `NewSamplerWithOptions` which supports a `SamplerHook` option. This option + adds support for monitoring sampling decisions through a hook. + +Thanks to @danielbprice for their contributions to this release. + ## 1.14.1 (14 Mar 2020) Bugfixes: @@ -379,3 +394,7 @@ upgrade to the upcoming stable release. [#791]: https://github.com/uber-go/zap/pull/791 [#795]: https://github.com/uber-go/zap/pull/795 [#799]: https://github.com/uber-go/zap/pull/799 +[#804]: https://github.com/uber-go/zap/pull/804 +[#812]: https://github.com/uber-go/zap/pull/812 +[#806]: https://github.com/uber-go/zap/pull/806 +[#813]: https://github.com/uber-go/zap/pull/813 From e90466717c1450c0b29e9e98f9756756e11626e4 Mon Sep 17 00:00:00 2001 From: Dmitriy Shirchenko Date: Thu, 23 Apr 2020 14:29:49 -0700 Subject: [PATCH 2/2] Update CHANGELOG.md Co-Authored-By: Abhinav Gupta --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24d2e9806..aeff90e4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,9 @@ Bugfixes: * [#812][]: Fix `IncreaseLevel` being reset after a call to `With`. Enhancements: -* [#806][]: Add `WithCaller` method to allow disabling Logger's option to - annotate each message with the filename and line number of zap's caller. +* [#806][]: Add `WithCaller` option to supersede the `AddCaller` option. This + allows disabling annotation of log entries with caller information if + previously enabled with `AddCaller`. * [#813][]: Deprecate `NewSampler` constructor in favor of `NewSamplerWithOptions` which supports a `SamplerHook` option. This option adds support for monitoring sampling decisions through a hook.