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 github.com/crossplane/function-sdk-go to v0.4.0 #148

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 19, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/crossplane/function-sdk-go v0.2.0 -> v0.4.0 age adoption passing confidence

Release Notes

crossplane/function-sdk-go (github.com/crossplane/function-sdk-go)

v0.4.0

Compare Source

v0.4.0 is a minor release scoped to important dependency updates and minor changes to integrate them. This SDK is now compatible with crossplane-runtime v1.18.0. Thank you @​BigGold1310 for this contribution!

The most notable dependency updates are listed below:

  • Update module golang.org/x/crypto to v0.31.0 [SECURITY] #​198
  • Update module github.com/quic-go/quic-go to v0.48.2 [SECURITY] #​197
  • Update crossplane-runtime to 1.18 #​196

What's Changed

New Contributors

Full Changelog: crossplane/function-sdk-go@v0.3.0...v0.4.0

v0.3.0

Compare Source

Breaking Changes

Crossplane promoted composition functions to a generally available (GA) feature in v1.17. As part of promoting composition functions to GA, it introduced a new v1 RPC package.

This function-sdk-go release uses the new v1 RPC package. Functions must update to the new v1 RPCs. The new v1 RPCs are identical to the v1beta1 RPCs, so migration should be a simple case of finding and replacing v1beta1 imports with v1 imports.

Functions built using this SDK will transparently continue to support older versions of Crossplane (v1.16 and earlier) that send v1beta1 requests. function.Serve implements a translation layer that serves v1beta1 requests by converting them to v1.

While composition functions as a feature is generally available, and Crossplane won't make breaking changes function RPCs, this SDK is still in beta. The SDK abstractions that build on the composition function RPCs continue to be subject to breaking changes until this SDK reaches v1.0.

Notable Changes

What's Changed

New Contributors

Full Changelog: crossplane/function-sdk-go@v0.2.0...v0.3.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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Sep 19, 2024

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

  • 38 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.22.9 -> 1.23.4
github.com/crossplane/crossplane-runtime v1.15.1 -> v1.18.0
google.golang.org/protobuf v1.34.2 -> v1.34.3-0.20240816073751-94ecbc261689
k8s.io/api v0.29.3 -> v0.31.0
k8s.io/apiextensions-apiserver v0.29.3 -> v0.31.0
k8s.io/apimachinery v0.29.3 -> v0.31.0
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 -> v0.0.0-20240902221715-702e33fdd3c3
sigs.k8s.io/controller-tools v0.14.0 -> v0.16.0
dario.cat/mergo v1.0.0 -> v1.0.1
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/davecgh/go-spew v1.1.1 -> v1.1.2-0.20180830191138-d8f796af33cc
github.com/evanphx/json-patch v5.6.0+incompatible -> v5.9.0+incompatible
github.com/evanphx/json-patch/v5 v5.8.0 -> v5.9.0
github.com/fatih/color v1.16.0 -> v1.17.0
github.com/go-json-experiment/json v0.0.0-20231013223334-54c864be5b8d -> v0.0.0-20240815175050-ebd3a8989ca1
github.com/go-logr/logr v1.4.1 -> v1.4.2
github.com/go-openapi/swag v0.22.3 -> v0.22.4
github.com/google/uuid v1.4.0 -> v1.6.0
github.com/prometheus/client_golang v1.18.0 -> v1.19.1
github.com/prometheus/client_model v0.5.0 -> v0.6.1
github.com/prometheus/common v0.45.0 -> v0.55.0
github.com/prometheus/procfs v0.12.0 -> v0.15.1
github.com/spf13/cobra v1.8.0 -> v1.8.1
go.uber.org/zap v1.26.0 -> v1.27.0
golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 -> v0.0.0-20240909161429-701f63a606c0
golang.org/x/mod v0.14.0 -> v0.21.0
golang.org/x/net v0.23.0 -> v0.29.0
golang.org/x/oauth2 v0.15.0 -> v0.22.0
golang.org/x/sys v0.18.0 -> v0.28.0
golang.org/x/term v0.18.0 -> v0.27.0
golang.org/x/text v0.14.0 -> v0.21.0
golang.org/x/tools v0.17.0 -> v0.25.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240116215550-a9fa1716bcac -> v0.0.0-20240903143218-8af14fe29dc1
google.golang.org/grpc v1.61.0 -> v1.67.0
k8s.io/client-go v0.29.3 -> v0.31.0
k8s.io/component-base v0.29.3 -> v0.31.0
k8s.io/klog/v2 v2.110.1 -> v2.130.1
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 -> v0.0.0-20240228011516-70dd3763d340
sigs.k8s.io/controller-runtime v0.17.0 -> v0.19.0

@renovate renovate bot force-pushed the renovate/github.com-crossplane-function-sdk-go-0.x branch from 8b08d01 to 3414cf0 Compare December 16, 2024 12:18
@renovate renovate bot force-pushed the renovate/github.com-crossplane-function-sdk-go-0.x branch from 3414cf0 to 084a10f Compare December 16, 2024 21:33
@renovate renovate bot changed the title fix(deps): update module github.com/crossplane/function-sdk-go to v0.3.0 fix(deps): update module github.com/crossplane/function-sdk-go to v0.4.0 Dec 16, 2024
Copy link
Contributor Author

renovate bot commented Dec 17, 2024

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.

Copy link
Member

@jbw976 jbw976 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sweet, everything is green now after manually:

  • bumping the CI versions of go and golangci
  • bumping the source code to use v1 of functions
  • update unit tests to include new(ish) Result.Target field

See commits for details 🤓

@jbw976 jbw976 merged commit 888fe26 into main Dec 17, 2024
6 checks passed
@renovate renovate bot deleted the renovate/github.com-crossplane-function-sdk-go-0.x branch December 17, 2024 07:22
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