Changelog

This page mirrors the GitHub releases of the Neo4j Connector for Apache Spark, listing headline features, fixes, and breaking changes for every minor and patch release of the 5.x line.

Version 5.4.3 (26 May 2026)

Feature Details

Bug Fixed

Corrected inner escaping of names when generating constraints.

Names are now escaped correctly when the connector generates constraints. See Schema optimization.

Version 5.4.2 (16 Apr 2026)

Feature Details

Bug Fixed

Type constraints now prioritise the target property name.

Generated type constraints now use the target property name in preference to the source field name. See Schema optimization.

Version 5.4.1 (27 Mar 2026)

Feature Details

Feature New

Upgraded to the latest Neo4j 4.x Java driver.

The driver upgrade unblocks the use of a custom URL resolver. See Options and configuration.

Version 5.4.0 (12 Jan 2026)

Feature Details

Functionality Breaking

Type conversion default changed.

Timestamps, intervals, and byte arrays are now converted differently from previous releases. Set the type.conversion reader option to legacy to keep the pre-5.4.0 behavior. See Data type mapping and Migration 5.3 → 5.4.

Functionality Breaking

Strict relationship.properties map.

When relationship.properties is set, only the listed properties are written; previously, unmapped fields were written too. See Writer options and Migration 5.3 → 5.4.

Feature New

Native interval support.

Spark intervals are now mapped to and from the Neo4j Duration type. See Data type mapping.

Feature New

New type.conversion reader option.

Opt back into the legacy conversion logic. See Reader options.

Feature New

Global await for index creation.

Schema optimization can now await index creation globally. See Schema optimization.

Bug Fixed

Return null when no last offset is available while streaming.

See Spark Structured Streaming.

Version 5.3.10 (17 Sep 2025)

Feature Details

Feature New

New skip.null.keys write option.

Adds the skip.null.keys option for write operations.

Feature New

Ability to override the user agent.

The connector’s user agent can now be overridden.

Bug Fixed

Transaction configuration applied to auto-commit transactions.

Transaction configuration is now also applied to auto-commit transactions.

Version 5.3.9 (9 Sep 2025)

Feature Details

Feature New

Support for an authentication token provider.

Adds support for a custom authentication token provider. See Options and configuration.

Bug Fixed

Java 8 compatibility restored in the commons library.

Restores Java 8 compatibility in the commons library.

Version 5.3.8 (5 Jun 2025)

Feature Details

Feature New

Automatic retry logic for reader queries.

Reader queries are now retried automatically to improve reliability. See Reading from Neo4j.

Version 5.3.7 (8 May 2025)

Feature Details

Bug Fixed

Corrected a partition-size computation overflow.

Fixes an overflow in the partition-size computation.

Functionality Changed

Scala 2.12 is now the default build target.

The default build target changed to Scala 2.12. See Installation.

Version 5.3.6 (27 Mar 2025)

Feature Details

Feature New

Support for a transaction timeout on the Neo4j driver.

Adds support for configuring a transaction timeout on the Neo4j driver. See Options and configuration.

Version 5.3.5 (24 Feb 2025)

Feature Details

Feature New

Cypher version prepended to internal queries.

The Cypher version is prepended to internal queries for explicit version selection, guaranteeing compatibility with Neo4j’s calendar-based versions.

Version 5.3.4 (13 Feb 2025)

This is a maintenance release with dependency upgrades.

Version 5.3.3 (24 Jan 2025)

Feature Details

Feature New

Support for Neo4j calendar version 2025.x.

Adds support for the Neo4j 2025.x calendar versions.

Bug Fixed

Connectivity checks via verifyConnectivity.

Connectivity is now validated through verifyConnectivity.

Bug Fixed

Improved partition counting for custom queries that use a limit.

Partition counting is now correct for custom queries that use a limit.

Version 5.3.2 (16 Sep 2024)

Feature Details

Bug Fixed

Checkpointing support on structured streams.

Restores checkpointing support on structured streams. See Streaming checkpoint.

Bug Fixed

Retry logic is now compatible with the driver retry mechanisms.

The connector’s retry logic now aligns with the driver retry mechanisms.

Version 5.3.1 (27 Jun 2024)

Feature Details

Feature New

Ability to exclude node properties from relationships.

Node properties can now be excluded from relationships.

Bug Fixed

Improved schema option validation.

Schema option validation has been improved.

Bug Fixed

Resolver handling during driver construction.

Fixes resolver handling during driver construction.

Version 5.3.0 (9 Feb 2024)

Feature Details

Feature New

Inferred schema type and existence constraints.

Schema type and existence constraints are inferred from the DataFrame definition, with improved management of existing constraints. See Schema optimization.

Feature New

Metrics support on the sink path.

Adds metrics support on the sink path.

Functionality Changed

Improved user-agent and query-error management.

User-agent and query-error management have been improved.

Feature New

The Spark version is now configurable.

The Spark version can now be configured.

Version 5.2.0 (29 Sep 2023)

Feature Details

Functionality Breaking

Spark baseline raised to 3.4.

This release requires Apache Spark 3.4 or later in order to support the new push-down Top N optimization. See the compatibility table and Migration 5.1 → 5.2.

Feature New

Push-down Top N optimization.

Controlled by the pushdown.topN.enabled reader option. See Reader options.

Feature New

Example notebooks / playground.

Example notebooks are available from the Quickstart (the legacy /spark/current/playground/ URL redirects there).

Functionality Changed

Documentation extracted to a separate repository.

The documentation was extracted to a separate repository at neo4j/docs-spark.

Version 5.1.0 (30 Aug 2023)

Feature Details

Functionality Breaking

Spark baseline raised to 3.3.

This release requires Apache Spark 3.3 or later in order to support push-down v2 filters and limit optimizations. 5.1.0 is the last release compatible with Spark 3.3. See the compatibility table and Migration 5.0 → 5.1.

Feature New

Push-down v2 filter support.

Controlled by the pushdown.filters.enabled reader option. See Reader options.

Feature New

Push-down LIMIT support.

Controlled by the pushdown.limit.enabled reader option. See Reader options.

Feature New

First-class support for Graph Data Science (GDS).

Adds first-class support for Graph Data Science (GDS).

Feature New

Bearer authentication support.

Adds support for bearer authentication. See Options and configuration.

Bug Fixed

Handling of datetime properties that have null values.

Fixes handling of datetime properties that have null values.

Bug Fixed

Spark version validation.

Fixes Spark version validation.

Version 5.0.3 (19 Jun 2023)

Feature Details

Bug Fixed

Insertion of the Neo4j Map data type.

Fixes insertion of the Neo4j Map data type.

Bug Fixed

Broken documentation links.

Fixes broken documentation links.

Version 5.0.2 (23 May 2023)

Feature Details

Bug Fixed

Spark version validation failures on AWS EMR and EMR Serverless.

Fixes Spark version validation failures on AWS EMR and EMR Serverless.

Version 5.0.1 (20 Mar 2023)

Feature Details

Bug Fixed

LocalTime and Time fields written as single struct fields.

LocalTime and Time fields are now written as single struct fields instead of individual fields. See Data type mapping.

Version 5.0.0 (7 Oct 2022)

Feature Details

Feature New

First official release supporting Neo4j 5.0 and Neo4j 4.4.

Fully supports Neo4j 5.0 and Neo4j 4.4, including the Neo4j 5.0 indexes and constraints syntax changes.

Feature New

Push-down Aggregate support.

Based on the Spark 3.2 DataSource V2 API and controlled by the pushdown.aggregate.enabled reader option (requires Spark > 3.2.2 due to an upstream Spark bug). See Reader options.

If you run Neo4j 4.3 or earlier, keep using version 4.2 of the connector.