[ https://issues.apache.org/jira/browse/TINKERPOP-1903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437647#comment-16437647 ]
ASF GitHub Bot commented on TINKERPOP-1903: ------------------------------------------- Github user dkuppitz commented on a diff in the pull request: https://github.com/apache/tinkerpop/pull/833#discussion_r181456678 --- Diff: docs/src/upgrade/release-3.3.x.asciidoc --- @@ -23,6 +23,33 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima == TinkerPop 3.3.2 +*Release Date: NOT OFFICIALLY RELEASED YET* + +Please see the link:https://github.com/apache/tinkerpop/blob/3.3.3/CHANGELOG.asciidoc#release-3-3-3[changelog] for a complete list of all the modifications that are part of this release. + +=== Upgrading for Users + +==== Credential DSL Changes + +The Credential DSL has been modified to work as a standard Java-based Gremlin DSL. The now deprecated old approach +used a "graph wrapping" style that was developed long before the +link:http://tinkerpop.apache.org/docs/current/reference/#gremlin-java-dsl[recommended method] for building DSLs was +published. Under this new model, the DSL is initialized via traversal as follows: + +[source,java] +---- +CredentialTraversalSource credentials = graph.traversal(CredentialTraversalSource.class) +credentials.user("stephen","password").iterate() +credentials.users("stephen").valueMap().next() +credentials.users().count().next() +credentials.user("stephen").drop().iterate() --- End diff -- ``` credentials.users("stephen").drop().iterate() ``` > Credentials DSL should use the Java annotation processor > -------------------------------------------------------- > > Key: TINKERPOP-1903 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1903 > Project: TinkerPop > Issue Type: Improvement > Components: server > Affects Versions: 3.2.7 > Reporter: stephen mallette > Assignee: stephen mallette > Priority: Major > Labels: deprecation > Fix For: 3.3.3 > > > This content is a bit outdated - > http://tinkerpop.apache.org/docs/current/reference/#credentials-dsl > uses the old method of DSL development prior to when we established the > annotation processor - need to fix both the code itself and the documentation. -- This message was sent by Atlassian JIRA (v7.6.3#76005)