Skip to content

Conversation

@renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Jul 17, 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 - 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.

@forking-renovate
Copy link

ℹ 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

Details:

Package Change
github.com/google/uuid v1.4.0 -> v1.6.0
go.uber.org/multierr v1.1.0 -> v1.11.0
go.uber.org/zap v1.10.0 -> v1.27.0
golang.org/x/sync v0.12.0 -> v0.15.0

@renovate-bot renovate-bot force-pushed the renovate/github.com-cloudevents-sdk-go-v2-2.x branch from 24e9adb to 3dc3cdd Compare July 17, 2025 01:33
@renovate-bot renovate-bot force-pushed the renovate/github.com-cloudevents-sdk-go-v2-2.x branch from 3dc3cdd to 31f5ed5 Compare July 17, 2025 15:57
@akerekes akerekes merged commit 46b8b4f into GoogleCloudPlatform:main Jul 17, 2025
8 of 11 checks passed
@renovate-bot renovate-bot deleted the renovate/github.com-cloudevents-sdk-go-v2-2.x branch July 17, 2025 16:04
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.

2 participants