Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 1, 2025

This PR contains the following updates:

Package Change Age Confidence
neo4j-driver 5.8.1 -> 6.0.0 age confidence

Release Notes

neo4j/neo4j-javascript-driver (neo4j-driver)

v6.0.0

Compare Source

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.

❗ Breaking Changes

  • protocolVersion on ServerInfo has been changed from a Number to new type ProtocolVersion. The Number representation would break if Bolt ever had a minor version greater than 9. #​1321
⭐ New Features

  • Add .containsGqlCause() and .findByGqlStatus() to Neo4jError and GQLError, allowing easier inspection of cause chains. #​1314
  • Introduce the UnsupportedType class. 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
⚠️ Preview Features

  • Introduce type validation and mapping to Record, Result and Graph types. A manual entry on this feature will be published in the future. #​1248
❌ Removals

  • Deprecated functions .readTransaction() and .writeTransaction() have been removed from Session. Please use .executeRead() and .executeWrite() instead. #​1312
  • Deprecated function .lastBookmark() has been removed from Session. Please use .lastBookmarks() instead. #​1316
  • Return value of .verifyConnectivity() on Driver has been changed from ServerInfo to void. Please use .getServerInfo() if needed. #​1317
  • Deprecated property .updateStatistics has been removed from ResultSummary. Please use .counters instead. #​1342
👎 Deprecations

  • isRetriableError and the property retriable on Neo4jError has been deprecated, please use isRetryable and retryable instead. #​1305
  • Deprecated notificationCategory and notificationFilterDisabledCategory. use notificationClassification and notificationFilterDisabledClassification instead. #​1326 #​1344
🔧 Fixes

  • 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
👏🏼 Improvements

  • Unify the Vector type .toString() function with the other official neo4j drivers. #​1327
  • Improve the Vector type constructor errors when passed incorrect types. #​1338 #​1343
🧹 Housekeeping

  • Remove notice of change in 6.0 from .fromStandardDate() on Neo4j.Date #​1318
  • Remove unused knownHost from Config interface. #​1335
📦 Dependency Management

  • Bump used TypeScript version to 5.9.2. #​1288
  • Bump rxjs dependency to 7.8.2 #​1332

v5.28.2

Compare Source

Patch release solving error handling for failure-to-writes on the browser version of the driver.

🔧 Fixes

  • Fix error handling failure-to-writes on the browser version of the driver and future proof some error handling functions. #​1328
  • Make neo4j-driver export isRetriableError instead of non-existent isRetryableError #​1309
🧹 Housekeeping

  • Bump dependency rxjs to 7.8.2 #​1331
  • Update docs links in the Readmes #​1308
  • Document undocumented members on GQLError and Neo4jError #​1306
  • Add warning around concurrently closing driver to Readmes #​1264

v5.28.1

Compare Source

Patch release fixing the new handshake for some potential future bolt protocol versions.

🔧 Fixes

  • Fix handshake manifest parsing in preparation of future bolt versions. #​1253

v5.28.0

Compare Source

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

  • Improve handling and error communication when the user supplies a circular object in a custom auth token. #​1247
  • Fix the conversion between driver and JavaScript DateTimes when the local timezone has rare minute offsets from UTC. #​1238

v5.27.0

Compare Source

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

  • Marks the isUnboundRelationship function as private in documentation. #​1234
  • Corrects the usage of the link tag in documentation, fixing some broken links. #​1236
  • Adds notice regarding CALL {} IN TRANSACTION to executeRead and executeWrite. #​1236

v5.26.0

Compare Source

Adds GQL compliant fields to the Neo4jError object as a preview feature.

⭐ New Features

  • Added GQL compliant fields to the Neo4jError object. #​1225
🧹 Housekeeping

  • Marked JavaScripts treatment of Integers and Floats as Number as a Feature for testkit. #​1228

v5.25.0

Compare Source

Housekeeping only.

🧹 Housekeeping

  • Remove DNS caching from testkit browser tests, reducing flakiness #​1224
  • Improvements on error handling #​1220

v5.24.1

Compare Source

Fix critical issue related to connection pool size enforcement. Along with this, other fixes related to connection error treatment are released.

🔧 Fixes

  • Remove un-predictable behaviour on connection failure due to multiple notification of same error #​1213
  • Fix cases where the connection is destroyed on node, but the onclose event is not triggered #​1215
  • Fix maxConnectionPoolSize verification #​1216

v5.24.0

Compare Source

Added support for the new Schema notification category, and a minor fix to stop Deno tests from failing when run locally

⭐ New Features

  • Added Schema notification category #​1211
🧹 Housekeeping

  • Move Pool module to core #​1212
  • Fix to npm test crashing at Deno tests when running test containers #​1210

v5.23.0

Compare Source

This fix a potential issue in the Notification api.

🔧 Fixes

  • Fix Notification.description polyfill from GqlStatusObject #​1205
🧹 Housekeeping

v5.22.0

Compare Source

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 to Driver.executeQuery 1199
  • Introduce resultTransformer.first #​1200
  • Introduce resultTransformer.summary 1201
  • Introduce resultTransformers.eager and resultTransformers.mapped 1202
🔧 Fixes

  • Don't prevent NodeJS from closing to run acquisition timeout error #​1196. Thanks, CarsonF.
🧹 Housekeeping

  • Improvements on internal APIs #​1195

v5.21.0

Compare Source

Fixes crashes when closing transactions when Queries are still ongoing. Thanks for your contribution, @​reckter.

🔧 Fixes

  • Fix OOM crash, when closing a transaction while Queries are still ongoing #​1193

v5.20.0

Compare Source

Housekeeping only.

🧹 Housekeeping

  • benchkit: Fix Node installation in Dockerimage #​1190

v5.19.0

Compare Source

Introduces clientCertificate configuration as a mechanism to support mutual TLS as a second factor for authentication, currently a preview feature.

⭐ New Features

  • Introduce Client Certificate configuration (ℹ️ preview) #​1183
🧹 Housekeeping

  • Updated manifest and Dockerfile for Testkit and Benchkit #​1187

v5.18.0

Compare Source

Introduces auth configuration to Driver.executeQuery

⭐ New Features

  • Introduces auth configuration to Driver.executeQuery#​1177
🧹 Housekeeping

v5.17.0

Compare Source

Improves performance on deserialising DateTime. Thanks for your contribution, @​vongruenigen.

👏🏼 Improvements

  • Optimize usage of Intl API to speed up response parsing with many datetime objects #​1174
🔧 Fixes

  • Fix duplicated neo4j-javascript string on boltAgent.product object 1173

v5.16.0

Compare Source

See release notes on the wiki

v5.15.0

Compare Source

See release notes on the wiki

v5.14.0

Compare Source

See release notes on the wiki

v5.13.0

Compare Source

See release notes on the wiki

v5.12.0

Compare Source

See release notes on the wiki

v5.11.0

Compare Source

See release notes on the wiki

v5.10.0

Compare Source

See release notes on the wiki

v5.9.2

Compare Source

See release notes on the wiki

v5.9.1

Compare Source

See release notes on the wiki

v5.9.0

Compare Source

See release notes on the wiki


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot assigned w4bo Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant