Update module github.com/cloudevents/sdk-go/v2 to v2.16.1 #666
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.15.2
->v2.16.1
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
⚡ NATS JetStream Enhancement: Made send subject optional via context by @kmpm in https://github.com/cloudevents/sdk-go/pull/1143
📝 CloudEvents JSON Handling Fixes by @alank-ps:
application/cloudevents+json
or batch🔧 CI/Test Improvements: Fix failing CI tests by @embano1 in https://github.com/cloudevents/sdk-go/pull/1156
🔄 Maintenance and Dependency Updates
hack/update-deps.sh
) to update Go dependencies across all modules📦 Key Dependency Updates:
🚨 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 @Cali0707Improved 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 @jaxtonwAdded a configurable
WithHost
option for improved protocol initialization flexibility.Support
dataref
cloud event extension [Dataref Extension #1018] by @matzewImplements 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 @embano1Corrected 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 @aalekseevxUpdated
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.
To execute skipped test pipelines write comment
/ok-to-test
.This PR has been generated by MintMaker (powered by Renovate Bot).