Repository navigation
Changes in 2.4
Breaking changes
New features
-
Added a
result_as_vectorparameter to thestream,write, andmutateendpoints of the
embedding algorithms (fast_rp,node2vec,hash_gnn, andgraph_sage), as well as their
sessioncomputeendpoints. When enabled, the embeddings are produced as Neo4jVECTOR
values instead of lists of floats. The parameter requires GDS 2026.11 or later. -
Added a
patienceparameter to thetrainandtrain.estimateendpoints of the classic
graph_sageendpoints. An epoch is only stopped early afterpatienceconsecutive iterations
with a loss change belowtolerance. Defaults to1, which keeps the previous behavior. The
parameter requires GDS 2026.11 or later.
Bug fixes
Improvements
- The session (AGA) native projection endpoints now accept a single string as well as a list
for node labels, relationship types and node/relationship properties, matching the plugin surface. - The session algorithm endpoints now expose the compute-only endpoint (
gds.<algorithm>.compute)
as part of their documented interface. It starts a computation as a job without materializing
its result, in addition to the algorithm modes. - Improve robustness of Neo4j DB connection verification.
- The session
page_rank.computeendpoint now acceptsusername, which the other session
endpoints already take. QueryType,AlgorithmCategory,ArrowEndpointVersion, andProtocolVersionare now
StrEnums:str()of a member returns the underlying value (for example,
str(QueryType.USER_ACTION)is"user-action"instead of"QueryType.USER_ACTION"),
and members compare equal to their string values.
Other changes
- The supported
pyarrowrange is now>= 26.0.1, < 27.0. - The
pyarrowminimum is raised so that installations no longer resolve a version with the bundled Brotli vulnerability CVE-2026-111497.