(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-07-04 Thread kenhuuu
This is an automated email from the ASF dual-hosted git repository.

kenhuuu pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 190525dc431d87aa77bdb1f4cd7427966a7de735
Merge: dc8f203ea3 e4d2e72e5a
Author: Ken Hu <106191785+kenh...@users.noreply.github.com>
AuthorDate: Thu Jul 4 13:19:20 2024 -0700

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc |  1 +
 .../handler/WebSocketAuthorizationHandler.java |  8 +++
 .../server/GremlinServerAuthzIntegrateTest.java| 26 ++
 3 files changed, 30 insertions(+), 5 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-06-27 Thread kenhuuu
This is an automated email from the ASF dual-hosted git repository.

kenhuuu pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 53f4572e196abf11ea08375658a59559ac251c17
Merge: f5a5c36bae e26f7c00bf
Author: Ken Hu <106191785+kenh...@users.noreply.github.com>
AuthorDate: Thu Jun 27 20:40:46 2024 -0700

Merge branch '3.6-dev' into 3.7-dev

 docs/src/dev/developer/release.asciidoc | 1 +
 1 file changed, 1 insertion(+)

diff --cc docs/src/dev/developer/release.asciidoc
index 6a5e525fbf,4816404e21..9812c79955
--- a/docs/src/dev/developer/release.asciidoc
+++ b/docs/src/dev/developer/release.asciidoc
@@@ -324,8 -326,8 +324,9 @@@ the help of a PMC member for those step
  .. `bin/process-docs.sh` and validate the generated `SNAPSHOT` documentation 
locally and then `bin/publish-docs.sh `
  .. Commit and push the `SNAPSHOT` changes to git
  . Examine the `future.asciidoc` and update the "Roadmap" as needed.
+ . Update the version numbers in `pull_request_template.md`.
  . Send email to advise that code freeze is lifted.
 +. Consider the changes made to Gremlin and determine if the community needs 
to organize a PR to 
[DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gremlin)
 to keep TypeScript up to date.
  . Ensure that the GLV examples compile and run with the latest image and 
dependencies: `bin/run-examples.sh`.
  .. Make changes as necessary to update the examples.
  . Generate a list of dead branches that will be automatically deleted and 
post them as a DISCUSS thread for review, then once consensus is reached 
removed those branches.



(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-06-27 Thread kenhuuu
This is an automated email from the ASF dual-hosted git repository.

kenhuuu pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit f5a5c36baef372f6f0020e7e537d0d731a1f3617
Merge: 4a9019d543 8d83b26c73
Author: Ken Hu <106191785+kenh...@users.noreply.github.com>
AuthorDate: Thu Jun 27 13:18:08 2024 -0700

Merge branch '3.6-dev' into 3.7-dev

 .github/pull_request_template.md | 14 ++
 1 file changed, 14 insertions(+)



(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-06-11 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 7584e69f73b8bf156af292f75834386103d9393e
Merge: 8623b2e05a 08dea3489a
Author: Cole-Greer 
AuthorDate: Tue Jun 11 13:13:15 2024 -0700

Merge branch '3.6-dev' into 3.7-dev

 gremlin-go/go.mod|  4 ++--
 gremlin-go/go.sum|  8 
 .../src/main/javascript/gremlin-javascript/package-lock.json | 12 ++--
 3 files changed, 12 insertions(+), 12 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-06-11 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit ba70d5dc2ab09e20a2b4724ce718f9b78ac92fd5
Merge: 8d9f63ce4e b43c90962a
Author: Cole-Greer 
AuthorDate: Tue Jun 11 09:57:51 2024 -0700

Merge branch '3.6-dev' into 3.7-dev

 docs/src/dev/developer/for-committers.asciidoc | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-06-05 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 404ae62163dce3da5510e453948ba33cda5bcdad
Merge: 97fc494228 e12d6bdaa9
Author: Cole-Greer 
AuthorDate: Wed Jun 5 12:04:32 2024 -0700

Merge branch '3.6-dev' into 3.7-dev

 gremlin-go/go.mod  |  2 +-
 gremlin-go/go.sum  |  4 ++--
 .../gremlin-javascript/package-lock.json   | 24 +++---
 gremlint/package-lock.json | 24 +++---
 4 files changed, 27 insertions(+), 27 deletions(-)

diff --cc gremlin-go/go.mod
index 8ec4053ac9,1d27d89dbb..2f76470548
--- a/gremlin-go/go.mod
+++ b/gremlin-go/go.mod
@@@ -25,8 -25,7 +25,8 @@@ require 
github.com/gorilla/websocket v1.5.1
github.com/nicksnyder/go-i18n/v2 v2.4.0
github.com/stretchr/testify v1.9.0
-   golang.org/x/text v0.15.0
+   golang.org/x/text v0.16.0
 +  gopkg.in/yaml.v3 v3.0.1
  )
  
  require (



(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-05-01 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 7e0f30a949af6f599774f11ac2f5bea10f655827
Merge: 0e371060eb c7a391b1c1
Author: Yang Xia <55853655+xia...@users.noreply.github.com>
AuthorDate: Wed May 1 09:48:44 2024 -0700

Merge branch '3.6-dev' into 3.7-dev

 gremlin-python/pom.xml | 10 ++
 1 file changed, 10 insertions(+)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-04-16 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit e68a9470855ac01ce1ae8faf404c2d1d592ed8b4
Merge: c735441a9d 8c73d09c8d
Author: Yang Xia <55853655+xia...@users.noreply.github.com>
AuthorDate: Tue Apr 16 15:58:24 2024 -0700

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc  |  4 
 docs/src/upgrade/release-3.6.x.asciidoc | 14 --
 2 files changed, 16 insertions(+), 2 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-04-05 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 70027dcea9f9f49207844c98ca87bd1ef0b2fbd9
Merge: 34eb10bb66 d577767208
Author: Yang Xia <55853655+xia...@users.noreply.github.com>
AuthorDate: Fri Apr 5 13:07:50 2024 -0700

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc  | 1 +
 .../tinkerpop/gremlin/process/traversal/step/map/CallStep.java  | 6 +-
 .../tinkerpop/gremlin/process/traversal/step/map/MergeStep.java | 6 +-
 3 files changed, 11 insertions(+), 2 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-04-05 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 34eb10bb662f6a4027808e38b5e17dbfa6d948d4
Merge: c5c9baa86b 7619c535fe
Author: Yang Xia <55853655+xia...@users.noreply.github.com>
AuthorDate: Fri Apr 5 09:49:00 2024 -0700

Merge branch '3.6-dev' into 3.7-dev

 .github/workflows/build-test.yml| 2 +-
 CHANGELOG.asciidoc  | 2 ++
 docs/src/dev/developer/development-environment.asciidoc | 2 +-
 docs/src/upgrade/release-3.5.x.asciidoc | 2 +-
 docs/src/upgrade/release-3.6.x.asciidoc | 4 
 gremlin-go/README.md| 2 +-
 gremlin-go/docker-compose.yml   | 2 +-
 gremlin-go/driver/README.md | 6 +++---
 gremlin-go/examples/go.mod  | 4 ++--
 gremlin-go/go.mod   | 2 +-
 10 files changed, 17 insertions(+), 11 deletions(-)

diff --cc gremlin-go/examples/go.mod
index acfd53ab41,be7ba3f41c..4ac05244c2
--- a/gremlin-go/examples/go.mod
+++ b/gremlin-go/examples/go.mod
@@@ -17,9 -17,9 +17,9 @@@
  
  module example
  
- go 1.20
+ go 1.21
  
- require github.com/apache/tinkerpop/gremlin-go/v3 v3.7.0
 -require github.com/apache/tinkerpop/gremlin-go/v3 v3.6.6
++require github.com/apache/tinkerpop/gremlin-go/v3 v3.7.1
  
  require (
github.com/google/uuid v1.3.0 // indirect



(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-03-25 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit c5c9baa86b355d11808e80a380c5076580a32bf6
Merge: e39ef4fcce 0b8b7ec4c5
Author: Cole-Greer 
AuthorDate: Mon Mar 25 15:26:49 2024 -0700

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc |  1 +
 .../Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs |  2 +-
 .../apache/tinkerpop/gremlin/driver/Client.java|  5 +-
 .../tinkerpop/gremlin/driver/RequestOptions.java   | 30 
 .../driver/remote/DriverRemoteConnection.java  | 27 +--
 .../driver/remote/DriverRemoteConnectionTest.java  |  5 +-
 gremlin-go/driver/cucumber/gremlin.go  |  2 +-
 .../gremlin-javascript/test/cucumber/gremlin.js|  2 +-
 gremlin-python/src/main/python/radish/gremlin.py   |  2 +-
 .../server/ClientWithOptionsIntegrateTest.java | 87 ++
 .../gremlin/test/features/map/Select.feature   |  2 +-
 11 files changed, 130 insertions(+), 35 deletions(-)

diff --cc gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
index e520b2b328,bf7e01c810..b10a2db7ab
--- a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
+++ b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
@@@ -1164,7 -892,7 +1164,7 @@@ namespace Gremlin.Net.IntegrationTest.G
 
{"g_withStrategiesXProductiveByStrategyX_V_asXaX_selectXaX_byXageX", new 
List, ITraversal>> 
{(g,p) =>g.WithStrategies(new ProductiveByStrategy(productiveKeys: new 
List {})).V().As("a").Select("a").By("age")}}, 
 {"g_withSideEffectXk_nullX_injectXxX_selectXkX", new 
List, ITraversal>> 
{(g,p) =>g.WithSideEffect("k",null).Inject("x").Select("k")}}, 
 {"g_V_out_in_selectXall_a_a_aX_byXunfold_name_foldX", new 
List, ITraversal>> 
{(g,p) 
=>g.AddV("A").Property("name","a1").As("a1").AddV("A").Property("name","a2").As("a2").AddV("A").Property("name","a3").As("a3").AddV("B").Property("name","b1").As("b1").AddV("B").Property("name","b2").As("b2").AddV("B").Property("name","b3").As("b3").AddE("ab").From("a1").To("b1").AddE("ab").From("a2").To("b2").AddE("ab").From("a3").To(
 [...]
--   {"g_V_asXlabelX_aggregateXlocal_xX_selectXxX_selectXlabelX", 
new List, ITraversal>> 
{(g,p) 
=>g.V().As("label").Aggregate(Scope.Local,"x").Select("x").Select("label")}},
 
++   {"g_V_asXlabelX_aggregateXlocal_xX_selectXxX_selectXlabelX", 
new List, ITraversal>> 
{(g,p) 
=>g.V().As("label").Aggregate(Scope.Local,"x").Barrier().Select("x").Select("label")}},
 
 {"g_V_shortestPath", new List, ITraversal>> {(g,p) 
=>g.V().Identity().ShortestPath()}}, 
 {"g_V_both_dedup_shortestPath", new 
List, ITraversal>> 
{(g,p) =>g.V().Both().Dedup().ShortestPath()}}, 
 {"g_V_shortestPath_edgesIncluded", new 
List, ITraversal>> 
{(g,p) 
=>g.V().Identity().ShortestPath().With("~tinkerpop.shortestPath.includeEdges")}},
 
diff --cc 
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/RequestOptions.java
index 63d7dad91a,cd5c2b68e0..f439157999
--- 
a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/RequestOptions.java
+++ 
b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/RequestOptions.java
@@@ -18,13 -18,22 +18,23 @@@
   */
  package org.apache.tinkerpop.gremlin.driver;
  
 -import org.apache.tinkerpop.gremlin.driver.message.RequestMessage;
 +import org.apache.tinkerpop.gremlin.util.message.RequestMessage;
+ import org.apache.tinkerpop.gremlin.process.traversal.Bytecode;
+ import 
org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.OptionsStrategy;
+ import org.apache.tinkerpop.gremlin.process.traversal.util.BytecodeHelper;
  
  import java.util.HashMap;
+ import java.util.Iterator;
  import java.util.Map;
  import java.util.Optional;
  import java.util.UUID;
  
 -import static org.apache.tinkerpop.gremlin.driver.Tokens.ARGS_BATCH_SIZE;
 -import static org.apache.tinkerpop.gremlin.driver.Tokens.ARGS_EVAL_TIMEOUT;
 -import static org.apache.tinkerpop.gremlin.driver.Tokens.ARGS_USER_AGENT;
 -import static org.apache.tinkerpop.gremlin.driver.Tokens.REQUEST_ID;
++import static org.apache.tinkerpop.gremlin.util.Tokens.ARGS_BATCH_SIZE;
++import static org.apache.tinkerpop.gremlin.util.Tokens.ARGS_EVAL_TIMEOUT;
++import static 
org.apache.tinkerpop.gremlin.util.Tokens.ARGS_MATERIALIZE_PROPERTIES;
++import static org.apache.tinkerpop.gremlin.util.Tokens.ARGS_USER_AGENT;
++import static org.apache.tinkerpop.gremlin.util.Tokens.REQUEST_ID;
+ 
  /**
   * Options that can be supplied on a per request basis.
   *
@@@ -88,6 -93,24 +98,26 @@@ public final class RequestOptions 
  return new Builder();
  }
  
+ public static RequestOptions getRequestOptions(final Bytecode bytecode) {
+ final Iterator itty = 
BytecodeHelper.findStrategies(bytecode, 

(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-03-22 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit e39ef4fcce713dc26a28d451475fad27c622b99d
Merge: 20443b0d7b dd7cb24669
Author: Cole-Greer 
AuthorDate: Fri Mar 22 13:57:48 2024 -0700

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc| 2 +-
 .../tinkerpop/gremlin/process/traversal/step/map/MergeVertexStep.java | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-03-05 Thread valentyn
This is an automated email from the ASF dual-hosted git repository.

valentyn pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit a0919dc3d6ad29a2737f36fe076defbec092840c
Merge: 06af2ec6d5 2d950116db
Author: Valentyn Kahamlyk 
AuthorDate: Tue Mar 5 13:54:38 2024 -0800

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc |   1 +
 .../optimization/FilterRankingStrategy.java| 129 --
 ...lterRankingStrategyCacheInitializationTest.java | 434 +
 .../optimization/FilterRankingStrategyTest.java| 179 +++--
 4 files changed, 681 insertions(+), 62 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-02-29 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit cc9b3cf02c1e5d68a0583e2571e1a2a22d9fa249
Merge: 88acbad25a 1efe40b288
Author: Cole-Greer 
AuthorDate: Thu Feb 29 08:56:53 2024 -0800

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc | 5 +++--
 gremlin-python/src/main/python/gremlin_python/driver/connection.py | 7 ---
 gremlin-python/src/main/python/gremlin_python/driver/serializer.py | 2 +-
 gremlin-python/src/main/python/tests/driver/test_client.py | 6 +-
 4 files changed, 13 insertions(+), 7 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-02-29 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 7f73599f74db02a188f37d5168efa84f39c2d068
Merge: a919b90ebe 3166f1b347
Author: Cole-Greer 
AuthorDate: Thu Feb 29 08:16:20 2024 -0800

Merge branch '3.6-dev' into 3.7-dev

 gremlin-go/go.mod  |   4 +-
 gremlin-go/go.sum  |   8 +-
 .../gremlin-javascript/package-lock.json   | 151 +++--
 3 files changed, 57 insertions(+), 106 deletions(-)

diff --cc gremlin-go/go.mod
index 49824ef350,111ad2210b..a44e094cc7
--- a/gremlin-go/go.mod
+++ b/gremlin-go/go.mod
@@@ -20,13 -20,12 +20,13 @@@ module github.com/apache/tinkerpop/grem
  go 1.20
  
  require (
-   github.com/cucumber/godog v0.13.0
+   github.com/cucumber/godog v0.14.0
github.com/google/uuid v1.6.0
github.com/gorilla/websocket v1.5.1
-   github.com/nicksnyder/go-i18n/v2 v2.3.0
+   github.com/nicksnyder/go-i18n/v2 v2.4.0
github.com/stretchr/testify v1.8.4
golang.org/x/text v0.14.0
 +  gopkg.in/yaml.v3 v3.0.1
  )
  
  require (



(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-02-13 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 01de8868c75fda50f5369d9706f0b3e9a4d604f0
Merge: 9b46b6777d d862355334
Author: Yang Xia <55853655+xia...@users.noreply.github.com>
AuthorDate: Tue Feb 13 14:53:06 2024 -0800

Merge branch '3.6-dev' into 3.7-dev

 .github/workflows/build-test.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-01-29 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit c0d704cb372622d8f874e7aebc861d12afd6d65b
Merge: 804eeab954 d2303d5fad
Author: Cole-Greer 
AuthorDate: Mon Jan 29 16:58:35 2024 -0800

Merge branch '3.6-dev' into 3.7-dev

 .github/workflows/build-test.yml   |   8 +-
 gremlin-go/go.mod  |   2 +-
 gremlin-go/go.sum  |   4 +-
 .../gremlin-javascript/package-lock.json   | 833 ++---
 .../javascript/gremlin-javascript/package.json |   2 +-
 gremlint/package-lock.json |  24 +-
 6 files changed, 68 insertions(+), 805 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2024-01-15 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 2f606812bdee26152362778ee8471bbf8b118470
Merge: 821bf60d41 ddf32174d7
Author: Cole-Greer 
AuthorDate: Mon Jan 15 09:43:04 2024 -0800

Merge branch '3.6-dev' into 3.7-dev

 .../src/main/javascript/gremlin-javascript/package-lock.json | 12 ++--
 gremlin-python/src/main/python/examples/requirements.txt | 10 +-
 2 files changed, 11 insertions(+), 11 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-19 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit c8d08b0269349d2e7e1174aff100fe7c9f28d093
Merge: 3a512146d1 de74d3c9e2
Author: Cole-Greer 
AuthorDate: Tue Dec 19 17:08:07 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 .github/workflows/codeql.yml   | 14 
 bin/run-examples.sh|  4 +--
 docs/src/dev/developer/release.asciidoc|  5 +--
 gremlin-go/go.mod  |  2 +-
 gremlin-go/go.sum  |  4 +--
 gremlin-javascript/examples/package-lock.json  |  4 +--
 gremlin-javascript/examples/package.json   |  4 +--
 .../gremlin-javascript/package-lock.json   | 40 +++---
 8 files changed, 39 insertions(+), 38 deletions(-)

diff --cc docs/src/dev/developer/release.asciidoc
index a55f0d1315,aaf1b8e1e4..6a5e525fbf
--- a/docs/src/dev/developer/release.asciidoc
+++ b/docs/src/dev/developer/release.asciidoc
@@@ -326,7 -327,8 +325,9 @@@ the help of a PMC member for those step
  .. Commit and push the `SNAPSHOT` changes to git
  . Examine the `future.asciidoc` and update the "Roadmap" as needed.
  . Send email to advise that code freeze is lifted.
 +. Consider the changes made to Gremlin and determine if the community needs 
to organize a PR to 
[DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gremlin)
 to keep TypeScript up to date.
+ . Ensure that the GLV examples compile and run with the latest image and 
dependencies: `bin/run-examples.sh`.
+ .. Make changes as necessary to update the examples.
  . Generate a list of dead branches that will be automatically deleted and 
post them as a DISCUSS thread for review, then once consensus is reached 
removed those branches.
  . Set up the IO tests for the current `SNAPSHOT` as discussed in the <>
  



(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-18 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 3a512146d10a54d71bcf7734e664d684ba4c65d0
Merge: 90c1ae3fe0 1e10331e2c
Author: Yang Xia <55853655+xia...@users.noreply.github.com>
AuthorDate: Mon Dec 18 16:49:21 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 gremlin-server/src/main/docker/docker-entrypoint.sh | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)



(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-14 Thread kenhuuu
This is an automated email from the ASF dual-hosted git repository.

kenhuuu pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit c9750b18e942708ac7484e52dbe6da4108761ee0
Merge: 6fbafc436c d4fc477a5c
Author: Ken Hu <106191785+kenh...@users.noreply.github.com>
AuthorDate: Thu Dec 14 19:28:34 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc |  1 +
 .../driver/handler/HttpGremlinResponseDecoder.java | 25 +---
 .../gremlin_python/driver/aiohttp/transport.py |  4 +-
 .../main/python/gremlin_python/driver/protocol.py  | 46 +++---
 gremlin-python/src/main/python/tests/conftest.py   | 21 ++
 .../driver/test_driver_remote_connection_http.py   | 10 +
 .../handler/HttpBasicAuthorizationHandler.java | 15 +--
 .../server/handler/HttpGremlinEndpointHandler.java | 18 +
 .../gremlin/server/handler/HttpHandlerUtil.java| 12 +-
 .../gremlin/server/HttpDriverIntegrateTest.java| 34 
 10 files changed, 144 insertions(+), 42 deletions(-)

diff --cc 
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/handler/HttpGremlinEndpointHandler.java
index ec19b28e6d,662ed48a36..665cf1ef3c
--- 
a/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/handler/HttpGremlinEndpointHandler.java
+++ 
b/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/handler/HttpGremlinEndpointHandler.java
@@@ -244,20 -239,7 +246,20 @@@ public class HttpGremlinEndpointHandle
  final List results = 
requestMessage.getOp().equals(Tokens.OPS_BYTECODE) ?
  (List) 
IteratorUtils.asList(o).stream().map(r -> new DefaultRemoteTraverser(r, 
1)).collect(Collectors.toList()) :
  IteratorUtils.asList(o);
 +
 +if (mp.isPresent() && 
mp.get().equals(Tokens.MATERIALIZE_PROPERTIES_TOKENS)) {
 +final Object firstElement = results.get(0);
 +
 +if (firstElement instanceof Element) {
 +for (int i = 0; i < results.size(); i++)
 +results.set(i, 
ReferenceFactory.detach((Element) results.get(i)));
 +} else if (firstElement instanceof 
AbstractTraverser) {
 +for (final Object item : results)
 +((AbstractTraverser) item).detach();
 +}
 +}
 +
- final ResponseMessage responseMessage = 
ResponseMessage.build(requestMessage.getRequestId())
+ final ResponseMessage responseMessage = 
ResponseMessage.build(requestId)
  .code(ResponseStatusCode.SUCCESS)
  .result(results).create();
  



(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-14 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit df1d4538ee158db7db08e3bf8f5a19ce28f08f2c
Merge: b4f33076bc 9f97af5a87
Author: Cole-Greer 
AuthorDate: Thu Dec 14 14:51:45 2023 -0800

Merge branch '3.6-dev' into 3.7-dev




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-14 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit b4f33076bc290fc8b34aae03d1675b1a2b38775b
Merge: 2730fb0ad4 7b2580e520
Author: Yang Xia <55853655+xia...@users.noreply.github.com>
AuthorDate: Thu Dec 14 08:49:03 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc |  1 +
 .../gremlin_python/structure/io/graphsonV2d0.py| 26 -
 .../gremlin_python/structure/io/graphsonV3d0.py| 27 +-
 .../src/main/python/tests/driver/test_client.py|  9 
 .../python/tests/structure/io/test_graphsonV2d0.py |  8 +++
 .../python/tests/structure/io/test_graphsonV3d0.py |  8 +++
 6 files changed, 77 insertions(+), 2 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-11 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 679b784941c6c9d6e6ba61ebc19f61d9482c9a05
Merge: a5784e74d3 b48fd8c0ff
Author: Cole-Greer 
AuthorDate: Mon Dec 11 16:29:52 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc  | 1 +
 gremlin-console/pom.xml | 7 +--
 2 files changed, 2 insertions(+), 6 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-07 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit a5784e74d3baf1a0d8626b5bc5dc8d4d74a1a747
Merge: 24a5e241ec 20ddedd308
Author: Cole-Greer 
AuthorDate: Thu Dec 7 17:45:11 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-07 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 24a5e241ec0abb5a332e49e9c78f782d1471b97d
Merge: ec9e194add 1006f515e0
Author: Cole-Greer 
AuthorDate: Thu Dec 7 17:36:58 2023 -0800

Merge branch '3.6-dev' into 3.7-dev




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-07 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 17f74c93d326eca55e88473cb2f94e118d3b192a
Merge: b1d0a58efd da8a5fbe05
Author: Cole-Greer 
AuthorDate: Thu Dec 7 12:25:51 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 .github/workflows/build-test.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-06 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit b1d0a58efde4143e2e5087d7cb73164733458d99
Merge: cb508ba7bc c2e20863a2
Author: Cole-Greer 
AuthorDate: Wed Dec 6 14:45:43 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 .github/workflows/build-test.yml | 2 +-
 gremlin-javascript/pom.xml   | 2 +-
 gremlint/pom.xml | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-06 Thread valentyn
This is an automated email from the ASF dual-hosted git repository.

valentyn pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 0756e12f8900e58a06cebe3d47b50e9a6ac36c67
Merge: 1b64fac483 bf19ce9e16
Author: Valentyn Kahamlyk 
AuthorDate: Wed Dec 6 12:16:08 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc |  1 +
 .../DriverRemoteConnection/GraphTraversalTests.cs  | 20 ++
 gremlin-go/driver/traversal_test.go| 44 ++
 .../gremlin-javascript/lib/process/transaction.js  | 12 +-
 .../test/integration/traversal-test.js | 26 +
 .../gremlin-javascript/test/unit/traversal-test.js | 23 +++
 .../gremlin_python/process/graph_traversal.py  |  2 +-
 .../tests/driver/test_driver_remote_connection.py  | 31 +++
 8 files changed, 156 insertions(+), 3 deletions(-)

diff --cc 
gremlin-javascript/src/main/javascript/gremlin-javascript/test/integration/traversal-test.js
index 365776e029,64e1bc5a55..39b628c4ef
--- 
a/gremlin-javascript/src/main/javascript/gremlin-javascript/test/integration/traversal-test.js
+++ 
b/gremlin-javascript/src/main/javascript/gremlin-javascript/test/integration/traversal-test.js
@@@ -218,8 -218,36 +218,34 @@@ describe('Traversal', function () 
}, (err) => assert.fail("tanked: " + err));
  });
});
+   describe("should handle tx errors if graph not support tx", function() {
+ it('should throw exception on commit if graph not support tx', async 
function() {
+   const g = traversal().withRemote(connection);
+   const tx = g.tx();
+   const gtx = tx.begin();
+   const result = await g.V().count().next();
+   assert.strictEqual(6, result.value);
+   try {
+ await tx.commit();
+ assert.fail("should throw error");
+   } catch (err) {
+ assert.strictEqual("Server error: Graph does not support transactions 
(500)", err.message);
+   }
+ });
+ it('should throw exception on rollback if graph not support tx', async 
function() {
+   const g = traversal().withRemote(connection);
+   const tx = g.tx();
+   tx.begin();
+   try {
+ await tx.rollback();
+ assert.fail("should throw error");
+   } catch (err) {
+ assert.strictEqual("Server error: Graph does not support transactions 
(500)", err.message);
+   }
+ });
+   });
describe('support remote transactions - commit', function() {
  before(function () {
 -  if (process.env.TEST_TRANSACTIONS !== "true") return this.skip();
 -
txConnection = helper.getConnection('gtx');
return txConnection.open();
  });



(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-05 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit d075af84ee34dd7a136025f9168a25749d3160b6
Merge: 07db2b6cf6 1e0cfaea35
Author: Cole-Greer 
AuthorDate: Tue Dec 5 15:56:11 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 .github/workflows/build-test.yml   | 60 +--
 .github/workflows/codeql.yml   |  6 +-
 gremlin-go/go.mod  |  2 +-
 gremlin-go/go.sum  | 34 ++-
 .../gremlin-javascript/package-lock.json   | 68 +++---
 gremlint/package-lock.json | 12 ++--
 6 files changed, 78 insertions(+), 104 deletions(-)

diff --cc gremlin-go/go.mod
index bc3ad693b9,6fb14e147e..8ecb32c783
--- a/gremlin-go/go.mod
+++ b/gremlin-go/go.mod
@@@ -23,10 -23,9 +23,10 @@@ require 
github.com/cucumber/godog v0.13.0
github.com/google/uuid v1.4.0
github.com/gorilla/websocket v1.5.1
-   github.com/nicksnyder/go-i18n/v2 v2.2.2
+   github.com/nicksnyder/go-i18n/v2 v2.3.0
github.com/stretchr/testify v1.8.4
golang.org/x/text v0.14.0
 +  gopkg.in/yaml.v3 v3.0.1
  )
  
  require (



(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-05 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 07db2b6cf64950f46863d4bf2fc10c7bfe3b67f1
Merge: e488252e01 296bbcdb27
Author: Yang Xia <55853655+xia...@users.noreply.github.com>
AuthorDate: Tue Dec 5 13:54:59 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 .../process/traversal/dsl/graph/GraphTraversalTest.java| 10 ++
 1 file changed, 10 insertions(+)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-12-04 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit cef56e4b754d5e798cb7f4966251f15bde000419
Merge: 05ac05d020 636b49d200
Author: Yang Xia <55853655+xia...@users.noreply.github.com>
AuthorDate: Mon Dec 4 22:08:25 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc  |  5 +
 docs/src/upgrade/release-3.6.x.asciidoc | 14 ++
 2 files changed, 19 insertions(+)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-11-21 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 1454d2b39177848c086676decf5e93f9c9ce37b7
Merge: 515bf483c8 a9ff025c83
Author: Yang Xia <55853655+xia...@users.noreply.github.com>
AuthorDate: Tue Nov 21 12:02:28 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc  | 39 +++--
 docs/src/upgrade/release-3.5.x.asciidoc | 18 ++-
 docs/src/upgrade/release-3.6.x.asciidoc | 17 ++
 3 files changed, 41 insertions(+), 33 deletions(-)




(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-11-20 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 515bf483c8fd9124973cdee7cf38ea11d03119e3
Merge: ceeeaa2133 7c06364d15
Author: Cole-Greer 
AuthorDate: Mon Nov 20 13:14:16 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 gremlin-console/pom.xml| 11 -
 gremlin-console/src/main/static/NOTICE | 26 +++-
 gremlin-console/src/main/static/licenses/bigint| 23 ++
 .../src/main/static/licenses/ganymed-ssh   | 28 ++
 gremlin-driver/pom.xml |  7 +-
 gremlin-driver/src/main/static/NOTICE  | 22 -
 gremlin-driver/src/main/static/licenses/bigint | 23 ++
 gremlin-server/src/main/static/NOTICE  | 28 --
 gremlin-server/src/main/static/licenses/bigint | 23 ++
 .../src/main/static/licenses/ganymed-ssh   | 28 ++
 gremlin-shaded/pom.xml |  4 
 gremlin-shaded/src/main/static/NOTICE  | 22 -
 gremlin-shaded/src/main/static/licenses/bigint | 23 ++
 13 files changed, 261 insertions(+), 7 deletions(-)

diff --cc gremlin-server/src/main/static/NOTICE
index 3aac6f7ff6,02d78b6d73..4f6521d8b1
--- a/gremlin-server/src/main/static/NOTICE
+++ b/gremlin-server/src/main/static/NOTICE
@@@ -5,13 -5,18 +5,13 @@@ This product includes software develope
  The Apache Software Foundation (http://www.apache.org/).
  
  
 -Apache Groovy 2.5.22 (AL ASF)
 +Apache Groovy 4.0.9 (AL ASF)
  
 -This product includes/uses ANTLR (http://www.antlr2.org/)
 -developed by Terence Parr 1989-2006
 -
 -This product bundles icons from the famfamfam.com silk icons set
 -http://www.famfamfam.com/lab/icons/silk/
 -Licensed under the Creative Commons Attribution Licence v2.5
 -http://creativecommons.org/licenses/by/2.5/
 +This product includes/uses ANTLR4 (https://github.com/antlr/antlr4)
 +Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
  
  
- Apache Ivy 2.3.0 (AL ASF)
+ Apache Ivy 2.5.1 (AL ASF)
  
  Portions of Ivy were originally developed by
  Jayasoft SARL (http://www.jayasoft.fr/)
diff --cc gremlin-shaded/src/main/static/NOTICE
index 99728668c8,aa0c1d929c..23fdb19a8e
--- a/gremlin-shaded/src/main/static/NOTICE
+++ b/gremlin-shaded/src/main/static/NOTICE
@@@ -5,13 -5,36 +5,33 @@@ This product includes software develope
  The Apache Software Foundation (http://www.apache.org/).
  
  
- Jackson-Databind 2.14.0 and Jackson-Core - shaded in gremlin-shaded to 
org.apache.tinkerpop.shaded.jackson
+ Jackson-Databind, Jackson-Annotation and Jackson-Core 2.15.2
  
 -# Jackson JSON processor
 -
 -Jackson is a high-performance, Free/Open Source JSON processing library.
  It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), and has
  been in development since 2007.
  It is currently developed by a community of developers.
  
+ * FastDoubleParser
+ 
+ jackson-core bundles a shaded copy of FastDoubleParser 
.
+ That code is available under an MIT license 

+ under the following copyright.
+ 
+ Copyright © 2023 Werner Randelshofer, Switzerland. MIT License.
+ 
+ Some portions of the code have been derived from other projects.
+ 
+ fast_double_parser, Copyright (c) 2022 Daniel Lemire. Apache 2.0 
License.
+ https://github.com/fastfloat/fast_float
+ 
+ fast_float, Copyright (c) 2021 The fast_float authors. Apache 2.0 
License.
+ https://github.com/fastfloat/fast_float
+ 
+ bigint, Copyright 2020 Tim Buktu. 2-clause BSD License.
+ https://github.com/tbuktu/bigint/tree/floatfft
+ (We only use those portions of the bigint project that can be 
licensed under 2-clause BSD License.)
+ 
  
 -Objenesis 2.4
 +Objenesis 3.3 - shaded in gremlin-shaded to 
org.apache.tinkerpop.shaded.objenesis
  
 -Copyright 2006-2016 Joe Walnes, Henri Tremblay, Leonardo Mesquita
 +Copyright 2006-2022 Joe Walnes, Henri Tremblay, Leonardo Mesquita



(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-11-19 Thread xiazcy
This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit ceeeaa21331aa8bb1870bd8f3081aac7cdba4de1
Merge: 03e798f505 9674b1e6bf
Author: Yang Xia <55853655+xia...@users.noreply.github.com>
AuthorDate: Sun Nov 19 22:44:15 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 docs/src/reference/intro.asciidoc | 4 ++--
 docs/src/reference/preface.asciidoc   | 2 +-
 docs/src/reference/the-traversal.asciidoc | 8 
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --cc docs/src/reference/the-traversal.asciidoc
index d20352dcff,ef1192d0ad..edf2d8618f
--- a/docs/src/reference/the-traversal.asciidoc
+++ b/docs/src/reference/the-traversal.asciidoc
@@@ -2378,25 -2058,8 +2378,25 @@@ g.V().emit(__.has("name", "marko").or()
  *Additional References*
  
  
link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#loops()++[`loops()`],
- link:++https://tinkerpop.apache.org/docs/x.y.z/recipes/#looping[`Looping 
Recipes`]
+ link:++https://tinkerpop.apache.org/docs/x.y.z/recipes/#looping++[`Looping 
Recipes`]
  
 +[[lTrim-step]]
 +=== LTrim Step
 +
 +The `lTrim()`-step (*map*) returns a string with leading whitespace removed. 
Null values are not processed and remain
 +as null when returned. If the incoming traverser is a non-String value then 
an `IllegalArgumentException` will be thrown.
 +
 +[gremlin-groovy,modern]
 +
 +g.inject("   hello   ", " world ", null).lTrim()
 +g.inject(["   hello   ", " world ", null]).lTrim(local) <1>
 +
 +
 +<1> Use `Scope.local` to operate on individual string elements inside 
incoming list, which will return a list.
 +
 
+link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#lTrim()++[`lTrim()`]
 
+link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#lTrim(org.apache.tinkerpop.gremlin.process.traversal.Scope)++[`lTrim(Scope)`]
 +
  [[map-step]]
  === Map Step
  
@@@ -3915,65 -3525,8 +3915,65 @@@ an adjacent vertex's properties or edge
  
  
link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#repeat(org.apache.tinkerpop.gremlin.process.traversal.Traversal)++[`repeat(Traversal)`]
  
- link:++https://tinkerpop.apache.org/docs/x.y.z/recipes/#looping[`Looping 
Recipes`]
+ link:++https://tinkerpop.apache.org/docs/x.y.z/recipes/#looping++[`Looping 
Recipes`]
  
 +[[replace-step]]
 +=== Replace Step
 +The `replace()`-step (*map*) returns a string with the specified characters 
in the original string replaced with the new
 +characters. Any null arguments will be a no-op and the original string is 
returned. Null values from the incoming
 +traversers are not processed and remain as null when returned. If the 
incoming traverser is a non-String  value then
 +an `IllegalArgumentException` will be thrown.
 +
 +[gremlin-groovy,modern]
 +
 +g.inject('that', 'this', 'test', null).replace('h', 'j') <1>
 +g.inject('hello world').replace(null, 'j') <2>
 +g.V().hasLabel("software").values("name").replace("p", "g") <3>
 +g.V().hasLabel("software").values("name").fold().replace(local, "p", "g") <4>
 +
 +<1> Replace "h" in the strings with "j".
 +<2> Null inputs are ignored and the original string is returned.
 +<3> Return software names with "p" replaced by "g".
 +<4> Use `Scope.local` to operate on individual string elements inside 
incoming list, which will return a list.
 +
 +*Additional References*
 
+link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#replace(java.lang.String,java.lang.String)++[`replace(String,String)`]
 
+link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#replace(org.apache.tinkerpop.gremlin.process.traversal.Scope,java.lang.String,java.lang.String)++[`replace(Scope,String,String)`]
 +
 +[[reverse-step]]
 +=== Reverse Step
 +
 +The `reverse()`-step (*map*) returns the reverse of the incoming list 
traverser. Single values (including `null`) are not
 +processed and are added back to the Traversal Stream unchanged. If the 
incoming traverser is a String value then the
 +reversed String will be returned.
 +
 +[gremlin-groovy,modern]
 +
 +g.V().values("name").reverse() <1>
 +g.V().values("name").order().fold().reverse() <2>
 +
 +<1> Reverse the order of the characters in each name.
 +<2> Fold all the names into a list in ascending order and then reverse the 
list's ordering (into descending).
 +
 
+link:++https://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.html#reverse()++[`reverse()`]
 

(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-11-17 Thread colegreer
This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit ed7570d06f0f28db3dce9c0bd7a5cbe0496533ff
Merge: d8906996ac d95d83bef3
Author: Cole-Greer 
AuthorDate: Fri Nov 17 09:19:50 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc |  1 +
 docs/src/upgrade/release-3.6.x.asciidoc|  3 +
 .../tinkerpop/gremlin/driver/Channelizer.java  |  7 +--
 .../driver/handler/HttpGremlinRequestEncoder.java  | 15 -
 .../gremlin/server/AbstractChannelizer.java|  2 +-
 .../gremlin/server/channel/HttpChannelizer.java|  3 +
 .../server/handler/HttpUserAgentHandler.java   | 67 ++
 .../handler/WsAndHttpChannelizerHandler.java   | 29 ++
 .../gremlin/server/GremlinServerIntegrateTest.java | 63 ++--
 ...stChannelizer.java => HttpTestChannelizer.java} | 12 ++--
 .../gremlin/server/channel/TestChannelizer.java|  6 ++
 .../server/channel/UnifiedTestChannelizer.java |  6 +-
 .../server/channel/WebSocketTestChannelizer.java   |  6 +-
 ...nnelizer.java => WsAndHttpTestChannelizer.java} | 11 +++-
 14 files changed, 199 insertions(+), 32 deletions(-)

diff --cc 
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/handler/HttpGremlinRequestEncoder.java
index c29dd1ddaa,606549a535..67f7e3d95c
--- 
a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/handler/HttpGremlinRequestEncoder.java
+++ 
b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/handler/HttpGremlinRequestEncoder.java
@@@ -27,12 -27,13 +27,13 @@@ import io.netty.handler.codec.http.Full
  import io.netty.handler.codec.http.HttpHeaderNames;
  import io.netty.handler.codec.http.HttpMethod;
  import io.netty.handler.codec.http.HttpVersion;
 -import org.apache.tinkerpop.gremlin.driver.MessageSerializer;
+ import org.apache.tinkerpop.gremlin.driver.UserAgent;
  import org.apache.tinkerpop.gremlin.driver.exception.ResponseException;
 -import org.apache.tinkerpop.gremlin.driver.message.RequestMessage;
 -import org.apache.tinkerpop.gremlin.driver.message.ResponseStatusCode;
 -import org.apache.tinkerpop.gremlin.driver.ser.SerTokens;
  import org.apache.tinkerpop.gremlin.process.traversal.Bytecode;
 +import org.apache.tinkerpop.gremlin.util.MessageSerializer;
 +import org.apache.tinkerpop.gremlin.util.message.RequestMessage;
 +import org.apache.tinkerpop.gremlin.util.message.ResponseStatusCode;
 +import org.apache.tinkerpop.gremlin.util.ser.SerTokens;
  
  import java.util.List;
  import java.util.function.UnaryOperator;



(tinkerpop) 01/01: Merge branch '3.6-dev' into 3.7-dev

2023-11-14 Thread kenhuuu
This is an automated email from the ASF dual-hosted git repository.

kenhuuu pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 933ad520bcd295f015af53e93b7d6de6c818bc47
Merge: 63e4c179ba 8c12fdfeb7
Author: Ken Hu <106191785+kenh...@users.noreply.github.com>
AuthorDate: Tue Nov 14 08:14:22 2023 -0800

Merge branch '3.6-dev' into 3.7-dev

 CHANGELOG.asciidoc |  1 +
 .../gremlin-javascript/lib/driver/connection.js|  9 
 .../test/integration/client-tests.js   | 48 ++
 .../python/gremlin_python/driver/connection.py |  1 +
 .../src/main/python/tests/driver/test_client.py| 44 
 .../server/GremlinServerHttpIntegrateTest.java | 12 ++
 6 files changed, 115 insertions(+)