Skip to content

Conversation

@red-hat-konflux
Copy link

@red-hat-konflux red-hat-konflux bot commented Nov 7, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/fxamacker/cbor/v2 v2.7.0 -> v2.9.0 age confidence
github.com/fxamacker/cbor/v2 v2.8.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 these updates 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.

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@openshift-ci openshift-ci bot requested review from nirarg and orenc1 November 7, 2025 08:16
@openshift-ci
Copy link

openshift-ci bot commented Nov 7, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Nov 7, 2025
@openshift-ci
Copy link

openshift-ci bot commented Nov 7, 2025

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

I'm waiting for a github.com 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.

@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/fxamacker/cbor/v2 to v2.9.0 Update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Nov 11, 2025
@red-hat-konflux red-hat-konflux bot closed this Nov 11, 2025
@red-hat-konflux red-hat-konflux bot deleted the konflux/mintmaker/release-4.21/github.com-fxamacker-cbor-v2-2.x branch November 11, 2025 08:26
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Update module github.com/fxamacker/cbor/v2 to v2.9.0 Nov 11, 2025
@red-hat-konflux red-hat-konflux bot reopened this Nov 11, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/release-4.21/github.com-fxamacker-cbor-v2-2.x branch from 6348565 to 38ae353 Compare November 11, 2025 12:21
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/fxamacker/cbor/v2 to v2.9.0 Update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Nov 11, 2025
@red-hat-konflux red-hat-konflux bot closed this Nov 11, 2025
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Update module github.com/fxamacker/cbor/v2 to v2.9.0 Nov 12, 2025
@red-hat-konflux red-hat-konflux bot reopened this Nov 12, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/release-4.21/github.com-fxamacker-cbor-v2-2.x branch from 82be11f to 38ae353 Compare November 12, 2025 00:21
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/fxamacker/cbor/v2 to v2.9.0 Update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Nov 16, 2025
@red-hat-konflux red-hat-konflux bot closed this Nov 16, 2025
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Update module github.com/fxamacker/cbor/v2 to v2.9.0 Nov 16, 2025
@red-hat-konflux red-hat-konflux bot reopened this Nov 16, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/release-4.21/github.com-fxamacker-cbor-v2-2.x branch from 46456e0 to 38ae353 Compare November 16, 2025 08:24
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/fxamacker/cbor/v2 to v2.9.0 Update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Nov 18, 2025
@red-hat-konflux red-hat-konflux bot closed this Nov 18, 2025
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Update module github.com/fxamacker/cbor/v2 to v2.9.0 Nov 18, 2025
@red-hat-konflux red-hat-konflux bot reopened this Nov 18, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/release-4.21/github.com-fxamacker-cbor-v2-2.x branch from 0c19bcf to 38ae353 Compare November 18, 2025 20:25
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/fxamacker/cbor/v2 to v2.9.0 Update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Nov 19, 2025
@red-hat-konflux red-hat-konflux bot closed this Nov 19, 2025
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Update module github.com/fxamacker/cbor/v2 to v2.9.0 Nov 19, 2025
@red-hat-konflux red-hat-konflux bot reopened this Nov 19, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/release-4.21/github.com-fxamacker-cbor-v2-2.x branch from 2c95db2 to 38ae353 Compare November 19, 2025 08:23
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/fxamacker/cbor/v2 to v2.9.0 Update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Nov 19, 2025
@red-hat-konflux red-hat-konflux bot closed this Nov 19, 2025
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/fxamacker/cbor/v2 to v2.9.0 - autoclosed Update module github.com/fxamacker/cbor/v2 to v2.9.0 Nov 20, 2025
@red-hat-konflux red-hat-konflux bot reopened this Nov 20, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/release-4.21/github.com-fxamacker-cbor-v2-2.x branch from 574e962 to 38ae353 Compare November 20, 2025 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants