-
Notifications
You must be signed in to change notification settings - Fork 53
Comparing changes
Open a pull request
base repository: segmentio/encoding
base: v0.3.6
head repository: segmentio/encoding
compare: master
- 10 commits
- 60 files changed
- 5 contributors
Commits on Nov 2, 2022
-
Added Position field to the Tokenizer (#128)
The Position gives a means to index into the Tokenizer's underlying byte slice. This enables use cases where the caller is planning on making edits to the JSON document but wants to leverage the copy func to optimize data movement and/or to copy remaining bytes if the caller wants to exit the tokenizing loop early.
Steve van Loben Sels authoredNov 2, 2022 Configuration menu - View commit details
-
Copy full SHA for b2d0aeb - Browse repository at this point
Copy the full SHA b2d0aebView commit details
Commits on Nov 10, 2022
-
Revert #128, update docs and add tests to Tokenizer.Remaining() (#129)
Steve van Loben Sels authoredNov 10, 2022 Configuration menu - View commit details
-
Copy full SHA for 3b49d71 - Browse repository at this point
Copy the full SHA 3b49d71View commit details
Commits on Nov 27, 2023
-
fix encoding RawMessage that contains leading space (#136)
* fix encoding RawMessage that contains leading space. * add json/bugs/issue136
Configuration menu - View commit details
-
Copy full SHA for 6dfc1b0 - Browse repository at this point
Copy the full SHA 6dfc1b0View commit details
Commits on Dec 4, 2023
-
json: configurable numeric decoding (#137)
* json: stylistic improvements, better code reuse Initial benchmark results show this change to be approximately performance-neutral. * bump tested Go versions to just 1.20 and 1.21 * json: add ParseFlags values UseInt64, UseUint64, UseBigInt * json: use atomic.Pointer
Configuration menu - View commit details
-
Copy full SHA for 3055897 - Browse repository at this point
Copy the full SHA 3055897View commit details
Commits on Sep 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 93030d3 - Browse repository at this point
Copy the full SHA 93030d3View commit details
Commits on Nov 21, 2024
-
Add protobuf rewrite rule overrides (#144)
* allow rewrite rule overrides and add bitwise-or rewriter * finish docs * remove repeated, these apply a little odd in the rewriter
Configuration menu - View commit details
-
Copy full SHA for a8de6b8 - Browse repository at this point
Copy the full SHA a8de6b8View commit details
Commits on Jun 9, 2025
-
json: encode \b and \f like the Go 1.22 stdlib does (#145)
* go.mod: upgrade to 1.23 (oldest supported by Go project) * json: encode `\b` and `\f` like the Go 1.22 stdlib does https://go-review.googlesource.com/c/go/+/521675
Configuration menu - View commit details
-
Copy full SHA for a54af38 - Browse repository at this point
Copy the full SHA a54af38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a0606c - Browse repository at this point
Copy the full SHA 7a0606cView commit details
Commits on Jul 18, 2025
-
perf(json): address performance penalty found in v0.4.0+ (#149)
* perf(json): revert decodeInto helper changes for object/array/string * per(json): add benchmarks for decoding object and array with mixed members
Configuration menu - View commit details
-
Copy full SHA for 7b9ca4e - Browse repository at this point
Copy the full SHA 7b9ca4eView commit details
Commits on Jul 29, 2025
-
* json: use reflect.PointerTo (avoid deprecated naming) * json: use maps.Copy * lint: remove unused consts/fields * exclude stdlib copied tests from linting * json: partial lint fixes
Configuration menu - View commit details
-
Copy full SHA for fd40685 - Browse repository at this point
Copy the full SHA fd40685View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.3.6...master