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

Update module k8s.io/klog to v2 #26

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

Conversation

pipedrive-renovate[bot]
Copy link

This PR contains the following updates:

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

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.

🔕 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 Renovate Bot.

@pipedrive-renovate pipedrive-renovate bot added the dependencies Pull requests that update a dependency file label Sep 3, 2024
@pipedrive-renovate
Copy link
Author

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/go-logr/logr v1.3.0 -> v1.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants