[4/5] tinkerpop git commit: updated upgrade docs.
updated upgrade docs. Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/1f76f1e9 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/1f76f1e9 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/1f76f1e9 Branch: refs/heads/master Commit: 1f76f1e9b1bb3bd980cd3b143228a2c324220477 Parents: 8ff6bdf Author: Marko A. RodriguezAuthored: Wed Sep 27 11:54:17 2017 -0600 Committer: Marko A. Rodriguez Committed: Wed Sep 27 11:54:17 2017 -0600 -- docs/src/upgrade/release-3.3.x.asciidoc | 23 +++ 1 file changed, 23 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/1f76f1e9/docs/src/upgrade/release-3.3.x.asciidoc -- diff --git a/docs/src/upgrade/release-3.3.x.asciidoc b/docs/src/upgrade/release-3.3.x.asciidoc index e677995..f18dcd1 100644 --- a/docs/src/upgrade/release-3.3.x.asciidoc +++ b/docs/src/upgrade/release-3.3.x.asciidoc @@ -29,12 +29,35 @@ Please see the link:https://github.com/apache/tinkerpop/blob/3.3.1/CHANGELOG.asc === Upgrading for Users + Changed Typing on `from()` and `to()` + +The `from()` and `to()` steps of `GraphTraversal` have a `Traversal ` overload. The `E` has been changed to `?` +in order to reduce `< >`-based coersion in strongly type Gremlin language variants. + addV(traversal) and addE(traversal) The `GraphTraversal` and `GraphTraversalSource` methods of `addV()` and `addE()` have been extended to support dynamic label determination upon element creation. Both these methods can take a `Traversal` where the first `String` returned by the traversal is used as the label of the respective element. +[source,groovy] + +gremlin> g = TinkerFactory.createModern().traversal() +==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] +gremlin> g.addV(V().has('name','marko').label()). + property('name','stephen') +==>v[13] +gremlin> g.V().has('name','stephen').valueMap(true) +==>[name:[stephen],label:person,id:13] +gremlin> g.V().has('name','stephen'). + addE(V().hasLabel('software').inE().label()). + to(V().has('name','lop')) +==>e[15][13-created->3] +gremlin> g.V().has('name','stephen').outE().valueMap(true) +==>[label:created,id:15] +gremlin> + + PageRankVertexProgram There were two major bugs in the way in which PageRank was being calculated in `PageRankVertexProgram`. First, teleportation
tinkerpop git commit: updated upgrade docs.
Repository: tinkerpop Updated Branches: refs/heads/TINKERPOP-1793 8ff6bdf44 -> 1f76f1e9b updated upgrade docs. Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/1f76f1e9 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/1f76f1e9 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/1f76f1e9 Branch: refs/heads/TINKERPOP-1793 Commit: 1f76f1e9b1bb3bd980cd3b143228a2c324220477 Parents: 8ff6bdf Author: Marko A. RodriguezAuthored: Wed Sep 27 11:54:17 2017 -0600 Committer: Marko A. Rodriguez Committed: Wed Sep 27 11:54:17 2017 -0600 -- docs/src/upgrade/release-3.3.x.asciidoc | 23 +++ 1 file changed, 23 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/1f76f1e9/docs/src/upgrade/release-3.3.x.asciidoc -- diff --git a/docs/src/upgrade/release-3.3.x.asciidoc b/docs/src/upgrade/release-3.3.x.asciidoc index e677995..f18dcd1 100644 --- a/docs/src/upgrade/release-3.3.x.asciidoc +++ b/docs/src/upgrade/release-3.3.x.asciidoc @@ -29,12 +29,35 @@ Please see the link:https://github.com/apache/tinkerpop/blob/3.3.1/CHANGELOG.asc === Upgrading for Users + Changed Typing on `from()` and `to()` + +The `from()` and `to()` steps of `GraphTraversal` have a `Traversal ` overload. The `E` has been changed to `?` +in order to reduce `< >`-based coersion in strongly type Gremlin language variants. + addV(traversal) and addE(traversal) The `GraphTraversal` and `GraphTraversalSource` methods of `addV()` and `addE()` have been extended to support dynamic label determination upon element creation. Both these methods can take a `Traversal` where the first `String` returned by the traversal is used as the label of the respective element. +[source,groovy] + +gremlin> g = TinkerFactory.createModern().traversal() +==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] +gremlin> g.addV(V().has('name','marko').label()). + property('name','stephen') +==>v[13] +gremlin> g.V().has('name','stephen').valueMap(true) +==>[name:[stephen],label:person,id:13] +gremlin> g.V().has('name','stephen'). + addE(V().hasLabel('software').inE().label()). + to(V().has('name','lop')) +==>e[15][13-created->3] +gremlin> g.V().has('name','stephen').outE().valueMap(true) +==>[label:created,id:15] +gremlin> + + PageRankVertexProgram There were two major bugs in the way in which PageRank was being calculated in `PageRankVertexProgram`. First, teleportation
tinkerpop git commit: Updated upgrade docs for ScriptInputFormat changes from long ago CTR
Repository: tinkerpop Updated Branches: refs/heads/master efce73c11 -> 1229ddc71 Updated upgrade docs for ScriptInputFormat changes from long ago CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/1229ddc7 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/1229ddc7 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/1229ddc7 Branch: refs/heads/master Commit: 1229ddc71a40d76b9cbaf777e00c846b9fa76ea5 Parents: efce73c Author: Stephen MalletteAuthored: Fri Aug 18 07:00:33 2017 -0400 Committer: Stephen Mallette Committed: Fri Aug 18 07:00:33 2017 -0400 -- docs/src/upgrade/release-3.3.x.asciidoc | 11 +++ 1 file changed, 11 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/1229ddc7/docs/src/upgrade/release-3.3.x.asciidoc -- diff --git a/docs/src/upgrade/release-3.3.x.asciidoc b/docs/src/upgrade/release-3.3.x.asciidoc index 21137f1..73fecbf 100644 --- a/docs/src/upgrade/release-3.3.x.asciidoc +++ b/docs/src/upgrade/release-3.3.x.asciidoc @@ -476,6 +476,17 @@ spark.serializer=org.apache.tinkerpop.gremlin.spark.structure.io.gryo.GryoSerial See: link:https://issues.apache.org/jira/browse/TINKERPOP-1389 +ScriptInputFormat +^ + +The API for the script provided to a `ScriptInputFormat` has changed slightly. The signature for `parse(line, factory)` +is now simply `parse(line)`. The inclusion of `factory` was deprecated in 3.1.2. Instead of using the {{factory}} to +get the {{StarGraph}} there is a {{graph}} variable in the glocal context of the script. Simply use that directly in +the script. + +See: link:https://issues.apache.org/jira/browse/TINKERPOP-1137[TINKERPOP-1137], +link:http://tinkerpop.apache.org/docs/3.3.0-SNAPSHOT/reference/#script-io-format[Reference Documentation - Script I/O Format] + Upgrading for Providers ~~~
[24/50] [abbrv] tinkerpop git commit: updated upgrade docs and CHANGELOG. Removed all the 'breaking'-tags in the 3.3.0 CHANGELOG listing for @spmallette.
updated upgrade docs and CHANGELOG. Removed all the 'breaking'-tags in the 3.3.0 CHANGELOG listing for @spmallette. Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/16180e18 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/16180e18 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/16180e18 Branch: refs/heads/TINKERPOP-1389 Commit: 16180e1811038f388fcfbdaf312f36fe2c59f965 Parents: a492f87 Author: Marko A. RodriguezAuthored: Thu Nov 24 05:04:54 2016 -0700 Committer: Marko A. Rodriguez Committed: Thu Nov 24 05:04:54 2016 -0700 -- CHANGELOG.asciidoc | 6 +++--- docs/src/upgrade/release-3.3.x.asciidoc | 16 ++-- 2 files changed, 17 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/16180e18/CHANGELOG.asciidoc -- diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index dba4645..498ef23 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -30,11 +30,11 @@ TinkerPop 3.3.0 (Release Date: NOT OFFICIALLY RELEASED YET) * Added `Vertex`, `Edge`, `VertexProperty`, and `Property` serializers to Gremlin-Python and exposed tests that use graph object arguments. * `Bytecode.getSourceInstructions()` and `Bytecode.getStepInstructions()` now returns `List` instead of `Iterable`. * Added various `TraversalStrategy` registrations with `GryoMapper`. -* Fixed a naming mistake in Gremlin-Python: `IdentityRemoveStrategy` is now called `IdentityRemovalStrategy`. (*breaking*) +* Fixed a naming mistake in Gremlin-Python: `IdentityRemoveStrategy` is now called `IdentityRemovalStrategy`. * Added `TranslationStrategy` test infrastructure that verifies `Bytecode` generated from a translation is equal to the original `Bytecode`. * Moved `NumberHelper` into the `org.apache.tinkerpop.gremlin.util` package. * Added `Pop.mixed` instead of using `null` to represent such semantics. -* `select()`-step now defaults to using `Pop.last` instead of `Pop.mixed`. (*breaking*) +* `select()`-step now defaults to using `Pop.last` instead of `Pop.mixed`. * Removed previously deprecated `Console` constructor that took a `String` as an argument from `gremlin-console`. * Removed previously deprecated `ConcurrentBindings` from `gremlin-groovy`. * Removed previously deprecated `ScriptExecutor` from `gremlin-groovy`. @@ -42,7 +42,7 @@ TinkerPop 3.3.0 (Release Date: NOT OFFICIALLY RELEASED YET) * Removed previously deprecated `GremlinGroovyScriptEngine` constructor that took `ImportCustomizerProvider` as an argument from `gremlin-groovy`. * Removed previously deprecated `GremlinGroovyScriptEngine#plugins()` from `gremlin-groovy`. * Added `OptionalStep` for use with `optional()` to better handle issues associated with branch side-effects. -* `UnfoldStep` now supports unfolding of arrays. (*breaking*) +* `UnfoldStep` now supports unfolding of arrays. * Removed all performance tests that were not part of `gremlin-benchmark`. * Removed dependency on `junit-benchmarks` and it's related reference to `h2`. * Moved the source for the "home page" into the repository under `/site` so that it easier to accept contributions. http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/16180e18/docs/src/upgrade/release-3.3.x.asciidoc -- diff --git a/docs/src/upgrade/release-3.3.x.asciidoc b/docs/src/upgrade/release-3.3.x.asciidoc index c0213d8..e1f42da 100644 --- a/docs/src/upgrade/release-3.3.x.asciidoc +++ b/docs/src/upgrade/release-3.3.x.asciidoc @@ -32,6 +32,17 @@ Please see the link:https://github.com/apache/tinkerpop/blob/3.3.3/CHANGELOG.asc Upgrading for Users ~~~ +GraphTraversal Has-Methods Re-Organized +^^^ + +`GraphTraversal.hasXXX()`, where `XXX` is `Id`, `Label`, `Key`, `Value`, was faulty in that they relied on calling an +intermediate method for flattening `Object[]` arguments and thus, yielding a non 1-to-1 correspondence between `GraphTraversal` +and `Bytecode`. This has been remedied. Most users will not notice this change. Perhaps only some users that may use +Java reflection over `GraphTraversal` might have a simple problem. + + +See: link:https://issues.apache.org/jira/browse/TINKERPOP-1520[TINKERPOP-1520] + SelectStep Defaults to Pop.last ^^^ @@ -47,16 +58,17 @@ Assuming that `x` is not a `Pop` argument: If an explicit `Pop` argument is provided, then no changes are required. -See: https://issues.apache.org/jira/browse/TINKERPOP-1541[TINKERPOP-1541] +See: link:https://issues.apache.org/jira/browse/TINKERPOP-1541[TINKERPOP-1541] OptionalStep
[45/50] [abbrv] tinkerpop git commit: updated upgrade docs and CHANGELOG. Removed all the 'breaking'-tags in the 3.3.0 CHANGELOG listing for @spmallette.
updated upgrade docs and CHANGELOG. Removed all the 'breaking'-tags in the 3.3.0 CHANGELOG listing for @spmallette. Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/16180e18 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/16180e18 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/16180e18 Branch: refs/heads/TINKERPOP-1363 Commit: 16180e1811038f388fcfbdaf312f36fe2c59f965 Parents: a492f87 Author: Marko A. RodriguezAuthored: Thu Nov 24 05:04:54 2016 -0700 Committer: Marko A. Rodriguez Committed: Thu Nov 24 05:04:54 2016 -0700 -- CHANGELOG.asciidoc | 6 +++--- docs/src/upgrade/release-3.3.x.asciidoc | 16 ++-- 2 files changed, 17 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/16180e18/CHANGELOG.asciidoc -- diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index dba4645..498ef23 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -30,11 +30,11 @@ TinkerPop 3.3.0 (Release Date: NOT OFFICIALLY RELEASED YET) * Added `Vertex`, `Edge`, `VertexProperty`, and `Property` serializers to Gremlin-Python and exposed tests that use graph object arguments. * `Bytecode.getSourceInstructions()` and `Bytecode.getStepInstructions()` now returns `List` instead of `Iterable`. * Added various `TraversalStrategy` registrations with `GryoMapper`. -* Fixed a naming mistake in Gremlin-Python: `IdentityRemoveStrategy` is now called `IdentityRemovalStrategy`. (*breaking*) +* Fixed a naming mistake in Gremlin-Python: `IdentityRemoveStrategy` is now called `IdentityRemovalStrategy`. * Added `TranslationStrategy` test infrastructure that verifies `Bytecode` generated from a translation is equal to the original `Bytecode`. * Moved `NumberHelper` into the `org.apache.tinkerpop.gremlin.util` package. * Added `Pop.mixed` instead of using `null` to represent such semantics. -* `select()`-step now defaults to using `Pop.last` instead of `Pop.mixed`. (*breaking*) +* `select()`-step now defaults to using `Pop.last` instead of `Pop.mixed`. * Removed previously deprecated `Console` constructor that took a `String` as an argument from `gremlin-console`. * Removed previously deprecated `ConcurrentBindings` from `gremlin-groovy`. * Removed previously deprecated `ScriptExecutor` from `gremlin-groovy`. @@ -42,7 +42,7 @@ TinkerPop 3.3.0 (Release Date: NOT OFFICIALLY RELEASED YET) * Removed previously deprecated `GremlinGroovyScriptEngine` constructor that took `ImportCustomizerProvider` as an argument from `gremlin-groovy`. * Removed previously deprecated `GremlinGroovyScriptEngine#plugins()` from `gremlin-groovy`. * Added `OptionalStep` for use with `optional()` to better handle issues associated with branch side-effects. -* `UnfoldStep` now supports unfolding of arrays. (*breaking*) +* `UnfoldStep` now supports unfolding of arrays. * Removed all performance tests that were not part of `gremlin-benchmark`. * Removed dependency on `junit-benchmarks` and it's related reference to `h2`. * Moved the source for the "home page" into the repository under `/site` so that it easier to accept contributions. http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/16180e18/docs/src/upgrade/release-3.3.x.asciidoc -- diff --git a/docs/src/upgrade/release-3.3.x.asciidoc b/docs/src/upgrade/release-3.3.x.asciidoc index c0213d8..e1f42da 100644 --- a/docs/src/upgrade/release-3.3.x.asciidoc +++ b/docs/src/upgrade/release-3.3.x.asciidoc @@ -32,6 +32,17 @@ Please see the link:https://github.com/apache/tinkerpop/blob/3.3.3/CHANGELOG.asc Upgrading for Users ~~~ +GraphTraversal Has-Methods Re-Organized +^^^ + +`GraphTraversal.hasXXX()`, where `XXX` is `Id`, `Label`, `Key`, `Value`, was faulty in that they relied on calling an +intermediate method for flattening `Object[]` arguments and thus, yielding a non 1-to-1 correspondence between `GraphTraversal` +and `Bytecode`. This has been remedied. Most users will not notice this change. Perhaps only some users that may use +Java reflection over `GraphTraversal` might have a simple problem. + + +See: link:https://issues.apache.org/jira/browse/TINKERPOP-1520[TINKERPOP-1520] + SelectStep Defaults to Pop.last ^^^ @@ -47,16 +58,17 @@ Assuming that `x` is not a `Pop` argument: If an explicit `Pop` argument is provided, then no changes are required. -See: https://issues.apache.org/jira/browse/TINKERPOP-1541[TINKERPOP-1541] +See: link:https://issues.apache.org/jira/browse/TINKERPOP-1541[TINKERPOP-1541] OptionalStep
[12/12] tinkerpop git commit: updated upgrade docs and CHANGELOG. Removed all the 'breaking'-tags in the 3.3.0 CHANGELOG listing for @spmallette.
updated upgrade docs and CHANGELOG. Removed all the 'breaking'-tags in the 3.3.0 CHANGELOG listing for @spmallette. Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/16180e18 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/16180e18 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/16180e18 Branch: refs/heads/master Commit: 16180e1811038f388fcfbdaf312f36fe2c59f965 Parents: a492f87 Author: Marko A. RodriguezAuthored: Thu Nov 24 05:04:54 2016 -0700 Committer: Marko A. Rodriguez Committed: Thu Nov 24 05:04:54 2016 -0700 -- CHANGELOG.asciidoc | 6 +++--- docs/src/upgrade/release-3.3.x.asciidoc | 16 ++-- 2 files changed, 17 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/16180e18/CHANGELOG.asciidoc -- diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index dba4645..498ef23 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -30,11 +30,11 @@ TinkerPop 3.3.0 (Release Date: NOT OFFICIALLY RELEASED YET) * Added `Vertex`, `Edge`, `VertexProperty`, and `Property` serializers to Gremlin-Python and exposed tests that use graph object arguments. * `Bytecode.getSourceInstructions()` and `Bytecode.getStepInstructions()` now returns `List` instead of `Iterable`. * Added various `TraversalStrategy` registrations with `GryoMapper`. -* Fixed a naming mistake in Gremlin-Python: `IdentityRemoveStrategy` is now called `IdentityRemovalStrategy`. (*breaking*) +* Fixed a naming mistake in Gremlin-Python: `IdentityRemoveStrategy` is now called `IdentityRemovalStrategy`. * Added `TranslationStrategy` test infrastructure that verifies `Bytecode` generated from a translation is equal to the original `Bytecode`. * Moved `NumberHelper` into the `org.apache.tinkerpop.gremlin.util` package. * Added `Pop.mixed` instead of using `null` to represent such semantics. -* `select()`-step now defaults to using `Pop.last` instead of `Pop.mixed`. (*breaking*) +* `select()`-step now defaults to using `Pop.last` instead of `Pop.mixed`. * Removed previously deprecated `Console` constructor that took a `String` as an argument from `gremlin-console`. * Removed previously deprecated `ConcurrentBindings` from `gremlin-groovy`. * Removed previously deprecated `ScriptExecutor` from `gremlin-groovy`. @@ -42,7 +42,7 @@ TinkerPop 3.3.0 (Release Date: NOT OFFICIALLY RELEASED YET) * Removed previously deprecated `GremlinGroovyScriptEngine` constructor that took `ImportCustomizerProvider` as an argument from `gremlin-groovy`. * Removed previously deprecated `GremlinGroovyScriptEngine#plugins()` from `gremlin-groovy`. * Added `OptionalStep` for use with `optional()` to better handle issues associated with branch side-effects. -* `UnfoldStep` now supports unfolding of arrays. (*breaking*) +* `UnfoldStep` now supports unfolding of arrays. * Removed all performance tests that were not part of `gremlin-benchmark`. * Removed dependency on `junit-benchmarks` and it's related reference to `h2`. * Moved the source for the "home page" into the repository under `/site` so that it easier to accept contributions. http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/16180e18/docs/src/upgrade/release-3.3.x.asciidoc -- diff --git a/docs/src/upgrade/release-3.3.x.asciidoc b/docs/src/upgrade/release-3.3.x.asciidoc index c0213d8..e1f42da 100644 --- a/docs/src/upgrade/release-3.3.x.asciidoc +++ b/docs/src/upgrade/release-3.3.x.asciidoc @@ -32,6 +32,17 @@ Please see the link:https://github.com/apache/tinkerpop/blob/3.3.3/CHANGELOG.asc Upgrading for Users ~~~ +GraphTraversal Has-Methods Re-Organized +^^^ + +`GraphTraversal.hasXXX()`, where `XXX` is `Id`, `Label`, `Key`, `Value`, was faulty in that they relied on calling an +intermediate method for flattening `Object[]` arguments and thus, yielding a non 1-to-1 correspondence between `GraphTraversal` +and `Bytecode`. This has been remedied. Most users will not notice this change. Perhaps only some users that may use +Java reflection over `GraphTraversal` might have a simple problem. + + +See: link:https://issues.apache.org/jira/browse/TINKERPOP-1520[TINKERPOP-1520] + SelectStep Defaults to Pop.last ^^^ @@ -47,16 +58,17 @@ Assuming that `x` is not a `Pop` argument: If an explicit `Pop` argument is provided, then no changes are required. -See: https://issues.apache.org/jira/browse/TINKERPOP-1541[TINKERPOP-1541] +See: link:https://issues.apache.org/jira/browse/TINKERPOP-1541[TINKERPOP-1541] OptionalStep and
[31/50] tinkerpop git commit: Updated upgrade docs with name of 3.3.x line CTR
Updated upgrade docs with name of 3.3.x line CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/c7ed10b6 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/c7ed10b6 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/c7ed10b6 Branch: refs/heads/TINKERPOP-1389 Commit: c7ed10b670ff9a51ee58008264bf3cb0bea2047f Parents: 19b5b41 Author: Stephen MalletteAuthored: Thu Oct 20 09:51:44 2016 -0400 Committer: Stephen Mallette Committed: Thu Oct 20 09:51:44 2016 -0400 -- docs/src/upgrade/release-3.3.x.asciidoc | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c7ed10b6/docs/src/upgrade/release-3.3.x.asciidoc -- diff --git a/docs/src/upgrade/release-3.3.x.asciidoc b/docs/src/upgrade/release-3.3.x.asciidoc index 12a6845..a026771 100644 --- a/docs/src/upgrade/release-3.3.x.asciidoc +++ b/docs/src/upgrade/release-3.3.x.asciidoc @@ -18,7 +18,9 @@ limitations under the License. TinkerPop 3.3.0 === -*NEED A NAME* +image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/images/gremlin-mozart.png[width=225] + +*Gremlin Symphony #40 in G Minor* TinkerPop 3.3.0 --- @@ -27,3 +29,5 @@ TinkerPop 3.3.0 Please see the link:https://github.com/apache/tinkerpop/blob/3.3.3/CHANGELOG.asciidoc#release-3-3-0[changelog] for a complete list of all the modifications that are part of this release. +Upgrading for Users +~~~
tinkerpop git commit: Updated upgrade docs with name of 3.3.x line CTR
Repository: tinkerpop Updated Branches: refs/heads/master 19b5b41f1 -> c7ed10b67 Updated upgrade docs with name of 3.3.x line CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/c7ed10b6 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/c7ed10b6 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/c7ed10b6 Branch: refs/heads/master Commit: c7ed10b670ff9a51ee58008264bf3cb0bea2047f Parents: 19b5b41 Author: Stephen MalletteAuthored: Thu Oct 20 09:51:44 2016 -0400 Committer: Stephen Mallette Committed: Thu Oct 20 09:51:44 2016 -0400 -- docs/src/upgrade/release-3.3.x.asciidoc | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c7ed10b6/docs/src/upgrade/release-3.3.x.asciidoc -- diff --git a/docs/src/upgrade/release-3.3.x.asciidoc b/docs/src/upgrade/release-3.3.x.asciidoc index 12a6845..a026771 100644 --- a/docs/src/upgrade/release-3.3.x.asciidoc +++ b/docs/src/upgrade/release-3.3.x.asciidoc @@ -18,7 +18,9 @@ limitations under the License. TinkerPop 3.3.0 === -*NEED A NAME* +image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/images/gremlin-mozart.png[width=225] + +*Gremlin Symphony #40 in G Minor* TinkerPop 3.3.0 --- @@ -27,3 +29,5 @@ TinkerPop 3.3.0 Please see the link:https://github.com/apache/tinkerpop/blob/3.3.3/CHANGELOG.asciidoc#release-3-3-0[changelog] for a complete list of all the modifications that are part of this release. +Upgrading for Users +~~~
[2/3] tinkerpop git commit: Updated upgrade docs.
Updated upgrade docs. Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/56d738ca Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/56d738ca Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/56d738ca Branch: refs/heads/master Commit: 56d738cae77f7e03491e5f7b3192051ae6b6069a Parents: 5cd2bca Author: Daniel KuppitzAuthored: Fri Sep 16 19:09:41 2016 +0200 Committer: Daniel Kuppitz Committed: Fri Sep 16 19:09:41 2016 +0200 -- .../upgrade/release-3.2.x-incubating.asciidoc | 25 1 file changed, 25 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/56d738ca/docs/src/upgrade/release-3.2.x-incubating.asciidoc -- diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc b/docs/src/upgrade/release-3.2.x-incubating.asciidoc index 5db0522..f9c62e2 100644 --- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc +++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc @@ -83,6 +83,31 @@ gremlin> g.V().as('a').out('knows').as('b'). See: link:https://issues.apache.org/jira/browse/TINKERPOP-1330[TINKERPOP-1330] +Change In has() Method Signatures +^ + +The TinkerPop 3.2.2 release unintentionally intoduced a breaking change for some `has()` method overloads. In particular the +behavior for single item array arguments was changed: + +[source,text] + +gremlin> g.V().hasLabel(["software"] as String[]).count() +==>0 + + +Prior this change single item arrays were treated like there was only that single item: + +[source,text] + +gremlin> g.V().hasLabel(["software"] as String[]).count() +==>2 +gremlin> g.V().hasLabel("software").count() +==>2 + + +TinkerPop 3.2.3 fixes this misbehavior and all `has()` method overloads behave like before, except that they no longer +support no arguments. + TinkerPop 3.2.2 ---
tinkerpop git commit: Updated upgrade docs.
Repository: tinkerpop Updated Branches: refs/heads/hasVarargs 5cd2bcaff -> 56d738cae Updated upgrade docs. Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/56d738ca Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/56d738ca Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/56d738ca Branch: refs/heads/hasVarargs Commit: 56d738cae77f7e03491e5f7b3192051ae6b6069a Parents: 5cd2bca Author: Daniel KuppitzAuthored: Fri Sep 16 19:09:41 2016 +0200 Committer: Daniel Kuppitz Committed: Fri Sep 16 19:09:41 2016 +0200 -- .../upgrade/release-3.2.x-incubating.asciidoc | 25 1 file changed, 25 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/56d738ca/docs/src/upgrade/release-3.2.x-incubating.asciidoc -- diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc b/docs/src/upgrade/release-3.2.x-incubating.asciidoc index 5db0522..f9c62e2 100644 --- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc +++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc @@ -83,6 +83,31 @@ gremlin> g.V().as('a').out('knows').as('b'). See: link:https://issues.apache.org/jira/browse/TINKERPOP-1330[TINKERPOP-1330] +Change In has() Method Signatures +^ + +The TinkerPop 3.2.2 release unintentionally intoduced a breaking change for some `has()` method overloads. In particular the +behavior for single item array arguments was changed: + +[source,text] + +gremlin> g.V().hasLabel(["software"] as String[]).count() +==>0 + + +Prior this change single item arrays were treated like there was only that single item: + +[source,text] + +gremlin> g.V().hasLabel(["software"] as String[]).count() +==>2 +gremlin> g.V().hasLabel("software").count() +==>2 + + +TinkerPop 3.2.3 fixes this misbehavior and all `has()` method overloads behave like before, except that they no longer +support no arguments. + TinkerPop 3.2.2 ---