Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency org.neo4j.driver:neo4j-java-driver to v5 #636

Open
wants to merge 1 commit into
base: 8.1.x
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 2, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.neo4j.driver:neo4j-java-driver 4.4.15 -> 5.28.1 age adoption passing confidence

Release Notes

neo4j/neo4j-java-driver (org.neo4j.driver:neo4j-java-driver)

v5.28.1

Compare Source

This in an LTS release.

It fixes a bug with database resolution when using ExecutableQuery with neo4j scheme over Bolt 5.8 or higher.

5.28 API documentation

👏 Improvements

  • Ensure database name on pipelined begin is handled appropriately #​1615

v5.28.0

Compare Source

This in an LTS release.

A new feature in this release is home database resolution cache. Its objective is to reduce the amount of Bolt exchange roundtrips for home database resolution when Bolt protocol 5.8 or higher is used. It is not exposed in the public API and is meant to be an optimisation.

5.28 API documentation

⭐ New Features

  • Introduce home database resolution cache #​1600
👏 Improvements

🔧 Dependency Management

v5.27.0

Compare Source

This release moves the mTLS support to GA status and also brings general improvements and dependency updates.

5.27 API documentation

👏 Improvements

  • Move mTLS support to GA status #​1587
  • Update handling of cancellation state in reactive result #​1583
  • Update result handlers by refactoring the implementation #​1585
  • Notify handler of all errors in RoutedBoltConnection #​1588
  • Ensure BoltConnection does not send signals after summaries are finished #​1592
🔧 Dependency Management

v5.26.3

Compare Source

This is a patch release that includes improvements in routing handling.

5.26 API documentation

👏 Improvements

  • Update RoutedBoltConnectionProvider #​1582

v5.26.2

Compare Source

This is a patch release that includes general improvements and dependency updates.

5.26 API documentation

👏 Improvements

  • Allow subsequent errors in BoltConnectionWithAuthTokenManager #​1579
  • Update RxResultCursorImpl #​1580
🔧 Dependency Management

v5.26.1

Compare Source

This is a patch release that includes Bolt refactoring and dependency updates.

5.26 API documentation

👏 Improvements

🔧 Dependency Management

v5.26.0

Compare Source

This release brings a preview support for GQL Errors.

With this update, Neo4jException gets the following additional GQL metadata:

  • GQLSTATUS
  • GQLSTATUS description
  • GQL diagnostic record
  • GQL error cause

The additional metadata is exposed via the following new methods respectively:

String gqlStatus();

String statusDescription();

Map<String, Value> diagnosticRecord();

Optional<Neo4jException> gqlCause();

In addition, the following getters have been added for extracting a vendor-specific classification from the GQL diagnostic record:

Optional<GqlStatusErrorClassification> classification();

Optional<String> rawClassification();

5.26 API documentation

⭐ New Features

  • Add preview support for GQL Errors #​1559
🔧 Dependency Management

v5.25.0

Compare Source

This update includes a general optimisation and dependency updates.

5.25 API documentation

👏 Improvements

  • Delete results from transaction results holder when fully consumed #​1571
🔧 Dependency Management

v5.24.0

Compare Source

This is a planned minor update release that includes improvements and dependency updates.

5.24 API documentation

👏 Improvements

  • Add host-only factory using default port to ServerAddress #​1566
  • Add NotificationClassification.SCHEMA #​1567
🔧 Dependency Management

v5.23.0

Compare Source

This release introduces a Bolt 5.6 support and includes dependency updates.

5.23 API documentation

⭐ New Features

🔧 Dependency Management

v5.22.0

Compare Source

This release introduces a preview support for GQL-status objects and includes dependency updates.

5.22 API documentation

⭐ New Features

  • Add support for GQL-status objects #​1555
🔧 Dependency Management

v5.21.0

Compare Source

This is a planned minor update release that includes dependency updates.

5.21 API documentation

🔧 Dependency Management

v5.20.0

Compare Source

This is a planned minor update release that includes dependency updates.

5.20 API documentation

🔧 Dependency Management

v5.19.0

Compare Source

This release introduces mTLS support preview and includes dependency updates.

5.19 API documentation

⭐ New Features

🔧 Dependency Management

v5.18.0

Compare Source

This is a planned minor update release that includes a new feature and a general improvement.

5.18 API documentation

⭐ New Features

  • Introduce an override AuthToken support to ExecutableQuery #​1532
👏 Improvements

  • Add clarification to the driver close and closeAsync methods #​1537
✅ Testkit

  • TestKit: Skip IPv6 test for now #​1535
🔧 Dependency Management

v5.17.0

Compare Source

This is a planned minor update release that includes several general improvements.

5.17 API documentation

👏 Improvements

  • Update bolt agent language details handling #​1530
  • Fix Bolt handshake write handling and timeout management #​1528
  • Fix inline logging example #​1523
  • Clarify behavior of executeWriteWithoutResult() #​1524
🔧 Dependency Management

v5.16.0

Compare Source

This is a planned minor update release that includes 2 general improvements.

5.16 API documentation

👏 Improvements

  • Add transaction timeout and metadata options to QueryConfig #​1506
  • Fix liveness checking for unresponsive connections #​1514
🔧 Dependency Management

v5.15.0

Compare Source

This is a planned minor update release that includes several general improvements.

5.15 API documentation

👏 Improvements

  • Rename reflection-config.json to reflect-config.json #​1507
  • Update build-resources to 5.13.0 and update license headers #​1497
✅ Testkit

  • Update Dockerfile #​1501
  • Update TestkitRequestProcessorHandler to adhere to req/res pattern #​1500
  • Update ResponseQueueHanlder to handle multiple requests sequentially #​1503
🔧 Dependency Management

v5.14.0

Compare Source

This release makes the AuthToken rotation and session auth support API GA. #​1495

In addition, 2 new notification categories have been introduced. Please note that a compatible server version is required to use the new categories. #​1490

5.14 API documentation

👏 Improvements

  • Make AuthToken rotation and session auth support API GA #​1495
  • Add SECURITY and TOPOLOGY notification categories #​1490
  • Migrate to 2023.2.3 inspection engine #​1494
🔧 Dependency Management

v5.13.0

Compare Source

This is a planned minor update release that includes a new feature and several general improvements.

5.13 API documentation

⭐ New Features

👏 Improvements

  • Improve transaction timeout docs #​1486
  • Docs: improve wording around transaction timeout #​1488
🔧 Dependency Management

v5.12.0

Compare Source

This release includes an optimisation that removes a network roundtrip in the ExecutableQuery. #​1482

By removing the round trip when using the ExecutableQuery the network overhead of running the query is reduced by up to 1/3rd. Most benefit will be seen when running lots of single queries with few records that complete quickly on the server.

In addition, the token rotation API has been updated. #​1481

5.12 API documentation

👏 Improvements

🔧 Dependency Management

v5.11.0

Compare Source

This update introduces cancellation support to the ReactiveSession.run methods. This aims to ensure that the transaction is rolled back and the acquired connection is returned back to the connection pool. #​1457

In addition, the driver will round up sub millisecond values in the transaction timeout configuration. #​1451

Furthermore, an experimental BlockHound integration has been introduced. #​1450

5.11 API documentation

👏 Improvements

🔧 Dependency Management

v5.10.0

Compare Source

This is a planned minor update release that includes several general improvements.

5.10 API documentation

👏 Improvements

  • Notify handlers of a failure on graceful pool closure #​1442
  • Fix logging IP version 6 addresses with scope in RediscoveryImpl #​1435
  • Update Maven to 3.9.2 #​1434
  • Update version #​1440
  • Update version to 5.9-SNAPSHOT #​1431
🔧 Dependency Management

v5.9.0

Compare Source

This is a planned minor update release that includes a new feature and several general improvements.

5.9 API documentation

⭐ New Features

👏 Improvements

  • Set versions-maven-plugin to 2.15.0 #​1420
  • Throw exception upon returning Result in managed transaction API #​1422
  • Update invalid bookmark tests #​1426
🔧 Dependency Management

v5.8.0

Compare Source

This release introduces a new preview feature called AuthToken rotation and session auth support. See a dedicated discussion for more details.

In addition, the following APIs have been moved out of the preview status to GA:

  • Bookmark Manager API
  • Driver Level Queries API

5.8 API documentation

⭐ New Features

👏 Improvements

  • Include NotificationConfig on BEGIN message for bolt scheme #​1404
  • Update version to 5.8-SNAPSHOT #​1403
  • Fix build warnings #​1418
✅ Testkit

  • Allow null access mode in Testkit NewSession #​1405
  • Introduce Testkit backend logging level support #​1406
  • Update Teskit Dockerfile #​1412
🔧 Dependency Management

v5.7.0

Compare Source

The main feature of the new release is an ability to specify notifications configuration.

It is now possible to configure a minimum notification severity level and/or a set of disabled notification categories to manage notifications supplied by the server both on the driver level and on the session level. It is also possible to disable all notifications.

For more details on this feature, please see the #​1396 update and the API documentation.

The org.neo4j.driver:neo4j-java-driver-all artifact includes an explicit module declaration for Java Platform Module System (JMPS).

5.7 API documentation

⭐ New Features

  • Introduce notification configuration, severity and category #​1396
👏 Improvements

  • Introduce a preview feature status #​1400
  • Seal AuthToken interface #​1389
  • Export org.neo4j.driver.exceptions.value #​1395
  • Align driver with latest revision of ExecuteQuery ADR #​1377
  • Use moditect plugin to re-add module-info after it has been nuked by the shade plugin #​1348
  • Make the shaded artifact compile as a module #​1388
  • Update Maven SCM data #​1384
  • Update version to 5.7-SNAPSHOT #​1386
  • Update TemporalUtil.EXCLUDED_ZONE_IDS for testing #​1392
  • Add temporary internal only reset capability #​1394
  • [Internal] Allow interrupt for already interrupted transaction #​1397
✅ Testkit

  • Fix skipped test name #​1391
  • Remove whitelisted Testkit server configs #​1399
  • TestKit: skip bolt handshake timeout tests #​1398
🔧 Dependency Management

v5.6.0

Compare Source

This is a planned minor update release that includes several general improvements.

👏 Improvements

  • Unmark TypeSystem as experimental #​1376
  • Update internal driver clock usage #​1375
  • Rename Driver.queryBookmarkManager() to Driver.queryTaskBookmarkManager() #​1373
  • Update clirr configuration to check against previous version #​1381
  • Improve Javadoc #​1382
  • Update version to 5.5-SNAPSHOT #​1370
🔧 Dependency Management

v5.5.0

Compare Source

The main feature of this release is a new experimental API that offers a convenient query execution option within a managed transaction with automatic retries on errors eligible for retrying.

Sample usage:

var eagerResult = driver.queryTask("CREATE (n{field: $value}) RETURN n")
                    .withParameters(Map.of("value", "5"))
                    .execute();

In addition, it is also possible to provide a java.util.stream.Collector implementation to collect Records to a desired final value:

var result = driver.queryTask("UNWIND range(0, 5) as N RETURN N")
        .execute(Collectors.mapping(record -> record.get("N").asLong(), Collectors.toList()));

See the QueryTask documentation for more details.

If you would like to share your feedback on this new API, please see the following discussion.

⭐ New Features

👏 Improvements

  • Stop printing stacktrace in GraphDatabaseTest #​1364
🔧 Dependency Management

v5.4.0

Compare Source

This is a planned minor update release.

👏 Improvements

  • Update supported versions in README #​1363
🔧 Dependency Management

v5.3.1

Compare Source

This is a mainly an internal refinement release that brings several improvements and dependency updates.

👏 Improvements

  • Release connection on reactive beginTransaction cancellation #​1341
  • Exclude test code in snyk code analysis #​1344
  • Allow supplying a Rediscovery implementation #​1350
  • Update Testkit tests Docker setup #​1351
  • Make more error codes fail fast during the rediscovery #​1354
  • Add 2 access options to Config and refactor DriverFactory #​1356
  • Update maven-bundle-plugin to 5.1.8 #​1357
✅ Testkit

  • TestKit backend: except txMeta as Cypher types #​1349
🔧 Dependency Management

v5.3.0

Compare Source

This is a refinement release that brings several improvements and dependency updates.

The BookmarkManager API has been simplified by removing the need of specifying the database.

Please also see the NODES 2022 session recording that goes over the version 5 updates.

👏 Improvements

🔧 Dependency Management

v5.2.0

Compare Source

This is a refinement release that brings several new features, improvements and dependency updates.

This update introduces a new reactive session org.neo4j.driver.reactivestreams.ReactiveSession that is similar to the deprecated org.neo4j.driver.reactive.RxSession and includes improvements introduced with org.neo4j.driver.reactive.ReactiveSession.

Following these updates, the driver supports 2 reactive sessions:

  • org.neo4j.driver.reactive.ReactiveSession - uses Java Flow API
  • org.neo4j.driver.reactivestreams.ReactiveSession - uses Reactive Streams API

In addition, this update brings new methods for session instantiation. See the sample usage below:

var synchronousSession = driver.session(Session.class);
var asynchronousSession = driver.session(AsyncSession.class);
var reactiveSession1 = driver.session(org.neo4j.driver.reactive.ReactiveSession.class);
var reactiveSession2 = driver.session(org.neo4j.driver.reactivestreams.ReactiveSession.class);
var reactiveSession3 = driver.session(org.neo4j.driver.reactive.RxSession.class);

The following methods have been deprecated:

  • asyncSession
  • reactiveSession

Driver's TypeSystem is now accessible via TypeSystem.getDefault().

⭐ New Features

  • Introduce new session instantiation methods #​1326
  • Introduce new Reactive Streams session #​1325
  • Add getInstance to TypeSystem #​1323
👏 Improvements

🔧 Dependency Management

v5.1.0

Compare Source

This is a refinement release that brings several general improvements and dependency updates.

👏 Improvements

  • Delete superflous subsitutions #​1312
  • Make container runtime expected in build environment #​1315
✅ Testkit

🔧 Dependency Management

v5.0.0

Compare Source

This release brings news features, general improvements and dependency updates.

The driver has been upgraded to Java 17 and it is the baseline Java version for this release.

The org.neo4j.driver:neo4j-java-driver artifact no longer includes shaded Netty and Project Reactor dependencies and replaces the org.neo4j.driver:neo4j-java-driver-slim introduced in 4.4 series.

A new org.neo4j.driver:neo4j-java-driver-all artifact includes shaded Netty and Project Reactor dependencies dependencies and is similar to the original packaging of the org.neo4j.driver:neo4j-java-driver before this update.

The org.neo4j.driver:neo4j-java-driver includes an explicit module declaration for Java Platform Module System (JMPS). The module name remains unchanged.

A new ReactiveSession has been introduced that includes API improvement and is based on Java Flow API. The RxSession has been deprecated.

A RetryableException marker interface has been introduced to enable easier checking of retryable driver exceptions.

A new experimental BookmarkManager feature has been introduced to allow simpler bookmark management, including multi-session level. This is an opt-in feature that is available via SessionConfig.

See the lists below for more details and links to updates.

⭐ New Features

  • Introduce BookmarkManager #​1285 #​1290 #​1291 #​1292 #​1296
  • Add support for sending datetime values in UTC #​1247
  • Add 5.0 changelog to README #​1232
  • Make BasicPullResponseHandler support emitting signals in and out lock #​1233
  • Deprecate GraphDatabase.routingDriver #​1239
  • Add licenses verification #​1238
  • Update tests using dbms.listTransactions() #​1244
  • Add transaction interruption support for internal use #​1242
  • Add support for multiple certificate files #​1153
  • Micrometer metrics #​1137
  • Add support for Bolt 5 #​1181
  • Add exceptions to numeric id accessors in nodes and relationships #​1192
  • Introduce new managed transaction methods and deprecate existing ones #​1196
  • Introduce new reactive session with updated API #​1208 #​1295
  • Update bookmarks API #​1211
  • Add RetryableException interface #​1219
👏 Improvements

  • Update to Java 17 #​1264
  • Update native-image.properties #​1265
  • Update Neo4j build-resources and delete build/notice-asl-prefix.txt #​1272
  • Defer unknown zone information failures to datetime value access stage #​1273
  • Enable compilation failures on warnings #​1275 #​1276 #​1277 #​1279 #​1302
  • Add Java module declaration for neo4j-java-driver #​1274
  • Update RevocationStrategy name to RevocationCheckingStrategy #​1283
  • Delete deprecated routingDriver #​1289
  • Add final to public API #​1293
  • Update shouldExposeResultSummaryForExplainQuery test assertions #​1299
  • Turn off hostname verification for trustAllCertificates TrustStrategy #​1301
  • Wrap checked exceptions when rethrowing async exception #​1245
  • Delete Neo4jException.neo4jErrorCode and update documentation #​1249
  • Update Neo4jSettings for 5.0 server #​1254
  • Migrate tests depending on Boltkit to use Docker #​1256
  • Remove null handling for Node/Relationship Ids #​1240
  • Do not allow mixing UTC and legacy datetime and throw ProtocolException on unknown struct types #​1260
  • Turn off UTC tests until server implementation is available #​1262
  • Update Java driver to 5.0 #​1099
  • Exclude US/Pacific-New from randomized timezones #​1105
  • fix: Check for equality of value instead of equality of instance #​1100
  • Update readme to include command for running Testkit test #​1106
  • Allow tx timeout to be 0 or null #​1108
  • Add transaction close support to async and reactive APIs #​1119
  • Remove deprecated ServerVersion #​1126
  • Delete InitMessage and RunMessage #​1129
  • Make MapAccessorWithDefaultValue extend MapAccessor #​1148
  • Delete Session.reset #​1149
  • Delete ConfigBuilder.withRoutingFailureLimit and ConfigBuilder.withRoutingRetryDelay #​1151
  • Permit dev agent suffix in tests and update password management #​1159
  • Update tests to reflect breaking changes in 5.0 #​1163
  • Add safety checks to Config.TrustStrategy.trustCustomCertificateSignedBy #​1172
  • Add substitutions for DriverFactory#getOrCreateMetricsProvider #​1189
  • Add ability of checking if result handle is open #​1194
  • Fix more test that fail due to cypher deprecation removals #​1167
  • Avoid TrustManagerFacotry.init(ManagerFactoryParameters var1) if no OSCP has been configured #​1168
  • Throw ProtocolException when QueryType is unknown #​1193
  • Migrate LoadCSVIT to CALL {} IN TRANSACTIONS for newer server #​1200
  • Expose transaction open status in AsyncTransaction and RxTransaction #​1199
  • Fix server configuration affecting 5.0 builds #​1212
  • Migrate RoutingExamplesIT to Testcontainers #​1215
  • Update LoadCSVIT.shouldLoadCSV to work with 5.0 #​1216
  • Add Pacific/Kanton to EXCLUDED_ZONE_IDS in tests #​1217
  • Add Asia/Gaza to EXCLUDED_ZONE_IDS in tests #​1218
  • Add Antarctica/Macquarie to EXCLUDED_ZONE_IDS in tests #​1221
  • Stop shading dependencies in neo4j-java-driver package #​1222
  • Migrate java-driver-rx-tck #​1224
  • Add TCK tests for ReactiveResult and ReactiveResult Record #​1226
  • Add spotless-maven-plugin for Java formatting #​1227
  • Add flag for CausalClusteringStressIT #​1220
✅ Testkit

  • Skip more unknown timezone tests #​1269
  • Reduce build log sizes by removing download progress stats #​1271
  • Add TestKit test skip #​1281
  • Unskip test_trusted_ca_correct_hostname #​1251
  • TestKit backend: add full support for temporal types #​1257
  • Add Temporary:CypherPathAndRelationship support in Testkit backend #​1107
  • Add Temporary:FullSummary support in Testkit backend #​1109
  • Add Temporary:ResultKeys support in Testkit backend #​1113
  • TestKit: send error message or driver creation error #​1125
  • Add Result.peek support to TestKit back end #​1110
  • Un-skip test_should_reject_server_using_verify_connectivity_bolt_3x0 in async backend #​1127
  • Enable Optimization:EagerTransactionBegin #​1150
  • Add support for Feature:API:Driver.IsEncrypted Testkit feature #​1152
  • Add support for Feature:TLS:1.3 Testkit feature #​1155
  • TestKit tx lifetime #​1154
  • Remove 4.0 Testkit feature flag #​1135
  • Fix missing exception conversion in TestKit backend #​1175
  • Remove "Temporary:ConnectionAcquisitionTimeout" TestKit flag #​1179
  • Add support for Optimization:ImplicitDefaultArguments feature #​1201
  • TestKit: remove temporary feature flags #​1206
  • Implement result single in sync and async Testkit backends #​1210
  • Skip test_trusted_ca_correct_hostname test #​1213
  • Migrate ITs to Testkit #​1214
🔧 Dependency Management

v4.4.19

Compare Source

This is a refinement release that brings dependency updates.

4.4 API documentation

🔧 Dependency Management

v4.4.18

Compare Source

This is a refinement release that brings dependency updates.

4.4 API documentation

🔧 Dependency Management

v4.4.17

Compare Source

This is a refinement release that brings dependency updates.

4.4 API documentation

🔧 Dependency Management

v4.4.16

Compare Source

This is a refinement release that brings dependency updates.

4.4 API documentation

🔧 Dependency Management


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 force-pushed the renovate/major-neo4jdriverversion branch from 7cef289 to 84bc7da Compare March 6, 2024 17:05
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch from 84bc7da to 4854435 Compare April 2, 2024 19:26
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch from 4854435 to b5de30d Compare April 10, 2024 06:41
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch from b5de30d to 8cfb5ce Compare April 25, 2024 22:37
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch from 8cfb5ce to 679d57c Compare May 30, 2024 21:02
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch from 679d57c to f1b5c3b Compare June 28, 2024 00:12
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch from f1b5c3b to a6c404c Compare July 25, 2024 13:20
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch from a6c404c to 46b7672 Compare August 29, 2024 14:46
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch from 46b7672 to e72d064 Compare September 26, 2024 15:49
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch from e72d064 to 10bdbe6 Compare October 14, 2024 19:27
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch from 10bdbe6 to 75e8991 Compare October 30, 2024 17:37
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch 2 times, most recently from b806a6a to 7a42240 Compare November 12, 2024 17:59
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch from 7a42240 to 13f481f Compare November 28, 2024 17:25
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch from 13f481f to aec8766 Compare February 5, 2025 10:56
@renovate renovate bot force-pushed the renovate/major-neo4jdriverversion branch from aec8766 to 0f93aab Compare February 6, 2025 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant