dependabot[bot] opened a new pull request, #20365: URL: https://github.com/apache/druid/pull/20365
Bumps [com.github.fppt:jedis-mock](https://github.com/fppt/jedis-mock) from 1.1.18 to 1.1.19. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/fppt/jedis-mock/releases">com.github.fppt:jedis-mock's releases</a>.</em></p> <blockquote> <h2>1.1.19</h2> <p>This release moves the project onto a <strong>Redis 8.0 baseline</strong> and onto <strong>Jedis 8.x</strong>, and fills in the hash-field-expiration family that Redis 8 introduced. Thank you to <a href="https://github.com/RafeArnold"><code>@βRafeArnold</code></a> who did the majority of work for this release!</p> <h2>π― Redis 8.0 is the new baseline</h2> <ul> <li><strong>Comparison tests now run against <code>redis:8.0-alpine</code></strong> (<a href="https://redirect.github.com/fppt/jedis-mock/issues/846">#846</a>, <a href="https://redirect.github.com/fppt/jedis-mock/issues/851">#851</a>) instead of <code>redis:7.4-alpine</code>.</li> <li><strong><code>HELLO</code> reports <code>version 8.0.0</code></strong>, matching the baseline.</li> </ul> <h2>π€ Jedis 8.x support</h2> <ul> <li><strong><code>redis.clients:jedis</code> 7.5.3 β 8.0.1</strong> (<a href="https://redirect.github.com/fppt/jedis-mock/issues/836">#836</a>).</li> <li><strong><code>HELLO</code> was rewritten</strong> (<a href="https://redirect.github.com/fppt/jedis-mock/issues/836">#836</a>). It used to reply with a two-element <code>[proto, 2]</code> array and to ignore everything after the protocol version. It now returns the full handshake map a real server sends β <code>server</code>, <code>version</code>, <code>proto</code>, <code>id</code>, <code>mode</code>, <code>role</code>, <code>modules</code> β which is what newer clients read when they set up a connection.</li> </ul> <h2>π New commands</h2> <ul> <li><strong><a href="https://valkey.io/commands/hgetdel/"><code>HGETDEL</code></a></strong> (<a href="https://redirect.github.com/fppt/jedis-mock/issues/848">#848</a>)</li> <li><strong><a href="https://valkey.io/commands/hsetex/"><code>HSETEX</code></a></strong> (<a href="https://redirect.github.com/fppt/jedis-mock/issues/849">#849</a>)</li> </ul> <h2>π Bug fixes</h2> <p>All three are hash field-TTL bugs, found while implementing the commands above.</p> <ul> <li><strong><code>HSET</code> did not clear the TTL of the fields it wrote</strong> (<a href="https://redirect.github.com/fppt/jedis-mock/issues/844">#844</a>). On a real server, overwriting a field drops that field's expiration; the mock kept it, so a field written after <code>HEXPIRE</code> still vanished at the old deadline.</li> <li><strong>A latent bug in <code>ExpiringKeyValueStorage.put</code></strong> (<a href="https://redirect.github.com/fppt/jedis-mock/issues/844">#844</a>): the TTL passed in was configured on the <em>hash</em> key rather than on the field, so a per-field expiration was applied to the whole hash.</li> <li><strong><code>HINCRBY</code>, <code>HINCRBYFLOAT</code> and <code>HSETNX</code> cleared TTLs they should have left alone</strong> (<a href="https://redirect.github.com/fppt/jedis-mock/issues/843">#843</a>) β both the field's and the hash key's. None of the three touches expiration on a real server.</li> </ul> <h2>π§ͺ Testing</h2> <ul> <li><strong>Valkey's <code>unit/hashexpire</code> TCL suite is vendored and runs in the native-tests CI matrix</strong> (<a href="https://redirect.github.com/fppt/jedis-mock/issues/849">#849</a>), alongside the <code>HGETDEL</code> blocks added to <code>unit/type/hash.tcl</code> (<a href="https://redirect.github.com/fppt/jedis-mock/issues/848">#848</a>).</li> <li><strong><code>ComparisonBase</code> now flushes the database before every test</strong> (<a href="https://redirect.github.com/fppt/jedis-mock/issues/850">#850</a>), removing the copy-pasted <code>@BeforeEach</code> from ~30 test classes and the implicit flush that <code>NotificationCollector.collectorFor</code> used to perform.</li> </ul> <h2>πΌ Dependencies</h2> <ul> <li><code>redis.clients:jedis</code> 7.5.3 β 8.0.1 (<a href="https://redirect.github.com/fppt/jedis-mock/issues/836">#836</a>) β compile scope, see above.</li> <li><code>org.slf4j:slf4j-api</code> and <code>slf4j-simple</code> 2.0.18 β 2.0.19 (<a href="https://redirect.github.com/fppt/jedis-mock/issues/841">#841</a>, <a href="https://redirect.github.com/fppt/jedis-mock/issues/842">#842</a>).</li> </ul> <p>Build and test scope only:</p> <ul> <li><code>com.puppycrawl.tools:checkstyle</code> 14.0.0 β 14.1.0 (<a href="https://redirect.github.com/fppt/jedis-mock/issues/838">#838</a>).</li> <li><code>com.github.spotbugs:spotbugs-maven-plugin</code> 4.10.4.0 β 4.10.4.1 (<a href="https://redirect.github.com/fppt/jedis-mock/issues/845">#845</a>).</li> <li><code>nl.jqno.equalsverifier:equalsverifier</code> 4.5.1 β 4.5.2 (<a href="https://redirect.github.com/fppt/jedis-mock/issues/835">#835</a>).</li> <li><code>maven-surefire-plugin</code> 3.5.6 β 3.6.0 (<a href="https://redirect.github.com/fppt/jedis-mock/issues/839">#839</a>), <code>maven-compiler-plugin</code> 3.15.0 β 3.16.0 (<a href="https://redirect.github.com/fppt/jedis-mock/issues/837">#837</a>), <code>maven-dependency-plugin</code> 3.9.0 β 3.11.0 (<a href="https://redirect.github.com/fppt/jedis-mock/issues/834">#834</a>).</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/RafeArnold"><code>@βRafeArnold</code></a> for the Redis 8.0 baseline, both new commands, the hash TTL fixes and the test-setup cleanup.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/fppt/jedis-mock/commit/399ab9744fd25e2a9f17aaef1eeac596ffcff59e"><code>399ab97</code></a> 1.1.19</li> <li><a href="https://github.com/fppt/jedis-mock/commit/dd43e9a4993834ba492dca63cebb677f9bfa0c0b"><code>dd43e9a</code></a> Bump redis.clients:jedis from 7.5.3 to 8.0.1 (<a href="https://redirect.github.com/fppt/jedis-mock/issues/836">#836</a>)</li> <li><a href="https://github.com/fppt/jedis-mock/commit/41d269d05f1758030a44886e21dcb544323ac6b2"><code>41d269d</code></a> Update list of supported operations</li> <li><a href="https://github.com/fppt/jedis-mock/commit/9ac79a657eb944f463f11fdaa8dfaf561cbe1d9f"><code>9ac79a6</code></a> Extract common container (<a href="https://redirect.github.com/fppt/jedis-mock/issues/851">#851</a>)</li> <li><a href="https://github.com/fppt/jedis-mock/commit/969727b79a52323c74e17604ea3dbb7caa1ed763"><code>969727b</code></a> flushAll before every ComparisonBase test. (<a href="https://redirect.github.com/fppt/jedis-mock/issues/850">#850</a>)</li> <li><a href="https://github.com/fppt/jedis-mock/commit/f53d36d45e947b198e5c832b3167f634f7b6fcde"><code>f53d36d</code></a> feat: implement HSETEX command. (<a href="https://redirect.github.com/fppt/jedis-mock/issues/849">#849</a>)</li> <li><a href="https://github.com/fppt/jedis-mock/commit/b26fd43135c10b584fb57fe94a48c87d71cf2b7f"><code>b26fd43</code></a> feat: implement HGETDEL command. (<a href="https://redirect.github.com/fppt/jedis-mock/issues/848">#848</a>)</li> <li><a href="https://github.com/fppt/jedis-mock/commit/dc04aa30c73d6640bc84261df0914c201e1fe0e1"><code>dc04aa3</code></a> Bump com.github.spotbugs:spotbugs-maven-plugin from 4.10.4.0 to 4.10.4.1 (<a href="https://redirect.github.com/fppt/jedis-mock/issues/845">#845</a>)</li> <li><a href="https://github.com/fppt/jedis-mock/commit/a5bf060d9e2ad8c3cabb721a6e6f9353a74d5189"><code>a5bf060</code></a> upgrade ComparisonBase container to redis 8.0 (<a href="https://redirect.github.com/fppt/jedis-mock/issues/846">#846</a>)</li> <li><a href="https://github.com/fppt/jedis-mock/commit/9f01d7ca880fee2c2ebb2fa0da84f624ab3461b7"><code>9f01d7c</code></a> fix: hset not clearing field ttl (<a href="https://redirect.github.com/fppt/jedis-mock/issues/844">#844</a>)</li> <li>Additional commits viewable in <a href="https://github.com/fppt/jedis-mock/compare/v.1.1.18...v.1.1.19">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 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
