From 5a535e9ae20978bbc804c60e1fdec25598deeaea Mon Sep 17 00:00:00 2001 From: nighca Date: Fri, 26 Jun 2026 09:25:22 +0800 Subject: [PATCH] chore(deps): bump spx to 2.0.4 --- .github/agents/spx-upgrader.md | 2 +- spx-gui/.env | 2 +- spx-gui/install-spx.sh | 2 +- tools/ai/go.mod | 2 +- tools/ai/go.sum | 4 ++-- tools/ispx/go.mod | 2 +- tools/ispx/go.sum | 4 ++-- tools/spxls/go.mod | 2 +- tools/spxls/go.sum | 4 ++-- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/agents/spx-upgrader.md b/.github/agents/spx-upgrader.md index 266a347f8e..8adeed544f 100644 --- a/.github/agents/spx-upgrader.md +++ b/.github/agents/spx-upgrader.md @@ -12,7 +12,7 @@ You are a release specialist dedicated to upgrading spx across goplus/builder sa - Refresh Go modules in `tools/ai/`, `tools/spxls/`, and `tools/ispx/` via `go get github.com/goplus/spx/v2@v` followed by `go mod tidy` in each directory - Execute `bash spx-gui/install-spx.sh` to download the matching runtime assets and remove any temporary archives - Execute `bash build-wasm.sh` in `spx-gui/` to build Wasm components -- Run `npm ci`, `npm run lint`, `npm run test -- --run` in `spx-gui/`, plus `go test ./...` inside `tools/ai/`, `tools/spxls/`, and `tools/ispx/` +- Run `npm ci`, `npm run lint`, `npm run test -- --run` in `spx-gui/`, plus `go test ./...` inside `tools/ai/`, `tools/spxls/`, and `tools/ispx/` if there are packages to test - Verify `git status` is clean beyond the expected files, then create a commit titled `chore(deps): bump spx to ` and draft a PR with release notes and validation logs - If any command fails, stop immediately and report the exact output instead of continuing diff --git a/spx-gui/.env b/spx-gui/.env index 66e1a83c74..4a38c16a3c 100644 --- a/spx-gui/.env +++ b/spx-gui/.env @@ -42,7 +42,7 @@ VITE_USERCONTENT_UPLOAD_BASE_URL="" VITE_DISABLE_AIGC="false" # Version of spx, keep in sync with the version in `install-spx.sh`. -VITE_SPX_VERSION="2.0.3" +VITE_SPX_VERSION="2.0.4" # Whether to show the license information (including copyright) in the footer. VITE_SHOW_LICENSE="false" diff --git a/spx-gui/install-spx.sh b/spx-gui/install-spx.sh index b6ff79157d..48cd208b0d 100755 --- a/spx-gui/install-spx.sh +++ b/spx-gui/install-spx.sh @@ -4,7 +4,7 @@ set -e cd "$(dirname "$0")" # Keep this version in sync with `VITE_SPX_VERSION` in `.env`. -SPX_VERSION="2.0.3" +SPX_VERSION="2.0.4" SPX_NAME="spx_${SPX_VERSION}" SPX_RELEASE_URL="https://github.com/goplus/spx/releases/download/v${SPX_VERSION}/spx_web.zip" diff --git a/tools/ai/go.mod b/tools/ai/go.mod index 4f44ce3168..547a320718 100644 --- a/tools/ai/go.mod +++ b/tools/ai/go.mod @@ -2,7 +2,7 @@ module github.com/goplus/builder/tools/ai go 1.25.0 -require github.com/goplus/spx/v2 v2.0.3 +require github.com/goplus/spx/v2 v2.0.4 require ( github.com/goplus/spbase v0.1.0 // indirect diff --git a/tools/ai/go.sum b/tools/ai/go.sum index 52458a9580..9a9881592b 100644 --- a/tools/ai/go.sum +++ b/tools/ai/go.sum @@ -1,7 +1,7 @@ github.com/goplus/spbase v0.1.0 h1:JNZ0D/65DerYyv9/9IfrXHZZbd0WNK0jHiVvgCtZhwY= github.com/goplus/spbase v0.1.0/go.mod h1:brnD3OJnHtipqob2IsJ3/QzGBf+eOnqXNnHGKpv1irQ= -github.com/goplus/spx/v2 v2.0.3 h1:Qb3n2/B04lsbOgLSZEXGYhOiPyGgWrRFhSU1+srSCdg= -github.com/goplus/spx/v2 v2.0.3/go.mod h1:mF2kCvUNw97ku2PYHMEwbCENv24b5EwnlXOLiVMRbHM= +github.com/goplus/spx/v2 v2.0.4 h1:4hyCM5XH3DMRjFeoTxCndrqcFZTeCWHkEicyp7wYTSs= +github.com/goplus/spx/v2 v2.0.4/go.mod h1:mF2kCvUNw97ku2PYHMEwbCENv24b5EwnlXOLiVMRbHM= github.com/petermattis/goid v0.0.0-20250721140440-ea1c0173183e h1:D0bJD+4O3G4izvrQUmzCL80zazlN7EwJ0PPDhpJWC/I= github.com/petermattis/goid v0.0.0-20250721140440-ea1c0173183e/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= golang.org/x/image v0.23.0 h1:HseQ7c2OpPKTPVzNjG5fwJsOTCiiwS4QdsYi5XU6H68= diff --git a/tools/ispx/go.mod b/tools/ispx/go.mod index 62028e27ab..02be1abff1 100644 --- a/tools/ispx/go.mod +++ b/tools/ispx/go.mod @@ -8,7 +8,7 @@ require ( github.com/goplus/builder/tools/ai v0.0.0 github.com/goplus/ixgo v1.1.0 github.com/goplus/mod v0.20.2 - github.com/goplus/spx/v2 v2.0.3 + github.com/goplus/spx/v2 v2.0.4 ) require ( diff --git a/tools/ispx/go.sum b/tools/ispx/go.sum index f5a403e36e..1d7e881d1b 100644 --- a/tools/ispx/go.sum +++ b/tools/ispx/go.sum @@ -15,8 +15,8 @@ github.com/goplus/reflectx v1.7.0 h1:52l0Si+vDc6CvT7Y+h47h2QUs5HQp6qxPlmvLsMzo38 github.com/goplus/reflectx v1.7.0/go.mod h1:EXX8KSPTmnb2W1PfyVkDC0Qwet0lYX2h2/S06Vhwrhw= github.com/goplus/spbase v0.1.0 h1:JNZ0D/65DerYyv9/9IfrXHZZbd0WNK0jHiVvgCtZhwY= github.com/goplus/spbase v0.1.0/go.mod h1:brnD3OJnHtipqob2IsJ3/QzGBf+eOnqXNnHGKpv1irQ= -github.com/goplus/spx/v2 v2.0.3 h1:Qb3n2/B04lsbOgLSZEXGYhOiPyGgWrRFhSU1+srSCdg= -github.com/goplus/spx/v2 v2.0.3/go.mod h1:mF2kCvUNw97ku2PYHMEwbCENv24b5EwnlXOLiVMRbHM= +github.com/goplus/spx/v2 v2.0.4 h1:4hyCM5XH3DMRjFeoTxCndrqcFZTeCWHkEicyp7wYTSs= +github.com/goplus/spx/v2 v2.0.4/go.mod h1:mF2kCvUNw97ku2PYHMEwbCENv24b5EwnlXOLiVMRbHM= github.com/goplus/xgo v1.7.2-0.20260414235301-df19f4a1b7c2 h1:kXIGYlJUTii+7nv1XTKR0ctMZSeTcgYMoQuEexZPr7A= github.com/goplus/xgo v1.7.2-0.20260414235301-df19f4a1b7c2/go.mod h1:fX3+ZaYEzBE6qkgFcJx83D6DbUo/vMO8Y1Allydy2ws= github.com/petermattis/goid v0.0.0-20250721140440-ea1c0173183e h1:D0bJD+4O3G4izvrQUmzCL80zazlN7EwJ0PPDhpJWC/I= diff --git a/tools/spxls/go.mod b/tools/spxls/go.mod index 46f41b6642..69735b243e 100644 --- a/tools/spxls/go.mod +++ b/tools/spxls/go.mod @@ -13,7 +13,7 @@ require ( github.com/goplus/gogen v1.23.0-pre.3.0.20260414234848-6641c10c9d6f // indirect github.com/goplus/mod v0.20.2 // indirect github.com/goplus/spbase v0.1.0 // indirect - github.com/goplus/spx/v2 v2.0.3 // indirect + github.com/goplus/spx/v2 v2.0.4 // indirect github.com/goplus/xgo v1.7.2-0.20260414235301-df19f4a1b7c2 // indirect github.com/petermattis/goid v0.0.0-20250721140440-ea1c0173183e // indirect github.com/qiniu/x v1.17.0 // indirect diff --git a/tools/spxls/go.sum b/tools/spxls/go.sum index 90868f2a69..7cc54280fc 100644 --- a/tools/spxls/go.sum +++ b/tools/spxls/go.sum @@ -11,8 +11,8 @@ github.com/goplus/mod v0.20.2 h1:YX72E6AhhRLvlkVnI9cBK6PZvUwtge2hwROh7w9N6Yk= github.com/goplus/mod v0.20.2/go.mod h1:lWW62tH7L3Vm42Lr6wlUMYHvsm5w3TkEpE2ulKTgmU8= github.com/goplus/spbase v0.1.0 h1:JNZ0D/65DerYyv9/9IfrXHZZbd0WNK0jHiVvgCtZhwY= github.com/goplus/spbase v0.1.0/go.mod h1:brnD3OJnHtipqob2IsJ3/QzGBf+eOnqXNnHGKpv1irQ= -github.com/goplus/spx/v2 v2.0.3 h1:Qb3n2/B04lsbOgLSZEXGYhOiPyGgWrRFhSU1+srSCdg= -github.com/goplus/spx/v2 v2.0.3/go.mod h1:mF2kCvUNw97ku2PYHMEwbCENv24b5EwnlXOLiVMRbHM= +github.com/goplus/spx/v2 v2.0.4 h1:4hyCM5XH3DMRjFeoTxCndrqcFZTeCWHkEicyp7wYTSs= +github.com/goplus/spx/v2 v2.0.4/go.mod h1:mF2kCvUNw97ku2PYHMEwbCENv24b5EwnlXOLiVMRbHM= github.com/goplus/xgo v1.7.2-0.20260414235301-df19f4a1b7c2 h1:kXIGYlJUTii+7nv1XTKR0ctMZSeTcgYMoQuEexZPr7A= github.com/goplus/xgo v1.7.2-0.20260414235301-df19f4a1b7c2/go.mod h1:fX3+ZaYEzBE6qkgFcJx83D6DbUo/vMO8Y1Allydy2ws= github.com/goplus/xgolsw v0.21.1-0.20260601022856-658bbeba671b h1:Liz70j43NCN7C/SwEdE95Yh6I4CDYiO/rGbPUAMH8G4=