port-map-operator
port-map-operator copied to clipboard
Bump github.com/go-logr/logr from 0.4.0 to 1.2.3
Bumps github.com/go-logr/logr from 0.4.0 to 1.2.3.
Release notes
Sourced from github.com/go-logr/logr's releases.
v1.2.3
This is a minor release.
What's Changed
- funcr: Handle nil Stringer, Marshaler, error by
@thockin
in go-logr/logr#130
- Produce a useful error rather than panic.
- Move testing -> testr, deprecate, alias old names by
@thockin
in go-logr/logr#140
- This is mostly about ergonomics and names, no behavioral changes.
New Contributors
@tonglil
made their first contribution in go-logr/logr#129Full Changelog: https://github.com/go-logr/logr/compare/v1.2.2...v1.2.3
v1.2.2
Bugfix release
- funcr: Add a new Option
MaxLogDepth
which controls how many levels of nested fields (e.g. a struct that contains a struct that contains a struct, etc.) it may log. Every time it finds a struct, slice, array, or map the depth is increased by one. When the maximum is reached, the value will be converted to a string indicating that the max depth has been exceeded. If this field is not specified, a default value will be used.v1.2.1
This is a minor bugfix release.
- logr: Clarify the
Error()
semantics. 1) Error messages are always printed (they do not followV()
) and theerror
argument may be nil.- funcr: When using
RenderValuesHook
func would save the "cooked" result, so repeated calls toWithValues()
would not merge properly.v1.2.0
This release has several bug fixes and feature improvements.
- logr: define an optional
logr.Marshaler
interface for types which want to control how they get logged- funcr: support
fmt.Stringer
anderror
interfaces on values which implement them- funcr: support logging complex{64,128}
- funcr: fix handling of typed nil when logging a struct via reflection
- funcr: add (optional) JSON output formatting mode
- funcr: better handling of Go's
json
struct tags (all except "string")- funcr: handle embedded types more like Go's
json
package- funcr: misc performance optimizations
- funcr: add support for modifying or remapping key/value pairs via hook functions
- funcr: optionally log the caller function name
- funcr: fix escaping of strings which contain special characters like line breaks or quotation marks
- funcr: support
encoding.TextMarshaler
for map keys- funcr: allow customization of the timestamp format
- funcr: improved testing
- link to zerologr at its new location in the go-logr organization
- various documentation and
go doc
enhancementsv1.2.0-rc1
This release has several bug fixes and feature improvements.
- logr: define an optional
logr.Marshaler
interface for types which want to control how they get logged- funcr: support
fmt.Stringer
anderror
interfaces on values which implement them
... (truncated)
Changelog
Sourced from github.com/go-logr/logr's changelog.
CHANGELOG
v1.0.0-rc1
This is the first logged release. Major changes (including breaking changes) have occurred since earlier tags.
Commits
47e013c
Merge pull request #128 from thockin/format-testb359493
Merge pull request #140 from thockin/testing_testr5377a98
Move testing -> testr, deprecate, alias old namesd731630
Add some test cases4610455
Reformat existing test cases28755ae
Merge pull request #130 from thockin/nil-stringer945d619
funcr: Handle panic in Stringer, Marshaler, erroraf7b868
Add stringer, error, marshaler to benchmarkec7c16c
Merge pull request #135 from thockin/fix-actions-go-versionse438a74
Fix GH actions for Go versions, drop 1.14- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)