-
Notifications
You must be signed in to change notification settings - Fork 154
6.x changelog
Max Gustafsson edited this page Oct 1, 2025
·
5 revisions
This is GA release for the 6.0 with all the new features and general improvements in the previous alpha. Along with the introduction of the UnknownType object and the preview feature of Record Object Mapping, allowing validation and mapping of query results.
-
protocolVersiononServerInfohas been changed from aNumberto new typeProtocolVersion. TheNumberrepresentation would break if Bolt ever had a minor version greater than 9. #1321
- Add
.containsGqlCause()and.findByGqlStatus()toNeo4jErrorandGQLError, allowing easier inspection of cause chains. #1314 - Introduce the
UnsupportedTypeclass. This class will be returned if the server is asked to send a value of a type which the current driver version cannot parse. This ensures better backwards compatibility for future type intoductions. #1325
- Introduce type validation and mapping to
Record,Resultand Graph types. A manual entry on this feature will be published in the future. #1248
- Deprecated functions
.readTransaction()and.writeTransaction()have been removed fromSession. Please use.executeRead()and.executeWrite()instead. #1312 - Deprecated function
.lastBookmark()has been removed fromSession. Please use.lastBookmarks()instead. #1316 - Return value of
.verifyConnectivity()onDriverhas been changed fromServerInfotovoid. Please use.getServerInfo()if needed. #1317 - Deprecated property
.updateStatisticshas been removed fromResultSummary. Please use.countersinstead. #1342
-
isRetriableErrorand the propertyretriableonNeo4jErrorhas been deprecated, please useisRetryableandretryableinstead. #1305 - Deprecated
notificationCategoryandnotificationFilterDisabledCategory. usenotificationClassificationandnotificationFilterDisabledClassificationinstead. #1326 #1344
- Fixed an issue in error handling which caused crashes on some unexpected errors in connections. #1329
- Move the queuing of channel observer to after message packing is finished. Simplifies the handling of errors during packing so that they surface to the user faster. #1334
- Unify the
Vectortype.toString()function with the other official neo4j drivers. #1327 - Improve the
Vectortype constructor errors when passed incorrect types. #1338 #1343
- Remove notice of change in 6.0 from
.fromStandardDate()onNeo4j.Date#1318 - Remove unused
knownHostfromConfiginterface. #1335
The main goal of this release is to offer a preview for new driver Vector type.
- Support for Bolt 6.0 and the neo4j Vector type has been added. #1293
- ResultTransformers
.eager()and.mapped()have been marked stable. #1287 -
GQLStatusObjects have been stabilized as a replacement for the deprecatedNotifications. #1285 - The GQL-compliant properties
gqlStatus,gqlStatusDescription,diagnosticRecord,classificationandrawClassificationonNeo4jErrorandGQLErrorhave been stabilized. #1286
- Added documentation to members of GQLError and Neo4jError. #1300
- The timeout set with the
connectionAcquisitionTimeoutconfig option now covers the whole process of acquiring a connection, including preceding routing calls. This is to align with the behavior of other languages. #1292 - Duration
toString()format has been updated to align with the stringification in Cypher. #1284
- The
secondsandnanosecondsproperties onDurationobjects will now not be neo4j.Integer typed if the driver is configured to return native JS numbers or BigInts. #1265
-
severityhas been removed from theNotificationclass. #1289
- Deprecated
Date.fromStandardDate()due to the unclear handling of timezones.Date.fromStandardDateLocal()is a drop in replacement, butDate.fromStandardDateUTC()may be more desireable to some users. #1290 - ResultTransformers
.eagerResultsTransformer()and.mappedResultsTransformer()have been deprecated..eager()and.mapped()are drop in replacements. #1287 -
Notifications and related functions have been deprecated in favor of the newly stabilizedGQLStatusObjects. #1285