cunicu / gont

A Go testing framework for distributed applications
http://gont.cunicu.li/
Apache License 2.0
77 stars 5 forks source link

fix(deps): update module github.com/fxamacker/cbor/v2 to v2.7.0 #182

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/fxamacker/cbor/v2 v2.6.0 -> v2.7.0 age adoption passing confidence

Release Notes

fxamacker/cbor (github.com/fxamacker/cbor/v2) ### [`v2.7.0`](https://togithub.com/fxamacker/cbor/releases/tag/v2.7.0) [Compare Source](https://togithub.com/fxamacker/cbor/compare/v2.6.0...v2.7.0) #### v2.7.0 (June 23, 2024) v2.7.0 adds features and improvements that help large projects (e.g. Kubernetes) use CBOR as an alternative to JSON and Protocol Buffers. Other improvements include speedups, improved memory use, bug fixes, decoding/encoding options, etc. Passed 5+ billion execs fuzzing. Special thanks to [@​benluddy](https://togithub.com/benluddy) for contributing features, optimizations, improvements, bug fixes, and discussions! :+1: #### ā­ Features and Optimizations - Add decoding option TimeTagToAny to produce RFC3339 when decoding time into interface{} by [@​ssuriyan7](https://togithub.com/ssuriyan7) in [https://github.com/fxamacker/cbor/pull/506](https://togithub.com/fxamacker/cbor/pull/506) - Bypass sorting overhead for single-entry maps. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/516](https://togithub.com/fxamacker/cbor/pull/516) - Add decode option to allow rejecting inputs that contain certain simple values. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/481](https://togithub.com/fxamacker/cbor/pull/481) - Allow rejection of NaN and Inf float values on encode and decode. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/513](https://togithub.com/fxamacker/cbor/pull/513) - Add SortMode to encode struct fields in a less predictable order. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/515](https://togithub.com/fxamacker/cbor/pull/515) - Add a decoding option to allow decoding byte string into time.Time. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/524](https://togithub.com/fxamacker/cbor/pull/524) - Encode structs directly to output buffer. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/519](https://togithub.com/fxamacker/cbor/pull/519) - Support automatic conversion between text and binary string representations by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/476](https://togithub.com/fxamacker/cbor/pull/476) - Add a method for marshaling directly into a user-provided buffer. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/521](https://togithub.com/fxamacker/cbor/pull/521) - Add options to disable BinaryMarshaler/BinaryUnmarshaler support. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/526](https://togithub.com/fxamacker/cbor/pull/526) - Add option to reject decoding bignum tags and encoding big.Int. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/527](https://togithub.com/fxamacker/cbor/pull/527) - Improve speed & memory use for Diagnose() and DiagnoseFirst() by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/533](https://togithub.com/fxamacker/cbor/pull/533) - Refactor sorted map encode to use fewer buffers for nested maps. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/537](https://togithub.com/fxamacker/cbor/pull/537) - Allow user to specify buffer by adding `cbor.MarshalToBuffer()`, `UserBufferEncMode` interface, etc. by [@​fxamacker](https://togithub.com/fxamacker) in [https://github.com/fxamacker/cbor/pull/553](https://togithub.com/fxamacker/cbor/pull/553) #### šŸ›  Improvements Most improvements focused on fixing or updating new features. See :lady_beetle: Bug Fixes section for fixes to features already released. - Refactor to reuse functions and improve code coverage by [@​fxamacker](https://togithub.com/fxamacker) in [https://github.com/fxamacker/cbor/pull/531](https://togithub.com/fxamacker/cbor/pull/531) - Fix invalid RFC 3339 in TimeTagToAny (unreleased new feature) by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/540](https://togithub.com/fxamacker/cbor/pull/540) - Refactor and improve code by [@​fxamacker](https://togithub.com/fxamacker) in [https://github.com/fxamacker/cbor/pull/542](https://togithub.com/fxamacker/cbor/pull/542) - Use "cbor:" prefixed error msg when decoding with non-default TimeTagToAnyMode setting by [@​fxamacker](https://togithub.com/fxamacker) in [https://github.com/fxamacker/cbor/pull/544](https://togithub.com/fxamacker/cbor/pull/544) - Disable conflicting encode options when marshaling cbor.Tag. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/546](https://togithub.com/fxamacker/cbor/pull/546) - Improve byte string format decoding options by [@​fxamacker](https://togithub.com/fxamacker) in [https://github.com/fxamacker/cbor/pull/550](https://togithub.com/fxamacker/cbor/pull/550) - Replace `*errors.errorString` with `InadmissibleTagContentTypeError` by [@​fxamacker](https://togithub.com/fxamacker) in [https://github.com/fxamacker/cbor/pull/552](https://togithub.com/fxamacker/cbor/pull/552) - Rename ByteSliceMode to ByteSliceLaterFormatMode, etc by [@​fxamacker](https://togithub.com/fxamacker) in [https://github.com/fxamacker/cbor/pull/554](https://togithub.com/fxamacker/cbor/pull/554) - Fix panic using SortFastShuffle (unreleased new feaure) to encode a struct with no fields. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/556](https://togithub.com/fxamacker/cbor/pull/556) #### šŸž Bug Fixes - Check well-formedness of data from MarshalCBOR by [@​fxamacker](https://togithub.com/fxamacker) in [https://github.com/fxamacker/cbor/pull/485](https://togithub.com/fxamacker/cbor/pull/485) - Treat map keys matching the same struct field as duplicates. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/492](https://togithub.com/fxamacker/cbor/pull/492) - Decouple time.Time parsing from empty interface behavior. by [@​benluddy](https://togithub.com/benluddy) in [https://github.com/fxamacker/cbor/pull/503](https://togithub.com/fxamacker/cbor/pull/503) #### Other changes
Details

- Bump govulncheck from v1.0.1 to v1.0.4 by [@​fxamacker](https://togithub.com/fxamacker) in [https://github.com/fxamacker/cbor/pull/493](https://togithub.com/fxamacker/cbor/pull/493) - Remove OpenSSF Scorecard until scorecard bug is fixed by [@​x448](https://togithub.com/x448) in [https://github.com/fxamacker/cbor/pull/495](https://togithub.com/fxamacker/cbor/pull/495) - Bump github/codeql-action from 3.24.0 to 3.24.5 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/498](https://togithub.com/fxamacker/cbor/pull/498) - Bump github/codeql-action from 3.24.5 to 3.24.6 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/502](https://togithub.com/fxamacker/cbor/pull/502) - Enable more linters in .golangci.yml by [@​fxamacker](https://togithub.com/fxamacker) in [https://github.com/fxamacker/cbor/pull/504](https://togithub.com/fxamacker/cbor/pull/504) - Bump actions/checkout from 4.1.1 to 4.1.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/509](https://togithub.com/fxamacker/cbor/pull/509) - Bump github/codeql-action from 3.24.6 to 3.24.7 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/510](https://togithub.com/fxamacker/cbor/pull/510) - Bump github/codeql-action from 3.24.7 to 3.24.9 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/511](https://togithub.com/fxamacker/cbor/pull/511) - Bump github/codeql-action from 3.24.9 to 3.24.10 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/518](https://togithub.com/fxamacker/cbor/pull/518) - Bump actions/checkout from 4.1.2 to 4.1.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/522](https://togithub.com/fxamacker/cbor/pull/522) - Bump github/codeql-action from 3.24.10 to 3.25.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/523](https://togithub.com/fxamacker/cbor/pull/523) - Bump github/codeql-action from 3.25.1 to 3.25.3 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/529](https://togithub.com/fxamacker/cbor/pull/529) - Bump actions/checkout from 4.1.3 to 4.1.4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/530](https://togithub.com/fxamacker/cbor/pull/530) - Bump actions/setup-go from 4.1.0 to 5.0.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/532](https://togithub.com/fxamacker/cbor/pull/532) - Bump github/codeql-action from 3.25.3 to 3.25.4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/534](https://togithub.com/fxamacker/cbor/pull/534) - Bump actions/checkout from 4.1.4 to 4.1.5 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/535](https://togithub.com/fxamacker/cbor/pull/535) - Bump actions/checkout from 4.1.5 to 4.1.6 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/538](https://togithub.com/fxamacker/cbor/pull/538) - Bump github/codeql-action from 3.25.4 to 3.25.5 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/539](https://togithub.com/fxamacker/cbor/pull/539) - Bump golangci-lint from 1.53.3 to 1.54.2 by [@​fxamacker](https://togithub.com/fxamacker) in [https://github.com/fxamacker/cbor/pull/543](https://togithub.com/fxamacker/cbor/pull/543) - Bump github/codeql-action from 3.25.5 to 3.25.6 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/541](https://togithub.com/fxamacker/cbor/pull/541) - Bump github/codeql-action from 3.25.6 to 3.25.7 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/547](https://togithub.com/fxamacker/cbor/pull/547) - Bump golangci-lint to 1.56.2 by [@​fxamacker](https://togithub.com/fxamacker) in [https://github.com/fxamacker/cbor/pull/548](https://togithub.com/fxamacker/cbor/pull/548) - Bump actions/checkout from 4.1.6 to 4.1.7 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/557](https://togithub.com/fxamacker/cbor/pull/557) - Bump github/codeql-action from 3.25.7 to 3.25.10 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/fxamacker/cbor/pull/559](https://togithub.com/fxamacker/cbor/pull/559) - Update README.md for v2.7.0 release by [@​fxamacker](https://togithub.com/fxamacker) in [https://github.com/fxamacker/cbor/pull/560](https://togithub.com/fxamacker/cbor/pull/560)

#### Full Changelog **Full Changelog**: https://github.com/fxamacker/cbor/compare/v2.6.0...v2.7.0

Configuration

šŸ“… Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

šŸš¦ Automerge: Enabled.

ā™» 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.



This PR has been generated by Mend Renovate. View repository job log here.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 50.56%. Comparing base (7fe2e79) to head (398c1ec).

:exclamation: Current head 398c1ec differs from pull request most recent head a72067b

Please upload reports for the commit a72067b to get more accurate results.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #182 +/- ## ======================================= Coverage 50.56% 50.56% ======================================= Files 67 67 Lines 3212 3212 ======================================= Hits 1624 1624 Misses 1362 1362 Partials 226 226 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.