Releases: neo4j/neo4j-java-driver
5.0.0-alpha02
This is a refinement release that brings several general improvements and dependency updates.
👏 Improvements
- 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
🔧 Dependency Management
- Update dependencies #1243
4.4.6
This is a refinement release that brings several general improvements and dependency updates.
👏 Improvements
- Throw ProtocolException when QueryType is unknown #1198
- Add spotless-maven-plugin for Java formatting #1234
- Make BasicPullResponseHandler support emitting signals in and out lock #1235
- Deprecate GraphDatabase.routingDriver #1241
✅ Testkit
- Add support for
Optimization:ImplicitDefaultArguments
feature #1202 - TestKit: remove temporary feature flags #1205
🔧 Dependency Management
- Update dependencies #1236
5.0.0-alpha01
This is the first alpha release that provides a preview of the new features and general improvements.
⭐ New Features
- 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
- Update bookmarks API #1211
- Add RetryableException interface #1219
👏 Improvements
- 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
- 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
4.1.5
This is a refinement release that brings several general improvements and dependency updates.
👏 Improvements
- Introduce support for logging debug entries with Throwable #950
- Update console formatter to include exception in the formatting #952
- Remove stacktrace from recoverable discovery log warnings #954
- Remove stacktrace from connection acquisition attempts in LoadBalancer #956
- Move dependency versions to properties #961
- Add server shutdown to DatabaseExtension #1042
- Added value conversion for char[] and short[] #1018
🔧 Dependency Management
4.4.5
1.7.6
This is a refinement release that brings several general improvements and dependency updates.
👏 Improvements
- Changing default connection timeout to be 30s #629
- Reduce logging of routing table refreshing #667
- Fix the error where the cluster memeber cannot be started in tests #671
- Enable encryption for cluster stress test if test with a remote cluster #691
- Fix failure in Auth test where the encryption is not set following the choice of test platform #22693d5b
- Stop database properly in tests #692
- Removed the year component from all copyright notices #830
- Exclude America/Nuuk and US/Pacific-New zone ids #1185
🔧 Dependency Management
4.4.4
The highlight of this release is support for Micrometer metrics that comes with experimental status.
To enable Micrometer metrics, you need to:
- include Micrometer dependencies on classpath
- enable Micrometer metrics via driver configuration
Sample driver configuration:
var config = Config.builder()
.withMetricsAdapter(MetricsAdapter.MICROMETER)
.build();
var driver = GraphDatabase.driver(url, AuthTokens.basic(username, password), config);
At this stage we only support the global registry that is discovered automatically.
In addition, this release brings several general improvements and dependency updates.
⭐ New Features
- Micrometer metrics #1173
- Make MapAccessorWithDefaultValue extend MapAccessor #1161
- Add support for multiple certificate files #1169 #1176
👏 Improvements
- Avoid TrustManagerFacotry.init(ManagerFactoryParameters var1) if no OSCP has been configured #1157
✅ Testkit
- Enable Optimization:EagerTransactionBegin #1162
- Add support for Feature:TLS:1.3 Testkit feature #1164
- Add support for Feature:API:Driver.IsEncrypted Testkit feature #1170
🔧 Dependency Management
4.2.9
This is a refinement release that brings several general improvements and dependency updates.
👏 Improvements
- Exclude US/Pacific-New from randomized timezones #1143
- Improve connection release handling and improve flaky test #1145
- Get cluster URI from any core member in applicable cluster tests #1146
✅ Testkit
- TestKit backend output goes to stdout/stderr #1144
🔧 Dependency Management
4.3.7
This is a refinement release that brings several general improvements and dependency updates.
👏 Improvements
- Exclude US/Pacific-New from randomized timezones #1139
- Improve connection release handling and improve flaky test #1140
- Get cluster URI from any core member in applicable cluster tests #1141
✅ Testkit
- TestKit backend output goes to stdout/stderr #1138
🔧 Dependency Management
4.4.3
This is a refinement release that brings several general improvements and dependency updates.
⭐ New Features
- Add transaction close support to async and reactive APIs #1124
👏 Improvements
- Check for equality of value instead of equality of instance #1101
- Exclude US/Pacific-New from randomized timezones #1120
- Delete InitMessage and RunMessage #1134
✅ Testkit
- Add Temporary:CypherPathAndRelationship support in Testkit backend #1111
- Add Temporary:FullSummary support in Testkit backend #1114
- Add Temporary:ResultKeys support in Testkit backend #1118
- TestKit: send error message or driver creation error #1131
- Add Result.peek support to TestKit back end #1133