Releases: segmentio/encoding
Releases · segmentio/encoding
v0.5.1: json parity with stdlib for \b and \f encoding
What's Changed
- json: encode \b and \f like the Go 1.22 stdlib does by @extemporalgenome in #145
- lint fixes by @extemporalgenome in #146
Full Changelog: v0.5.0...v0.5.1
v0.5.0: protobuf rewrite rule overrides
What's Changed
- .github: fix security vuln by @kevinburkesegment in #142
- Add protobuf rewrite rule overrides by @kalamay in #144
Full Changelog: v0.4.0...v0.5.0
v0.4.0: configurable numeric decoding support
When decoding into any
, ParseFlags
can now be used to control decoding into any combination of uint64
, int64
, and *big.Int
, in addition to the prior support for json.Number
and float64
. Choice of type will depend on each value encountered, and as before, when json.Number
is requested, float64
will not be used.
v0.3.7: tolerate leading spacing in json.RawMessage
fix encoding RawMessage that contains leading space (#136) * fix encoding RawMessage that contains leading space. * add json/bugs/issue136
v0.3.6
v0.3.5
What's Changed
- fix decoding lists of TRUE values by @achille-roussel in #122
Full Changelog: v0.3.4...v0.3.5
v0.3.4
v0.3.3
What's Changed
- purego fix by @chriso in #111
- Speed up integer parsing by @chriso in #112
- Optimize short string parsing (part 2) by @chriso in #113
- Improved field lookup for small structs (arm64) by @chriso in #114
- Fixes Bool method comment by @Succo in #115
- README: note where to find CPU/memory details by @kevinburkesegment in #116
- thrift: allow reusing struct fields by @achille-roussel in #117
New Contributors
- @Succo made their first contribution in #115
- @kevinburkesegment made their first contribution in #116
Full Changelog: v0.3.2...v0.3.3
v0.3.2
fix thrift encoding of structs with pointer fields (#109)