This is an automated email from the ASF dual-hosted git repository.
andreac pushed a commit to branch 3.8-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/3.8-dev by this push:
new f08f428842 Upgrade Go to version 1.25. (#3268)
f08f428842 is described below
commit f08f42884204ff3077e8c0a60d1c7f8d64ed4fe3
Author: andreachild <[email protected]>
AuthorDate: Tue Nov 4 10:19:20 2025 -0800
Upgrade Go to version 1.25. (#3268)
Go related updates:
- upgrade Go to version 1.25
- upgrade example to use latest released driver version
- re-generate root level go example go.sum which had some duplicated
dependencies
---
CHANGELOG.asciidoc | 1 +
docs/src/upgrade/release-3.8.x.asciidoc | 5 +++++
gremlin-examples/gremlin-go/go.mod | 2 +-
gremlin-examples/gremlin-go/go.sum | 10 ++--------
gremlin-go/docker-compose.yml | 2 +-
gremlin-go/examples/go.mod | 4 ++--
gremlin-go/go.mod | 2 +-
7 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index 1ad51844b1..6e0e623939 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -128,6 +128,7 @@ This release also includes changes from <<release-3-7-XXX,
3.7.XXX>>.
* Renamed `MergeElementStep` to `MergeElementStep` as it is a base class to
`mergeV()` and `mergeE()`.
* Renamed `MergeStep` of `merge()` to `MergeElementStep` for consistency.
* Fixed referenced log file name for `gremlin-archetype-server`.
+* Upgraded Go to version 1.25.
* Modified `RepeatUnrollStrategy` to use a more conservative approach, only
unrolling repeat loops containing safe navigation and filtering steps.
* Modified `limit()`, `skip()`, range()` in `repeat()` to track per-iteration
counters.
* Moved `Traverser` loop logic into new interface `NL_SL_Traverser` and
changed loop-supporting `Traverser`s to extend the common interface.
diff --git a/docs/src/upgrade/release-3.8.x.asciidoc
b/docs/src/upgrade/release-3.8.x.asciidoc
index 7af103dcd3..e397e8c003 100644
--- a/docs/src/upgrade/release-3.8.x.asciidoc
+++ b/docs/src/upgrade/release-3.8.x.asciidoc
@@ -84,6 +84,7 @@ how breaking changes may affect your traversals.
|New |New Dataset |<<air-routes-dataset,Air Routes Dataset>>
|New |Grammar |<<new-keyword-is-now-optional,`new` keyword is now optional>>
|New |Grammar |<<supports-withoutstrategies,Supports withoutStrategies()>>
+|New |Runtime |<<runtime-upgrades,Runtime Upgrades>>
|Deprecation |Deprecation |<<deprecated-unifiedchannelizer,Deprecated
UnifiedChannelizer>>
|=========================================================
@@ -984,6 +985,10 @@
link:https://issues.apache.org/jira/browse/TINKERPOP-3023[TINKERPOP-3023]
TinkerPop 3.8 requires a minimum of Java 11 for building and running. Support
for Java 1.8 has been dropped.
+===== Runtime Upgrades
+
+Gremlin Go has been upgraded to Go version 1.25.
+
===== SeedStrategy Construction
The `SeedStrategy` public constructor has been removed for Java and has been
replaced by the builder pattern common
diff --git a/gremlin-examples/gremlin-go/go.mod
b/gremlin-examples/gremlin-go/go.mod
index 4dfa2fe427..e0d1d15396 100644
--- a/gremlin-examples/gremlin-go/go.mod
+++ b/gremlin-examples/gremlin-go/go.mod
@@ -17,7 +17,7 @@
module example
-go 1.24.0
+go 1.25.0
require github.com/apache/tinkerpop/gremlin-go/v3 v3.7.4
diff --git a/gremlin-examples/gremlin-go/go.sum
b/gremlin-examples/gremlin-go/go.sum
index 406055a78b..1651da2df8 100644
--- a/gremlin-examples/gremlin-go/go.sum
+++ b/gremlin-examples/gremlin-go/go.sum
@@ -1,7 +1,5 @@
-github.com/BurntSushi/toml v1.4.0
h1:kuoIxZQy2WRRk1pttg9asf+WVv6tWQuBNVmK8+nqPr0=
-github.com/BurntSushi/toml v1.4.0/go.mod
h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
-github.com/apache/tinkerpop/gremlin-go/v3 v3.7.3
h1:QeFU7bC7p/fTo4FXl+ce7pQW3Pgx68hUQMWdnQIZlzc=
-github.com/apache/tinkerpop/gremlin-go/v3 v3.7.3/go.mod
h1:rMQiut0XlpFgaHLSbUgoP9QmGXjFJeXlh42Zxp4Fnno=
+github.com/BurntSushi/toml v1.5.0
h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg=
+github.com/BurntSushi/toml v1.5.0/go.mod
h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
github.com/apache/tinkerpop/gremlin-go/v3 v3.7.4
h1:w4kbgY+klmw5WjcniKqhhfoSmbinhT3lc0CoF/AHMqI=
github.com/apache/tinkerpop/gremlin-go/v3 v3.7.4/go.mod
h1:hw4is2yHBjGOOoa9Z1sKckEJsH2bCXvq2biORjo32sM=
github.com/davecgh/go-spew v1.1.1
h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
@@ -10,8 +8,6 @@ github.com/google/uuid v1.6.0
h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod
h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gorilla/websocket v1.5.3
h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg=
github.com/gorilla/websocket v1.5.3/go.mod
h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
-github.com/nicksnyder/go-i18n/v2 v2.4.1
h1:zwzjtX4uYyiaU02K5Ia3zSkpJZrByARkRB4V3YPrr0g=
-github.com/nicksnyder/go-i18n/v2 v2.4.1/go.mod
h1:++Pl70FR6Cki7hdzZRnEEqdc2dJt+SAGotyFg/SvZMk=
github.com/nicksnyder/go-i18n/v2 v2.6.0
h1:C/m2NNWNiTB6SK4Ao8df5EWm3JETSTIGNXBpMJTxzxQ=
github.com/nicksnyder/go-i18n/v2 v2.6.0/go.mod
h1:88sRqr0C6OPyJn0/KRNaEz1uWorjxIKP7rUUcvycecE=
github.com/pmezard/go-difflib v1.0.0
h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
@@ -20,8 +16,6 @@ github.com/stretchr/objx v0.5.2
h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
github.com/stretchr/objx v0.5.2/go.mod
h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
github.com/stretchr/testify v1.9.0
h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod
h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
-golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
-golang.org/x/text v0.19.0/go.mod
h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
golang.org/x/text v0.29.0 h1:1neNs90w9YzJ9BocxfsQNHKuAT4pkghyXc4nhZ6sJvk=
golang.org/x/text v0.29.0/go.mod
h1:7MhJOA9CD2qZyOKYazxdYMF85OwPdEr9jTtBpO7ydH4=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
diff --git a/gremlin-go/docker-compose.yml b/gremlin-go/docker-compose.yml
index 36fafcb424..16dc6ffedf 100644
--- a/gremlin-go/docker-compose.yml
+++ b/gremlin-go/docker-compose.yml
@@ -45,7 +45,7 @@ services:
gremlin-go-integration-tests:
container_name: gremlin-go-integration-tests
- image: golang:1.24
+ image: golang:1.25
volumes:
- .:/go_app
-
../gremlin-test/src/main/resources/org/apache/tinkerpop/gremlin/test/features:/gremlin-test
diff --git a/gremlin-go/examples/go.mod b/gremlin-go/examples/go.mod
index b5993ebe57..20da81ee7d 100644
--- a/gremlin-go/examples/go.mod
+++ b/gremlin-go/examples/go.mod
@@ -17,9 +17,9 @@
module example
-go 1.24
+go 1.25
-require github.com/apache/tinkerpop/gremlin-go/v3 v3.7.3
+require github.com/apache/tinkerpop/gremlin-go/v3 v3.7.4
replace github.com/apache/tinkerpop/gremlin-go/v3 => ../
diff --git a/gremlin-go/go.mod b/gremlin-go/go.mod
index 531516c6ae..b4ec8dbbca 100644
--- a/gremlin-go/go.mod
+++ b/gremlin-go/go.mod
@@ -17,7 +17,7 @@
module github.com/apache/tinkerpop/gremlin-go/v3
-go 1.24
+go 1.25
require (
github.com/cucumber/godog v0.15.0