Skip to content

Releases: neo4j/neo4j-java-driver

5.0.0-alpha03

07 Jul 17:06
e0483f0
Compare
Choose a tag to compare
5.0.0-alpha03 Pre-release
Pre-release

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

⭐ New Features


  • Add support for sending datetime values in UTC #1247

👏 Improvements


  • 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

✅ Testkit


  • Unskip test_trusted_ca_correct_hostname #1251
  • TestKit backend: add full support for temporal types #1257

🔧 Dependency Management


  • Update dependencies #1261

4.4.7

06 Jul 13:48
3c0b9ab
Compare
Choose a tag to compare

This is a refinement release that brings support for transmitting datetime values in UTC and dependency updates.

⭐ New Features


  • Add support for sending datetime values in UTC #1250

👏 Improvements


  • Add licenses verification #1253

✅ Testkit


  • Skip test_trusted_ca_correct_hostname test #1248
  • Unskip test_trusted_ca_correct_hostname #1252

🔧 Dependency Management


  • Update dependencies #1255

5.0.0-alpha02

09 Jun 17:25
30f5ed3
Compare
Choose a tag to compare
5.0.0-alpha02 Pre-release
Pre-release

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

01 Jun 22:00
6a0153f
Compare
Choose a tag to compare

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

23 May 10:01
ec629e1
Compare
Choose a tag to compare
5.0.0-alpha01 Pre-release
Pre-release

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


  • Upgrade to Logback Classic 1.2.8 for test dependencies #1104
  • Update SVM tools to 21.3.0 #1122
  • Update dependencies #1130
  • Update mockito-core to 4.3.1 #1160
  • Update dependencies #1178 #1229
  • Update netty-handler to 4.1.75.Final #1190

4.1.5

25 Mar 20:28
8e4ad6f
Compare
Choose a tag to compare

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

17 Mar 19:12
27f38b5
Compare
Choose a tag to compare

This is a refinement release that brings one improvement and dependency update.

👏 Improvements


  • Add substitutions for DriverFactory#getOrCreateMetricsProvider #1183

🔧 Dependency Management


  • Update netty-handler to 4.1.75.Final #1191

1.7.6

15 Mar 22:33
9994170
Compare
Choose a tag to compare

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


  • Update Netty and channel tracking #1188
  • Update dependencies #1184

4.4.4

10 Mar 20:22
0fd5a19
Compare
Choose a tag to compare

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


  • Update mockito-core to 4.3.1 #1166
  • Update dependencies #1180

4.2.9

04 Feb 22:51
d38816b
Compare
Choose a tag to compare

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


  • Update logback-classic to 1.2.7 #1077
  • Update dependencies #1147