Support for Python 3.4 has been dropped
Command line functionality has been moved to the separate ipy2neo project
Data type and PackStream functionality has been moved to the separate interchange project
Various experimental modules removed from project
Allow Repository.save for iterables
RelatedObjects.add now returns number of additions performed
Added default constructor for Model objects
Moved third-party library integrations to py2neo.integration namespace
Record content is no longer logged
Routing support has been added for HTTP connections
Improved HTTP connection housekeeping
ConnectionProfileclass has been moved to the root
py2neopackage and a new
ServiceProfilesubclass has also been introduced, providing access to
py2neo.database.workpackage has been removed. This relocates
py2neo.databasepackage is now fully documented under the root
py2neo.data.operationsmodule has been collapsed directly into the
Transactionclass. So instead of, for example, create_subgraph(tx, subgraph) you should now use tx.create(subgraph) directly.
Graph.update()method has been added. This provides execution with retries for Cypher statements that carry out updates (writes), but which do not return results. This method also accepts transaction functions as well as individual queries.
Graph.query()method has been added. This provides execution with retries for Cypher statements that carry out readonly queries, returning results.
Big stability improvements for multithreaded usage.
Cursor.profileattribute has been introduced to provide access to the connection profile under which the originating query was executed.
The py2neo error hierarchy has been given a major overhaul, with most surface-level errors now moved to the
New modules and packages¶
py2neo.exportpackage has been introduced to house all bulk export functionality as well as exports to third party formats. The
Tableclass has also been moved to this package.
py2neo.pep249module has been added, which introduces an interface compatible with the Python DB API 2.0.
Command line tooling¶
Added multi-database support to command line console.
Basic support for Bolt 4.3 has been added, although not all optimisations are yet in place.
Updated Cypher lexer to add support for Cypher 4.2.
Routing support has now matured from experimental to full, allowing Aura and other Neo4j cluster deployments to be used from py2neo.
The project requirements have been adjusted to allow Prompt Toolkit 3.x to be used when using Python 3.5 or above. Previously, this was limited to Prompt Toolkit 2.x for all Python versions, which caused knock-on dependency issues.