Skip to content

Update module github.com/cloudevents/sdk-go/v2 to v2.16.1 #666

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

Conversation

red-hat-konflux-kflux-prd-rh02[bot]
Copy link
Contributor

@red-hat-konflux-kflux-prd-rh02 red-hat-konflux-kflux-prd-rh02 bot commented Aug 10, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/cloudevents/sdk-go/v2 v2.15.2 -> v2.16.1 age confidence

Release Notes

cloudevents/sdk-go (github.com/cloudevents/sdk-go/v2)

v2.16.1

Compare Source

CloudEvents SDK Go v2.16.1

🐛 Bug Fixes and Improvements

🔄 Maintenance and Dependency Updates

  • 🛠️ Dependency Management Overhaul by @​embano1 in https://github.com/cloudevents/sdk-go/pull/1145
    • Added script (hack/update-deps.sh) to update Go dependencies across all modules
    • Replaced Dependabot with custom script for better dependency management
    • Removed stale and broken OpenTelemetry samples

📦 Key Dependency Updates:

  • github.com/google/go-cmp: v0.6.0 → v0.7.0
  • golang.org/x/sync: v0.12.0 → v0.13.0
  • github.com/nats-io/nats.go: v1.37.0 → v1.41.2
  • github.com/IBM/sarama: v1.40.1 → v1.45.1
  • github.com/docker/docker: v20.10.17 → v27.1.1
  • go.opentelemetry.io/otel: v1.18.0 → v1.35.0
  • 🐹 Go version: Updated from 1.22 to 1.23.0 (toolchain 1.23.8)

🚨 Breaking Changes

None. All updates are either backward-compatible improvements, bug fixes, or internal refactors.

👥 New Contributors

📋 What's Changed

Full Changelog: cloudevents/sdk-go@v2.16.0...v2.16.1

v2.16.0

Compare Source

✨ Features & Enhancements
  • Confluent Kafka binding [#​988] by @​yanmxa
    Added a new Confluent Kafka protocol binding for CloudEvents, supporting modern Kafka client features.

  • Producer report channel for Confluent Kafka [#​1031] by @​yanmxa
    Exposed a producer report channel via Events() to allow users to track delivery status of Kafka messages.

  • Support structured content type suffixes [#​1007] by @​dan-j
    Improved content type handling by recognizing structured syntax suffixes like +json, increasing compatibility with various encodings.

  • Default timeout via context [#​992] by @​nkreiger
    Introduced support for configuring protocol default timeouts using context.Context.

  • Benchmarks for CESQL [#​1050] by @​Cali0707
    Added benchmark tests to measure CESQL query performance.

  • Optimized CESQL LIKE matching [#​1049] by @​Cali0707
    Improved the performance of CESQL's LIKE pattern matching logic.

  • Expose AddFunction API for CESQL Parser [#​1047 / #​1051] by @​dgeorgievski
    Enabled users to register custom functions in CESQL via the newly exposed AddFunction API.

  • Flexible subject matching for NATS JetStream [#​1084] by @​evankanderson
    Added support for flexible subject pattern matching in NATS JetStream subscriptions.

  • Add v3 version of NATS JetStream protocol [#​1095] by @​stephen-totty-hpe
    Introduced a new version of the NATS JetStream protocol (v3) with enhanced features and forward compatibility.

  • Expose WithHost option [#​1070] by @​jaxtonw
    Added a configurable WithHost option for improved protocol initialization flexibility.

  • Support dataref cloud event extension [Dataref Extension #​1018] by @​matzew
    Implements the Dataref (Claim Check Pattern) as specified by the CloudEvent Extension Attributes spec.


🛠 Fixes
  • Handle multiple AMQP data fields correctly [#​1034] by @​embano1
    Fixed parsing of AMQP messages containing multiple data fields to conform with spec expectations.

  • Fix invalid ce- prefix in Confluent binding [#​1059] by @​embano1
    Corrected an issue where CloudEvents extensions were incorrectly prefixed in the Confluent Kafka binding.

  • Fix LIKE expression error handling [#​1046] by @​Cali0707
    Prevented panics on malformed LIKE expressions in CESQL; now returns a parse error instead.

  • Fix MQTT content-type issue [#​1063] by @​yanmxa
    Corrected how content types are applied in the MQTT protocol to improve interoperability.

  • Fix race condition in MQTT protocol [#​1094] by @​yanmxa
    Resolved a concurrency issue that could occur when sending messages over MQTT.

  • Fix pubsub ack logic [#​1064] by @​chapurlatn
    Updated acknowledgment logic to correctly rely on protocol.IsAck, fixing false negatives in pubsub delivery handling.

  • NATS Ack/Nak support in JetStream v3 [#​1104] by @​stephen-totty-hpe
    Added explicit acknowledgment and negative-ack support in the v3 NATS JetStream protocol.

  • Fix data_base64 decoding [#​1129] by @​duglin
    [Breaking Change] Modified base64 handling to require JSON string-wrapped base64 data; see release notes for migration details.


🧹 Maintenance
  • Sort extensions during JSON serialization [#​1117] by @​sargas
    Ensured deterministic serialization of extensions for improved consistency.

  • Add CODEOWNERS file [#​1038] by @​embano1
    Established code ownership rules to streamline PR review workflows.

  • Update GitHub workflows & Go dependencies [#​1105] by @​embano1
    Routine maintenance of CI workflows and dependency versions.

  • Bump MQTT SDK from v0.12.0 to v0.21.0 [#​1096] by @​yanmxa
    Updated the MQTT SDK for access to newer features and fixes.

  • Pin dependency versions [#​1089] by @​harshitasao
    Locked down dependencies to improve reproducibility and stability.

  • Fix token-permission issue [#​1088] by @​harshitasao
    Resolved permission issues affecting token-based authentication flows.

  • Bump testify to v1.10.0 [#​1114] by @​aalekseevx
    Updated stretchr/testify for testing improvements and bug fixes.

  • CESQL v1 Fixes [#​1066] by @​Cali0707
    Applied several small fixes and improvements to the CESQL v1 engine.


Configuration

📅 Schedule: Branch creation - "after 5am on sunday" (UTC), 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

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-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
Copy link
Contributor 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):

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

Details:

Package Change
go 1.22 -> 1.23.0
go (toolchain) 1.22.5 -> 1.24.4
github.com/stretchr/testify v1.9.0 -> v1.10.0
github.com/google/go-cmp v0.6.0 -> v0.7.0
golang.org/x/sync v0.10.0 -> v0.15.0
golang.org/x/time v0.5.0 -> v0.12.0

Copy link

openshift-ci bot commented Aug 10, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: red-hat-konflux-kflux-prd-rh02[bot]
Once this PR has been reviewed and has the lgtm label, please assign vdemeester 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

Copy link

openshift-ci bot commented Aug 10, 2025

Hi @red-hat-konflux-kflux-prd-rh02[bot]. Thanks for your PR.

I'm waiting for a openshift-pipelines member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@mbpavan mbpavan closed this Aug 12, 2025
@mbpavan mbpavan deleted the konflux/mintmaker/release-v0.4.1/github.com-cloudevents-sdk-go-v2-2.x branch August 12, 2025 13:09
Copy link
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (v2.16.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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