Skip to content

Commit

Permalink
Update release-4.x.x.asciidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ryn5 committed Dec 20, 2023
1 parent 805b16a commit 5cf45d6
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docs/src/upgrade/release-4.x.x.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,22 @@ See: link:https://issues.apache.org/jira/browse/TINKERPOP-3017[TINKERPOP-3017]
Starting from this version, `gremlin-javascript` will deserialize `Set` data into a ECMAScript 2015 Set. Previously,
these were deserialized into arrays.
==== Renaming none() to discard()
`none()`, which was primarily used by `iterate()` to discard traversal results in remote contexts, has been renamed to
`discard()`. In its place is a new list filtering step `none()`, which takes a predicate as an argument and passes lists
with no elements matching the predicate.
==== Improved handling of integer overflows
Integer overflows caused by addition and multiplication operations will throw an exception instead of being silently
skipped with incorrect result.
=== Upgrading for Providers
==== Renaming None Step to Discard
`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.
==== Renaming NoneStep to DiscardStep
NoneStep, which was primarily used by `iterate()` to discard traversal results in remote contexts, has been renamed to
DiscardStep. In its place is a new list filtering NoneStep, which takes a predicate as an argument and passes lists with
no elements matching the predicate.
==== Graph System Providers
Expand Down

0 comments on commit 5cf45d6

Please sign in to comment.