Skip to content

Releases: fxamacker/cbor

v1.0.1

08 Oct 02:23
Compare
Choose a tag to compare

Code refactoring and README updates.

v1.0.0

29 Sep 22:53
12556f6
Compare
Choose a tag to compare

cbor v1.0.0 stable for Go 1.12+.

v0.5.0

15 Sep 20:06
Compare
Choose a tag to compare

Refactored and improved test coverage to 97%:

  • Removed unused type InvalidValueError.
  • Refactored and removed unreachable code (redundant error/bounds checking).
  • Added tests for edge cases.
  • Reduced compiled library size.

v0.4.0

11 Sep 13:07
Compare
Choose a tag to compare

Add feature to handle JSON struct field tags, see details.

v0.3.0

03 Sep 03:29
Compare
Choose a tag to compare

Add encoding and decoding support for time.Time.

  • Encode time.Time values as RFC 3339 formatted text strings when EncOptions.TimeRFC3339 is true; otherwise, encode time.Time values as Unix time.
  • Decode RFC 3339 formatted text strings, or numerical representation of Unix time into time.Time.

v0.2.0

01 Sep 19:23
7b1e1f9
Compare
Choose a tag to compare

Add encoding support for indefinite length bytes/string/array/map, with updated tests, examples, and README.

v0.1.1

01 Sep 18:55
Compare
Choose a tag to compare

cbor will only support Go 1.12 and newer. This allows cbor to use new API in reflect package for performance gain.

This release includes bug fixes, performance improvements, and documentation updates, detailed below.

Changelog:

  • Fix decoding nil into struct field of type pointer (commit 420e2c0)
  • Fix encoding byte array as CBOR byte string (commit a4fface)
  • Improve map encoding performance and memory allocation (commit 224b632)

v0.1.0

19 May 00:52
2adb49b
Compare
Choose a tag to compare
Update README.md