Skip to content

4.4 changelog

injectives edited this page Mar 10, 2022 · 43 revisions

4.4.4

The highlight of this release is support for Micrometer metrics that comes with experimental status.

In addition, it brings several general improvements and dependency updates.

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);

⭐ 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.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


  • Upgrade to Logback Classic 1.2.8 for test dependencies #1103
  • Update SVM tools to 21.3.0 #1132
  • Update dependencies #1136

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


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

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

πŸ”§ Dependency Management


4.4.0-beta01

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

4.4.0-alpha01

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
Clone this wiki locally