CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 15:03:06 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"fc57b77237094bb763eebdb66d70d6ee"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=vCQGXkUst%2FJh8vzcNhVSf39%2BVaiXhsCVFuT9QS2z7sxVoKvVcxFCwGxZukS6wwBddjYozXkSrlDcjJm4vwrYkx%2BzQQO8OjM4cKkR06eQw57hdtppgLTidopRTNrVzwRenCdWqY00zcY8mSq9s%2FllFx9Q%2F4mmuKk1BaNSea87aS7T1CUOP6lvFLO%2FZ8AXjEi4B%2BNlzbDMKwI0nn3qOwlfz%2BwmdOoxWy%2Fm96IexYns9jTC6b%2Ffx7WGb8OFC82K2KBNBD222KT4bQQsM%2BeEjpl%2FTg%3D%3D--6p4X3AIdA088PC8u--k8igEpIAxNwNoc6qvlhPsg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1894907423.1753282986; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 15:03:06 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 15:03:06 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D9BC:D3350:DAA1B6:102797D:6880F9AA
Release v2.6.0 Β· fxamacker/cbor Β· GitHub
Loading
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 70
v2.6.0
Compare
·
301 commits
to master
since this release
1f67e1e
This commit was created on GitHub.com and signed with GitHubβs verified signature.
This release adds important new features, optimizations, bug fixes, and 3 new contributors. Fuzz tests passed 5+ billion execs for CBOR encoding and decoding functions. Minimum officially supported Go is bumped to Go 1.17.
β Features and Optimizations
- Add FieldNameMatching decode option. by @benluddy in #433
- Add option to decode CBOR bignum to
interface{}
as*big.Int
by @fxamacker in #456 - Add 2 more options for decoding CBOR integers to
interface{}
by @fxamacker in #457 - Add encoding option to specify how omitempty fields are encoded by @dinhxuanvu in #453
- New options for encoding Go strings to and from CBOR byte strings by @benluddy in #465
- Add options to support byte string map keys as struct field names by @benluddy in #472
- Add option to specify how to decode unrecognized CBOR tag to
any
by @ssuriyan7 in #475
π Notable Optimizations
-
Improve memory allocs ποΈ and speed π of encoding maps by using Go 1.18-1.20 features by @dinhxuanvu in #468
NOTE: Go 1.17 is the minimum version supported by v2.6.0. Go 1.20+ will use optimizations introduced by PR 468.
π Improvements
- Refactor valid() to reject negative values for integer modes by @fxamacker in #434
- Refactor tests to improve consistency and readability by @fxamacker in #458
- Add another test and fix lint errors by @fxamacker in #466
- Refactor map encoding to prep for Go version bump by @fxamacker in #473
- Add
UnrecognizedTagToAny
option toTestDecOptions
by @fxamacker in #484 - Update go.mod to require go 1.17 by @fxamacker in #489
π Bug Fixes
- Fix panic when decoding CBOR nil to
*cbor.SimpleValue
by @fxamacker in #461 - Fix cbor.SimpleValue encoding and decoding by @fxamacker in #464
- Fix EncOption/DecOption unset fields on mode regurgitation. by @benluddy in #480
π Docs and CI
- Update README for error handling of CBOR extraneous data by @fxamacker in #426
- Update README for changes in cbor v2.5.0 by @fxamacker in #427
- Update CI and README by @fxamacker in #430
- Update README to add FIDO Alliance, Let's Encrypt, Matrix.org by @fxamacker in #431
- Pin actions/checkout and actions/setup-go by @x448 in #436
- Enable more linters by @fxamacker in #437
- Bump github/codeql-action from 2.22.5 to 2.22.8 by @dependabot in #443
- Document behavior of Unmarshal of unrecognized tags into interface{} by @benluddy in #448
- Bump github/codeql-action from 2.22.8 to 3.22.12 by @dependabot in #455
- Bump github/codeql-action from 3.22.12 to 3.23.0 by @dependabot in #469
New Contributors
- @benluddy made their first contribution in #433
- @dinhxuanvu made their first contribution in #453
- @ssuriyan7 made their first contribution in #475
Full Changelog: v2.5.0...v2.6.0
Assets 2
3 people reacted
0
Join discussion
You canβt perform that action at this time.