Releases: fxamacker/cbor
Releases · fxamacker/cbor
v1.0.1
Code refactoring and README updates.
v1.0.0
cbor
v1.0.0 stable for Go 1.12+.
v0.5.0
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
Add feature to handle JSON struct field tags, see details.
v0.3.0
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
Add encoding support for indefinite length bytes/string/array/map, with updated tests, examples, and README.
v0.1.1
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)