Skip to content

4.0 changelog

Martin edited this page Apr 17, 2020 · 38 revisions

4.0.0a4

  • Configuration max_retry_time is renamed to max_transaction_retry_time
  • Updated examples

4.0.0a3

  • Multi database support (#384)

4.0.0a2

  • Fix for non-blocking sendall (#378)

4.0.0a1

  • neobolt is not a dependency any more.

  • Support for Bolt Protocol 3.0

  • Support for Bolt Protocol 4.0 (Connection Layer Only)

  • Added a Bookmark class

  • Bookmarks are changed from a String to Bookmark object.

  • Added driver.verify_connectivity() method.

  • Exceptions Changes:

    • Removed ConnectionExpired
    • Renamed neo4j.exceptions.CypherError to neo4j.exceptions.Neo4jError
    • Introduced Driver API class hierarchy with Neo4jError and DriverError
    • (Internal API) Introduced Connection API class hierarchy with BoltError (Please raise an issue on github if these surface to the user.)
    • Improved connection failure error message information.
    • Connecting to unsupported Bolt Protocol will raise an error explaining the supported versions available for the driver.
  • Removed transaction.success flag.

    The pattern is no longer valid for a transaction object, tx:

    tx = begin()
    # DO STUFF
    tx.success = True
    tx.close()
    

    Use the pattern instead:

    tx = begin()
    # DO STUFF
    tx.commit()
    
  • Connections are now unencrypted by default; to reproduce former behaviour, add encrypted=True to Driver configuration.

  • The neo4j.v1 subpackage is now no longer available; all imports should be taken from the neo4j package instead.

  • Changed session(access_mode) from a positional to a keyword argument

  • The bolt+routing URI scheme is now named neo4j

  • Added new URI scheme bolt+ssc, this will set the direct driver to be secure and allow self signed sertificates.

  • Added new URI scheme bolt+s, this will set the direct driver to be secure.

  • Added new URI scheme neo4j+ssc, this will set the routing driver to be secure and allow self signed sertificates.

  • Added new URI scheme neo4j+s, this will set the routing driver to be secure.

  • Python 3.8 supported.

  • Python 3.7 supported.

  • Python 3.6 supported.

  • Python 3.5 supported.

  • Python 3.4 support has been dropped.

  • Python 3.3 support has been dropped.

  • Python 3.2 support has been dropped.

  • Python 3.1 support has been dropped.

  • Python 3.0 support has been dropped.

  • Python 2.7 support has been dropped.

Clone this wiki locally