gorm-neo4j
gorm-neo4j copied to clipboard
fix(deps): update dependency org.neo4j.driver:neo4j-java-driver to v5 - abandoned
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| org.neo4j.driver:neo4j-java-driver | 4.4.15 -> 5.28.2 |
Release Notes
neo4j/neo4j-java-driver (org.neo4j.driver:neo4j-java-driver)
v5.28.2
This in an LTS release.
It brings dependency updates.
β Testkit
- TestKit: skip one of the newly added summary tests #β1617
π§ Dependency Management
v5.28.1
This in an LTS release.
It fixes a bug with database resolution when using ExecutableQuery with neo4j scheme over Bolt 5.8 or higher.
π Improvements
- Ensure database name on pipelined begin is handled appropriately #β1615
v5.28.0
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.
β New Features
- Introduce home database resolution cache #β1600
π Improvements
- Improve transaction failure handling #β1598
- Update ExponentialBackoffRetryLogic #β1603
- Fix thread safety in Neo4jBookmarkManager #β1604
- Update
Neo4jException.gqlCause#β1608 - Add support for Bolt Protocol Handshake Manifest v1 #β1605
- Internal updates #β1590 #β1596 #β1609 #β1610 #β1611 #β1612 #β1613
π§ Dependency Management
- Update dependencies #β1614
v5.27.0
This release moves the mTLS support to GA status and also brings general improvements and dependency updates.
π 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
This is a patch release that includes improvements in routing handling.
π Improvements
- Update RoutedBoltConnectionProvider #β1582
v5.26.2
This is a patch release that includes general improvements and dependency updates.
π Improvements
- Allow subsequent errors in BoltConnectionWithAuthTokenManager #β1579
- Update RxResultCursorImpl #β1580
π§ Dependency Management
- Update dependencies #β1581
v5.26.1
This is a patch release that includes Bolt refactoring and dependency updates.
π Improvements
π§ Dependency Management
- Update dependencies #β1577
v5.26.0
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();
β New Features
- Add preview support for GQL Errors #β1559
π§ Dependency Management
- Update dependencies #β1573
v5.25.0
This update includes a general optimisation and dependency updates.
π Improvements
- Delete results from transaction results holder when fully consumed #β1571
π§ Dependency Management
- Update dependencies #β1572
v5.24.0
This is a planned minor update release that includes improvements and dependency updates.
π Improvements
- Add host-only factory using default port to ServerAddress #β1566
- Add NotificationClassification.SCHEMA #β1567
π§ Dependency Management
- Update dependencies #β1568
v5.23.0
This release introduces a Bolt 5.6 support and includes dependency updates.
β New Features
- Add Bolt 5.6 #β1562
π§ Dependency Management
- Update dependencies #β1563
v5.22.0
This release introduces a preview support for GQL-status objects and includes dependency updates.
β New Features
- Add support for GQL-status objects #β1555
π§ Dependency Management
- Update dependencies #β1556
v5.21.0
This is a planned minor update release that includes dependency updates.
π§ Dependency Management
- Update dependencies #β1552
v5.20.0
This is a planned minor update release that includes dependency updates.
π§ Dependency Management
- Update dependencies #β1550
v5.19.0
This release introduces mTLS support preview and includes dependency updates.
β New Features
- Introduce mTLS support #β1543
π§ Dependency Management
- Update dependencies #β1547
v5.18.0
This is a planned minor update release that includes a new feature and a general improvement.
β 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
This is a planned minor update release that includes several general improvements.
π 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
- Update dependencies #β1531
v5.16.0
This is a planned minor update release that includes 2 general improvements.
π Improvements
- Add transaction timeout and metadata options to QueryConfig #β1506
- Fix liveness checking for unresponsive connections #β1514
π§ Dependency Management
- Update dependencies #β1526
v5.15.0
This is a planned minor update release that includes several general improvements.
π 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
- Update dependencies #β1508
v5.14.0
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
π 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
- Update dependencies #β1496
v5.13.0
This is a planned minor update release that includes a new feature and several general improvements.
β New Features
- Introduce Api Telemetry #β1487
π Improvements
π§ Dependency Management
- Update dependencies #β1489
v5.12.0
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
π Improvements
- Introduce BEGIN message pipelining in ExecutableQuery #β1482
- Update AuthToken rotation to support more auth types #β1481
- Update JUnit to 5.10.0, Surefire to 3.1.2 and Failsafe to 3.1.2 #β1473
- Refactoring #β1474 #β1475 #β1476 #β1477
- Introduce inspection profile #β1478
π§ Dependency Management
- Update dependencies #β1483
v5.11.0
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
π Improvements
- Update sub millisecond transaction timeout handling #β1451
- Add support for cancellation on reactive session run #β1457
- Improve explicit transaction terminated state handling #β1445
- Ensure transaction prevents new query runs when it is closing #β1446
- Add experimental BlockHound integration #β1450
- Make a copy of bookmarks in SessionConfig builder #β1465
- Refactoring #β1447 #β1448 #β1449 #β1452 #β1454 #β1455 #β1458 #β1459 #β1460 #β1462 #β1463 #β1466 #β1467 #β1468 #β1469 #β1470
π§ Dependency Management
- Update dependencies #β1471
v5.10.0
This is a planned minor update release that includes several general improvements.
π 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
This is a planned minor update release that includes a new feature and several general improvements.
β New Features
- Introduce
bolt_agent#β1424
π 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
- Update dependencies #β1430
v5.8.0
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
β New Features
- Introduce AuthToken rotation and session auth support #β1380 #β1409
- Make Bookmark Manager API GA #β1408
- Make Driver Level Queries API GA #β1407
π 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
- Update dependencies #β1417
v5.7.0
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).
β 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
ExecuteQueryADR #β1377 - Use moditect plugin to re-add
module-infoafter 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
- Update dependencies #β1402
v5.6.0
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
- Update dependencies #β1383
v5.5.0
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
- Update dependencies #β1368
v5.4.0
This is a planned minor update release.
π Improvements
- Update supported versions in README #β1363
π§ Dependency Management
- Update Mockito to 4.11.0 #β1362
v5.3.1
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
- Update dependencies #β1358
v5.3.0
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
- Update Bookmark Manager for no longer tracking per database #β1335
- Update SessionConfig.withDatabase documentation #β1334 #β1336 #β1337
- Fix shouldGetSystemUpdates test #β1338
- Update to 5.2-SNAPSHOT #β1329
π§ Dependency Management
- Update dependencies #β1339
v5.2.0
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 APIorg.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:
asyncSessionreactiveSession
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
- Update changelog location in README #β1318
- Update examples #β1322
- Add versioning information to readme #β1327
π§ Dependency Management
- Update dependencies #β1328
v5.1.0
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
- Pin testkit version to 5.0 #β1313
π§ Dependency Management
- Update dependencies #β1316
v5.0.0
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:ImplicitDefaultArgumentsfeature #β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
- Update dependencies #β1304 #β1261 #β1243 #β1130 #β1178 #β1229
- Upgrade to Logback Classic 1.2.8 for test dependencies #β1104
- Update SVM tools to 21.3.0 #β1122
- Update mockito-core to 4.3.1 #β1160
- Update netty-handler to 4.1.75.Final #β1190
v4.4.20
This is a refinement release that brings dependency updates.
π§ Dependency Management
- Update dependencies #β1621
v4.4.19
This is a refinement release that brings dependency updates.
π§ Dependency Management
- Update dependencies #β1594
v4.4.18
This is a refinement release that brings dependency updates.
π§ Dependency Management
- Update dependencies #β1557
v4.4.17
This is a refinement release that brings dependency updates.
π§ Dependency Management
- Update dependencies #β1553
v4.4.16
This is a refinement release that brings dependency updates.
π§ Dependency Management
- Update dependencies #β1551
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.
Autoclosing Skipped
This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
β οΈ Warning: custom changes will be lost.