Skip to content

TRACKING: Track TinkerPop 3.3.x, 3.4.x, 3.5.x, and 3.6.x changes #115

Open
@krlawrence

Description

@krlawrence

TinkerPop 3.4, 3.5, and 3.6 are all now released; 3.7 is pending. The manuscript needs updating to reflect the latest changes and possibly needs some deprecation warnings as well. This Epic level issue is to track key changes and make sure they do not get forgotten. Many of the items will also have their own issue (linked below).

The TinkerPop changelog is located at: https://github.com/apache/tinkerpop/blob/master/CHANGELOG.asciidoc

Key changes include:
(A strikethrough indicates the item has been completed)

TinkerPop 3.3.4 deprecated some things.

Key changes include:

  • Introduces asc and desc and deprecates incr and decr from Order.

Specific to 3.5.x

  • Null changes
  • g.V() mid traversal no longer allowed. Must just be V()
  • datetime() function now in the grammar
    • g.addV().property('date',datetime('2022-05-01:15:15:00'))
  • g.tx()
  • fold can now merge maps using addAll Add an example showing how to merge two valueMap results #218
  • Translators
  • AIO HTTP in Python GLV
  • Per traverser "bags of anything" using sack
  • Improvements to comparable. Can compare lists etc. (as in order...by)
g.V(3).valueMap('city').sack(assign).by(fold()).V(4).sack(addAll).by(fold()).sack()
==>[[city:[Austin]],v[4]]  

Specific to 3.6.x

Specific to 3.7.0

  • New concat() step
  • union is now a start step
  • mergeV and property improved cardinality support Add a section that introduces mergeV and mergeE #268
  • TinkerGraph transactions (TinkerTransactionGraph)
  • Properties on elements (vs reference elements)
  • Mid traversal E() is now supported

Specific to 3.7.1

  • String functions
    • asString()
    • length()
    • toLower()
    • toUpper()
    • trim()
    • lTrim()
    • rTrim()
    • reverse()
    • replace()
    • split()
    • substring()
  • List and Set functions
    • all()
    • any()
  • Date functions
    • asDate()
    • dateAdd()
    • dateDiff()
    • DT operator

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions