Skip to content

Spatial 0.27.1-neo4j-4.1.7

Compare
Choose a tag to compare
@craigtaverner craigtaverner released this 13 Mar 17:41

Port to Neo4j 4.1.7. This is very much like the port to 4.0, and involves the same changes and considerations.
Please read the release notes for that release for a more complete view of the extensive changes required to port to Neo4j 4.x.

In addition, some smaller changes were required to support 4.1.7. Mostly some internal API changes:

  • Transaction type names
  • IndexSeek API change
  • Stricter checks on parameters containing Node objects

This last change means that if we return a Node from one transaction, we cannot pass it into a spatial procedure in another transaction. Users have to either lookup the node again in the new transaction, or use some new procedures we provide here:

  • spatial.addNode.byId
  • spatial.addNodes.byId
  • spatial.removeNode.byId
  • spatial.removeNodes.byId

Also the removeNode procedures now return nodeId instead of node