Releases: neo4j/neo4j-java-driver
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
🔧 Dependency Management
4.4.2
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
4.3.6
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
4.2.8
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
4.4.1
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
4.4.0
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