Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

Releases: nicolewhite/RNeo4j

v1.6.1

09 Nov 18:45
Compare
Choose a tag to compare

Updates schema functions to work with a breaking change introduced in the 2.3 REST API.

6b22659

v1.6.0

10 Oct 03:04
Compare
Choose a tag to compare

Bug Fixes

cypherToList no longer throws out of bounds exceptions when dealing with empty collections.

4d5ae3d
8760a34

New Features

shortestPath and allShortestPaths now accept the argument direction="all".

b8b6942

v1.5.0

10 Aug 22:47
Compare
Choose a tag to compare

Allow parameters to be passed as lists.

This change applies to:

  • cypher
  • cypherToList
  • createNode
  • getOrCreateNode
  • updateProp
  • deleteProp
  • appendCypher

In general, any function that has the dots argument (...) for accepting an arbitrary amount of key=value pairs for node / relationship properties or parameters can now accept a single list. Previously, you had to do it likes this:

n = createNode(graph, "Person", name="Nicole", age=24)

Now you can do it like this:

props = list(name="Nicole", age=24)
n = createNode(graph, "Person", props)

This is nice if you have a list of things that you want to set as properties or use as parameters.

The following were not updated as they've been deprecated in favor of cypherToList:

  • getNodes
  • getSingleNode
  • getRels
  • getSingleRel
  • getPaths
  • getSinglePath

v1.4.0

12 Jun 21:59
Compare
Choose a tag to compare

cypherToList:

  • allows users to return anything from Cypher queries as a list
  • deprecates getNodes, getSingleNode, getRels, getSingleRel, getPaths, getSinglePath

shortestPath, allShortestPaths:

  • add cost_property as argument
  • deprecates dijkstra, allDijkstra