Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 5, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/canonical/gomaasclient v0.8.0 -> v0.15.0 age confidence
github.com/deckarep/golang-set/v2 v2.7.0 -> v2.8.0 age confidence
github.com/go-logr/logr v1.4.2 -> v1.4.3 age confidence
github.com/onsi/ginkgo/v2 v2.22.2 -> v2.25.2 age confidence
github.com/onsi/gomega v1.36.2 -> v1.38.2 age confidence
github.com/stretchr/testify v1.10.0 -> v1.11.1 age confidence
k8s.io/api v0.32.2 -> v0.34.0 age confidence
k8s.io/apimachinery v0.32.2 -> v0.34.0 age confidence
k8s.io/client-go v0.32.2 -> v0.34.0 age confidence
sigs.k8s.io/cluster-api v1.9.5 -> v1.11.0 age confidence
sigs.k8s.io/controller-runtime v0.20.2 -> v0.22.0 age confidence

Release Notes

canonical/gomaasclient (github.com/canonical/gomaasclient)

v0.15.0

Compare Source

Changelog

Bug fixes

v0.14.0

Compare Source

Changelog

Features
Bug fixes

v0.13.0

Compare Source

Changelog

Features

v0.12.0

Compare Source

Changelog

Features
Bug fixes
Others

v0.11.0

Compare Source

Changelog

Features

v0.10.0

Compare Source

Changelog

Features
Bug fixes

v0.9.0

Compare Source

Changelog

Bug fixes
Others
deckarep/golang-set (github.com/deckarep/golang-set/v2)

v2.8.0: - Now support for Go 1.23+ iterators

Compare Source

This change brings support for Go's new flavor of iterators. Additionally, a convenience method was added for ContainsAnyElement and a fix to spelling. Please visit this issue for a deeper context on how this works for newer versions of Go vs older versions of Go. Cheers!

What's Changed

New Contributors

Full Changelog: deckarep/golang-set@v2.7.0...v2.8.0

go-logr/logr (github.com/go-logr/logr)

v1.4.3

Compare Source

Minor release.

What's Changed

New Contributors

Full Changelog: go-logr/logr@v1.4.2...v1.4.3

onsi/ginkgo (github.com/onsi/ginkgo/v2)

v2.25.2

Compare Source

2.25.2

Fixes

Add github output group for progress report content

Maintenance

Bump Gomega

v2.25.1

Compare Source

2.25.1

Fixes
  • fix(types): ignore nameless nodes on FullText() [10866d3]
  • chore: fix some CodeQL warnings [2e42cff]

v2.25.0

Compare Source

2.25.0

AroundNode

This release introduces a new decorator to support more complex spec setup usecases.

AroundNode registers a function that runs before each individual node. This is considered a more advanced decorator.

Please read the docs for more information and some examples.

Allowed signatures:

  • AroundNode(func()) - func will be called before the node is run.
  • AroundNode(func(ctx context.Context) context.Context) - func can wrap the passed in context and return a new one which will be passed on to the node.
  • AroundNode(func(ctx context.Context, body func(ctx context.Context))) - ctx is the context for the node and body is a function that must be called to run the node. This gives you complete control over what runs before and after the node.

Multiple AroundNode decorators can be applied to a single node and they will run in the order they are applied.

Unlike setup nodes like BeforeEach and DeferCleanup, AroundNode is guaranteed to run in the same goroutine as the decorated node. This is necessary when working with lower-level libraries that must run on a single thread (you can call runtime.LockOSThread() in the AroundNode to ensure that the node runs on a single thread).

Since AroundNode allows you to modify the context you can also use AroundNode to implement shared setup that attaches values to the context.

If applied to a container, AroundNode will run before every node in the container. Including setup nodes like BeforeEach and DeferCleanup.

AroundNode can also be applied to RunSpecs to run before every node in the suite. This opens up new mechanisms for instrumenting individual nodes across an entire suite.

v2.24.0

Compare Source

2.24.0

Features

Specs can now be decorated with (e.g.) SemVerConstraint("2.1.0") and ginkgo --sem-ver-filter="2.1.1" will only run constrained specs that match the requested version. Learn more in the docs here! Thanks to @​Icarus9913 for the PR.

Fixes
Maintenance

Numerous dependency bumps and documentation fixes

v2.23.4

Compare Source

2.23.4

Prior to this release Ginkgo would compute the incorrect number of available CPUs when running with -p in a linux container. Thanks to @​emirot for the fix!

Features
  • Add automaxprocs for using CPUQuota [2b9c428]
Fixes
  • clarify gotchas about -vet flag [1f59d07]
Maintenance

v2.23.3

Compare Source

2.23.3

Fixes
  • allow - as a standalone argument [cfcc1a5]
  • Bug Fix: Add GinkoTBWrapper.Chdir() and GinkoTBWrapper.Context() [feaf292]
  • ignore exit code for symbol test on linux [88e2282]

v2.23.2

Compare Source

2.23.2

🎉🎉🎉

At long last, some long-standing performance gaps between ginkgo and go test have been resolved!

Ginkgo operates by running go test -c to generate test binaries, and then running those binaries. It turns out that the compilation step of go test -c is slower than go test's compilation step because go test strips out debug symbols (ldflags=-w) whereas go test -c does not.

Ginkgo now passes the appropriate ldflags to go test -c when running specs to strip out symbols. This is only done when it is safe to do so and symbols are preferred when profiling is enabled and when ginkgo build is called explicitly.

This, coupled, with the instructions for disabling XProtect on MacOS yields a much better performance experience with Ginkgo.

v2.23.1

Compare Source

2.23.1

🚨 For users on MacOS 🚨

A long-standing Ginkgo performance issue on MacOS seems to be due to mac's antimalware XProtect. You can follow the instructions here to disable it in your terminal. Doing so sped up Ginkgo's own test suite from 1m8s to 47s.

Fixes

Ginkgo's CLI is now a bit clearer if you pass flags in incorrectly:

  • make it clearer that you need to pass a filename to the various profile flags, not an absolute directory [a0e52ff]
  • emit an error and exit if the ginkgo invocation includes flags after positional arguments [b799d8d]

This might cause existing CI builds to fail. If so then it's likely that your CI build was misconfigured and should be corrected. Open an issue if you need help.

v2.23.0

Compare Source

2.23.0

Ginkgo 2.23.0 adds a handful of methods to GinkgoT() to make it compatible with the testing.TB interface in Go 1.24. GinkgoT().Context(), in particular, is a useful shorthand for generating a new context that will clean itself up in a DeferCleanup(). This has subtle behavior differences from the golang implementation but should make sense in a Ginkgo... um... context.

Features
  • bump to go 1.24.0 - support new testing.TB methods and add a test to cover testing.TB regressions [37a511b]
Fixes
  • fix edge case where build -o is pointing at an explicit file, not a directory [7556a86]
  • Fix binary paths when precompiling multiple suites. [4df06c6]
Maintenance
onsi/gomega (github.com/onsi/gomega)

v1.38.2

Compare Source

1.38.2

v1.38.1

Compare Source

1.38.1

Fixes

Numerous minor fixes and dependency bumps

v1.38.0

Compare Source

1.38.0

Features
  • gstruct handles extra unexported fields [4ee7ed0]
Fixes
  • support [] in IgnoringTopFunction function signatures (#​851) [36bbf72]
Maintenance

v1.37.0

Compare Source

1.37.0

Features
  • add To/ToNot/NotTo aliases for AsyncAssertion [5666f98]

v1.36.3

Compare Source

1.36.3

Maintenance
stretchr/testify (github.com/stretchr/testify)

v1.11.1

Compare Source

This release fixes #​1785 introduced in v1.11.0 where expected argument values implementing the stringer interface (String() string) with a method which mutates their value, when passed to mock.Mock.On (m.On("Method", <expected>).Return()) or actual argument values passed to mock.Mock.Called may no longer match one another where they previously did match. The behaviour prior to v1.11.0 where the stringer is always called is restored. Future testify releases may not call the stringer method at all in this case.

What's Changed

Full Changelog: stretchr/testify@v1.11.0...v1.11.1

v1.11.0

Compare Source

What's Changed

Functional Changes

v1.11.0 Includes a number of performance improvements.

Fixes
Documentation, Build & CI

New Contributors

Full Changelog: stretchr/testify@v1.10.0...v1.11.0

kubernetes/api (k8s.io/api)

v0.34.0

Compare Source

v0.33.4

Compare Source

v0.33.3

Compare Source

v0.33.2

Compare Source

v0.33.1

Compare Source

v0.33.0

Compare Source

v0.32.8

Compare Source

v0.32.7

Compare Source

v0.32.6

Compare Source

v0.32.5

Compare Source

v0.32.4

Compare Source

v0.32.3

Compare Source

kubernetes/apimachinery (k8s.io/apimachinery)

v0.34.0

Compare Source

v0.33.4

Compare Source

v0.33.3

Compare Source

v0.33.2

Compare Source

v0.33.1

Compare Source

v0.33.0

Compare Source

v0.32.8

Compare Source

v0.32.7

Compare Source

v0.32.6

Compare Source

v0.32.5

Compare Source

v0.32.4

Compare Source

v0.32.3

Compare Source

kubernetes/client-go (k8s.io/client-go)

v0.34.0

Compare Source

v0.33.4

Compare Source

v0.33.3

Compare Source

v0.33.2

Compare Source

v0.33.1

Compare Source

v0.33.0

Compare Source

v0.32.8

Compare Source

v0.32.7

Compare Source

v0.32.6

Compare Source

v0.32.5

Compare Source

v0.32.4

Compare Source

v0.32.3

Compare Source

kubernetes-sigs/cluster-api (sigs.k8s.io/cluster-api)

v1.11.0

Compare Source

👌 Kubernetes version support

  • Management Cluster: v1.30.x -> v1.33.x
  • Workload Cluster: v1.28.x -> v1.33.x

More information about version support can be found here

Highlights

  • Bumped to Go 1.24, controller-runtime v0.21, k8s.io/* v0.33, controller-gen v0.18 (also moved to sigs.k8s.io/randfill) (#​12191)
  • v1beta2 API version has been introduced and considering the awesome amount of improvements it marks an important
    step in the journey towards graduating our API to v1.
    • Accordingly there is now a new v1beta2 version of our contract for providers.
    • Improve status:
      • The transition to the new K8s aligned conditions using metav1.Conditions types and the new condition semantic
        has been completed.
      • Replica counters are now consistent with new conditions and across all resources; new replica counters have been added at cluster level.
      • Semantic of contract fields in status have been improved and are now consistent across all resources.
      • The confusing FailureReason and FailureMessage fields have been dropped.
    • Support CC across namespaces: API changes planned for this feature have been implemented.
    • Improve object references:
      • Unnecessary fields have been dropped from object reference.
      • Object references are now GitOps friendly (API version is not overwritten anymore by controllers).
    • KubeadmConfig and KubeadmControlPlane APIs have been aligned with kubeadm v1beta4 API.
      • Additionally, fields inferred from top level objects have been removed, thus getting rid of a common source of confusion/issues.
  • Compliance with K8s API guidelines:
    • Thanks to the adoption of the KAL linter compliance with K8s API guidelines has been greatly improved.
    • All Duration fields are now represented as *int32 fields with units being part of the field name.
    • All bool fields have been changed to *bool to preserve user intent.
    • Extensive work has been done to ensure required and optional is explicitly set in the API, and that
      both serialization and validation works accordingly:
      • Stop rendering empty structs (review of all occurrences of omitempty and introduction of omitzero)
      • Do not allow "" when it is not semantically different from value not set (either you have to provide a non-empty string value or not set the field at all).
      • Do not allow 0 when it is not semantically different from value not set (either you have to provide a non-0 int value or not set the field at all).
      • Do not allow {} when it is not semantically different from value not set (either you have to set at least one property in the object or not set the field at all).
      • Do not allow [] when it is not semantically different from value not set (either you have to set at least one item in the list or not set the field at all).
      • Ensure validation for all enum types.
    • Missing list markers have been added for SSA.
    • Drop unnecessary pointers:
      • After fixing required and optional according to K8s API guidelines, extensive work has been done to
        drop unnecessary pointers thus improving the usability of the API's Go structs.
    • Avoid embedding structs: Coupling between API types has been reduced by reducing the usage of embedded structs.
    • Extensive work has been done to improve consistency across all resources, e.g.:
      • Fields for Machine deletion are under a new deletion struct in all resources.
      • Settings about rollout have been logically grouped in all resources.
      • Settings about health checks and remediation have been logically grouped in all resources.
    • Missing validations have been added where required.
    • Tech debt has been reduced by dropping deprecated fields.
  • ClusterClass: Fix continuous reconciles because of apiVersion differences in Cluster topology controller (#​12341)
  • KCP/CABPK: Add CertificateValidityPeriod and CACertificateValidityPeriod to KubeadmConfig (#​12335)
  • KCP: Fix timeout handling in GetAPIServerCertificateExpiry and DialContext (#​12554)
  • Machine: fallback to InfraMachine providerID during deletion if Machine providerID is not set (#​11985)
  • Runtime SDK:
    • Optimize size of Runtime Hook requests (#​12462)
    • Add mTLS support to Runtime Extension server and client (#​12517)
  • Improved e2e test coverage, e.g.:
    • additional checks that resourceVersion stays stable after tests and that conditions are healthy (#​12546 #​12111)
    • test coverage for scaling from/to 0 with CAPD & cluster-autoscaler (#​12572)
  • New providers in clusterctl: Scaleway (#​12357), cdk8s (#​12332)

See Cluster API v1.10 compared to v1.11 for more details

Notes for workload cluster upgrade to Kubernetes v1.34 with KCP

  • Context: Kubernetes/kubeadm <=> etcd compatibility:
    • kubeadm v1.33 only supports etcd v3.5 for Kubernetes v1.33
    • kubeadm v1.34 only supports etcd v3.6 for Kubernetes v1.34
  • The upgrade to etcd v3.6 requires etcd >= v3.5.20 (https://etcd.io/blog/2025/upgrade_from_3.5_to_3.6_issue/)
  • Accordingly, when upgrading from Kubernetes v1.33 to v1.34:
    • ensure etcd >= v3.5.20 is used with Kubernetes v1.33 before the upgrade
    • upgrade to Kubernetes v1.34 and etcd v3.6 at the same time

Deprecation and Removals Warning

  • Cluster: Remove deprecated index ByClusterClassName, ClusterByClusterClassClassName and ClusterClassNameField (#​12269)
  • ClusterClass: Remove deprecated ClusterVariable.definitionFrom field (#​12202)
  • ClusterClass: Remove deprecated Cluster.spec.topology.rolloutAfter field (#​12268)
  • ClusterClass: Remove deprecated ClusterCacheTracker and corresponding types (#​12270)
  • clusterctl: Remove deprecated clusterctl alpha topology plan command (#​12283)
  • ClusterResourceSet: Remove deprecated ClusterResourceSetBinding.DeleteBinding method (#​12267)
  • MachineDeployment: Removed deprecated revisionHistory (#​12274)
  • MachineDeployment: Remove deprecated spec.progressDeadlineSeconds (#​12232)
  • KCP/CABPK: Remove deprecated KubeadmConfig useExperimentalRetryJoin (#​12234)
  • API: Deprecate v1alpha1 & v1beta1 API packages (#​12254)

Changes since v1.10.0

📈 Overview

  • 360 new commits merged
  • 88 breaking changes ⚠️
  • 29 feature additions ✨
  • 50 bugs fixed 🐛

📝 Proposals

  • Core: Update autoscaling from zero enhancement proposal with support for platform-aware autoscale from zero (#​11962)

⚠️ Breaking Changes

  • API: Add additional MinProperties & MinItems validation across multiple APIs (#​12538)
  • API: Add CAPD v1beta2 types (#​12226)
  • API: Add Minimum=0 marker to all MinReadySeconds fields (#​12474)
  • API: Add omitempty to required string without zero value (#​12548)
  • API: Add omitzero on struct without zero value (#​12550)
  • API: Add v1beta2 types (#​12037)
  • API: Align Spec fields to optionalfields API conventions (#​12431)
  • API: Align Status fields to optionalfields API conventions (#​12435)
  • API: Change .status.replicas fields to pointer + omitempty ([#​12250](https://redirect.github.com/kubernetes-s

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner March 5, 2025 22:59
@renovate renovate bot requested a review from TylerGillson March 5, 2025 22:59
Copy link
Contributor Author

renovate bot commented Mar 5, 2025

ℹ 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):

  • 26 additional dependencies were updated

Details:

Package Change
github.com/emicklei/go-restful/v3 v3.12.1 -> v3.12.2
github.com/fsnotify/fsnotify v1.7.0 -> v1.8.0
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad -> v0.0.0-20250403155104-27863c87afa6
github.com/spf13/cobra v1.8.1 -> v1.9.1
github.com/spf13/pflag v1.0.5 -> v1.0.6
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 -> v0.54.0
go.opentelemetry.io/otel v1.28.0 -> v1.29.0
go.opentelemetry.io/otel/metric v1.28.0 -> v1.29.0
go.opentelemetry.io/otel/sdk v1.28.0 -> v1.29.0
go.opentelemetry.io/otel/trace v1.28.0 -> v1.29.0
golang.org/x/net v0.33.0 -> v0.37.0
golang.org/x/oauth2 v0.24.0 -> v0.28.0
golang.org/x/sync v0.10.0 -> v0.12.0
golang.org/x/sys v0.28.0 -> v0.32.0
golang.org/x/term v0.27.0 -> v0.30.0
golang.org/x/text v0.21.0 -> v0.23.0
golang.org/x/time v0.7.0 -> v0.8.0
golang.org/x/tools v0.28.0 -> v0.31.0
gomodules.xyz/jsonpatch/v2 v2.4.0 -> v2.5.0
google.golang.org/genproto/googleapis/api v0.0.0-20240826202546-f6391c0de4c7 -> v0.0.0-20241209162323-e6fa225c2576
google.golang.org/genproto/googleapis/rpc v0.0.0-20240826202546-f6391c0de4c7 -> v0.0.0-20241223144023-3abc09e42ca8
google.golang.org/grpc v1.65.1 -> v1.67.3
google.golang.org/protobuf v1.36.1 -> v1.36.5
k8s.io/apiextensions-apiserver v0.32.1 -> v0.32.3
k8s.io/apiserver v0.32.1 -> v0.32.3
k8s.io/component-base v0.32.1 -> v0.32.3

renovate-approve[bot]
renovate-approve bot previously approved these changes Mar 5, 2025
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Mar 5, 2025
@renovate renovate bot changed the title deps(deps): update module github.com/onsi/ginkgo/v2 to v2.23.0 deps(deps): update all non-major dependencies Mar 8, 2025
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 226c4d2 to e3bfb9b Compare March 8, 2025 13:38
renovate-approve[bot]
renovate-approve bot previously approved these changes Mar 8, 2025
renovate-approve[bot]
renovate-approve bot previously approved these changes Mar 12, 2025
renovate-approve[bot]
renovate-approve bot previously approved these changes Mar 15, 2025
renovate-approve[bot]
renovate-approve bot previously approved these changes Mar 18, 2025
renovate-approve[bot]
renovate-approve bot previously approved these changes Mar 19, 2025
renovate-approve[bot]
renovate-approve bot previously approved these changes Mar 20, 2025
renovate-approve[bot]
renovate-approve bot previously approved these changes Mar 21, 2025
@dosubot dosubot bot removed the size:S This PR changes 10-29 lines, ignoring generated files. label Mar 21, 2025
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 5577130 to 18dddaa Compare May 7, 2025 12:06
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from af9375b to 6ca3d95 Compare May 22, 2025 23:02
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 6ca3d95 to c09a6e8 Compare May 28, 2025 19:14
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from ae3489d to 5b9e2d8 Compare June 19, 2025 20:05
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 24200b0 to 7ddbf50 Compare July 16, 2025 15:07
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 7ddbf50 to 1eeb9ed Compare July 22, 2025 20:50
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 3edde5c to 0d822b6 Compare August 21, 2025 05:46
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 9 times, most recently from 84a2c01 to cc53ed3 Compare August 28, 2025 07:38
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from cc53ed3 to 6d52be1 Compare August 29, 2025 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies go size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants