Bump rethinkdb-driver from 2.4.0 to 2.4.2 #421

Merged
dependabot-preview[bot] merged 1 commit from dependabot/maven/greg-dev/com.rethinkdb-rethinkdb-driver-2.4.2 into greg-dev 2020-03-27 14:19:42 +01:00
dependabot-preview[bot] commented 2020-03-27 14:19:17 +01:00 (Migrated from github.com)

Bumps rethinkdb-driver from 2.4.0 to 2.4.2.

Release notes

Sourced from rethinkdb-driver's releases.

v2.4.1.1

Fixes POM "packaging" value, previous version may cause problems with any build tool. (Note: Gradle doesn't seem to care)

v2.4.1 - Overhaul

Overhaul

This release brings in the two week effort to rewrite of driver, bringing in some breaking changes as well as new features and bug fixes.

Breaking Changes ⚠️

  • #7 ReqlAst.run doesn't return T anymore.
    • Now it always returns Result<T>, no matter if it's an atom or sequence.
  • #7 Cursor<T> was removed.
    • Replaced with Result<T>, which implements the same functionality.
  • #7 java.util.Optional usage was replaced by @Nullable annotations.
    • Code that previously looked like conn.db().get() or conn.db().orElse(null), will now look like conn.db(). Use null checks (Objects.requireNotNull, if (value != null) { }) instead of the Optional API.
  • #7 MapObject now has generics.
    • Raw usage of MapObject will require generics, r.hashMap() will work as usual.
    • GroupedResult also now has generics.
  • #7 Connection.Builder doesn't implement Cloneable anymore.
    • The clone() method was renamed to copyOf(), if you need that functionality.
  • #7 Internal classes Query, Response, Util, Crypto were modified; SocketWrapper, Handshake, ScramAtributtes were deleted. It should be noted that you weren't supposed to use them.
  • #7 Annotation @id was moved from com.rethinkdb.converter to com.rethinkdb.annotations.

New Features 🚀

  • #7 New Result<T>, the replacement class for Cursor<T>
    • ReqlAsr.run() always returns Result<T>, which covers all result types and implements Iterator<T>, Iterable<T> and Closeable.
    • toList(), collect(Collector), stream(), parallelStream(), first(), single(), forEach(Consumer) methods.
      • Those methods automatically close the Result, so you don't need to worry about closing it.
    • Auto-closing: If result.hasNext() return false, the result was automatically closd.
    • Fetch modes for partial sequences, which can be set on the connection or overwritten manually.
    • If enabled, unwraps atom responses which are lists (Result<List<T>>, with a single result, will be unwrapped to Result<T>, with multiple results)
    • Exposed Response's Profile to the Result
    • Pending, leaking Results can be closed from the Connection
  • #7 The connection and the response pump are now wrapped in an interface and custom factories can be set in the builder, with the default factories implemented at DefaultConnectionFactory
  • #7 Added r.pathspec(...) (Implements #16)
  • #7 Implemented CoerceType to use on coerceTo instead of strings.
  • #7 Added support for db-urls (Implements rethinkdb/rethinkdb#4101)
  • #7 New Connection.noreplyWaitAsync(), which returns CompletableFuture<Void>, so you can asynchronous wait your noreply.
  • #7 New Connection.server() and Connection.serverAsync() (Implements #14)

Bug Fixes 🔧

  • #7 Fixes Util.toReqlAst() wrongly resetting the remaining depth.
  • #7 Now Util.toReqlAst() properly serializes primitive arrays and other Collections as well.
  • #22 [GRADLE] Fixed signing being required on Gradle assemble task.

Improvements 👍

... (truncated)
Commits

Dependabot compatibility score

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 commands and options

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)
Bumps [rethinkdb-driver](https://github.com/rethinkdb/rethinkdb-java) from 2.4.0 to 2.4.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rethinkdb/rethinkdb-java/releases">rethinkdb-driver's releases</a>.</em></p> <blockquote> <h2>v2.4.1.1</h2> <p>Fixes POM &quot;packaging&quot; value, previous version may cause problems with any build tool. (Note: Gradle doesn't seem to care)</p> <h2>v2.4.1 - Overhaul</h2> <h1>Overhaul</h1> <p>This release brings in the two week effort to rewrite of driver, bringing in some breaking changes as well as new features and bug fixes.</p> <h2>Breaking Changes ⚠️</h2> <ul> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> <code>ReqlAst.run</code> doesn't return <code>T</code> anymore. <ul> <li>Now it always returns <code>Result&lt;T&gt;</code>, no matter if it's an atom or sequence.</li> </ul> </li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> <code>Cursor&lt;T&gt;</code> was removed. <ul> <li>Replaced with <code>Result&lt;T&gt;</code>, which implements the same functionality.</li> </ul> </li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> <code>java.util.Optional</code> usage was replaced by <code>@Nullable</code> annotations. <ul> <li>Code that previously looked like <code>conn.db().get()</code> or <code>conn.db().orElse(null)</code>, will now look like <code>conn.db()</code>. Use null checks (<code>Objects.requireNotNull</code>, <code>if (value != null) { }</code>) instead of the Optional API.</li> </ul> </li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> <code>MapObject</code> now has generics. <ul> <li>Raw usage of MapObject will require generics, <code>r.hashMap()</code> will work as usual.</li> <li><code>GroupedResult</code> also now has generics.</li> </ul> </li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> <code>Connection.Builder</code> doesn't implement <code>Cloneable</code> anymore. <ul> <li>The <code>clone()</code> method was renamed to <code>copyOf()</code>, if you need that functionality.</li> </ul> </li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> Internal classes <code>Query</code>, <code>Response</code>, <code>Util</code>, <code>Crypto</code> were modified; <code>SocketWrapper</code>, <code>Handshake</code>, <code>ScramAtributtes</code> were deleted. It should be noted that you weren't supposed to use them.</li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> Annotation <code>@id</code> was moved from <code>com.rethinkdb.converter</code> to <code>com.rethinkdb.annotations</code>.</li> </ul> <h2>New Features 🚀</h2> <ul> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> New <code>Result&lt;T&gt;</code>, the replacement class for <code>Cursor&lt;T&gt;</code> <ul> <li><code>ReqlAsr.run()</code> always returns <code>Result&lt;T&gt;</code>, which covers all result types and implements <code>Iterator&lt;T&gt;</code>, <code>Iterable&lt;T&gt;</code> and <code>Closeable</code>.</li> <li><code>toList()</code>, <code>collect(Collector)</code>, <code>stream()</code>, <code>parallelStream()</code>, <code>first()</code>, <code>single()</code>, <code>forEach(Consumer)</code> methods. <ul> <li>Those methods automatically close the Result, so you don't need to worry about closing it.</li> </ul> </li> <li>Auto-closing: If <code>result.hasNext()</code> return false, the result was automatically closd.</li> <li>Fetch modes for partial sequences, which can be set on the connection or overwritten manually.</li> <li>If enabled, unwraps atom responses which are lists (<code>Result&lt;List&lt;T&gt;&gt;</code>, with a single result, will be unwrapped to <code>Result&lt;T&gt;</code>, with multiple results)</li> <li>Exposed Response's Profile to the Result</li> <li>Pending, leaking Results can be closed from the Connection</li> </ul> </li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> The connection and the response pump are now wrapped in an interface and custom factories can be set in the builder, with the default factories implemented at <code>DefaultConnectionFactory</code></li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> Added <code>r.pathspec(...)</code> (Implements <a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/16">#16</a>)</li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> Implemented <code>CoerceType</code> to use on <code>coerceTo</code> instead of strings.</li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> Added support for db-urls (Implements <a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb/issues/4101">rethinkdb/rethinkdb#4101</a>)</li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> New <code>Connection.noreplyWaitAsync()</code>, which returns <code>CompletableFuture&lt;Void&gt;</code>, so you can asynchronous wait your noreply.</li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> New <code>Connection.server()</code> and <code>Connection.serverAsync()</code> (Implements <a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/14">#14</a>)</li> </ul> <h2>Bug Fixes 🔧</h2> <ul> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> Fixes <code>Util.toReqlAst()</code> wrongly resetting the remaining depth.</li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/7">#7</a> Now <code>Util.toReqlAst()</code> properly serializes primitive arrays and other Collections as well.</li> <li><a href="https://github-redirect.dependabot.com/rethinkdb/rethinkdb-java/issues/22">#22</a> [GRADLE] Fixed signing being required on Gradle <code>assemble</code> task.</li> </ul> <h2>Improvements 👍</h2> </tr></table> ... (truncated) </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/rethinkdb/rethinkdb-java/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=com.rethinkdb:rethinkdb-driver&package-manager=maven&previous-version=2.4.0&new-version=2.4.2)](https://dependabot.com/compatibility-score/?dependency-name=com.rethinkdb:rethinkdb-driver&package-manager=maven&previous-version=2.4.0&new-version=2.4.2) 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </details>
greg6775 (Migrated from github.com) reviewed 2020-03-27 14:19:17 +01:00
Schlauer-Hax (Migrated from github.com) reviewed 2020-03-27 14:19:17 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: greg6775/Hadder#421
No description provided.