neo4j-java-driver

Neo4j Bolt driver for Java

APACHE-2.0 License

Stars
327
Committers
51

Bot releases are hidden (Show)

neo4j-java-driver - 4.4.7

Published by injectives over 2 years ago

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
neo4j-java-driver - 5.0.0-alpha02

Published by injectives over 2 years ago

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
neo4j-java-driver - 4.4.6

Published by injectives over 2 years ago

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
neo4j-java-driver - 5.0.0-alpha01

Published by injectives over 2 years ago

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
neo4j-java-driver - 4.1.5

Published by injectives over 2 years ago

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


neo4j-java-driver - 4.4.5

Published by injectives over 2 years ago

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
neo4j-java-driver - 1.7.6

Published by injectives over 2 years ago

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
neo4j-java-driver - 4.4.4

Published by injectives over 2 years ago

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
neo4j-java-driver - 4.2.9

Published by injectives over 2 years ago

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
neo4j-java-driver - 4.3.7

Published by injectives over 2 years ago

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


  • Update logback-classic to 1.2.7 #1078
  • Update dependencies #1142
neo4j-java-driver - 4.4.3

Published by injectives over 2 years ago

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

πŸ”§ Dependency Management


  • Upgrade to Logback Classic 1.2.8 for test dependencies #1103
  • Update SVM tools to 21.3.0 #1132
  • Update dependencies #1136
neo4j-java-driver - 4.4.2

Published by injectives almost 3 years ago

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

πŸ‘ Improvements


  • Make driver-, session- and transaction config serializable #1082
  • Improve connection release handling and improve flaky test #1092
  • Add Bearer auth example #1083
  • Update clirr configuration #1086
  • Add 4.4 changelog URL to readme #1080

βœ… Testkit


  • Add support for multiple tx result streams in reactive backend #1085
  • Remove remaining stub tests and dependency on legacy stub server #1088
  • Get cluster URI from any core member in applicable cluster tests #1093
  • Remove cluster ITs that manipulate cluster state #1090
  • Add explicit TLS flags to Testkit backend #1089
  • Migrate IT tests to Testkit #1094 #1095 #1096 #1097
  • TestKit backend output goes to stdout/stderr #1084

πŸ”§ Dependency Management


  • Update Project Reactor BOM to 2020.0.13 #1071
  • Update logback-classic to 1.2.7 #1079
  • Update dependencies #1098
neo4j-java-driver - 4.3.6

Published by injectives almost 3 years ago

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

πŸ‘ Improvements


  • Add 4.3.0 entry to ServerVersion #1061
  • Improve Aura Example #1066
  • Prevent duplicate summary error reporting on session closure in reactive #1067
  • Backport UnmanagedTransaction stage and completion improvements #1069

βœ… Testkit


  • Backport Testkit backend updates #1074

πŸ”§ Dependency Management


  • Update Netty to 4.1.70.Final #1068
  • Update Project Reactor BOM to 2020.0.13 #1073
neo4j-java-driver - 4.2.8

Published by injectives almost 3 years ago

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

πŸ‘ Improvements


  • Introduce support for logging debug entries with Throwable #949
  • Update console formatter to include exception in the formatting #951
  • Remove stacktrace from connection acquisition attempts in LoadBalancer #955
  • Remove stacktrace from recoverable discovery log warnings #953
  • Remove redundant javadoc #959
  • Move dependency versions to properties #960
  • Add server shutdown to DatabaseExtension #1041
  • Added value conversion for char[] and short[] #1017

βœ… Testkit


  • Skip test test_disconnect_on_hello #957
  • Skip Testkit tests that require investigation #1047
  • Skip Testkit integration test that requires investigation #1048

πŸ”§ Dependency Management


neo4j-java-driver - 4.4.1

Published by injectives almost 3 years ago

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

πŸ‘ Improvements


  • Make UnmanagedTransaction return ongoing tx completion stage #1057
  • Call close with the appropriate flag to commit or rollback on UnmanagedTransaction where possible to avoid double state acquisition #1065

βœ… Testkit


  • Updating TestKit backend feature flags #1060
  • Enable fixed tests in reactive testkit backend #1062
  • Enable Authorization Testkit tests for reactive backend #1063
  • Enable TestSessionRunParameters and timeout tests #1064

πŸ”§ Dependency Management


  • Update Netty to 4.1.70.Final #1058
neo4j-java-driver - 4.4.0

Published by injectives almost 3 years ago

This release introduces support for Neo4j 4.4 alongside with new features and improvements.

In addition, a new neo4j-java-driver-slim artifact has been introduced that does not shade Netty and Project Reactor dependencies.

⭐ New Features


  • Introduce impersonation support #1028
  • Add bearer authentication support #1000
  • Create a dedicated bundle / UberJAR module #1029
  • Add Bolt 4.4 support #1026

πŸ‘ Improvements


  • Add toString to InternalSummaryCounters #1031
  • Make AddressSet retain resolved addresses #1034
  • Improve connection pool concurrent access #1035
  • Replace AddressSet with standard Java collections #1037
  • Add channel error logger for channel errors #1039
  • Make default driver logging quiet #972
  • Make Logger instance names qualified #973
  • Make reactive subscription request with Long.MAX_VALUE unbounded #1003
  • Fix reactive transaction function retry logic to retry on relevant resource cleanup failures #1006
  • Fix reactive transaction function resource cleanup logic #1009
  • Add server shutdown to DatabaseExtension #1022
  • Examples improvements #1044 #913 #1049
  • Abort discovery on bookmark failures and continue on authorization expired error #1043
  • Prevent duplicate summary error reporting on session closure in reactive #1015

βœ… Testkit


  • Migrate stub tests to Testkit #974 #976 #978 #979 #981 #982 #990
  • Add Async Testkit Backend support #987
  • Add support for Resolver and DomainNameResolver to async Testkit backend #992
  • Decouple TestkitState from CommandProcessor #993
  • Remove unnessary Lombok noise #995
  • Migrate Testkit backend to Netty implementation #994
  • Add reactive backend support #998
  • Add holder objects for driver, session, transaction and result objects in backend #1001
  • Enable tests with custom fetch size in reactive backend #1002
  • Enable unexpected interruption routing Testkit tests for reactive backend #1004
  • Skip run tests in reactive backend #1011
  • Add result consumption and disposal to reactive testkit backend session close #1010
  • Reactive TestKit: skip tests that expect RUN to fail #1020
  • Skip tests for RX TestKit backend that report errors too late #1021
  • Add kerberos auth to TestKit backend #997
  • Add Feature:Auth:Custom Testkit feature support #1025
  • Fix sync and async testkit backends launch #1027
  • Add supported protocol versions to testkit backend #1056

πŸ”§ Dependency Management


neo4j-java-driver - 4.3.5

Published by injectives almost 3 years ago

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

πŸ‘ Improvements


  • Make Maven skip deployment by default and enable it for specific artifacts only #970
  • Make reactive subscription request with Long.MAX_VALUE unbounded and update testkit backend #1007
  • Fix reactive transaction function retry logic to retry on relevant resource cleanup failures #1012
  • Fix reactive transaction function resource cleanup logic #1013
  • Add server shutdown to DatabaseExtension #1023
  • Add value coercion examples #913
  • Backport connection pool improvements, routing table handling, InternalSummaryCounters update and Testkit launch fix #1052
  • Add channel error logger for channel errors #1053
  • Abort discovery on bookmark failures and continue on authorization expired error #1055

βœ… Testkit


  • Migrate tests to Testkit #975 #977 #980 #983 #984 #985 #991
  • Add Async Testkit Backend support #989
  • Improve async backend and bring initial reactive support #999
  • Skip run tests in reactive backend #1014
  • Add result consumption and disposal to reactive testkit backend session close #1016
  • Add kerberos auth to TestKit backend #1050
  • Add Feature:Auth:Custom Testkit feature support #1051

πŸ”§ Dependency Management


  • Update dependencies #1054
neo4j-java-driver - 4.4.0-beta01

Published by injectives almost 3 years ago

This is the first beta release that provides a preview of the new features and general improvements.

This version introduces neo4j-java-driver-slim package, which does not shade Netty and Project Reactor dependencies. See the link in the section below for more details.

⭐ New Features


  • Create a dedicated bundle / UberJAR module #1029

πŸ‘ Improvements


  • Add toString to InternalSummaryCounters #1031
  • Make AddressSet retain resolved addresses #1034
  • Improve connection pool concurrent access #1035
  • Replace AddressSet with standard Java collections #1037
  • Add channel error logger for channel errors #1039

πŸ”§ Dependency Management


  • Update dependencies #1040
neo4j-java-driver - 4.4.0-alpha01

Published by injectives about 3 years ago

This is the first alpha release that provides a preview of the new features and general improvements.

⭐ New Features


  • Add bearer authentication support #1000
  • Add Bolt 4.4 support #1026
  • Introduce impersonation support #1028

πŸ‘ Improvements


  • Make default driver logging quiet #972
  • Make Logger instance names qualified #973
  • Make reactive subscription request with Long.MAX_VALUE unbounded #1003
  • Fix reactive transaction function retry logic to retry on relevant resource cleanup failures #1006
  • Fix reactive transaction function resource cleanup logic #1009
  • Add server shutdown to DatabaseExtension #1022

βœ… Testkit


  • Migrate stub tests to Testkit #974 #976 #978 #979 #981 #982 #990
  • Add Async Testkit Backend support #987
  • Add support for Resolver and DomainNameResolver to async Testkit backend #992
  • Decouple TestkitState from CommandProcessor #993
  • Remove unnessary Lombok noise #995
  • Migrate Testkit backend to Netty implementation #994
  • Add reactive backend support #998
  • Add holder objects for driver, session, transaction and result objects in backend #1001
  • Enable tests with custom fetch size in reactive backend #1002
  • Enable unexpected interruption routing Testkit tests for reactive backend #1004
  • Skip run tests in reactive backend #1011
  • Add result consumption and disposal to reactive testkit backend session close #1010
  • Reactive TestKit: skip tests that expect RUN to fail #1020
  • Skip tests for RX TestKit backend that report errors too late #1021
  • Add kerberos auth to TestKit backend #997
  • Add Feature:Auth:Custom Testkit feature support #1025
  • Fix sync and async testkit backends launch #1027

πŸ”§ Dependency Management


  • Update netty to 4.1.68.Final #1008
  • Update dependencies #1030

πŸ“” Changelog


neo4j-java-driver - 4.3.4

Published by injectives about 3 years ago

The main feature of this release is support for connection.recv_timeout_seconds connection hint, which helps with detecting broken connections providing that this feature is enabled on the server. In addition, Testkit can now be executed by Maven given that prerequisites are satisfied.

⭐ New Features


  • Add support for connection.recv_timeout_seconds connection hint #968

πŸ‘ Improvements


  • Added value conversion for char[] and short[] #966
  • Switch list type in LB #958
  • Update readme #967

βœ… Testkit


  • Add support for running Testkit as part of Maven build #965
  • Add support for GetRoutingTable Testkit request - introduced in #968

πŸ”§ Dependency Management


  • Update dependencies #969
  • Update reactor-bom to 2020.0.8 #947

πŸ“” Changelog