Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 16, 2025

Bumps github.com/cloudevents/sdk-go/v2 from 2.16.0 to 2.16.1.

Release notes

Sourced from github.com/cloudevents/sdk-go/v2's releases.

Release v2.16.1

CloudEvents SDK Go v2.16.1

πŸ› Bug Fixes and Improvements

  • ⚑ NATS JetStream Enhancement: Made send subject optional via context by @​kmpm in cloudevents/sdk-go#1143

    • Added WithSubject function to override the default subject when sending messages
    • Added comprehensive tests and updated samples
    • Non-breaking enhancement that adds flexibility for NATS users
  • πŸ“ CloudEvents JSON Handling Fixes by @​alank-ps:

    • WriteJson Fix in cloudevents/sdk-go#1162: Fixed WriteJson to properly handle data as JSON when dataContentType is application/cloudevents+json or batch
    • ConsumeData Fix in cloudevents/sdk-go#1164: Fixed consumeData functions to properly recognize structured mode JSON content types
    • Improves compatibility with the CloudEvents specification
  • πŸ”§ CI/Test Improvements: Fix failing CI tests by @​embano1 in cloudevents/sdk-go#1156

πŸ”„ Maintenance and Dependency Updates

  • πŸ› οΈ Dependency Management Overhaul by @​embano1 in cloudevents/sdk-go#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

... (truncated)

Commits
  • 65b45e4 Merge pull request #1164 from alank-ps/main
  • bb544e0 fix: simplify isJSON
  • 1bf32a1 fix: extract IsJson() check to content_type
  • 8ad2c06 fix: consumeData(and ...AsBytes) should consider structued mode JSON content ...
  • 506a8fe Merge pull request #1165 from cloudevents/automated-dependency-updates
  • 5347cb0 chore: update dependencies
  • a50d97a Merge pull request #1162 from alank-ps/main
  • 753ba72 fix: WriteJson should write data as a JSON value when dataContentType=applica...
  • 0d35f37 Merge pull request #1163 from cloudevents/automated-dependency-updates
  • 4546fc7 chore: update dependencies
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/cloudevents/sdk-go/v2](https://github.com/cloudevents/sdk-go) from 2.16.0 to 2.16.1.
- [Release notes](https://github.com/cloudevents/sdk-go/releases)
- [Commits](cloudevents/sdk-go@v2.16.0...v2.16.1)

---
updated-dependencies:
- dependency-name: github.com/cloudevents/sdk-go/v2
  dependency-version: 2.16.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 16, 2025
@telegraf-tiger telegraf-tiger bot added the chore label Jun 16, 2025
@telegraf-tiger
Copy link
Contributor

@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Jun 17, 2025
@skartikey skartikey merged commit e09a8b3 into master Jun 17, 2025
27 of 28 checks passed
@skartikey skartikey deleted the dependabot/go_modules/github.com/cloudevents/sdk-go/v2-2.16.1 branch June 17, 2025 10:54
srebhan pushed a commit that referenced this pull request Jun 23, 2025
…6.1 (#17196)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit e09a8b3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore dependencies Pull requests that update a dependency file ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants