Skip to content

chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0#151

Open
red-hat-konflux[bot] wants to merge 2 commits intomainfrom
konflux/mintmaker/main/github.com-fxamacker-cbor-v2-2.x
Open

chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0#151
red-hat-konflux[bot] wants to merge 2 commits intomainfrom
konflux/mintmaker/main/github.com-fxamacker-cbor-v2-2.x

Conversation

@red-hat-konflux
Copy link
Copy Markdown
Contributor

@red-hat-konflux red-hat-konflux bot commented Jan 27, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/fxamacker/cbor/v2 v2.7.0 -> v2.9.0 age confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

fxamacker/cbor (github.com/fxamacker/cbor/v2)

v2.9.0

Compare Source

v2.9.0 adds new features, refactors tests, and improves docs. New features improve interoperability/transcoding between CBOR & JSON.

v2.9.0 passed fuzz tests and is production quality. However, the new TextUnmarshaler feature will continue being fuzz tested a bit longer due to recent changes. The recent changes are limited and don't affect other parts of the codec that passed ~2 billion execs fuzzing.

What's Changed

Docs

CI

🔎 Details

Special Thanks

Many thanks to @​benluddy for adding these new features! 🎉

  • Add opt-in support for encoding.TextMarshaler and encoding.TextUnmarshaler to encode and decode from CBOR text string.
  • Add opt-in support for json.Marshaler and json.Unmarshaler via user-provided transcoding function.

New Contributors

Full Changelog: fxamacker/cbor@v2.8.0...v2.9.0

v2.8.0

Compare Source

v2.8.0 adds omitzero struct tag option, fixes and deprecates 3 functions, and bumps requirements to go 1.20+.

Many thanks to @​liggitt for contributing the omitzero support!

The "omitzero" option omits zero values from encoding, matching stdlib encoding/json behavior.
When specified in the cbor tag, the option is always honored.
When specified in the json tag, the option is honored when building with Go 1.24+.

This release fixes 3 functions (when called directly by user apps) to use same error handling on bad input as cbor.Unmarshal():

  • RawTag.UnmarshalCBOR() (thanks @​thomas-fossati for reporting this!)
  • ByteString.UnmarshalCBOR()
  • SimpleValue.UnmarshalCBOR()

This release also deprecates those 3 functions because they were initially created for internal use. Please use Unmarshal() or UnmarshalFirst() instead.

To preserve backward compatibility, the deprecated functions were added to fuzz tests and will not be removed in v2.x.

What's Changed

Other Changes
🔍 Details

New Contributors

Full Changelog: fxamacker/cbor@v2.7.0...v2.8.0

v2.7.1

Compare Source

v2.7.1 fixes 3 functions (when called directly by user apps) to use same error handling on bad inputs as cbor.Unmarshal():

  • ByteString.UnmarshalCBOR()
  • RawTag.UnmarshalCBOR()
  • SimpleValue.UnmarshalCBOR()

The above 3 fixed functions are deprecated because they were initially created for internal use. Please use Unmarshal() or UnmarshalFirst() instead.

To preserve backward compatibility, the deprecated functions were added to fuzz tests and will not be removed in v2.x.

Before Upgrading to v2.7.1

v2.8.0 is being fuzz tested and will be released later today. It adds support for omitzero struct tag option.

v2.7.1 is the last version to support go 1.17-1.19. v2.8.0 and newer releases will require go 1.20+.

What's Changed

Special Thanks

Thanks @​thomas-fossati for reporting the bug in RawTag.UnmarshalCBOR() when it is called directly by user apps providing bad input data!

Full Changelog: fxamacker/cbor@v2.7.0...v2.7.1


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

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Jan 30, 2026
@red-hat-konflux red-hat-konflux bot closed this Jan 30, 2026
@red-hat-konflux red-hat-konflux bot deleted the konflux/mintmaker/main/github.com-fxamacker-cbor-v2-2.x branch January 30, 2026 21:05
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 Jan 31, 2026
@red-hat-konflux red-hat-konflux bot reopened this Jan 31, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-fxamacker-cbor-v2-2.x branch 2 times, most recently from 9a90b55 to 6df05d8 Compare January 31, 2026 05:02
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Feb 1, 2026
@red-hat-konflux red-hat-konflux bot closed this Feb 1, 2026
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 Feb 2, 2026
@red-hat-konflux red-hat-konflux bot reopened this Feb 2, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-fxamacker-cbor-v2-2.x branch 2 times, most recently from 6df05d8 to 7d700ab Compare February 2, 2026 01:01
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Feb 6, 2026
@red-hat-konflux red-hat-konflux bot closed this Feb 6, 2026
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 Feb 7, 2026
@red-hat-konflux red-hat-konflux bot reopened this Feb 7, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-fxamacker-cbor-v2-2.x branch 2 times, most recently from 7d700ab to 21a9bfc Compare February 7, 2026 01:00
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Feb 9, 2026
@red-hat-konflux red-hat-konflux bot closed this Feb 9, 2026
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 Feb 9, 2026
@red-hat-konflux red-hat-konflux bot reopened this Feb 9, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-fxamacker-cbor-v2-2.x branch 2 times, most recently from 21a9bfc to caf8137 Compare February 9, 2026 05:06
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Feb 11, 2026
@red-hat-konflux red-hat-konflux bot closed this Feb 11, 2026
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.0 Feb 11, 2026
@red-hat-konflux red-hat-konflux bot reopened this Feb 11, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-fxamacker-cbor-v2-2.x branch 2 times, most recently from caf8137 to fcdcc57 Compare February 11, 2026 10:07
@red-hat-konflux
Copy link
Copy Markdown
Contributor Author

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.

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