tarampampam / mikrotik-hosts-parser

✂ Mikrotik hosts parser
MIT License
248 stars 75 forks source link

Bump github.com/go-redis/redis/v8 from 8.10.0 to 8.11.0 #113

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps github.com/go-redis/redis/v8 from 8.10.0 to 8.11.0.

Release notes

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

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

Mark deprecated(remove in v9)

  1. ZAddCh
  2. ZIncr
  3. ZAddNXCh
  4. ZAddXXCh
  5. ZIncrNX
  6. ZIncrXX
  7. XTrim
  8. XTrimApprox
  9. XAddArgs.MaxLenApprox

Remarks

There is a bug in the xtrim/xadd limit option (redis/redis#9046)

Changelog

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

Changelog

:heart: 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)
codecov[bot] commented 3 years ago

Codecov Report

Merging #113 (19ff932) into master (8928e51) will decrease coverage by 0.28%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #113      +/-   ##
==========================================
- Coverage   86.58%   86.29%   -0.29%     
==========================================
  Files          34       34              
  Lines        1051     1051              
==========================================
- Hits          910      907       -3     
- Misses         78       81       +3     
  Partials       63       63              
Impacted Files Coverage Δ
internal/pkg/cache/inmemory.go 90.90% <0.00%> (-4.55%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8928e51...19ff932. Read the comment docs.

tarampampam commented 3 years ago

@dependabot squash and merge