Releases: neo4j/neo4j-javascript-driver
6.0.0-alpha01
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 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
5.28.1
5.28.0
Implements caching of home databases, saving significant round trips, primarily for usage against Aura, along with improved error handling, DateTime conversion and a new handshake protocol.
👏🏼 Improvements
- Adds background caching of home databases, saving up to 33% of round trips when the user does not specify a target database. #1235
- Implements a new handshake protocol for Bolt, allowing more granular selection of protocol versions in the future. #1243
🔧 Fixes
5.27.0
Takes mTLS authentication out of preview and improves some aspects of documentation.
⭐ New Features
- Mutual TLS (mTLS) is marked stable and released out of preview #1237
🧹 Housekeeping
5.26.0
5.25.0
5.24.1
Fix critical issue related to connection pool size enforcement. Along with this, other fixes related to connection error treatment are released.
🔧 Fixes
5.24.0
5.23.0
5.22.0
This release introduces preview support to the GQLStatusObject #1194 along with other ergonomic preview features. This also speeds up the driver shutdown when connections are waiting to be acquired #1196, thanks, CarsonF, for the contribution.
⭐ ⚠️ Preview Features
- Introduce GqlStatusObject support as notifications to
ResultSummary
#1194 - Introduce
AbortSignal
toDriver.executeQuery
1199 - Introduce
resultTransformer.first
#1200 - Introduce
resultTransformer.summary
1201 - Introduce
resultTransformers.eager
andresultTransformers.mapped
1202
🔧 Fixes
🧹 Housekeeping
- Improvements on internal APIs #1195