You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2024/10/17 15:32:54 UTC

(tinkerpop) branch master updated: formatting changes for upgrade docs CTR

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

spmallette 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 31aca5d0d8 formatting changes for upgrade docs CTR
     new 62fb6d6ee6 Merge branch '3.7-dev'
31aca5d0d8 is described below

commit 31aca5d0d86aca7a452f29442465262323034e68
Author: Stephen Mallette <st...@amazon.com>
AuthorDate: Thu Oct 17 11:32:22 2024 -0400

    formatting changes for upgrade docs CTR
---
 docs/src/upgrade/release-3.5.x.asciidoc |  2 +-
 docs/src/upgrade/release-3.6.x.asciidoc | 10 ++--
 docs/src/upgrade/release-3.7.x.asciidoc | 83 ++++++++++++++++-----------------
 3 files changed, 44 insertions(+), 51 deletions(-)

diff --git a/docs/src/upgrade/release-3.5.x.asciidoc b/docs/src/upgrade/release-3.5.x.asciidoc
index 6f219f1115..ca98fc845a 100644
--- a/docs/src/upgrade/release-3.5.x.asciidoc
+++ b/docs/src/upgrade/release-3.5.x.asciidoc
@@ -873,7 +873,7 @@ IMPORTANT: The `g.tx()` is only supported in Java at this time. Support for othe
 future releases on the 3.5.x line.
 
 See: link:https://issues.apache.org/jira/browse/TINKERPOP-2537[TINKERPOP-2537],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#transactions[Reference Documentation - Transactions]
+link:https://tinkerpop.apache.org/docs/3.5.0/reference/#transactions[Reference Documentation - Transactions]
 
 ==== Anonymous Child Traversals
 
diff --git a/docs/src/upgrade/release-3.6.x.asciidoc b/docs/src/upgrade/release-3.6.x.asciidoc
index 0ee381d7ef..168c231624 100644
--- a/docs/src/upgrade/release-3.6.x.asciidoc
+++ b/docs/src/upgrade/release-3.6.x.asciidoc
@@ -32,12 +32,8 @@ complete list of all the modifications that are part of this release.
 
 ==== Runtime Updates
 
-`gremlin-python` has upgraded to Python 3.9 as Python 3.8 has passed end of life.
-`gremlin-go` has upgraded to Go 1.22 as Go 1.21 has passed end of life.
-
-
-=== Upgrading for Providers
-
+`gremlin-python` has upgraded to Python 3.9 as Python 3.8 has passed end of life. `gremlin-go` has upgraded to Go 1.22
+as Go 1.21 has passed end of life.
 
 == TinkerPop 3.6.7
 
@@ -745,7 +741,7 @@ See: link:https://issues.apache.org/jira/browse/TINKERPOP-2652[TINKERPOP-2652]
 ==== gremlin-annotations
 
 There is a new module called `gremlin-annotations` and it holds the annotations used to construct
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#gremlin-java-dsl[Java-based Gremlin DSLs]. These annotations
+link:https://tinkerpop.apache.org/docs/3.6.0/reference/#gremlin-java-dsl[Java-based Gremlin DSLs]. These annotations
 were formerly in `gremlin-core` and therefore it will be necessary to modify dependencies accordingly when upgrading
 to 3.6.0. Package and class names have remained the same and general usage is unchanged.
 
diff --git a/docs/src/upgrade/release-3.7.x.asciidoc b/docs/src/upgrade/release-3.7.x.asciidoc
index 8fd5605f63..703cd4990b 100644
--- a/docs/src/upgrade/release-3.7.x.asciidoc
+++ b/docs/src/upgrade/release-3.7.x.asciidoc
@@ -30,23 +30,25 @@ complete list of all the modifications that are part of this release.
 
 === Upgrading for Users
 
-==== GraphBinary Deserialization of Reference Element Properties with ReferenceElementStrategy
-When properties on element were introduced and returned as default in 3.7.0, setting ReferenceElementStrategy on the
-server meant as a way to send reference element without properties, for lightweight wire transfer and compatibility
-reasons. However, an issue was discovered where using GraphBinary, the 3.7.x server were not serializing properties as
-`null` as per IO spec, but as empty lists instead. This caused deserialization failures in Python, JavaScript and Go
+==== GraphBinary Compatibility
+
+When properties on element were introduced and returned as default in 3.7.0, setting `ReferenceElementStrategy` on the
+server provided a way to continue to send references for lightweight wire transfer and compatibility reasons. However,
+an issue was discovered where when using GraphBinary, the 3.7.x server was not serializing properties as `null` as per
+the IO specification, but as empty lists instead. This caused deserialization failures in Python, JavaScript and Go
 driver versions 3.6.x or below.
 
 A fix was introduced to correct such error, where Gremlin Server versions 3.7.3 and above will return element properties
-as `null` when ReferenceElementStrategy is applied, or when `token` is used with `materializedProperties` option in 3.7.x
-drivers. However, this also led to a change in 3.7.x driver behavior, where all non-Java drivers returns `null` instead
-of empty list. As such, an additional change was introduced in these GLVs, where `null` properties from reference elements
-will now deserialized into an empty list, to maintain such behavior with older 3.7.x drivers. This should minimize impact for users.
+as `null` when `ReferenceElementStrategy` is applied, or when `token` is used with `materializedProperties` option in
+3.7.x drivers. However, this also led to a change in 3.7.x driver behavior, where all non-Java drivers returns `null`
+instead of empty list. As such, an additional change was introduced in these GLVs, where `null` properties from
+reference elements will now deserialized into an empty list, to maintain such behavior with older 3.7.x drivers.
 
-One caveat is that when using 3.7.0 to 3.7.2 drivers to connect to 3.7.3 and above server, these drivers will not contain
-the deserialization change and return `null` as properties. In these cases, it is recommended to upgrade to 3.7.3 drivers.
+One caveat is that when using 3.7.0 to 3.7.2 drivers to connect to 3.7.3 and above server, these drivers will not
+contain the deserialization change and return `null` as properties. In these cases, it is recommended to upgrade to
+3.7.3 drivers.
 
-See: link:https://tinkerpop.apache.org/docs/x.y.z/reference/#_properties_of_elements[Properties of Elements],
+See: link:https://tinkerpop.apache.org/docs/3.7.3/reference/#_properties_of_elements[Properties of Elements],
 link:https://issues.apache.org/jira/browse/TINKERPOP-3105[TINKERPOP-3105]
 
 == TinkerPop 3.7.2
@@ -99,7 +101,7 @@ gremlin> g.inject("a").concat(constant("b"))
 ==>ab
 ----
 
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#concat-step[concat()-step]
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#concat-step[concat()-step]
 
 ===== New String Steps asString(), length(), toLower(), toUpper():
 
@@ -168,10 +170,10 @@ gremlin> g.V().values("name").fold().toUpper(local)
 ----
 
 See: link:https://issues.apache.org/jira/browse/TINKERPOP-2672[TINKERPOP-2672],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#asString-step[asString()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#length-step[length()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#toLower-step[toLower()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#toUpper-step[toUpper()-step]
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#asString-step[asString()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#length-step[length()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#toLower-step[toLower()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#toUpper-step[toUpper()-step]
 
 ===== New String Steps trim(), lTrim(), rTrim(), reverse():
 
@@ -221,10 +223,10 @@ gremlin> g.inject(["  hello  ", " world "]).trim(Scope.local)
 ==>[hello,world]
 ----
 
-See: link:https://tinkerpop.apache.org/docs/x.y.z/reference/#trim-step[trim()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#lTrim-step[lTrim()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#rTrim-step[rTrim()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#reverse-step[reverse()-step],
+See: link:https://tinkerpop.apache.org/docs/3.7.1/reference/#trim-step[trim()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#lTrim-step[lTrim()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#rTrim-step[rTrim()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#reverse-step[reverse()-step],
 link:https://issues.apache.org/jira/browse/TINKERPOP-2672[TINKERPOP-2672]
 
 ===== New String Steps replace(), split(), substring()
@@ -295,9 +297,9 @@ gremlin> g.V().hasLabel("person").values("name").substring(-2)
 ==>er
 ----
 
-See: link:https://tinkerpop.apache.org/docs/x.y.z/reference/#replace-step[replace()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#split-step[split()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#substring-step[substring()-step],
+See: link:https://tinkerpop.apache.org/docs/3.7.1/reference/#replace-step[replace()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#split-step[split()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#substring-step[substring()-step],
 link:https://issues.apache.org/jira/browse/TINKERPOP-2672[TINKERPOP-2672]
 
 ===== New String Step format()
@@ -319,7 +321,7 @@ gremlin> g.V(1).format("%{name} has %{_} connections").by(bothE().count())
 ----
 
 See: link:https://issues.apache.org/jira/browse/TINKERPOP-2334[TINKERPOP-2334],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#format-step[format()-step]
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#format-step[format()-step]
 
 ==== List Manipulation Steps
 Additional List manipulation/filter steps have been added to replace the use of closures: `any()`, `all()`, `product()`,
@@ -352,15 +354,15 @@ gremlin> g.V().values("age").fold().conjoin("-")
 ----
 
 See: link:https://issues.apache.org/jira/browse/TINKERPOP-2978[TINKERPOP-2978],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#all-step[all()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#any-step[any()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#product-step[product()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#merge-step[merge()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#intersect-step[intersect()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#combine-step[combine()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#conjoin-step[conjoin()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#difference-step[difference()-step],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#disjunct-step[disjunct()-step]
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#all-step[all()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#any-step[any()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#product-step[product()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#merge-step[merge()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#intersect-step[intersect()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#combine-step[combine()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#conjoin-step[conjoin()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#difference-step[difference()-step],
+link:https://tinkerpop.apache.org/docs/3.7.1/reference/#disjunct-step[disjunct()-step]
 
 ==== Date Manipulation Steps
 
@@ -375,9 +377,9 @@ gremlin> g.inject("2023-08-02T00:00:00Z").asDate().dateAdd(DT.day, 7).dateDiff(d
 ==>604800
 ----
 
-See: link:https://tinkerpop.apache.org/docs/x.y.z/reference/#asDate-step[asDate()-step]
-See: link:https://tinkerpop.apache.org/docs/x.y.z/reference/#dateAdd-step[dateAdd()-step]
-See: link:https://tinkerpop.apache.org/docs/x.y.z/reference/#dateDiff-step[dateDiff()-step]
+See: link:https://tinkerpop.apache.org/docs/3.7.1/reference/#asDate-step[asDate()-step]
+See: link:https://tinkerpop.apache.org/docs/3.7.1/reference/#dateAdd-step[dateAdd()-step]
+See: link:https://tinkerpop.apache.org/docs/3.7.1/reference/#dateDiff-step[dateDiff()-step]
 See: link:https://issues.apache.org/jira/browse/TINKERPOP-2979[TINKERPOP-2979]
 
 ===== `datetime()` for Current Server Time
@@ -407,11 +409,6 @@ removed.
 
 Added a new `@InsertionOrderingRequired` tag which signifies Gherkin feature tests which are reliant on the graph system predictably returning results (vertices, edges, properties) in the same order in which they were inserted into the graph. These tests should be skipped by any graph which does not guarantee such ordering.
 
-==== Graph Driver Providers
-
-
-
-
 == TinkerPop 3.7.0
 
 *Release Date: July 31, 2023*
@@ -882,7 +879,7 @@ See: link:https://issues.apache.org/jira/browse/TINKERPOP-2348[TINKERPOP-2348]
 
 The `SimpleSocketServer` from `gremlin-driver` has been brought into a new module `gremlin-tools/gremlin-socket-server`
 and it has been adapted to be usable by all drivers for testing. See more about creating gremlin socket server tests
-link:https://tinkerpop.apache.org/docs/x.y.z/dev/developer/#gremlin-socket-server-tests[here].
+link:https://tinkerpop.apache.org/docs/3.7.0/dev/developer/#gremlin-socket-server-tests[here].
 
 ===== Mid-traversal E()