From f40afb6574967b0a80ba0e64a26d2752edd4b1f6 Mon Sep 17 00:00:00 2001 From: molon <3739161+molon@users.noreply.github.com> Date: Tue, 8 Sep 2026 15:28:21 +0800 Subject: [PATCH] =?UTF-8?q?chore(deps):=20=E5=9B=BA=E5=AE=9A=20qor5/web/v3?= =?UTF-8?q?=20=E5=88=B0=20v3.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 原先 pin 的是 2025-06-18 的 pseudo-version。v3.2.0 打在那之后的 master 上,apidiff 核对过:相对原先 pin 的 commit,Go API 零变更。go.mod 只多 了这一行改动,没有连带抬升任何间接依赖。 实际带来的变化在内嵌的前端产物:Vue 从 3.5.16 升到 3.5.42;index.js 在 vite 6 下重打包,内联的 lodash 从 4.17.21 升到 4.18.1,补上了两个此前 只改了 package.json 声明、没进产物的 CVE。web 的最低 Go 版本抬到 1.26.0,admin 本来就是 1.26.0。 顺带修掉一处误 import:linkage_select_filter_item_remote_test.go 同时 引了 v1 和 v3 的 multipartestutils,两处 NewMultipartBuilder 实际走的 是 v1,导致 github.com/qor5/web v1 被算成直接依赖。去掉 v1 那行后它降 为 indirect,docgo 还依赖它,所以去不干净。 --- .../examples_admin/linkage_select_filter_item_remote_test.go | 5 ++--- go.mod | 4 ++-- go.sum | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/docsrc/examples/examples_admin/linkage_select_filter_item_remote_test.go b/docs/docsrc/examples/examples_admin/linkage_select_filter_item_remote_test.go index 1862cbb15..c132a5bc6 100644 --- a/docs/docsrc/examples/examples_admin/linkage_select_filter_item_remote_test.go +++ b/docs/docsrc/examples/examples_admin/linkage_select_filter_item_remote_test.go @@ -5,7 +5,6 @@ import ( "net/http/httptest" "testing" - "github.com/qor5/web/multipartestutils" . "github.com/qor5/web/v3/multipartestutils" "github.com/theplant/gofixtures" @@ -40,7 +39,7 @@ func TestLinkageSelectFilter(t *testing.T) { Debug: true, ReqFunc: func() *http.Request { linkageSelectFilterData.TruncatePut(dbr) - req := multipartestutils.NewMultipartBuilder(). + req := NewMultipartBuilder(). PageURL("/addresses"). EventFunc(actions.Edit). Query(presets.ParamID, "1"). @@ -54,7 +53,7 @@ func TestLinkageSelectFilter(t *testing.T) { Debug: true, ReqFunc: func() *http.Request { linkageSelectFilterData.TruncatePut(dbr) - req := multipartestutils.NewMultipartBuilder(). + req := NewMultipartBuilder(). PageURL("/addresses"). EventFunc(actions.Update). AddField("ProvinceCityDistrict[0].Name", "浙江"). diff --git a/go.mod b/go.mod index 52d24a6cd..0c8a492cc 100644 --- a/go.mod +++ b/go.mod @@ -32,8 +32,7 @@ require ( github.com/pquerna/otp v1.4.0 github.com/qor5/confx v0.0.0-20250426065316-0d28db5b4d54 github.com/qor5/imaging v1.6.4 - github.com/qor5/web v1.3.2 - github.com/qor5/web/v3 v3.0.12-0.20250618085230-3764d0e521a8 + github.com/qor5/web/v3 v3.2.0 github.com/qor5/x/v3 v3.2.1-0.20260622072534-0de7285720c4 github.com/samber/lo v1.50.0 github.com/shurcooL/sanitized_anchor_name v1.0.0 @@ -186,6 +185,7 @@ require ( github.com/pierrec/lz4/v4 v4.1.22 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect + github.com/qor5/web v1.3.2 // indirect github.com/redis/go-redis/v9 v9.16.0 // indirect github.com/rs/cors v1.11.1 // indirect github.com/russross/blackfriday v1.6.0 // indirect diff --git a/go.sum b/go.sum index fb338160d..8f2f5aa1f 100644 --- a/go.sum +++ b/go.sum @@ -442,8 +442,8 @@ github.com/qor5/imaging v1.6.4 h1:6VNy1EnFKAns8e73uzsZa6UQDw0oekvUHui1oeydy78= github.com/qor5/imaging v1.6.4/go.mod h1:i1E3GRDbTFbXuzZtm1/8zWu+lDbDw6O1hCmjtyQFnR4= github.com/qor5/web v1.3.2 h1:zw796YJeDLe8vRwGR1cM+uS1ZuSkPutchBEXv2GgOhI= github.com/qor5/web v1.3.2/go.mod h1:LszskQJbFQDJwOeZC6j6afOiHxxyjrzz8B3zuBwfgKQ= -github.com/qor5/web/v3 v3.0.12-0.20250618085230-3764d0e521a8 h1:s3jBS5bq6VX56GicRPCeXvb0TRLSz5w1xJHymPnhTuo= -github.com/qor5/web/v3 v3.0.12-0.20250618085230-3764d0e521a8/go.mod h1:hrhZ4nc1U+AOBrGmnUoRUPpA9fymxlAbNfGvn9TJLns= +github.com/qor5/web/v3 v3.2.0 h1:3lLQPGa6ooRvlUHBRUnYQnhONAHfsAMbMxPy4agwUUs= +github.com/qor5/web/v3 v3.2.0/go.mod h1:e/LSEZQJzWYVvIoix7pfJHpDW1tX9VwEariiz1VlbRQ= github.com/qor5/x/v3 v3.2.1-0.20260622072534-0de7285720c4 h1:D0S0/k60W/7Qe8o6WC0J8VH7sAREsExdP9MQNmNYFpk= github.com/qor5/x/v3 v3.2.1-0.20260622072534-0de7285720c4/go.mod h1:NctRnhqeUMtVwHC1aQfgwxJoE585i7UIU+5/1NgKMvI= github.com/redis/go-redis/v9 v9.16.0 h1:OotgqgLSRCmzfqChbQyG1PHC3tLNR89DG4jdOERSEP4=