build(deps): upgrade github.com/bytedance/sonic from v1.13.2 to v1.14.0#4342
Conversation
# Conflicts: # go.mod # go.sum
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4342 +/- ##
==========================================
- Coverage 99.21% 98.92% -0.30%
==========================================
Files 42 44 +2
Lines 3182 3438 +256
==========================================
+ Hits 3157 3401 +244
- Misses 17 26 +9
- Partials 8 11 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Flc <[email protected]>
| // https://github.com/bytedance/sonic/issues/800 | ||
| var expectedCode int | ||
| switch json.Package { | ||
| case "github.com/goccy/go-json", "github.com/bytedance/sonic": |
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the github.com/bytedance/sonic JSON library from v1.13.2 to v1.14.0 to support Go 1.25 compatibility. The upgrade also brings in updated transitive dependencies and removes sonic-specific workarounds in test code.
- Upgrades sonic library to v1.14.0 along with related transitive dependencies
- Updates test expectations to remove sonic-specific behavior workarounds
- Aligns dependency versions for Go 1.25 support
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| go.mod | Updates sonic and transitive dependencies to newer versions |
| context_test.go | Removes sonic-specific test case handling for http.MaxBytesError |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Dependencies for supporting Go 1.25: #4341