Bump github.com/go-redis/redis/v8 from 8.8.2 to 8.11.3 #40

Merged
dependabot[bot] merged 1 commits from dependabot/go_modules/github.com/go-redis/redis/v8-8.11.3 into master 2021-09-06 18:03:05 +03:00
dependabot[bot] commented 2021-09-06 15:26:26 +03:00 (Migrated from github.com)

Bumps github.com/go-redis/redis/v8 from 8.8.2 to 8.11.3.

Release notes

Sourced from github.com/go-redis/redis/v8's releases.

v8.11.2

Important changes:

Revert #1824, because it will have a significant impact on the connection pool(#1849) We will re-add this feature in v9.

Users who have already used v8.11.1, need to upgrade immediately.

v8.11.1

Enhancement:

  • DBSize,ScriptLoad,ScriptFlush and ScriptExists should use hook. (#1811)
  • Added FIFO option to connection pool, set option Options.PoolFIFO to true. (#1820)
  • The connection is checked before use, it will increase the CPU time by 5-10% (#1824)
  • Check Failing() before serving random node. (#1825)

Command:

  • RPOP command supports Count option (redis-server >= 6.2)
  • New cmd: GeoSearch, GeoSearchStore (redis-server >= 6.2)

Thanks: @​ktaekwon000 @​hidu @​AnatolyRugalev

v8.11.0

Change

Remove OpenTelemetry metrics, Linked #1534 #1805

New Command

  1. XAutoClaim
  2. ZRangeStore
  3. ZUnion

Command More Options

  1. XAdd: NoMkStream+MinID+Limit
  2. XTrim: MinID+Limit
  3. XGroup: CreateConsumer
  4. ZAdd: GT+LT
  5. ZRange: ByScore+ByLex+Rev+Limit

New API

  1. XAutoClaim(ctx context.Context, a *XAutoClaimArgs) *XAutoClaimCmd
  2. XAutoClaimJustID(ctx context.Context, a *XAutoClaimArgs) *XAutoClaimJustIDCmd
  3. ZRangeStore(ctx context.Context, dst string, z ZRangeArgs) *IntCmd
  4. ZAddArgs(ctx context.Context, key string, args ZAddArgs) *IntCmd
  5. ZAddArgsIncr(ctx context.Context, key string, args ZAddArgs) *FloatCmd
  6. ZRangeArgs(ctx context.Context, z ZRangeArgs) *StringSliceCmd
  7. ZRangeArgsWithScores(ctx context.Context, z ZRangeArgs) *ZSliceCmd
  8. ZUnion(ctx context.Context, store ZStore) *StringSliceCmd
  9. ZUnionWithScores(ctx context.Context, store ZStore) *ZSliceCmd

... (truncated)

Changelog

Sourced from github.com/go-redis/redis/v8's changelog.

Changelog

❤️ Uptrace.dev - All-in-one tool to optimize performance and monitor errors & logs

v8.11

  • Remove OpenTelemetry metrics.
  • Supports more redis commands and options.

v8.10

  • Removed extra OpenTelemetry spans from go-redis core. Now go-redis instrumentation only adds a single span with a Redis command (instead of 4 spans). There are multiple reasons behind this decision:

    • Traces become smaller and less noisy.
    • It may be costly to process those 3 extra spans for each query.
    • go-redis no longer depends on OpenTelemetry.

    Eventually we hope to replace the information that we no longer collect with OpenTelemetry Metrics.

v8.9

  • Changed PubSub.Channel to only rely on Ping result. You can now use WithChannelSize, WithChannelHealthCheckInterval, and WithChannelSendTimeout to override default settings.

v8.8

  • To make updating easier, extra modules now have the same version as go-redis does. That means that you need to update your imports:
github.com/go-redis/redis/extra/redisotel -> github.com/go-redis/redis/extra/redisotel/v8
github.com/go-redis/redis/extra/rediscensus -> github.com/go-redis/redis/extra/rediscensus/v8

v8.5

  • knadh contributed long-awaited ability to scan Redis Hash into a struct:
err := rdb.HGetAll(ctx, "hash").Scan(&data)

err := rdb.MGet(ctx, "key1", "key2").Scan(&data)

... (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)
Bumps [github.com/go-redis/redis/v8](https://github.com/go-redis/redis) from 8.8.2 to 8.11.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/go-redis/redis/releases">github.com/go-redis/redis/v8's releases</a>.</em></p> <blockquote> <h2>v8.11.2</h2> <p>Important changes:</p> <p>Revert <a href="https://github-redirect.dependabot.com/go-redis/redis/issues/1824">#1824</a>, because it will have a significant impact on the connection pool(<a href="https://github-redirect.dependabot.com/go-redis/redis/issues/1849">#1849</a>) We will re-add this feature in v9.</p> <p>Users who have already used v8.11.1, need to upgrade immediately.</p> <h2>v8.11.1</h2> <p>Enhancement:</p> <ul> <li><code>DBSize</code>,<code>ScriptLoad</code>,<code>ScriptFlush</code> and <code>ScriptExists</code> should use hook. (<a href="https://github-redirect.dependabot.com/go-redis/redis/issues/1811">#1811</a>)</li> <li>Added FIFO option to connection pool, set option <code>Options.PoolFIFO</code> to true. (<a href="https://github-redirect.dependabot.com/go-redis/redis/issues/1820">#1820</a>)</li> <li>The connection is checked before use, it will increase the CPU time by 5-10% (<a href="https://github-redirect.dependabot.com/go-redis/redis/issues/1824">#1824</a>)</li> <li>Check Failing() before serving random node. (<a href="https://github-redirect.dependabot.com/go-redis/redis/issues/1825">#1825</a>)</li> </ul> <p>Command:</p> <ul> <li>RPOP command supports Count option (redis-server &gt;= 6.2)</li> <li>New cmd: <code>GeoSearch</code>, <code>GeoSearchStore</code> (redis-server &gt;= 6.2)</li> </ul> <p>Thanks: <a href="https://github.com/ktaekwon000"><code>@​ktaekwon000</code></a> <a href="https://github.com/hidu"><code>@​hidu</code></a> <a href="https://github.com/AnatolyRugalev"><code>@​AnatolyRugalev</code></a></p> <h2>v8.11.0</h2> <h3>Change</h3> <p>Remove OpenTelemetry metrics, Linked <a href="https://github-redirect.dependabot.com/go-redis/redis/issues/1534">#1534</a> <a href="https://github-redirect.dependabot.com/go-redis/redis/issues/1805">#1805</a></p> <h3>New Command</h3> <ol> <li>XAutoClaim</li> <li>ZRangeStore</li> <li>ZUnion</li> </ol> <h3>Command More Options</h3> <ol> <li>XAdd: NoMkStream+MinID+Limit</li> <li>XTrim: MinID+Limit</li> <li>XGroup: CreateConsumer</li> <li>ZAdd: GT+LT</li> <li>ZRange: ByScore+ByLex+Rev+Limit</li> </ol> <h3>New API</h3> <ol> <li>XAutoClaim(ctx context.Context, a *XAutoClaimArgs) *XAutoClaimCmd</li> <li>XAutoClaimJustID(ctx context.Context, a *XAutoClaimArgs) *XAutoClaimJustIDCmd</li> <li>ZRangeStore(ctx context.Context, dst string, z ZRangeArgs) *IntCmd</li> <li>ZAddArgs(ctx context.Context, key string, args ZAddArgs) *IntCmd</li> <li>ZAddArgsIncr(ctx context.Context, key string, args ZAddArgs) *FloatCmd</li> <li>ZRangeArgs(ctx context.Context, z ZRangeArgs) *StringSliceCmd</li> <li>ZRangeArgsWithScores(ctx context.Context, z ZRangeArgs) *ZSliceCmd</li> <li>ZUnion(ctx context.Context, store ZStore) *StringSliceCmd</li> <li>ZUnionWithScores(ctx context.Context, store ZStore) *ZSliceCmd</li> </ol> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/go-redis/redis/blob/master/CHANGELOG.md">github.com/go-redis/redis/v8's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <blockquote> <p>:heart: <a href="https://uptrace.dev"><strong>Uptrace.dev</strong> - All-in-one tool to optimize performance and monitor errors &amp; logs</a></p> </blockquote> <h2>v8.11</h2> <ul> <li>Remove OpenTelemetry metrics.</li> <li>Supports more redis commands and options.</li> </ul> <h2>v8.10</h2> <ul> <li> <p>Removed extra OpenTelemetry spans from go-redis core. Now go-redis instrumentation only adds a single span with a Redis command (instead of 4 spans). There are multiple reasons behind this decision:</p> <ul> <li>Traces become smaller and less noisy.</li> <li>It may be costly to process those 3 extra spans for each query.</li> <li>go-redis no longer depends on OpenTelemetry.</li> </ul> <p>Eventually we hope to replace the information that we no longer collect with OpenTelemetry Metrics.</p> </li> </ul> <h2>v8.9</h2> <ul> <li>Changed <code>PubSub.Channel</code> to only rely on <code>Ping</code> result. You can now use <code>WithChannelSize</code>, <code>WithChannelHealthCheckInterval</code>, and <code>WithChannelSendTimeout</code> to override default settings.</li> </ul> <h2>v8.8</h2> <ul> <li>To make updating easier, extra modules now have the same version as go-redis does. That means that you need to update your imports:</li> </ul> <pre><code>github.com/go-redis/redis/extra/redisotel -&gt; github.com/go-redis/redis/extra/redisotel/v8 github.com/go-redis/redis/extra/rediscensus -&gt; github.com/go-redis/redis/extra/rediscensus/v8 </code></pre> <h2>v8.5</h2> <ul> <li><a href="https://github.com/knadh">knadh</a> contributed long-awaited ability to scan Redis Hash into a struct:</li> </ul> <pre lang="go"><code>err := rdb.HGetAll(ctx, &quot;hash&quot;).Scan(&amp;data) <p>err := rdb.MGet(ctx, &quot;key1&quot;, &quot;key2&quot;).Scan(&amp;data) </code></pre></p> <ul> <li>Please check <a href="https://github.com/go-redis/redismock">redismock</a> by</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/go-redis/redis/commit/74f9a7338f65b240910957feb09a7e5993ca03ed"><code>74f9a73</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/go-redis/redis/issues/1853">#1853</a> from go-redis/release/v8.11.3</li> <li><a href="https://github.com/go-redis/redis/commit/702e7cfe68aaea2f176ff74b10d402884b00654d"><code>702e7cf</code></a> Release v8.11.3 (release.sh)</li> <li><a href="https://github.com/go-redis/redis/commit/493a4d05c6cbc3c61ecb5e908c10a1e19104148c"><code>493a4d0</code></a> Fix release.sh</li> <li><a href="https://github.com/go-redis/redis/commit/f02921d3da097d2cc27bf780572542fba116a569"><code>f02921d</code></a> And more</li> <li><a href="https://github.com/go-redis/redis/commit/9cd9efd218b401583011a0c235019f517949db0b"><code>9cd9efd</code></a> More fixes for otel example</li> <li><a href="https://github.com/go-redis/redis/commit/084dcdea946fd00d69b61a73bde3d40e77eb5169"><code>084dcde</code></a> Fix package name in release script</li> <li><a href="https://github.com/go-redis/redis/commit/98ed2cbcad6f5549460ef444b3a9d5df2f5034bc"><code>98ed2cb</code></a> Fix otel example</li> <li><a href="https://github.com/go-redis/redis/commit/818c0e0b2ef10c9f0b227ed6531ff46477bfca4b"><code>818c0e0</code></a> Add version.go</li> <li><a href="https://github.com/go-redis/redis/commit/047f90762589b061f91b2b0b71d4588efb1127cc"><code>047f907</code></a> Bump github.com/onsi/gomega from 1.10.5 to 1.14.0 (<a href="https://github-redirect.dependabot.com/go-redis/redis/issues/1832">#1832</a>)</li> <li><a href="https://github.com/go-redis/redis/commit/5e89d627dde7aa95fb5d380e810514fb4f1c7109"><code>5e89d62</code></a> Automate release process (<a href="https://github-redirect.dependabot.com/go-redis/redis/issues/1852">#1852</a>)</li> <li>Additional commits viewable in <a href="https://github.com/go-redis/redis/compare/v8.8.2...v8.11.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/go-redis/redis/v8&package-manager=go_modules&previous-version=8.8.2&new-version=8.11.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>
vtolstov commented 2021-09-06 18:03:03 +03:00 (Migrated from github.com)

@dependabot squash and merge

@dependabot squash and merge
Sign in to join this conversation.
No description provided.