Skip to content
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

fix(deps): update module k8s.io/klog to v2 #198

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

netic-renovate-bot
Copy link
Collaborator

@netic-renovate-bot netic-renovate-bot commented Apr 2, 2024

This PR contains the following updates:

Package Type Update Change
k8s.io/klog require major v1.0.0 -> v2.130.1

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

kubernetes/klog (k8s.io/klog)

v2.130.1: Prepare klog release for Kubernetes v1.31 (Take 2)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.130.0...v2.130.1

v2.130.0: Prepare klog release for Kubernetes v1.31 (Take 1)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.120.1...v2.130.0

v2.120.1: Prepare klog release for Kubernetes v1.30 (Take 2)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.120.0...v2.120.1

v2.120.0: Prepare klog release for Kubernetes v1.30 (Take 1)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.110.1...v2.120.0

v2.110.1: Prepare klog release for Kubernetes v1.29 (Take 1)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.100.1...v2.110.1

v2.100.1: Prepare klog release for Kubernetes v1.28 (Take 1)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.90.1...v2.100.1

v2.90.1: Prepare klog release for Kubernetes v1.27 (Take 2)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.90.0...v2.90.1

v2.90.0: Prepare klog release for Kubernetes v1.27 (Take 1)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.80.1...v2.90.0

There are some API differences from previous version
k8s.io/klog/v2/klogr contains incompatible changes:
 - klogger.Enabled: removed
 - klogger.Error: removed
 - klogger.Info: removed

k8s.io/klog/v2/test contains incompatible changes:
 - InitKlog: changed from func() to func(testing.TB) *flag.FlagSet

v2.80.1: Prepare klog release for Kubernetes v1.26 (Take 2)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.80.0...v2.80.1

v2.80.0: Prepare klog release for Kubernetes v1.26 (Take 1)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.70.1...v2.80.0

v2.70.1: Prepare klog release for Kubernetes v1.25 (Take 2)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.70.0...v2.70.1

v2.70.0: Prepare klog release for Kubernetes v1.25 (Take 1)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.60.1...v2.70.0

v2.60.1: Prepare klog release for Kubernetes v1.24 (Take 6)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.60.0...v2.60.1

v2.60.0: Prepare klog release for Kubernetes v1.24 (Take 5)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.50.2...v2.60.0

v2.50.2

Compare Source

v2.50.1: Prepare klog release for Kubernetes v1.24 (Take 4)

Compare Source

What's Changed

Full Changelog: kubernetes/klog@v2.50.0...v2.50.1

v2.50.0: Prepare klog release for Kubernetes v1.24 (Take 3)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.40.1...v2.50.0

v2.40.1: Prepare klog release for Kubernetes v1.24 (Take 2)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.40.0...v2.40.1

v2.40.0: Prepare klog release for Kubernetes v1.24

Compare Source

What's Changed

Known Issues

New Contributors

Full Changelog: kubernetes/klog@v2.30.0...v2.40.0

v2.30.0: Prepare klog release for Kubernetes v1.23 (take 2)

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes/klog@v2.20.0...v2.30.0

v2.20.0: Prepare klog release for Kubernetes v1.23

Compare Source

Changes are here : kubernetes/klog@v2.10.0...v2.20.0

since we moved to logr v1.0.0, there are incompatible changes:

- klogger.Enabled: changed from func() bool to func(int) bool
- klogger.Info: changed from func(string, ...interface{}) to func(int, string, ...interface{})
- klogger.V: removed
- klogger.WithCallDepth: changed from func(int) github.com/go-logr/logr.Logger to func(int) github.com/go-logr/logr.LogSink
- klogger.WithName: changed from func(string) github.com/go-logr/logr.Logger to func(string) github.com/go-logr/logr.LogSink
- klogger.WithValues: changed from func(...interface{}) github.com/go-logr/logr.Logger to func(...interface{}) github.com/go-logr/logr.LogSink

83653a6 Update to newest versions of golang 1.17.x
d648c2e fix file-based filtering symbolization
8ee3d65 export ClearLogger
4171f3c Switching to logr tag v1.0.0
9ab3c2b add serathius as approvers of klog

v2.10.0: One more change to support 1.22 release

Compare Source

Changes are here : kubernetes/klog@v2.9.0...v2.10.0

new function added:

func KObjs(arg interface{}) []ObjectRef

v2.9.0: Prepare release for Kubernetes v1.22

Compare Source

Changes are here : kubernetes/klog@v2.8.0...v2.9.0

6a9ef3f fix typo
59f7cb5 fix byte array display in InfoS and ErrorS
cf22f1e Call logr with call depth
e95c7e3 make SetLogger thread-safe
2728fe1 check usage of format specifier in structured log func
a18bc97 Fix by pr suggestions
4e4135c Add check for InfoS & ErrorS parameters

v2.8.0: Bug fixes for structured logging for Kubernetes v1.21

Compare Source

v2.7.0: Miscellaneous fixes for structured logging for Kubernetes v1.21

Compare Source

Changes are here : kubernetes/klog@v2.6.0...v2.7.0

v2.6.0: Adding a linter for Kubernetes v1.21

Compare Source

Changes are here : kubernetes/klog@v2.5.0...v2.6.0

please see https://github.com/kubernetes/klog/tree/master/hack/tools/logcheck

v2.5.0: Prepare release for Kubernetes v1.21

Compare Source

Changes are here : kubernetes/klog@v2.4.0...v2.5.0

klog.go has new API:

+func ErrorSDepth(depth int, err error, msg string, keysAndValues ...interface{}) {
+func InfoSDepth(depth int, msg string, keysAndValues ...interface{}) {

klogr/klogr.go has new API:

func (l klogger) WithCallDepth(depth int) logr.Logger {
func NewWithOptions(options ...Option) logr.Logger {
func WithFormat(format Format) Option {

v2.4.0: Prepare release for Kubernetes v1.20

Compare Source

Changes are here : kubernetes/klog@v2.3.0...v2.4.0

v2.3.0: Fix Typo-ed Method Error -> ErrorS

Compare Source

Changes are here : kubernetes/klog@v2.2.0...v2.3.0

v2.2.0: Dependency update and bugfix for InfoS

Compare Source

  • 2e691eb Fix missing fields in verbose InfoS
  • 966c986 feat use go-logr v0.2.0

Changes are here : kubernetes/klog@v2.1.0...v2.2.0

v2.1.0: Better support for Structured Logging

Compare Source

We are now enforcing API compatibility, added Windows based tests, and have tweaked the structured logging methods after some real world experience updating kubernetes main repo.

  • bbd9ca1 Add tests for error in InfoS
  • 1ccc0e1 fix imported bug time encode format form kvlistFormat
  • dd4d1a6 fix typo in README.md
  • 49123d4 ErrorS(nil, ...) should call loggr.Error(nil, ...)
  • 5b199cd Fix documentation for V(level)
  • d1eb30f Add apidiff script to check go signature changes
  • dc505bf Switch slack channel to #klog
  • a47ebb9 Add example for co-existence of klog v1 and v2
  • 134f148 logName(): lazily lookup userName instead of on init()
  • db06a1b fix serialization of special html chars
  • 5727d2a Fix Windows integration tests
  • edbc1d3 test(*): TestRollover failed randomly on Windows
  • 6f99060 Add LogToStderr, a programatic way to log exclusively to stderr or not

v2.0.0: Release to support Kubernetes v1.19

Compare Source

Beware of type change: Verbose

New Methods:

  • SetLogger (override logger to set a custom implementation)
  • InfoS (structured logging)
  • ErrorS (structured logging)

Changes are here : kubernetes/klog@v2.0.0-rc.1...v2.0.0


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 2 times, most recently from 46891c8 to 5e9b093 Compare April 4, 2024 08:18
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 2 times, most recently from ba61b62 to 5040c43 Compare April 11, 2024 08:07
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 2 times, most recently from 13df909 to 93349e2 Compare April 24, 2024 08:08
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 4 times, most recently from 3cccb4a to a7c462c Compare May 1, 2024 16:06
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 2 times, most recently from 4e9eaa7 to f091107 Compare May 7, 2024 08:07
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 7 times, most recently from 93dd6ad to 6b5ba1e Compare May 30, 2024 08:07
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 7 times, most recently from e5e6104 to 5e20686 Compare June 10, 2024 12:08
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 3 times, most recently from 5185d99 to 1a0b2a1 Compare June 15, 2024 16:06
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 2 times, most recently from cad5f2e to 60913c6 Compare June 24, 2024 12:08
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 2 times, most recently from c70a0b3 to 8ac97c6 Compare July 10, 2024 08:08
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 4 times, most recently from dbbb46d to 50cc068 Compare August 2, 2024 08:07
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 7 times, most recently from 4d9c25c to 6c0b173 Compare September 9, 2024 12:09
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 2 times, most recently from 87af601 to 539b73e Compare September 16, 2024 20:14
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 4 times, most recently from f66cbd1 to a9a7865 Compare October 8, 2024 16:08
@netic-renovate-bot netic-renovate-bot force-pushed the renovate/k8s.io-klog-2.x branch 2 times, most recently from 9d1e63b to ffd65dc Compare October 23, 2024 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant