Skip to content

Commit

Permalink
fix(deps): Update module github.com/bytedance/sonic to v1.10.1 (#114)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/bytedance/sonic](https://togithub.com/bytedance/sonic) | indirect | patch | `v1.10.0-rc` -> `v1.10.1` |

---

### Release Notes

<details>
<summary>bytedance/sonic (github.com/bytedance/sonic)</summary>

### [`v1.10.1`](https://togithub.com/bytedance/sonic/releases/tag/v1.10.1)

[Compare Source](https://togithub.com/bytedance/sonic/compare/v1.10.0...v1.10.1)

#### Feature

-   \[[#&#8203;511](https://togithub.com/bytedance/sonic/issues/511)] (ast) support sort keys on non-object node
-   \[[#&#8203;527](https://togithub.com/bytedance/sonic/issues/527)] (encoder) Add `NoValidateJSONMarshaler` option

#### Bugfix

-   \[[#&#8203;504](https://togithub.com/bytedance/sonic/issues/504)] (ast) check error before `Set/Unset/Add()`
-   \[[#&#8203;520](https://togithub.com/bytedance/sonic/issues/520)] (native) over boundary bugs of skip number and tolower in native c

#### New Contributors

-   [@&#8203;jimyag](https://togithub.com/jimyag) made their first contribution in [https://github.com/bytedance/sonic/pull/501](https://togithub.com/bytedance/sonic/pull/501)
-   [@&#8203;hitzhangjie](https://togithub.com/hitzhangjie) made their first contribution in [https://github.com/bytedance/sonic/pull/505](https://togithub.com/bytedance/sonic/pull/505)
-   [@&#8203;xiezheng-XD](https://togithub.com/xiezheng-XD) made their first contribution in [https://github.com/bytedance/sonic/pull/516](https://togithub.com/bytedance/sonic/pull/516)
-   [@&#8203;andeya](https://togithub.com/andeya) made their first contribution in [https://github.com/bytedance/sonic/pull/527](https://togithub.com/bytedance/sonic/pull/527)

**Full Changelog**: bytedance/sonic@v1.10.0...v1.10.1

### [`v1.10.0`](https://togithub.com/bytedance/sonic/releases/tag/v1.10.0)

[Compare Source](https://togithub.com/bytedance/sonic/compare/v1.10.0-rc3...v1.10.0)

#### Feature

-   \[[#&#8203;493](https://togithub.com/bytedance/sonic/issues/493)] **support Go1.21.0**
-   \[[#&#8203;471](https://togithub.com/bytedance/sonic/issues/471)] (ast) add `ast.Visitor` for transversing JSON in-place
-   \[[#&#8203;470](https://togithub.com/bytedance/sonic/issues/470)] add `Valid()` API

#### Bugfix

-   \[[#&#8203;486](https://togithub.com/bytedance/sonic/issues/486)] possible overflowed instruction while handling `byte` type
-   \[[#&#8203;484](https://togithub.com/bytedance/sonic/issues/484)] (decoder) avoid scratched memory of returned error
-   \[[#&#8203;496](https://togithub.com/bytedance/sonic/issues/496)] (ast) Exist() didn't check Valid() first
-   \[[#&#8203;498](https://togithub.com/bytedance/sonic/issues/498)] (ast) drop ast.Node API `UnsafeArray()` and `UnsafeMap()` (**Break Change**)

#### Optimization

-   \[[#&#8203;393](https://togithub.com/bytedance/sonic/issues/393)] **refactor `asm2asm` to avoid `SIGPROF` crashing, and enable traceback when C function panics**
-   \[[#&#8203;464](https://togithub.com/bytedance/sonic/issues/464)] (ast) use linked chunk as fundamental storage for nodes to keep node pointer valid (**Break Change**)
-   \[[#&#8203;464](https://togithub.com/bytedance/sonic/issues/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%**
-   \[[#&#8203;475](https://togithub.com/bytedance/sonic/issues/475)] (last) pass `skipnumber` flag to avoid decoding numbers

#### New Contributors

-   [@&#8203;xumingyukou](https://togithub.com/xumingyukou) made their first contribution in [https://github.com/bytedance/sonic/pull/447](https://togithub.com/bytedance/sonic/pull/447)
-   [@&#8203;zhongxinghong](https://togithub.com/zhongxinghong) made their first contribution in [https://github.com/bytedance/sonic/pull/471](https://togithub.com/bytedance/sonic/pull/471)

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

### [`v1.10.0-rc3`](https://togithub.com/bytedance/sonic/compare/v1.10.0-rc2...v1.10.0-rc3)

[Compare Source](https://togithub.com/bytedance/sonic/compare/v1.10.0-rc2...v1.10.0-rc3)

### [`v1.10.0-rc2`](https://togithub.com/bytedance/sonic/releases/tag/v1.10.0-rc2)

[Compare Source](https://togithub.com/bytedance/sonic/compare/v1.10.0-rc...v1.10.0-rc2)

#### Optimization

-   \[[#&#8203;475](https://togithub.com/bytedance/sonic/issues/475)] (ast) pass `skipnumber` flag to avoid decoding numbers
-   \[[#&#8203;483](https://togithub.com/bytedance/sonic/issues/483)] update base64x to finish asm2asm refactor

#### Feature

-   \[[#&#8203;471](https://togithub.com/bytedance/sonic/issues/471)] (ast) add `ast.Visitor` for iterating JSON into custom generic data containers in-place

#### New Contributors

-   [@&#8203;zhongxinghong](https://togithub.com/zhongxinghong) made their first contribution in [https://github.com/bytedance/sonic/pull/471](https://togithub.com/bytedance/sonic/pull/471)

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

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
  • Loading branch information
cq-bot authored Oct 1, 2023
1 parent b65b814 commit e0dcdd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ require (
github.com/andybalholm/brotli v1.0.5 // indirect
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/bytedance/sonic v1.10.0-rc // indirect
github.com/bytedance/sonic v1.10.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.0 // indirect
github.com/deepmap/oapi-codegen v1.15.0 // indirect
Expand Down
3 changes: 2 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuP
github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4=
github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w=
github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=
github.com/bytedance/sonic v1.10.0-rc h1:3S5HeWxjX08CUqNrXtEittExpJsEKBNzrV5UnrzHxVQ=
github.com/bytedance/sonic v1.10.0-rc/go.mod h1:ElCzW+ufi8qKqNW0FY314xriJhyJhuoJ3gFZdAHF7NM=
github.com/bytedance/sonic v1.10.1 h1:7a1wuFXL1cMy7a3f7/VFcEtriuXQnUBhtoVfOZiaysc=
github.com/bytedance/sonic v1.10.1/go.mod h1:iZcSUejdk5aukTND/Eu/ivjQuEL0Cu9/rf50Hi0u/g4=
github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY=
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk=
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d h1:77cEq6EriyTZ0g/qfRdp61a3Uu/AWrgIq2s0ClJV1g0=
Expand Down

0 comments on commit e0dcdd8

Please sign in to comment.