6.0.0-alpha01
⚠️ This is an experimental release. It may completely change in the future.
It is not guaranteed to include all breaking changes that will be present in 6.0.0
The main goal of this release is to offer a preview for new driver Vector
type.
⭐ New Features
- Support for Bolt 6.0 and the neo4j Vector type has been added. #1293
- ResultTransformers
.eager()
and.mapped()
have been marked stable. #1287 GQLStatusObject
s have been stabilized as a replacement for the deprecatedNotification
s. #1285- The GQL-compliant properties
gqlStatus
,gqlStatusDescription
,diagnosticRecord
,classification
andrawClassification
onNeo4jError
andGQLError
have been stabilized. #1286
👏 Improvements
- Added documentation to members of GQLError and Neo4jError. #1300
- The timeout set with the
connectionAcquisitionTimeout
config 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
🔧 Fixes
- The
seconds
andnanoseconds
properties onDuration
objects will now not be neo4j.Integer typed if the driver is configured to return native JS numbers or BigInts. #1265
❌ Removals
severity
has been removed from theNotification
class. #1289
👎 Deprecation
- Deprecated
Date.toStandardDate()
due to the unclear handling of timezones.Date.toStandardDateLocal()
is a drop in replacement, butDate.toStandardDateUTC()
may be more desireable to some users. #1290 - ResultTransformers
.eagerResultsTransformer()
and.mappedResultsTransformer()
have been deprecated..eager()
and.mapped()
are drop in replacements. #1287 Notification
s and related functions have been deprecated in favor of the newly stabilizedGQLStatusObject
s. #1285