Upgrade from older versions
This page contains the list of new features and breaking changes of the driver from version 4.4 to 5.x. For a full list of changes, see the Driver → Changelog.
The latest driver version of the 5.x series (5.27) is compatible with Neo4j server both 4.4 and 5.x, so you can upgrade the driver before you upgrade the server. At the same time, the driver version 4.4 is forward compatible with Neo4j server 5.x, so you could also upgrade the server before the driver; however, given that it’s easier to roll back an application upgrade than a server upgrade, it’s recommended to start with the driver.
When upgrading the Neo4j server to a newer version, the Cypher queries in your application may also need updating. See Cypher → Deprecations, additions, and compatibility. |
New features
Support for .NET 8The driver supports the .NET Standard 2.0. For supported versions of the .NET Framework, see the .NET Standard page. |
Run transactions with less knowledge of driver’s internalsThe new method For more information, see |
Record to object mappingAllows records to be mapped to objects simply and without endless boilerplate. For more information, see Record to Object Mapping. |
Re-authenticationAllows for handling expiring authentication (backwards compatible) as well as session scoped authentication. For more information, see Re-authentication. |
Mutual TLS (mTLS) as second authentication factor (2FA)Allows for configuring client side TLS certificates to authenticate against the server. |
|
Notification filtering APIFiltering allows to receive only a subset of notifications from the server, and to improve performance server-side. For more information, see NotificationConfig. |
GQL statuses and errorsThe property |
TelemetryThe driver sends anonymous API usage statistics to the server.
Use the driver configuration method See API Telemetry. |
Breaking changes and deprecations
Deprecated features are likely to be removed in version 6.
Version | Message | Status |
---|---|---|
5.0 |
|
Removed |
5.0 |
The new methods behave similarly, but the argument types are different and the new methods do not support the |
Deprecated |
5.0 |
|
Deprecated |
5.0 |
Type |
Deprecated |
5.0 |
|
Deprecated |
5.0 |
Deprecated |
|
5.0 |
|
Deprecated |
5.0 |
|
Deprecated |
5.7 |
|
Deprecated |