go-logr/zapr (github.com/go-logr/zapr)
### [`v1.3.0`](https://togithub.com/go-logr/zapr/releases/tag/v1.3.0)
[Compare Source](https://togithub.com/go-logr/zapr/compare/v1.2.4...v1.3.0)
This release adds [support for slog](https://togithub.com/go-logr/logr#slog-interoperability). zapr implements `slogr.SlogSink` and therefore can be used through [`slogr.NewSlogHandler`](https://pkg.go.dev/github.com/go-logr/logr@v1.3.0/slogr#NewSlogHandler) as backend for slog.
#### What's Changed
- Added dependabot by [@Neo2308](https://togithub.com/Neo2308) in [https://github.com/go-logr/zapr/pull/63](https://togithub.com/go-logr/zapr/pull/63)
- Updated min supported version to go 1.18 by [@Neo2308](https://togithub.com/Neo2308) in [https://github.com/go-logr/zapr/pull/62](https://togithub.com/go-logr/zapr/pull/62)
- update linter config and fix issues by [@pohly](https://togithub.com/pohly) in [https://github.com/go-logr/zapr/pull/61](https://togithub.com/go-logr/zapr/pull/61)
- Bump github.com/go-logr/logr from 1.2.4 to 1.3.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/71](https://togithub.com/go-logr/zapr/pull/71)
- support slog by [@pohly](https://togithub.com/pohly) in [https://github.com/go-logr/zapr/pull/60](https://togithub.com/go-logr/zapr/pull/60)
***
- Bump github.com/stretchr/testify from 1.8.0 to 1.8.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/65](https://togithub.com/go-logr/zapr/pull/65)
- Bump actions/checkout from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/66](https://togithub.com/go-logr/zapr/pull/66)
- Bump actions/setup-go from 2 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/67](https://togithub.com/go-logr/zapr/pull/67)
- Bump golangci/golangci-lint-action from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/68](https://togithub.com/go-logr/zapr/pull/68)
- Bump actions/checkout from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/69](https://togithub.com/go-logr/zapr/pull/69)
- Bump go.uber.org/zap from 1.24.0 to 1.25.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/64](https://togithub.com/go-logr/zapr/pull/64)
- Bump go.uber.org/zap from 1.25.0 to 1.26.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/70](https://togithub.com/go-logr/zapr/pull/70)
#### New Contributors
- [@Neo2308](https://togithub.com/Neo2308) made their first contribution in [https://github.com/go-logr/zapr/pull/63](https://togithub.com/go-logr/zapr/pull/63)
- [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/go-logr/zapr/pull/65](https://togithub.com/go-logr/zapr/pull/65)
**Full Changelog**: https://github.com/go-logr/zapr/compare/v1.2.4...v1.3.0
### [`v1.2.4`](https://togithub.com/go-logr/zapr/releases/tag/v1.2.4)
[Compare Source](https://togithub.com/go-logr/zapr/compare/v1.2.3...v1.2.4)
#### What's Changed
- Bump Go version for GH actions by [@thockin](https://togithub.com/thockin) in [https://github.com/go-logr/zapr/pull/54](https://togithub.com/go-logr/zapr/pull/54)
- \[fix]fix security yaml.v3 CVE-2022-28948 by [@dongjiang1989](https://togithub.com/dongjiang1989) in [https://github.com/go-logr/zapr/pull/58](https://togithub.com/go-logr/zapr/pull/58)
#### New Contributors
- [@dongjiang1989](https://togithub.com/dongjiang1989) made their first contribution in [https://github.com/go-logr/zapr/pull/58](https://togithub.com/go-logr/zapr/pull/58)
**Full Changelog**: https://github.com/go-logr/zapr/compare/v1.2.3...v1.2.4
### [`v1.2.3`](https://togithub.com/go-logr/zapr/releases/tag/v1.2.3)
[Compare Source](https://togithub.com/go-logr/zapr/compare/v1.2.2...v1.2.3)
#### What's Changed
- handle panics in logr.Marshaler.MarshalLog by [@pohly](https://togithub.com/pohly) in [https://github.com/go-logr/zapr/pull/52](https://togithub.com/go-logr/zapr/pull/52)
**Full Changelog**: https://github.com/go-logr/zapr/compare/v1.2.2...v1.2.3
### [`v1.2.2`](https://togithub.com/go-logr/zapr/releases/tag/v1.2.2)
[Compare Source](https://togithub.com/go-logr/zapr/compare/v1.2.0...v1.2.2)
Update to logr v1.2.2
### [`v1.2.0`](https://togithub.com/go-logr/zapr/releases/tag/v1.2.0)
[Compare Source](https://togithub.com/go-logr/zapr/compare/v1.1.0...v1.2.0)
This release has some improvements:
- added support for logr.Marshaler
- moved code examples to make them visible in gopkg.dev
### [`v1.1.0`](https://togithub.com/go-logr/zapr/releases/tag/v1.1.0)
[Compare Source](https://togithub.com/go-logr/zapr/compare/v1.0.0+1...v1.1.0)
This release has bugfixes and feature improvements.
- The new `NewLoggerWithOptions()` function can be used to customize the behavior of the logger:
- `LogInfoLevel`: a field with a configurable name can be added for the numeric verbosity level of info messages. Error messages have no verbosity and thus are logged without that field.
- `DPanicOnBugs`: by default, zapr calls `zap.DPanic` for invalid log calls to emit an error message with details about the invalid call and, depending on the configuration of the zap logger, cause a panic. This can be disabled in zapr.
- `AllowZapFields`: passing a zap field instead of a key/value pair is non-portable and considered an error by default. Users who want to do that because they know that the underlying `Logger` is based on zap can disable that check.
- `ErrorKey`: the default "error" name for `Error` messages can be overridden.
- The source code attribution of the messages for invalid log calls now refers to the actual call site instead of `zapr.go`.
- Various documentation enhancements and more thorough testing.
- Bump zapr dependency to 1.19.0, which supports near-arbitrary negative levels, which allows full use of logr's `V()` range (up to `V(127)`)
### [`v1.0.0`](https://togithub.com/go-logr/zapr/compare/v0.4.0...v1.0.0+1)
[Compare Source](https://togithub.com/go-logr/zapr/compare/v0.4.0...v1.0.0+1)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v0.4.0
->v1.3.0
Release Notes
go-logr/zapr (github.com/go-logr/zapr)
### [`v1.3.0`](https://togithub.com/go-logr/zapr/releases/tag/v1.3.0) [Compare Source](https://togithub.com/go-logr/zapr/compare/v1.2.4...v1.3.0) This release adds [support for slog](https://togithub.com/go-logr/logr#slog-interoperability). zapr implements `slogr.SlogSink` and therefore can be used through [`slogr.NewSlogHandler`](https://pkg.go.dev/github.com/go-logr/logr@v1.3.0/slogr#NewSlogHandler) as backend for slog. #### What's Changed - Added dependabot by [@Neo2308](https://togithub.com/Neo2308) in [https://github.com/go-logr/zapr/pull/63](https://togithub.com/go-logr/zapr/pull/63) - Updated min supported version to go 1.18 by [@Neo2308](https://togithub.com/Neo2308) in [https://github.com/go-logr/zapr/pull/62](https://togithub.com/go-logr/zapr/pull/62) - update linter config and fix issues by [@pohly](https://togithub.com/pohly) in [https://github.com/go-logr/zapr/pull/61](https://togithub.com/go-logr/zapr/pull/61) - Bump github.com/go-logr/logr from 1.2.4 to 1.3.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/71](https://togithub.com/go-logr/zapr/pull/71) - support slog by [@pohly](https://togithub.com/pohly) in [https://github.com/go-logr/zapr/pull/60](https://togithub.com/go-logr/zapr/pull/60) *** - Bump github.com/stretchr/testify from 1.8.0 to 1.8.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/65](https://togithub.com/go-logr/zapr/pull/65) - Bump actions/checkout from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/66](https://togithub.com/go-logr/zapr/pull/66) - Bump actions/setup-go from 2 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/67](https://togithub.com/go-logr/zapr/pull/67) - Bump golangci/golangci-lint-action from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/68](https://togithub.com/go-logr/zapr/pull/68) - Bump actions/checkout from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/69](https://togithub.com/go-logr/zapr/pull/69) - Bump go.uber.org/zap from 1.24.0 to 1.25.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/64](https://togithub.com/go-logr/zapr/pull/64) - Bump go.uber.org/zap from 1.25.0 to 1.26.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-logr/zapr/pull/70](https://togithub.com/go-logr/zapr/pull/70) #### New Contributors - [@Neo2308](https://togithub.com/Neo2308) made their first contribution in [https://github.com/go-logr/zapr/pull/63](https://togithub.com/go-logr/zapr/pull/63) - [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/go-logr/zapr/pull/65](https://togithub.com/go-logr/zapr/pull/65) **Full Changelog**: https://github.com/go-logr/zapr/compare/v1.2.4...v1.3.0 ### [`v1.2.4`](https://togithub.com/go-logr/zapr/releases/tag/v1.2.4) [Compare Source](https://togithub.com/go-logr/zapr/compare/v1.2.3...v1.2.4) #### What's Changed - Bump Go version for GH actions by [@thockin](https://togithub.com/thockin) in [https://github.com/go-logr/zapr/pull/54](https://togithub.com/go-logr/zapr/pull/54) - \[fix]fix security yaml.v3 CVE-2022-28948 by [@dongjiang1989](https://togithub.com/dongjiang1989) in [https://github.com/go-logr/zapr/pull/58](https://togithub.com/go-logr/zapr/pull/58) #### New Contributors - [@dongjiang1989](https://togithub.com/dongjiang1989) made their first contribution in [https://github.com/go-logr/zapr/pull/58](https://togithub.com/go-logr/zapr/pull/58) **Full Changelog**: https://github.com/go-logr/zapr/compare/v1.2.3...v1.2.4 ### [`v1.2.3`](https://togithub.com/go-logr/zapr/releases/tag/v1.2.3) [Compare Source](https://togithub.com/go-logr/zapr/compare/v1.2.2...v1.2.3) #### What's Changed - handle panics in logr.Marshaler.MarshalLog by [@pohly](https://togithub.com/pohly) in [https://github.com/go-logr/zapr/pull/52](https://togithub.com/go-logr/zapr/pull/52) **Full Changelog**: https://github.com/go-logr/zapr/compare/v1.2.2...v1.2.3 ### [`v1.2.2`](https://togithub.com/go-logr/zapr/releases/tag/v1.2.2) [Compare Source](https://togithub.com/go-logr/zapr/compare/v1.2.0...v1.2.2) Update to logr v1.2.2 ### [`v1.2.0`](https://togithub.com/go-logr/zapr/releases/tag/v1.2.0) [Compare Source](https://togithub.com/go-logr/zapr/compare/v1.1.0...v1.2.0) This release has some improvements: - added support for logr.Marshaler - moved code examples to make them visible in gopkg.dev ### [`v1.1.0`](https://togithub.com/go-logr/zapr/releases/tag/v1.1.0) [Compare Source](https://togithub.com/go-logr/zapr/compare/v1.0.0+1...v1.1.0) This release has bugfixes and feature improvements. - The new `NewLoggerWithOptions()` function can be used to customize the behavior of the logger: - `LogInfoLevel`: a field with a configurable name can be added for the numeric verbosity level of info messages. Error messages have no verbosity and thus are logged without that field. - `DPanicOnBugs`: by default, zapr calls `zap.DPanic` for invalid log calls to emit an error message with details about the invalid call and, depending on the configuration of the zap logger, cause a panic. This can be disabled in zapr. - `AllowZapFields`: passing a zap field instead of a key/value pair is non-portable and considered an error by default. Users who want to do that because they know that the underlying `Logger` is based on zap can disable that check. - `ErrorKey`: the default "error" name for `Error` messages can be overridden. - The source code attribution of the messages for invalid log calls now refers to the actual call site instead of `zapr.go`. - Various documentation enhancements and more thorough testing. - Bump zapr dependency to 1.19.0, which supports near-arbitrary negative levels, which allows full use of logr's `V()` range (up to `V(127)`) ### [`v1.0.0`](https://togithub.com/go-logr/zapr/compare/v0.4.0...v1.0.0+1) [Compare Source](https://togithub.com/go-logr/zapr/compare/v0.4.0...v1.0.0+1)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.