Skip to content

v3.2.32

Compare
Choose a tag to compare
@michael-simons michael-simons released this 25 Mar 14:55
· 548 commits to master since this release
v3.2.32
fa270ec
  • [bug] Don't flatten collections of known entities. (#902)
  • [improvement] Avoid unnecessary creation of builders.

Heads up

60e5f51 (the fix for #902) can lead to breaking changes in some custom queries (all queries having several levels of nested lists of domain objects). They have been incorrectly flattened before that change and their structure will be preserved afterwards.

An example. A query returning

[[n0, n1, n2], [n3], [n4], [n5, n6]]

with n1..6 being known domain objects will be flattened to a [n1, n2, n3, n4, n5, n6] prior to 3.2.32.
The above structure will now be preserved.

This also applies to pattern comprehensions like those:

MATCH (n:Movie{title:'Pulp Fiction'}) return n, [(n)-[r:UNKNOWN]-(p) | [r,p]] as relAndNode

prior to the fix, relAndNode would have been returned as a single array. Now it will be returned as a collection of arrays, exactly what the comprehension states.

See the notes in the linked commit and this comment.