Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/bytedance/sonic from 1.9.2 to 1.10.0 #40

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 11, 2023

Bumps github.com/bytedance/sonic from 1.9.2 to 1.10.0.

Release notes

Sourced from github.com/bytedance/sonic's releases.

v1.10.0

Feature

  • #493 support Go1.21.0
  • #471 (ast) add ast.Visitor for transversing JSON in-place
  • #470 add Valid() API

Bugfix

  • #486 possible overflowed instruction while handling byte type
  • #484 (decoder) avoid scratched memory of returned error
  • #496 (ast) Exist() didn't check Valid() first
  • #498 (ast) drop ast.Node API UnsafeArray() and UnsafeMap() (Break Change)

Optimization

  • #393 refactor asm2asm to avoid SIGPROF crashing, and enable traceback when C function panics
  • #464 (ast) use linked chunk as fundamental storage for nodes to keep node pointer valid (Break Change)
  • #464 (ast) avoid malloc when meeting empty values, and inline header chunk into lazy-parsing stack to reduce malloc. The performance of Parse()\Load()\Interface() promoted 10~60%
  • #475 (last) pass skipnumber flag to avoid decoding numbers

New Contributors

Full Changelog: bytedance/sonic@v1.9.2...v1.10.0

v1.10.0-rc2

Optimization

  • #475 (ast) pass skipnumber flag to avoid decoding numbers
  • #483 update base64x to finish asm2asm refactor

Feature

  • #471 (ast) add ast.Visitor for iterating JSON into custom generic data containers in-place

New Contributors

Full Changelog: bytedance/sonic@v1.10.0-rc...v1.10.0-rc2

v1.10.0-rc

Bugfix

  • #464 use linked chunk as fundamental storage for nodes, to keep returned ast.Node pointer valid.
    • BREAK CHANGE: ast.Unset() now WON'T change ast.Len() and ast.Index()
    • BREAK CHANGE: ast.UnsafeArray() and ast.UnsafeMap() are deprecated and user SHOULDN'T modify node based on these API
  • #393 refactor asm2asm to avoid crashing when the program gets panic or profiled
    • BREAK CHANGE: sonic now only support Go 1.16~1.20

Feature

  • #470 add Valid() API on main package

Optimization

  • #464 reduce memory allocation when loading nodes, ast.Load() performance now speeds up 20%~60%
  • #393: call native C function by register-based ABI in ast.Node

... (truncated)

Commits
  • 81a43a9 Break Change: drop ast.Node API UnsafeArray() and UnsafeMap() (#498)
  • 007f4ff feat: support Go1.21.0 (#493)
  • cd1ed4d fix: Exist() didn't check Valid() first (#496)
  • 62a9143 fix: avoid scratched memory of returned error (#484)
  • 7f66420 fix: possible wrong instruction about _T_byte (#486)
  • 1c430d4 opt: update base64x (#483)
  • 78fd91e feat: add ast.Visitor for fully decoding JSON into custom generic data contai...
  • 6108485 opt:(ast) pass skipnumber flag to avoid decoding numbers (#475)
  • 18520eb feat: refactor asm2asm (#393)
  • b40bbd5 feat: add Valid() api (#470)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/bytedance/sonic](https://github.com/bytedance/sonic) from 1.9.2 to 1.10.0.
- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.9.2...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 11, 2023
@houseme houseme merged commit 2999d63 into main Aug 11, 2023
2 of 3 checks passed
@houseme houseme deleted the dependabot/go_modules/github.com/bytedance/sonic-1.10.0 branch August 11, 2023 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant