6.0.0-alpha01
Pre-release
Pre-release
6.0.0-alpha01
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 GQLStatusObjects have been stabilized as a replacement for the deprecatedNotifications. #1285- The GQL-compliant properties
gqlStatus,gqlStatusDescription,diagnosticRecord,classificationandrawClassificationonNeo4jErrorandGQLErrorhave been stabilized. #1286
👏 Improvements
- 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
🔧 Fixes
- The
secondsandnanosecondsproperties onDurationobjects will now not be neo4j.Integer typed if the driver is configured to return native JS numbers or BigInts. #1265
❌ Removals
severityhas been removed from theNotificationclass. #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 Notifications and related functions have been deprecated in favor of the newly stabilizedGQLStatusObjects. #1285