uber-go/zap
### [`v1.16.0`](https://togithub.com/uber-go/zap/releases/v1.16.0)
[Compare Source](https://togithub.com/uber-go/zap/compare/v1.15.0...v1.16.0)
Bugfixes:
- [#828][]: Fix missing newline in IncreaseLevel error messages.
- [#835][]: Fix panic in JSON encoder when encoding times or durations
without specifying a time or duration encoder.
- [#843][]: Honor CallerSkip when taking stack traces.
- [#862][]: Fix the default file permissions to use `0666` and rely on the umask instead.
- [#854][]: Encode `` for nil `Stringer` instead of a panic error log.
Enhancements:
- [#629][]: Added `zapcore.TimeEncoderOfLayout` to easily create time encoders
for custom layouts.
- [#697][]: Added support for a configurable delimiter in the console encoder.
- [#852][]: Optimize console encoder by pooling the underlying JSON encoder.
- [#844][]: Add ability to include the calling function as part of logs.
- [#843][]: Add `StackSkip` for including truncated stacks as a field.
- [#861][]: Add options to customize Fatal behaviour for better testability.
Thanks to [@SteelPhase](https://togithub.com/SteelPhase), [@tmshn](https://togithub.com/tmshn), [@lixingwang](https://togithub.com/lixingwang), [@wyxloading](https://togithub.com/wyxloading), [@moul](https://togithub.com/moul), [@segevfiner](https://togithub.com/segevfiner), [@andy-retailnext](https://togithub.com/andy-retailnext) and [@jcorbin](https://togithub.com/jcorbin) for their contributions to this release.
[#629]: https://togithub.com/uber-go/zap/pull/629
[#697]: https://togithub.com/uber-go/zap/pull/697
[#828]: https://togithub.com/uber-go/zap/pull/828
[#835]: https://togithub.com/uber-go/zap/pull/835
[#843]: https://togithub.com/uber-go/zap/pull/843
[#844]: https://togithub.com/uber-go/zap/pull/844
[#852]: https://togithub.com/uber-go/zap/pull/852
[#854]: https://togithub.com/uber-go/zap/pull/854
[#861]: https://togithub.com/uber-go/zap/pull/861
[#862]: https://togithub.com/uber-go/zap/pull/862
### [`v1.15.0`](https://togithub.com/uber-go/zap/releases/v1.15.0)
[Compare Source](https://togithub.com/uber-go/zap/compare/v1.14.1...v1.15.0)
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` 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.
Thanks to [@danielbprice](https://togithub.com/danielbprice) for their contributions to this release.
[#804]: https://togithub.com/uber-go/zap/pull/804
[#812]: https://togithub.com/uber-go/zap/pull/812
[#806]: https://togithub.com/uber-go/zap/pull/806
[#813]: https://togithub.com/uber-go/zap/pull/813
### [`v1.14.1`](https://togithub.com/uber-go/zap/releases/v1.14.1)
[Compare Source](https://togithub.com/uber-go/zap/compare/v1.14.0...v1.14.1)
Bugfixes:
- [#791][]: Fix panic on attempting to build a logger with an invalid Config.
- [#795][]: Vendoring Zap with `go mod vendor` no longer includes Zap's
development-time dependencies.
- [#799][]: Fix issue introduced in 1.14.0 that caused invalid JSON output to
be generated for arrays of `time.Time` objects when using string-based time
formats.
Thanks to [@YashishDua](https://togithub.com/YashishDua) for their contributions to this release.
[#791]: https://togithub.com/uber-go/zap/pull/791
[#795]: https://togithub.com/uber-go/zap/pull/795
[#799]: https://togithub.com/uber-go/zap/pull/799
### [`v1.14.0`](https://togithub.com/uber-go/zap/releases/v1.14.0)
[Compare Source](https://togithub.com/uber-go/zap/compare/v1.13.0...v1.14.0)
Enhancements:
- [#771](https://togithub.com/uber-go/zap/issues/771): Optimize calls for disabled log levels.
- [#773](https://togithub.com/uber-go/zap/issues/773): Add millisecond duration encoder.
- [#775](https://togithub.com/uber-go/zap/issues/775): Add option to increase the level of a logger.
- [#786](https://togithub.com/uber-go/zap/issues/786): Optimize time formatters using `Time.AppendFormat` where possible.
Thanks to [@caibirdme](https://togithub.com/caibirdme) for their contributions to this release.
### [`v1.13.0`](https://togithub.com/uber-go/zap/releases/v1.13.0)
[Compare Source](https://togithub.com/uber-go/zap/compare/v1.12.0...v1.13.0)
Enhancements:
- [#758](https://togithub.com/uber-go/zap/issues/758): Add `Intp`, `Stringp`, and other similar `*p` field constructors
to log pointers to primitives with support for `nil` values.
Thanks to [@jbizzle](https://togithub.com/jbizzle) for their contributions to this release.
### [`v1.12.0`](https://togithub.com/uber-go/zap/releases/v1.12.0)
[Compare Source](https://togithub.com/uber-go/zap/compare/v1.11.0...v1.12.0)
Enhancements:
- [#751](https://togithub.com/uber-go/zap/issues/751): Migrate to Go modules.
### [`v1.11.0`](https://togithub.com/uber-go/zap/releases/v1.11.0)
[Compare Source](https://togithub.com/uber-go/zap/compare/v1.10.0...v1.11.0)
Enhancements:
- [#725](https://togithub.com/uber-go/zap/issues/725): Add `zapcore.OmitKey` to omit keys in an `EncoderConfig`.
- [#736](https://togithub.com/uber-go/zap/issues/736): Add `RFC3339` and `RFC3339Nano` time encoders.
Thanks to [@juicemia](https://togithub.com/juicemia), [@uhthomas](https://togithub.com/uhthomas) for their contributions to this release.
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v1.10.0
->v1.16.0
Release Notes
uber-go/zap
### [`v1.16.0`](https://togithub.com/uber-go/zap/releases/v1.16.0) [Compare Source](https://togithub.com/uber-go/zap/compare/v1.15.0...v1.16.0) Bugfixes: - [#828][]: Fix missing newline in IncreaseLevel error messages. - [#835][]: Fix panic in JSON encoder when encoding times or durations without specifying a time or duration encoder. - [#843][]: Honor CallerSkip when taking stack traces. - [#862][]: Fix the default file permissions to use `0666` and rely on the umask instead. - [#854][]: Encode `Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.