You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by dj...@apache.org on 2026/06/24 08:01:18 UTC

(cloudberry-go-libs) branch main updated: update to blang/semver/v4

This is an automated email from the ASF dual-hosted git repository.

tuhaihe pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry-go-libs.git


The following commit(s) were added to refs/heads/main by this push:
     new 3de23e2  update to blang/semver/v4
3de23e2 is described below

commit 3de23e29a87a45127fbce611374d645549d43985
Author: serprex <15...@users.noreply.github.com>
AuthorDate: Sat Jun 20 19:56:48 2026 +0000

    update to blang/semver/v4
---
 dbconn/version.go      | 2 +-
 dbconn/version_test.go | 2 +-
 go.mod                 | 2 +-
 go.sum                 | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dbconn/version.go b/dbconn/version.go
index 9d00140..f06debb 100644
--- a/dbconn/version.go
+++ b/dbconn/version.go
@@ -5,7 +5,7 @@ import (
 	"strings"
 
 	"github.com/apache/cloudberry-go-libs/gplog"
-	"github.com/blang/semver"
+	"github.com/blang/semver/v4"
 )
 
 // DBType represents the type of database
diff --git a/dbconn/version_test.go b/dbconn/version_test.go
index 59fcbe9..c3a0016 100644
--- a/dbconn/version_test.go
+++ b/dbconn/version_test.go
@@ -2,7 +2,7 @@ package dbconn_test
 
 import (
 	"github.com/apache/cloudberry-go-libs/dbconn"
-	"github.com/blang/semver"
+	"github.com/blang/semver/v4"
 
 	. "github.com/onsi/ginkgo/v2"
 	. "github.com/onsi/gomega"
diff --git a/go.mod b/go.mod
index 438f5a4..b4cc772 100644
--- a/go.mod
+++ b/go.mod
@@ -4,7 +4,7 @@ go 1.25.0
 
 require (
 	github.com/DATA-DOG/go-sqlmock v1.5.0
-	github.com/blang/semver v3.5.1+incompatible
+	github.com/blang/semver/v4 v4.0.0
 	github.com/jackc/pgx/v5 v5.9.2
 	github.com/jmoiron/sqlx v1.3.5
 	github.com/onsi/gomega v1.27.10
diff --git a/go.sum b/go.sum
index af7c1c4..53909d3 100644
--- a/go.sum
+++ b/go.sum
@@ -1,7 +1,7 @@
 github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60=
 github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
-github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ=
-github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
+github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM=
+github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ=
 github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
 github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
 github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org