Skip to content

Commit

Permalink
Update docs to revert deprecation of none
Browse files Browse the repository at this point in the history
  • Loading branch information
ryn5 committed Dec 18, 2023
1 parent 1f9455e commit 2ac8298
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
* Removed previously deprecated one-arg constructor for `AbstractAuthenticationHandler`.
* Deprecated `withEmbedded()` and `withRemote()` options on `AnonymousTraversalSource`.
* Added `with()` on `AnonymousTraversalSource` to cover both embedded and remote creation options.
* Renamed the deprecated traversal discarding `none()` step to `discard()`.
* Renamed the traversal discarding `none()` step to `discard()`.
* Added new list filtering step `none()`.
* Removed the deprecated `withGraph()` option from `AnonymousTraversalSource`.
Expand All @@ -41,7 +41,6 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
[[release-3-7-2]]
=== TinkerPop 3.7.2 (NOT OFFICIALLY RELEASED YET)
* Deprecated `none()`, which will be renamed to `discard()` in release 4.0.0.
[[release-3-7-1]]
=== TinkerPop 3.7.1 (November 20, 2023)
Expand Down
12 changes: 6 additions & 6 deletions docs/src/upgrade/release-3.7.x.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ complete list of all the modifications that are part of this release.
=== Upgrading for Users
==== Deprecated `none()` Step
`none()`, which is primarily used by `iterate()` to discard traversal results in remote contexts, has been deprecated
and will be renamed to `discard()` in release 4.0.0.
==== Renaming `none()` Step to `discard()`
`none()`, which is primarily used by `iterate()` to discard traversal results in remote contexts, will be renamed to
`discard()` in release 4.0.0.
=== Upgrading for Providers
==== Renaming None Step to Discard
NoneStep, which is primarily used by `iterate()` to discard traversal results in remote contexts, has been deprecated
and will be renamed to DiscardStep in release 4.0.0 to make room for a list filtering NoneStep.
==== Renaming NoneStep to DiscardStep
NoneStep, which is primarily used by `iterate()` to discard traversal results in remote contexts, will be renamed to
DiscardStep in release 4.0.0 to make room for a list filtering NoneStep.
== TinkerPop 3.7.1
*Release Date: November 20, 2023*
Expand Down
2 changes: 1 addition & 1 deletion docs/src/upgrade/release-4.x.x.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ skipped with incorrect result.
=== Upgrading for Providers
==== Renaming None Step to Discard
`none()`, which was deprecated in 3.7.2, has been renamed to `discard()`. In its place will be a new list filtering step
`none()` has been renamed to `discard()`. In its place will be a new list filtering step
`none()`, which takes a predicate as an argument and passes lists with no elements matching the predicate.
Expand Down

0 comments on commit 2ac8298

Please sign in to comment.