You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by co...@apache.org on 2025/09/05 22:13:47 UTC

(tinkerpop) branch TINKERPOP-3173 updated (d8ff2dfab4 -> 21c5bafed2)

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

colegreer pushed a change to branch TINKERPOP-3173
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


 discard d8ff2dfab4 fixes from PR feedback
 discard 358e4ea143 TINKERPOP-3173 Simplify comparability semantics
     add 544ed90ce0 TINKERPOP-2491 Remove auto unfold of single item results for range, limit, tail local scope steps (#3184)
     add 3ddf400820 Fixed up property order tests CTR
     add 3d7960dd08 Merge branch '3.7-dev' into 3.8-dev
     add a20f3861f7 Tests for repeat().times(0) and semantics clarity CTR
     add a1f16803c2 Merge branch '3.7-dev' into 3.8-dev
     add 6aad19195e Change tail feature test to use valueMap instead of inject as to not be affected by GLV map ordering (#3193)
     add 482475e814 Bumped Mockito to latest CTR
     add d5f4a29535 Fix NPE in dateDiff exception message & fix bullet list formatting in semantics doc CTR
     add 5e652982c6 Merge branch '3.7-dev' into 3.8-dev
     add 6eb0bef934 Added getter to DifferenceStep CTR
     add ab3d4192b4 Merge branch '3.7-dev' into 3.8-dev
     add 7341ab79d6 Backported rename of steps related to "merge" from 4.0
     add d4eb94fa6b Bump actions/checkout from 4 to 5
     add b342a92a46 Merge branch 'pr-3182' into 3.7-dev
     add 26658e2404 Bump actions/setup-java from 4 to 5
     add 4518e35d66 Merge branch 'pr-3192' into 3.7-dev
     add 391281022e Merge branch '3.7-dev' into 3.8-dev
     add 7a4c89ad18 Added getter for valueTraversal on DifferenceStep CTR
     add 3284acaf0b Merge branch '3.7-dev' into 3.8-dev
     add c53c452f4b TINKERPOP-3182 Fixed inconsistency in Path GraphSON serialization
     add 19b66a6fb5 Merge branch '3.7-dev' into 3.8-dev
     add d45cd95af1 Changed detatchment logic after TINKERPOP-3182
     add fadcd60542 Merge branch '3.7-dev' into 3.8-dev
     add ca58a971dc TINKERPOP-3166 Implement asNumber() step (#3153)
     add 0f88b00460 TINKERPOP-3173 Simplify comparability semantics
     add 5a772cd69a fixes from PR feedback
     add 21c5bafed2 extra tests and comments

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (d8ff2dfab4)
            \
             N -- N -- N   refs/heads/TINKERPOP-3173 (21c5bafed2)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .github/workflows/build-test.yml                   |  58 +--
 .github/workflows/codeql.yml                       |   6 +-
 CHANGELOG.asciidoc                                 |   9 +-
 docs/src/dev/provider/gremlin-semantics.asciidoc   | 140 ++++++-
 docs/src/recipes/recommendation.asciidoc           |   2 +-
 docs/src/recipes/shortest-path.asciidoc            |   4 +-
 docs/src/reference/gremlin-variants.asciidoc       |   3 +
 docs/src/reference/the-traversal.asciidoc          |  78 +++-
 docs/src/upgrade/release-3.8.x.asciidoc            | 117 ++++++
 .../tinkerpop/gremlin/jsr223/CoreImports.java      |   3 +
 .../grammar/DefaultGremlinBaseVisitor.java         |  14 +-
 .../language/grammar/GenericLiteralVisitor.java    |   5 +
 .../language/grammar/TraversalEnumParser.java      |  11 +
 .../language/grammar/TraversalMethodVisitor.java   |  17 +
 .../translator/GroovyTranslateVisitor.java         |   9 +
 .../language/translator/JavaTranslateVisitor.java  |  11 +
 .../translator/JavascriptTranslateVisitor.java     |   9 +
 .../language/translator/TranslateVisitor.java      |   7 +
 .../process/traversal/{Scope.java => N.java}       |  41 +-
 .../tinkerpop/gremlin/process/traversal/NotP.java  |  16 +-
 .../traversal/dsl/graph/GraphTraversal.java        |  35 +-
 .../gremlin/process/traversal/dsl/graph/__.java    |  15 +
 .../process/traversal/step/map/AsNumberStep.java   | 104 +++++
 .../process/traversal/step/map/DateDiffStep.java   |   2 +-
 .../process/traversal/step/map/DifferenceStep.java |   8 +
 .../process/traversal/step/map/MergeEdgeStep.java  |   5 +-
 .../step/map/MergeEdgeStepPlaceholder.java         |   2 +-
 .../map/{MergeStep.java => MergeElementStep.java}  |  14 +-
 .../process/traversal/step/map/MergeStep.java      | 449 +++------------------
 .../traversal/step/map/MergeVertexStep.java        |   4 +-
 .../step/map/MergeVertexStepPlaceholder.java       |   2 +-
 .../process/traversal/step/map/RangeLocalStep.java |  24 +-
 .../traversal/step/map/TraversalMergeStep.java     | 126 ------
 .../process/traversal/util/BytecodeHelper.java     |   6 +-
 .../gremlin/structure/io/binary/DataType.java      |   1 +
 .../io/binary/TypeSerializerRegistry.java          |   3 +
 .../structure/io/binary/types/EnumSerializer.java  |   1 +
 .../{MonthDaySerializer.java => NSerializer.java}  |  22 +-
 .../structure/io/binary/types/PathSerializer.java  |   4 +-
 .../structure/io/graphson/GraphSONModule.java      |   7 +
 .../io/graphson/GraphSONSerializersV2.java         |  11 +-
 .../io/graphson/GraphSONSerializersV3.java         |  10 +-
 .../io/graphson/TraversalSerializersV2.java        |  34 ++
 .../io/graphson/TraversalSerializersV3.java        |  34 ++
 .../gremlin/structure/io/gryo/GryoVersion.java     |   2 +
 .../gremlin/structure/service/ServiceRegistry.java |   1 -
 .../tinkerpop/gremlin/util/NumberHelper.java       | 102 ++++-
 .../grammar/GeneralLiteralVisitorTest.java         |  35 ++
 .../language/translator/GremlinTranslatorTest.java |  18 +
 .../process/traversal/ContainsBulkSetTest.java     |   9 +-
 .../traversal/step/map/AsNumberStepTest.java       | 398 ++++++++++++++++++
 .../traversal/step/map/DateDiffStepTest.java       |   5 +
 ...versalMergeStepTest.java => MergeStepTest.java} |   2 +-
 .../traversal/step/map/RangeLocalStepTest.java     |  97 +++++
 .../tinkerpop/gremlin/util/NumberHelperTest.java   | 129 ++++++
 .../Process/Traversal/GraphTraversal.cs            |   9 +
 .../Process/Traversal/{Merge.cs => N.cs}           |  39 +-
 .../src/Gremlin.Net/Process/Traversal/__.cs        |   8 +
 .../Structure/IO/GraphBinary/DataType.cs           |   1 +
 .../IO/GraphBinary/TypeSerializerRegistry.cs       |   2 +
 .../IO/GraphBinary/Types/EnumSerializer.cs         |   6 +
 .../Structure/IO/GraphSON/GraphSONReader.cs        |   1 +
 .../{DTDeserializer.cs => NDeserializer.cs}        |   6 +-
 .../Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs |  61 ++-
 .../DriverRemoteConnection/GraphTraversalTests.cs  |  47 +++
 .../Structure/IO/GraphBinary/GraphBinaryTests.cs   |  15 +
 .../Structure/IO/GraphSON/GraphSONReaderTests.cs   |  12 +
 .../Structure/IO/GraphSON/GraphSONWriterTests.cs   |  11 +
 gremlin-go/driver/anonymousTraversal.go            |   5 +
 gremlin-go/driver/connection_test.go               |  54 +++
 gremlin-go/driver/cucumber/gremlin.go              |  61 ++-
 gremlin-go/driver/graphBinary.go                   |   3 +
 gremlin-go/driver/graphTraversal.go                |   6 +
 gremlin-go/driver/serializer.go                    |   2 +
 gremlin-go/driver/traversal.go                     |  36 +-
 gremlin-javascript/build/generate.groovy           |   1 +
 .../lib/process/graph-traversal.js                 |  10 +
 .../gremlin-javascript/lib/process/traversal.js    |   9 +
 .../gremlin-javascript/lib/structure/graph.js      |  10 +-
 .../lib/structure/io/binary/internals/DataType.js  |   1 +
 .../io/binary/internals/EnumSerializer.js          |   1 +
 .../gremlin-javascript/test/cucumber/gremlin.js    |  62 ++-
 .../test/integration/client-tests.js               |  70 +++-
 .../test/integration/traversal-test.js             |  73 ++++
 .../test/unit/graphbinary/AnySerializer-test.js    |   9 +-
 .../test/unit/graphbinary/EnumSerializer-test.js   |   1 +
 .../test/unit/graphbinary/PathSerializer-test.js   |  92 +++++
 .../gremlin-javascript/test/unit/graphson-test.js  |  38 +-
 gremlin-language/src/main/antlr4/Gremlin.g4        |  38 ++
 .../language/corpus/DocumentationReader.java       |   4 +-
 gremlin-python/build/generate.groovy               |   2 +-
 .../gremlin_python/process/graph_traversal.py      |  14 +
 .../python/gremlin_python/process/traversal.py     |  11 +
 .../gremlin_python/structure/io/graphbinaryV1.py   |   8 +-
 gremlin-python/src/main/python/radish/gremlin.py   |  63 ++-
 .../tests/driver/test_driver_remote_connection.py  |  15 +
 .../apache/tinkerpop/gremlin/server/Context.java   |  16 +-
 .../server/GremlinResultSetIntegrateTest.java      |   2 +-
 .../GremlinServerSerializationIntegrateTest.java   |  95 ++++-
 .../process/traversal/step/OrderabilityTest.java   |   6 +-
 .../process/traversal/step/filter/RangeTest.java   |  30 +-
 .../process/traversal/step/filter/TailTest.java    |  30 +-
 .../gremlin/structure/SerializationTest.java       |  29 +-
 .../gremlin/test/features/branch/Repeat.feature    |  46 ++-
 .../{map/Constant.feature => filter/Not.feature}   |  39 +-
 .../gremlin/test/features/filter/Range.feature     |  66 ++-
 .../gremlin/test/features/filter/Tail.feature      |  82 +++-
 .../gremlin/test/features/map/AsNumber.feature     | 303 ++++++++++++++
 .../gremlin/test/features/map/MergeEdge.feature    |  16 +-
 .../gremlin/test/features/map/MergeVertex.feature  |  16 +-
 .../test/features/semantics/Orderability.feature   |  36 +-
 .../org/apache/tinkerpop/gremlin/util/Tokens.java  |   5 +-
 pom.xml                                            |   2 +-
 113 files changed, 3135 insertions(+), 882 deletions(-)
 copy gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/{Scope.java => N.java} (57%)
 create mode 100644 gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AsNumberStep.java
 copy gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/{MergeStep.java => MergeElementStep.java} (97%)
 delete mode 100644 gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/TraversalMergeStep.java
 copy gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/binary/types/{MonthDaySerializer.java => NSerializer.java} (67%)
 create mode 100644 gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AsNumberStepTest.java
 rename gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/{TraversalMergeStepTest.java => MergeStepTest.java} (98%)
 copy gremlin-dotnet/src/Gremlin.Net/Process/Traversal/{Merge.cs => N.cs} (56%)
 copy gremlin-dotnet/src/Gremlin.Net/Structure/IO/GraphSON/{DTDeserializer.cs => NDeserializer.cs} (86%)
 copy gremlin-test/src/main/resources/org/apache/tinkerpop/gremlin/test/features/{map/Constant.feature => filter/Not.feature} (69%)
 create mode 100644 gremlin-test/src/main/resources/org/apache/tinkerpop/gremlin/test/features/map/AsNumber.feature