dependabot[bot] opened a new pull request, #19421: URL: https://github.com/apache/camel/pull/19421
Bumps [org.neo4j.driver:neo4j-java-driver](https://github.com/neo4j/neo4j-java-driver) from 5.28.10 to 6.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/neo4j/neo4j-java-driver/releases">org.neo4j.driver:neo4j-java-driver's releases</a>.</em></p> <blockquote> <h2>6.0.0</h2> <p>This release brings news features, general improvements and dependency updates.</p> <p>The sections below describe the main updates in this release and the full changelog is listed in the end.</p> <p><a href="https://development.neo4j.dev/docs/java-manual/6/upgrade/">Java Driver Manual</a></p> <p><a href="https://neo4j.com/docs/api/java-driver/6.0">6.0 API documentation</a></p> <h4>Neo4j Vector</h4> <hr /> <p>Neo4j Vector is a new data type introduced in Neo4j server (2025.10, Enterprise Edition).</p> <p>The driver's type system has been extended to support it.</p> <p>A new <code>Vector</code> interface represents Neo4j Vector. At present, it has 6 subtypes:</p> <ul> <li><code>Int8Vector</code> - <code>INTEGER8</code> vector that has Java <code>byte</code> elements and can be converted to <code>byte[]</code> array</li> <li><code>Int16Vector</code> - <code>INTEGER16</code> vector that has Java <code>short</code> elements and can be converted to <code>short[]</code> array</li> <li><code>Int32Vector</code> - <code>INTEGER32</code> vector that has Java <code>int</code> elements and can be converted to <code>int[]</code> array</li> <li><code>Int64Vector</code> - <code>INTEGER</code> vector that has Java <code>long</code> elements and can be converted to <code>long[]</code> array</li> <li><code>Float32Vector</code> - <code>FLOAT16</code> vector that has Java <code>float</code> elements and can be converted to <code>float[]</code> array</li> <li><code>Float64Vector</code> - <code>FLOAT</code> vector that has Java <code>double</code> elements and can be converted to <code>double[]</code> array</li> </ul> <p>Similarly to the <code>IsoDuration</code>, new <code>Value</code> instance containing <code>Vector</code> can be created using one of the provided <code>Values#vector(...)</code> factory methods. The <code>Type</code> of such <code>Value</code> is equal to <code>TypeSystem#VECTOR()</code>.</p> <p>Usage example:</p> <pre lang="java"><code>var value = Values.vector(new float[] {0.0f}); var result = driver.executableQuery("CREATE (:VectorTest {vector: $vector})") .withParameters(Map.of("vector", value)) .execute(); </code></pre> <p>Since <code>Vector</code> is a <code>sealed</code> interface, it works well with <a href="https://openjdk.org/jeps/441">Pattern Matching for switch</a>:</p> <pre lang="java"><code>switch (value.asVector()) { case Int8Vector int8Vector -> { var arr = int8Vector.toArray(); } case Int16Vector int16Vector -> { var arr = int16Vector.toArray(); } case Int32Vector int32Vector -> { var arr = int32Vector.toArray(); } case Int64Vector int64Vector -> { var arr = int64Vector.toArray(); } case Float32Vector float32Vector -> { </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/neo4j/neo4j-java-driver/commit/82f74a193154783bc38c6c166d3ff66309e2551d"><code>82f74a1</code></a> feat(bom): delete netty-bom from neo4j-java-driver-bom (<a href="https://redirect.github.com/neo4j/neo4j-java-driver/issues/1707">#1707</a>)</li> <li><a href="https://github.com/neo4j/neo4j-java-driver/commit/f96a053ab151d92d2dbdbcfcd05bcb56efc65953"><code>f96a053</code></a> feat(bom): Add netty-bom to neo4j-java-driver-bom (<a href="https://redirect.github.com/neo4j/neo4j-java-driver/issues/1706">#1706</a>)</li> <li><a href="https://github.com/neo4j/neo4j-java-driver/commit/3339fe15816ff4c8e2b85048244b57694fdba777"><code>3339fe1</code></a> build(deps): update dependencies (<a href="https://redirect.github.com/neo4j/neo4j-java-driver/issues/1705">#1705</a>)</li> <li><a href="https://github.com/neo4j/neo4j-java-driver/commit/d77639f5e82df075fda006e677c8bf6ed3d3605b"><code>d77639f</code></a> feat(vector): Make Neo4j Vector GA (<a href="https://redirect.github.com/neo4j/neo4j-java-driver/issues/1704">#1704</a>)</li> <li><a href="https://github.com/neo4j/neo4j-java-driver/commit/37bc83eeac70be8600258c8afa4a48ca696eef2d"><code>37bc83e</code></a> feat(vector): add Value#asVector() (<a href="https://redirect.github.com/neo4j/neo4j-java-driver/issues/1701">#1701</a>)</li> <li><a href="https://github.com/neo4j/neo4j-java-driver/commit/4dc7edfc92a2f5936230efd8b788cbdbd4d30a5e"><code>4dc7edf</code></a> feat(unsupportedType): add support for Bolt Unsupported Type (<a href="https://redirect.github.com/neo4j/neo4j-java-driver/issues/1691">#1691</a>)</li> <li><a href="https://github.com/neo4j/neo4j-java-driver/commit/ee9a0e54cf059403574f0b2b06061f6aebb773ec"><code>ee9a0e5</code></a> feat(unix): add support for bolt+unix (<a href="https://redirect.github.com/neo4j/neo4j-java-driver/issues/1700">#1700</a>)</li> <li><a href="https://github.com/neo4j/neo4j-java-driver/commit/6132e12f618deaca9fb13a32b2018cfe4ce422d3"><code>6132e12</code></a> feat(tfo): update config naming (<a href="https://redirect.github.com/neo4j/neo4j-java-driver/issues/1699">#1699</a>)</li> <li><a href="https://github.com/neo4j/neo4j-java-driver/commit/b2b750717dbdf3ee42f98b842dd5912d230e95e0"><code>b2b7507</code></a> feat(tfo): add experimental support for TFO (<a href="https://redirect.github.com/neo4j/neo4j-java-driver/issues/1696">#1696</a>)</li> <li><a href="https://github.com/neo4j/neo4j-java-driver/commit/dd3dca29ebc84139c5deeb5c3aa8906a01e48434"><code>dd3dca2</code></a> test: fix ReactiveResultRecordPublisherVerificationIT (<a href="https://redirect.github.com/neo4j/neo4j-java-driver/issues/1695">#1695</a>)</li> <li>Additional commits viewable in <a href="https://github.com/neo4j/neo4j-java-driver/compare/5.28.10...6.0.1">compare view</a></li> </ul> </details> <br /> [](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
