Skip to content

Update go.mod packages (major) #345

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

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

Conversation

red-hat-konflux[bot]
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/imdario/mergo indirect major v0.3.15 -> v1.0.1
gopkg.in/yaml.v2 indirect major v2.4.0 -> v3.0.1
k8s.io/klog indirect major v1.0.0 -> v2.130.1
k8s.io/kube-state-metrics require major v1.9.8 -> v2.15.0
sigs.k8s.io/structured-merge-diff/v4 indirect major v4.2.3 -> v6.0.0

Release Notes

imdario/mergo (github.com/imdario/mergo)

v1.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: darccio/mergo@v1.0.0...v1.0.1

v1.0.0: 1.0.0 released with new module URL: dario.cat/mergo

Compare Source

This PR is a release containing 0.3.15 features but changing the module URL to dario.cat/mergo.

What's Changed

Full Changelog: darccio/mergo@v0.3.16...v1.0.0

v0.3.16: Announcement: v1.0.0 will be released on June 18th

Compare Source

This release doesn't contain code changes.

After 10 years, with many corner cases covered, very few issues pending (at least, comparing them with the usage of the library as part of Docker, Kubernetes, Datadog's agent, etc.), and a very stable API, I think it's time to release a 1.0.0 version.

This version will be released under a vanity URL: dario.cat/mergo

PS: although I'll make sure that github.com/imdario/mergo will be available, I'm going to also change my GitHub handle, so expect for a few minutes to not be able to pull from github.com/imdario as I fork it from the new handle to the old one.

PS2: I'm creating a discussion for this release to make sure we can have a conversation around the topic, and anything else about Mergo that you care about.

go-yaml/yaml (gopkg.in/yaml.v2)

v3.0.1

Compare Source

v3.0.0

Compare Source

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

kubernetes/kube-state-metrics (k8s.io/kube-state-metrics)

v2.15.0

Compare Source

v2.14.0

Compare Source

Note
  • This release builds with Golang v1.23.3

  • This release builds with k8s.io/client-go: v0.31.2

  • This release removes kube_endpoint_address_not_ready and kube_endpoint_address_available which have been deprecated in 2022. Please use kube_endpoint_addressas a replacement.

  • [BUGFIX] Use --track-unscheduled-pods to select unscheduled pods in Daemonset sharding by @​CatherineF-dev in #​2388

  • [BUGFIX] Install tools so VERSION gets set by @​mrueg in #​2456

  • [BUGFIX] Syntax errors in kube-state-metrics.libsonnet by @​jeffmccune in #​2454

  • [BUGFIX] Set kube_job_status_failed metric even when there are no job.Status.Conditions present by @​richabanker in #​2485

  • [BUGFIX] de-duplication of custom resource metrics by @​bartlettc22 in #​2502

  • [BUGFIX] Configure sharding every time MetricsHandler.Run runs by @​wallee94 in #​2478

  • [BUGFIX] Panic in util.GVRFromType for core objects by @​L3n41c in #​2535

  • [BUGFIX] Big memory value overflow by @​leiwingqueen in #​2540

  • [BUGFIX] Expose empty labels by @​mrueg in #​2539

  • [BUGFIX] CustomResourceMetrics: Convert status condition Unknown to a valid value by @​Haleygo in #​2536

  • [CHANGE] Remove deprecated endpoint address metric by @​mrueg in #​2527

  • [FEATURE] Add new metric kube_job_status_suspended by @​Indresh2410 in #​2542

  • [FEATURE] Move endpoint ports into address metric by @​mrueg in #​2503

  • [ENHANCEMENT] Use concurrent map when storing metrics by @​rarruda in #​2510

v2.13.0

Compare Source

Note
  • This release builds with Golang v1.22.5.

  • This release builds with k8s.io/client-go: v0.30.3.

  • This release adds read and write timeouts for requests. The defaults might have an impact on scrapes that take a long time.

  • [BUGFIX] Pod autosharding: transition from labelselector to fieldselector by @​pkoutsovasilis in #​2347

  • [ENHANCEMENT] Add automatic detection of memory limits by @​SuperQ in #​2447

  • [FEATURE] Add readyz endpoint by @​rexagod in #​2442

  • [FEATURE] Add livez endpoint by @​rexagod in #​2418

  • [FEATURE] Add kube_persistentvolume_volume_mode metric by @​ricardoapl in #​2370

  • [FEATURE] Add read and write timeouts by @​Pokom in #​2412

v2.12.0

Compare Source

Note
  • This release addresses a critical issue where scraping the exposition data for certain types caused metrics-backends to crash: #​2248.

  • This release builds with k8s.io/client-go: v0.29.3.

  • [BUGFIX] Fallback to gauge for protobuf-based negotiations by @​rexagod in #​2270

  • [ENHANCEMENT] Add kube_pod_container_status_last_terminated_timestampby @​tetianakravchenko in #​2291

  • [FEATURE] Allow prefixing expandable paths by @​rexagod in #​2052

v2.11.0

Compare Source

Note

This release builds with Golang v1.21.8.

v2.10.1

Compare Source

Note
  • This release addresses a regression introduced in #​2105.

  • [BUGFIX] Remove FieldSelector from non-namespaced resources by @​mrueg and @​dgrisonnet in #​2190

  • [ENHANCEMENT] Bump Go to v1.20.8

v2.10.0

Compare Source

Note
  • Label and annotation metrics aren't exposed by default anymore to reduce the memory usage of the default configuration of kube-state-metrics. Before this change, they used to only include the name and namespace of the objects which is not relevant to users not opting in these metrics.

  • [BUGFIX] Log no _info suffix in name only once per reading the configuration for custommetrics by @​chrischdi in #​2157

  • [BUGFIX] Don't crash on non-existent valueFrom path values by @​chihshenghuang in #​2140

  • [BUGFIX] Index out of range in metrics_store.SanitizeHeaders by @​mrueg in #​2166

  • [BUGFIX] Always extract the headers but only write it when we have custommetrics by @​chrischdi in #​2154

  • [BUGFIX] Add filtering for Lease metrics by @​ntoofu in #​2122

  • [FEATURE] Implement kube_pod_status_initialized_time by @​opeco17 in #​2148

  • [FEATURE] Disable labels and annotations metrics when metric-annotations-… by @​opeco17 in #​2145

  • [FEATURE] Add webhooks client config service metrics by @​dgrisonnet in #​2114

  • [FEATURE] Support kube_persistentvolumeclaim_deletion_timestamp by @​maxime1907 in #​2074

  • [FEATURE] Support kube_persistentvolume_deletion_timestamp by @​maxime1907 in #​2075

  • [FEATURE] Adds new metric kube_pod_service_account by @​swarup-stripe in #​2096

  • [FEATURE] Add volumemode to PVC info metric by @​machadovilaca in #​2134

  • [FEATURE] Enable metric-annotations-allowlist and metric-labels-allowlist for ResourceQuota by @​opeco17 in #​2175

  • [FEATURE] Allow field KV general matching by @​rexagod in #​2067

  • [FEATURE] Support hot reload for kubeconfig by @​opeco17 in #​2144

  • [FEATURE] Add support for endpoint topology routing hints by @​MarkSRobinson in #​2090

v2.9.2

Compare Source

This release does not incorporate any user-facing changes. Re-running release procedures as the process for the previous release failed. Changes are listed in v2.9.0.

v2.9.1

Compare Source

This release does not incorporate any user-facing changes. Re-running release procedures as the process for the previous release failed. Changes are listed in v2.9.0.

v2.9.0

Compare Source

The changes mentioned below are only the user-facing ones. For a list of the complete set of changes, refer the changelog associated with the release tag.

Note

v2.8.2

Compare Source

v2.8.1

Compare Source

v2.8.0

Compare Source

Note: The --version flag was removed as kube-state-metrics version also provides the same information. See #​1956

Note: Experimental CustomResourceState changed their labels for better usability. See #​1942
kube_crd_uptime{group="myteam.io", kind="Foo", version="v1"} -> kube_customresource_uptime{customresource_group="myteam.io", customresource_kind="Foo", customresource_version="v1"}


Configuration

📅 Schedule: Branch creation - "after 5am on sunday" in timezone America/New_York, 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

To execute skipped test pipelines write comment /ok-to-test.

This PR has been generated by MintMaker (powered by Renovate Bot).

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Copy link

openshift-ci bot commented Apr 27, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: red-hat-konflux[bot]
Once this PR has been reviewed and has the lgtm label, please assign smcavey for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jlpadilla jlpadilla changed the base branch from release-2.14 to main April 28, 2025 16:16
Copy link

openshift-ci bot commented Apr 28, 2025

@red-hat-konflux[bot]: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/sonar-pre-submit eef66ae link true /test sonar-pre-submit
ci/prow/test-unit eef66ae link true /test test-unit
ci/prow/lint eef66ae link true /test lint
ci/prow/pr-image-mirror eef66ae link true /test pr-image-mirror
ci/prow/images eef66ae link true /test images

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant