Skip to content

Releases: segmentio/encoding

v0.4.0: configurable numeric decoding support

04 Dec 22:03
3055897
Compare
Choose a tag to compare

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

27 Nov 18:37
6dfc1b0
Compare
Choose a tag to compare
fix encoding RawMessage that contains leading space (#136)

* fix encoding RawMessage that contains leading space.

* add json/bugs/issue136

v0.3.6

07 Oct 03:43
3391c4a
Compare
Choose a tag to compare

What's Changed

  • Added a Remaining() int method to json.Tokenizer by @chriso in #126
  • Enabled a slice optimization for go1.18 and go1.19 by @chriso in #127

Full Changelog: v0.3.5...v0.3.6

v0.3.5

26 Apr 17:53
a1e4c6b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.4...v0.3.5

v0.3.4

16 Feb 17:46
886f222
Compare
Choose a tag to compare

What's Changed

  • Encoder: add SetAddExtraNewline option to json.Encoder by @Jerska in #119

New Contributors

Full Changelog: v0.3.3...v0.3.4

v0.3.3

16 Feb 17:45
f3a2210
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.2...v0.3.3

v0.3.2

16 Feb 17:45
000439e
Compare
Choose a tag to compare
fix thrift encoding of structs with pointer fields (#109)

v0.3.1

13 Nov 20:27
37e513f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

13 Nov 20:26
47bdac2
Compare
Choose a tag to compare

This release adds a new thrift package with encoder/decoder to work with the thrift format, including support for the binary and compact protocols.

v0.1.12

11 May 21:13
2781faf
Compare
Choose a tag to compare
Merge pull request #36 from yolken-segment/yolken-skip-encoding-value…

…-checks

Add SetTrustRawMessage Encoder method