This is an automated email from the ASF dual-hosted git repository.
xiazcy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/master by this push:
new 7e9ddf3d0d CTR update go module version from v3 to v4 for 4.0.0-beta.2
release
7e9ddf3d0d is described below
commit 7e9ddf3d0d4bed1fe6f6cab787526540f3ad01ce
Author: Yang Xia <[email protected]>
AuthorDate: Mon Apr 6 18:26:45 2026 -0700
CTR update go module version from v3 to v4 for 4.0.0-beta.2 release
---
gremlin-go/build/generate.groovy | 2 +-
gremlin-go/driver/cucumber/cucumberSteps_test.go | 2 +-
gremlin-go/driver/cucumber/cucumberWorld.go | 2 +-
gremlin-go/driver/cucumber/gremlin.go | 2 +-
gremlin-go/driver/error_codes.go | 2 +-
gremlin-go/driver/logger.go | 2 +-
gremlin-go/driver/performance/performanceSuite.go | 2 +-
gremlin-go/examples/basic_gremlin.go | 2 +-
gremlin-go/examples/connections.go | 2 +-
gremlin-go/examples/go.mod | 4 ++--
gremlin-go/examples/modern_traversals.go | 2 +-
gremlin-go/go.mod | 2 +-
12 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/gremlin-go/build/generate.groovy b/gremlin-go/build/generate.groovy
index 56188247bc..0ed3937d5f 100644
--- a/gremlin-go/build/generate.groovy
+++ b/gremlin-go/build/generate.groovy
@@ -58,7 +58,7 @@ radishGremlinFile.withWriter('UTF-8') { Writer writer ->
'\n' +
'import (\n' +
'\t \"errors\"\n' +
- '\t \"github.com/apache/tinkerpop/gremlin-go/v3/driver\"\n' +
+ '\t \"github.com/apache/tinkerpop/gremlin-go/v4/driver\"\n' +
'\t \"github.com/google/uuid\"\n' +
'\t \"math\"\n' +
'\t \"time\"\n' +
diff --git a/gremlin-go/driver/cucumber/cucumberSteps_test.go
b/gremlin-go/driver/cucumber/cucumberSteps_test.go
index 4517341d6c..f0de2bd94c 100644
--- a/gremlin-go/driver/cucumber/cucumberSteps_test.go
+++ b/gremlin-go/driver/cucumber/cucumberSteps_test.go
@@ -34,7 +34,7 @@ import (
"testing"
"time"
- gremlingo "github.com/apache/tinkerpop/gremlin-go/v3/driver"
+ gremlingo "github.com/apache/tinkerpop/gremlin-go/v4/driver"
"github.com/cucumber/godog"
"github.com/google/uuid"
)
diff --git a/gremlin-go/driver/cucumber/cucumberWorld.go
b/gremlin-go/driver/cucumber/cucumberWorld.go
index 1046fb7f60..206094522f 100644
--- a/gremlin-go/driver/cucumber/cucumberWorld.go
+++ b/gremlin-go/driver/cucumber/cucumberWorld.go
@@ -25,7 +25,7 @@ import (
"reflect"
"strconv"
- gremlingo "github.com/apache/tinkerpop/gremlin-go/v3/driver"
+ gremlingo "github.com/apache/tinkerpop/gremlin-go/v4/driver"
"github.com/cucumber/godog"
)
diff --git a/gremlin-go/driver/cucumber/gremlin.go
b/gremlin-go/driver/cucumber/gremlin.go
index 069e508ada..aa9d08ee30 100644
--- a/gremlin-go/driver/cucumber/gremlin.go
+++ b/gremlin-go/driver/cucumber/gremlin.go
@@ -26,7 +26,7 @@ package gremlingo
import (
"errors"
- "github.com/apache/tinkerpop/gremlin-go/v3/driver"
+ "github.com/apache/tinkerpop/gremlin-go/v4/driver"
"github.com/google/uuid"
"math"
"time"
diff --git a/gremlin-go/driver/error_codes.go b/gremlin-go/driver/error_codes.go
index d36e78dc3b..6c0dea424c 100644
--- a/gremlin-go/driver/error_codes.go
+++ b/gremlin-go/driver/error_codes.go
@@ -24,7 +24,7 @@ import (
"fmt"
"strings"
- "github.com/apache/tinkerpop/gremlin-go/v3/driver/resources"
+ "github.com/apache/tinkerpop/gremlin-go/v4/driver/resources"
"github.com/nicksnyder/go-i18n/v2/i18n"
"golang.org/x/text/language"
)
diff --git a/gremlin-go/driver/logger.go b/gremlin-go/driver/logger.go
index 1ad0065da6..9ae624284a 100644
--- a/gremlin-go/driver/logger.go
+++ b/gremlin-go/driver/logger.go
@@ -23,7 +23,7 @@ import (
"encoding/json"
"log"
- "github.com/apache/tinkerpop/gremlin-go/v3/driver/resources"
+ "github.com/apache/tinkerpop/gremlin-go/v4/driver/resources"
"github.com/nicksnyder/go-i18n/v2/i18n"
"golang.org/x/text/language"
)
diff --git a/gremlin-go/driver/performance/performanceSuite.go
b/gremlin-go/driver/performance/performanceSuite.go
index 39359663c9..c867701568 100644
--- a/gremlin-go/driver/performance/performanceSuite.go
+++ b/gremlin-go/driver/performance/performanceSuite.go
@@ -29,7 +29,7 @@ import (
"strconv"
"time"
- "github.com/apache/tinkerpop/gremlin-go/v3/driver"
+ "github.com/apache/tinkerpop/gremlin-go/v4/driver"
)
type ResultSet = gremlingo.ResultSet
diff --git a/gremlin-go/examples/basic_gremlin.go
b/gremlin-go/examples/basic_gremlin.go
index a2a1b900d2..92b4f0b677 100644
--- a/gremlin-go/examples/basic_gremlin.go
+++ b/gremlin-go/examples/basic_gremlin.go
@@ -23,7 +23,7 @@ import (
"fmt"
"os"
- "github.com/apache/tinkerpop/gremlin-go/v3/driver"
+ "github.com/apache/tinkerpop/gremlin-go/v4/driver"
)
var serverURL = getEnv("GREMLIN_SERVER_URL", "http://localhost:8182/gremlin")
diff --git a/gremlin-go/examples/connections.go
b/gremlin-go/examples/connections.go
index 011d3c6f62..790ed52964 100644
--- a/gremlin-go/examples/connections.go
+++ b/gremlin-go/examples/connections.go
@@ -23,7 +23,7 @@ import (
"fmt"
"os"
- "github.com/apache/tinkerpop/gremlin-go/v3/driver"
+ "github.com/apache/tinkerpop/gremlin-go/v4/driver"
)
var serverURL = getEnv("GREMLIN_SERVER_URL", "http://localhost:8182/gremlin")
diff --git a/gremlin-go/examples/go.mod b/gremlin-go/examples/go.mod
index ad6ce1c98c..997927d3a8 100644
--- a/gremlin-go/examples/go.mod
+++ b/gremlin-go/examples/go.mod
@@ -19,9 +19,9 @@ module example
go 1.25
-require github.com/apache/tinkerpop/gremlin-go/v3 v3.8.0
+require github.com/apache/tinkerpop/gremlin-go/v4 v4.0.0-beta.2
-replace github.com/apache/tinkerpop/gremlin-go/v3 => ../
+replace github.com/apache/tinkerpop/gremlin-go/v4 => ../
require (
github.com/google/uuid v1.6.0 // indirect
diff --git a/gremlin-go/examples/modern_traversals.go
b/gremlin-go/examples/modern_traversals.go
index d15bed8f45..365d6fafdb 100644
--- a/gremlin-go/examples/modern_traversals.go
+++ b/gremlin-go/examples/modern_traversals.go
@@ -23,7 +23,7 @@ import (
"fmt"
"os"
- "github.com/apache/tinkerpop/gremlin-go/v3/driver"
+ "github.com/apache/tinkerpop/gremlin-go/v4/driver"
)
var __ = gremlingo.T__
diff --git a/gremlin-go/go.mod b/gremlin-go/go.mod
index fde5a0b0c7..581f9c0420 100644
--- a/gremlin-go/go.mod
+++ b/gremlin-go/go.mod
@@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
-module github.com/apache/tinkerpop/gremlin-go/v3
+module github.com/apache/tinkerpop/gremlin-go/v4
go 1.25