From 68834cd8c009be0aa5fe590141b4a43f85e3942f Mon Sep 17 00:00:00 2001 From: Pantani Date: Thu, 14 Aug 2025 01:24:28 -0300 Subject: [PATCH 1/6] fix: replace broken sonic version --- ignite/templates/app/files/go.mod.plush | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ignite/templates/app/files/go.mod.plush b/ignite/templates/app/files/go.mod.plush index f3800dd889..c7392f5884 100644 --- a/ignite/templates/app/files/go.mod.plush +++ b/ignite/templates/app/files/go.mod.plush @@ -9,6 +9,8 @@ replace ( github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // replace broken vanity url nhooyr.io/websocket => github.com/coder/websocket v1.8.7 + // replace broken sonic version + github.com/bytedance/sonic => github.com/bytedance/sonic v1.13.2 ) require ( From 2f974e6397069943f86f17465f32318e78b0ab11 Mon Sep 17 00:00:00 2001 From: Pantani Date: Thu, 14 Aug 2025 01:29:13 -0300 Subject: [PATCH 2/6] add changelog --- changelog.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changelog.md b/changelog.md index 0dce3e6d3e..be35b7f09f 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,10 @@ ## Unreleased +### Fixes + +- [#4793](https://github.com/ignite/cli/pull/4793) Replace broken `bytedance/sonic` version in the `go.mod`. + ## [`v29.3.0`](https://github.com/ignite/cli/releases/tag/v29.3.0) ### Features From 48ff2263b1bf955b3d081c88df4ac844b1cb3df1 Mon Sep 17 00:00:00 2001 From: Pantani Date: Thu, 14 Aug 2025 01:40:56 -0300 Subject: [PATCH 3/6] run mod tidy for integration --- .github/workflows/test-integration.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index 2aa94d5fac..bbfc29719e 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -31,7 +31,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest] + os: [ ubuntu-latest, macos-latest ] test-path: ${{fromJson(needs.pre-test.outputs.matrix)}} steps: - uses: actions/checkout@v4 @@ -40,6 +40,9 @@ jobs: with: go-version: "stable" + - name: Run Go Mod Tidy + run: go mod tidy + - name: Run Integration Tests env: GOTOOLCHAIN: local+path From f9e3092fe727a6bfec4abd4fe09a24f23b61cbc8 Mon Sep 17 00:00:00 2001 From: julienrbrt Date: Thu, 14 Aug 2025 08:38:52 +0200 Subject: [PATCH 4/6] Update go.mod.plush --- ignite/templates/app/files/go.mod.plush | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ignite/templates/app/files/go.mod.plush b/ignite/templates/app/files/go.mod.plush index c7392f5884..80efcc7929 100644 --- a/ignite/templates/app/files/go.mod.plush +++ b/ignite/templates/app/files/go.mod.plush @@ -10,7 +10,7 @@ replace ( // replace broken vanity url nhooyr.io/websocket => github.com/coder/websocket v1.8.7 // replace broken sonic version - github.com/bytedance/sonic => github.com/bytedance/sonic v1.13.2 + github.com/bytedance/sonic => github.com/bytedance/sonic v1.14.0 ) require ( From da172b31564a3f32ef6c0fe4c1f1e3dd705ccc8e Mon Sep 17 00:00:00 2001 From: julienrbrt Date: Thu, 14 Aug 2025 08:38:58 +0200 Subject: [PATCH 5/6] Update changelog.md --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index be35b7f09f..c53efb2e76 100644 --- a/changelog.md +++ b/changelog.md @@ -4,7 +4,7 @@ ### Fixes -- [#4793](https://github.com/ignite/cli/pull/4793) Replace broken `bytedance/sonic` version in the `go.mod`. +- [#4793](https://github.com/ignite/cli/pull/4793) Use latest `bytedance/sonic` version to support Go 1.25. ## [`v29.3.0`](https://github.com/ignite/cli/releases/tag/v29.3.0) From 5ad1d13267aac36aa99fbd536e4b68dcf3d29264 Mon Sep 17 00:00:00 2001 From: julienrbrt Date: Thu, 14 Aug 2025 08:39:05 +0200 Subject: [PATCH 6/6] Update go.mod.plush --- ignite/templates/app/files/go.mod.plush | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ignite/templates/app/files/go.mod.plush b/ignite/templates/app/files/go.mod.plush index 80efcc7929..0d05076796 100644 --- a/ignite/templates/app/files/go.mod.plush +++ b/ignite/templates/app/files/go.mod.plush @@ -9,7 +9,7 @@ replace ( github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // replace broken vanity url nhooyr.io/websocket => github.com/coder/websocket v1.8.7 - // replace broken sonic version + // force latest sonic version for Go 1.25 support github.com/bytedance/sonic => github.com/bytedance/sonic v1.14.0 )