-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update module github.com/go-logr/logr to v1 #116
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/github.com-go-logr-logr-1.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
from
June 28, 2023 08:19
8880254
to
0e1a91b
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
from
June 28, 2023 08:26
0e1a91b
to
99417a0
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
2 times, most recently
from
August 16, 2023 08:22
13b9229
to
7971339
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
2 times, most recently
from
October 11, 2023 08:13
588573e
to
1d17ac9
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
2 times, most recently
from
October 19, 2023 12:54
de1bf50
to
722cf6d
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
from
October 27, 2023 06:18
722cf6d
to
7a50ff4
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
from
December 13, 2023 09:24
7a50ff4
to
2d82389
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
3 times, most recently
from
December 27, 2023 09:41
7f22563
to
29ec020
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
2 times, most recently
from
January 3, 2024 09:04
34b9655
to
f3a796b
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
5 times, most recently
from
January 17, 2024 09:22
a52a9c6
to
7bf6b5b
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
2 times, most recently
from
January 24, 2024 09:18
1c4bcf7
to
52c2b81
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
2 times, most recently
from
April 3, 2024 08:47
fde3e8b
to
54d5927
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
2 times, most recently
from
April 17, 2024 08:14
16cb1c3
to
e05f33b
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
2 times, most recently
from
May 8, 2024 08:09
dd29ff2
to
73612cb
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
3 times, most recently
from
May 22, 2024 08:53
420b140
to
0033c31
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
from
June 5, 2024 08:15
0033c31
to
b2250e5
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
4 times, most recently
from
June 12, 2024 09:02
f1da8eb
to
d22ead0
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
2 times, most recently
from
July 3, 2024 09:07
f047b5c
to
40a95c4
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
3 times, most recently
from
August 7, 2024 08:07
cf41aa2
to
e7049ea
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
from
September 25, 2024 08:35
e7049ea
to
996eca9
Compare
renovate
bot
force-pushed
the
renovate/github.com-go-logr-logr-1.x
branch
from
October 11, 2024 10:36
996eca9
to
df842f1
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.4.0
->v1.4.2
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
go-logr/logr (github.com/go-logr/logr)
v1.4.2
Compare Source
What's Changed
Dependencies:
Full Changelog: go-logr/logr@v1.4.1...v1.4.2
v1.4.1
Compare Source
What's Changed
Full Changelog: go-logr/logr@v1.4.0...v1.4.1
v1.4.0
Compare Source
This release dramatically improves interoperability with Go's
log/slog
package. In particular,logr.NewContext
andlogr.NewContextWithSlogLogger
use the same context key, which allowslogr.FromContext
andlogr.FromContextAsSlogLogger
to returnlogr.Logger
or*slog.Logger
respectively, including transparently converting each to the other as needed.Functions
logr/slogr.NewLogr
andlogr/slogr.ToSlogHandler
have been superceded bylogr.FromSlogHandler
andlogr.ToSlogHandler
respectively, and typelogr/slogr.SlogSink
has been superceded bylogr.SlogSink
. All of the old names inlogr/slogr
remain, for compatibility.Package
logr/funcr
now supportslogr.SlogSink
, meaning that it's output passes all but one of the Slog conformance tests (that exception being thatfuncr
handles the timestamp itself).Users who have a
logr.Logger
and need a*slog.Logger
can callslog.New(logr.ToSlogHandler(...))
and all output will go through the same stack.Users who have a
*slog.Logger
orslog.Handler
can calllogr.FromSlogHandler(...)
and all output will go through the same stack.What's Changed
New Contributors
Full Changelog: go-logr/logr@v1.3.0...v1.4.0
v1.3.0
Compare Source
This release adds support for slog in a new, self-contained
logr/slogr
package. Implementers of alogr.LogSink
are encouraged, but not required, to extend their implementation to improve the quality of log output coming from aslog
API call.Breaking change: the call depth for
LogSink.Enabled
when called viaLogger.Enabled
was fixed to be the same as for other call paths. Implementers of aLogSink
who have worked around this bug will need to remove their workarounds.Security best practices were improved. Only Go versions >= 1.18 are supported by this release.
What's Changed
New Contributors
Full Changelog: go-logr/logr@v1.2.4...v1.3.0
v1.2.4
Compare Source
This is a collection of small bugfixes and documentation updates.
NOTE: A change (https://github.com/go-logr/logr/pull/166) which was thought to be compatible seems to be a breaking change. In particular, one used to be able to differentiate the result of
Discard()
fromLogger{}
. After this change, those are the same. We are considering how to address this, but do not currently plan to revert this change. Apologies!What's Changed
New Contributors
Full Changelog: go-logr/logr@v1.2.3...v1.2.4
v1.2.3
Compare Source
This is a minor release.
What's Changed
New Contributors
Full Changelog: go-logr/logr@v1.2.2...v1.2.3
v1.2.2
Compare Source
Bugfix release
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
Compare Source
This is a minor bugfix release.
Error()
semantics. 1) Error messages are always printed (they do not followV()
) and theerror
argument may be nil.RenderValuesHook
func would save the "cooked" result, so repeated calls toWithValues()
would not merge properly.v1.2.0
Compare Source
This release has several bug fixes and feature improvements.
logr.Marshaler
interface for types which want to control how they get loggedfmt.Stringer
anderror
interfaces on values which implement themjson
struct tags (all except "string")json
packageencoding.TextMarshaler
for map keysgo doc
enhancementsv1.1.0
Compare Source
This release has several bugfixes and feature improvements.
WithCallDepth()
calls.GetSink()
andSetSink()
for customWithSomething(logr, something)
integrations.CallStackHelperLogSink
interface so that implementations which have a function to flag helper functions (e.g.testing.T
hasHelper()
) can attribute callers correctly. Log helper functions should prefer to useWithCallStackHelper()
insteadWithCallDepth(1)
for maximum reach. Note the signature ofWithCallStackHelper()
- the caller must ALSO call the returned function.LogTimestamp
option.funcr.Formatter
in other logger implementations. Used intesting.NewTestLogger()
NewTestLogger()
LogTimestamp
andVerbosity
inNewTestLoggerWithOptions()
v1.0.0
Compare Source
This is the first logged release. Major changes (including breaking changes)
have occurred since earlier tags.
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.