Repository: neo4j-contrib/neo4j-jdbc
Pull request #304 (2022-02-15 13:44:25)

Bump neo4j-java-driver from 4.3.4 to 4.4.3
Bumps [neo4j-java-driver](https://github.com/neo4j/neo4j-java-driver) from 4.3.4 to 4.4.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/neo4j/neo4j-java-driver/releases">neo4j-java-driver's releases</a>.</em></p>
<blockquote>
<h2>4.4.3</h2>
<p>This is a refinement release that brings several general improvements and dependency updates.</p>
<h4>⭐ New Features</h4>
<hr />
<ul>
<li>Add transaction close support to async and reactive APIs <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1124">#1124</a></li>
</ul>
<h4>👏 Improvements</h4>
<hr />
<ul>
<li>Check for equality of value instead of equality of instance <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1101">#1101</a></li>
<li>Exclude US/Pacific-New from randomized timezones <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1120">#1120</a></li>
<li>Delete InitMessage and RunMessage <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1134">#1134</a></li>
</ul>
<h4>✅ Testkit</h4>
<hr />
<ul>
<li>Add Temporary:CypherPathAndRelationship support in Testkit backend <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1111">#1111</a></li>
<li>Add Temporary:FullSummary support in Testkit backend <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1114">#1114</a></li>
<li>Add Temporary:ResultKeys support in Testkit backend <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1118">#1118</a></li>
<li>TestKit: send error message or driver creation error <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1131">#1131</a></li>
<li>Add Result.peek support to TestKit back end <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1133">#1133</a></li>
</ul>
<h4>🔧 Dependency Management</h4>
<hr />
<ul>
<li>Upgrade to Logback Classic 1.2.8 for test dependencies <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1103">#1103</a></li>
<li>Update SVM tools to 21.3.0 <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1132">#1132</a></li>
<li>Update dependencies <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1136">#1136</a></li>
</ul>
<h2>4.4.2</h2>
<p>This is a refinement release that brings several general improvements and dependency updates.</p>
<h4>👏 Improvements</h4>
<hr />
<ul>
<li>Make driver-, session- and transaction config serializable <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1082">#1082</a></li>
<li>Improve connection release handling and improve flaky test <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1092">#1092</a></li>
<li>Add Bearer auth example <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1083">#1083</a></li>
<li>Update clirr configuration <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1086">#1086</a></li>
<li>Add 4.4 changelog URL to readme <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1080">#1080</a></li>
</ul>
<h4>✅ Testkit</h4>
<hr />
<ul>
<li>Add support for multiple tx result streams in reactive backend <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1085">#1085</a></li>
<li>Remove remaining stub tests and dependency on legacy stub server <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1088">#1088</a></li>
<li>Get cluster URI from any core member in applicable cluster tests <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1093">#1093</a></li>
<li>Remove cluster ITs that manipulate cluster state <a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/pull/1090">#1090</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/neo4j/neo4j-java-driver/commit/cfb400373e73c27619b32aca67135586387fa259"><code>cfb4003</code></a> Update dependencies (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1130">#1130</a>) (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1136">#1136</a>)</li>
<li><a href="https://github.com/neo4j/neo4j-java-driver/commit/c09909cd4e2b2c6a863991b645bf2cb3c08a570c"><code>c09909c</code></a> Delete InitMessage and RunMessage (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1129">#1129</a>) (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1134">#1134</a>)</li>
<li><a href="https://github.com/neo4j/neo4j-java-driver/commit/92bda82ebdcbe44cf102a73c5031bd5c1ceb3e51"><code>92bda82</code></a> Add Result.peek support to TestKit back end (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1110">#1110</a>) (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1133">#1133</a>)</li>
<li><a href="https://github.com/neo4j/neo4j-java-driver/commit/faa3e21305dcfb3dc768544068c6da4a5358a919"><code>faa3e21</code></a> Update SVM tools to 21.3.0. (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1122">#1122</a>) (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1132">#1132</a>)</li>
<li><a href="https://github.com/neo4j/neo4j-java-driver/commit/467914054bb0e5f934579c5df2220eaf81a8b17c"><code>4679140</code></a> TestKit: send error message or driver creation error (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1125">#1125</a>) (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1131">#1131</a>)</li>
<li><a href="https://github.com/neo4j/neo4j-java-driver/commit/47667e9a28cbdff39938722684865d58d26605ea"><code>47667e9</code></a> Add transaction close support to async and reactive APIs (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1119">#1119</a>) (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1124">#1124</a>)</li>
<li><a href="https://github.com/neo4j/neo4j-java-driver/commit/2aac13d4e97c71935dbf941d579b057a6a1024d7"><code>2aac13d</code></a> Exclude US/Pacific-New from randomized timezones (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1120">#1120</a>)</li>
<li><a href="https://github.com/neo4j/neo4j-java-driver/commit/7bf80a72c21fb62eb8715cb23ce57dfdc4089151"><code>7bf80a7</code></a> Add Temporary:ResultKeys support in Testkit backend (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1113">#1113</a>) (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1118">#1118</a>)</li>
<li><a href="https://github.com/neo4j/neo4j-java-driver/commit/6f12e4c181e78e5f292c433f6b10fd1b6b1a6fa5"><code>6f12e4c</code></a> Add Temporary:FullSummary support in Testkit backend (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1109">#1109</a>) (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1114">#1114</a>)</li>
<li><a href="https://github.com/neo4j/neo4j-java-driver/commit/ad1a312a455f0f151cfde8d1379a99d203620518"><code>ad1a312</code></a> Add Temporary:CypherPathAndRelationship support in Testkit backend (<a href="https://github-redirect.dependabot.com/neo4j/neo4j-java-driver/issues/1107">#1107</a>) (#...</li>
<li>Additional commits viewable in <a href="https://github.com/neo4j/neo4j-java-driver/compare/4.3.4...4.4.3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.neo4j.driver:neo4j-java-driver&package-manager=maven&previous-version=4.3.4&new-version=4.4.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>


Patch:
diff --git a/pom.xml b/pom.xml
index a39d2c0f..5792fc55 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,7 +81,7 @@
 		<mockito.version>4.3.1</mockito.version>
 		<junit.version>4.13.2</junit.version>
 		<jmh.version>1.34</jmh.version>
-		<neo4j.java.driver.version>4.3.4</neo4j.java.driver.version>
+		<neo4j.java.driver.version>4.4.3</neo4j.java.driver.version>
 		<neo4j.version>4.3.0</neo4j.version>
 		<httpclient.version>4.5.13</httpclient.version>
 		<jackson.version>2.13.1</jackson.version>


Test patch:
diff --git a/neo4j-jdbc-bolt/src/test/java/org/neo4j/jdbc/bolt/BoltNeo4jConnectionTest.java b/neo4j-jdbc-bolt/src/test/java/org/neo4j/jdbc/bolt/BoltNeo4jConnectionTest.java
index 66841a78..7e76b176 100644
--- a/neo4j-jdbc-bolt/src/test/java/org/neo4j/jdbc/bolt/BoltNeo4jConnectionTest.java
+++ b/neo4j-jdbc-bolt/src/test/java/org/neo4j/jdbc/bolt/BoltNeo4jConnectionTest.java
@@ -505,7 +505,7 @@ public class BoltNeo4jConnectionTest {
 		expectedEx.expect(SQLException.class);
 
 		NetworkSession networkSession = new NetworkSession(null, null,
-				DatabaseNameUtil.database(""), AccessMode.READ, new DefaultBookmarkHolder(), FetchSizeUtil.UNLIMITED_FETCH_SIZE, DevNullLogging.DEV_NULL_LOGGING);
+				DatabaseNameUtil.database(""), AccessMode.READ, new DefaultBookmarkHolder(), "", FetchSizeUtil.UNLIMITED_FETCH_SIZE, DevNullLogging.DEV_NULL_LOGGING);
 
 		Session session = new InternalSession(networkSession);
 		org.neo4j.driver.Driver driver = mock(org.neo4j.driver.Driver.class);
diff --git a/neo4j-jdbc-bolt/src/test/java/org/neo4j/jdbc/bolt/utils/Mocker.java b/neo4j-jdbc-bolt/src/test/java/org/neo4j/jdbc/bolt/utils/Mocker.java
index ecca9edb..9a08ad2d 100644
--- a/neo4j-jdbc-bolt/src/test/java/org/neo4j/jdbc/bolt/utils/Mocker.java
+++ b/neo4j-jdbc-bolt/src/test/java/org/neo4j/jdbc/bolt/utils/Mocker.java
@@ -151,7 +151,7 @@ public class Mocker {
 		Driver mockedDriver = mock(org.neo4j.driver.Driver.class);
 		ConnectionProvider connectionProvider = mock(ConnectionProvider.class, RETURNS_MOCKS);
 		NetworkSession networkSession = new NetworkSession(connectionProvider, null,
-				DatabaseNameUtil.database(""), AccessMode.READ, new DefaultBookmarkHolder(), FetchSizeUtil.UNLIMITED_FETCH_SIZE, DevNullLogging.DEV_NULL_LOGGING);
+				DatabaseNameUtil.database(""), AccessMode.READ, new DefaultBookmarkHolder(), "", FetchSizeUtil.UNLIMITED_FETCH_SIZE, DevNullLogging.DEV_NULL_LOGGING);
 		Mockito.when(mockedDriver.session()).thenReturn(new InternalSession(networkSession));
 		return mockedDriver;
 	}