ulab-committee / ulab-website

The website for ULAB, built with Spina CMS.
https://www.ulab.org.uk
MIT License
2 stars 0 forks source link

Bump redis from 4.5.1 to 4.6.0 #946

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps redis from 4.5.1 to 4.6.0.

Changelog

Sourced from redis's changelog.

4.6.0

  • Deprecate Redis.current.

  • Deprecate calling commands on Redis inside Redis#pipelined. See #1059.

    redis.pipelined do
      redis.get("key")
    end
    

    should be replaced by:

    redis.pipelined do |pipeline|
      pipeline.get("key")
    end
    
  • Deprecate calling commands on Redis inside Redis#multi. See #1059.

    redis.multi do
      redis.get("key")
    end
    

    should be replaced by:

    redis.multi do |transaction|
      transaction.get("key")
    end
    
  • Deprecate Redis#queue and Redis#commit. See #1059.

  • Fix zpopmax and zpopmin when called inside a pipeline. See #1055.

  • Redis#synchronize is now private like it should always have been.

  • Add Redis.silence_deprecations= to turn off deprecation warnings. If you don't wish to see warnings yet, you can set Redis.silence_deprecations = false. It is however heavily recommended to fix them instead when possible.

  • Add Redis.raise_deprecations= to turn deprecation warnings into errors. This makes it easier to identitify the source of deprecated APIs usage. It is recommended to set Redis.raise_deprecations = true in development and test environments.

  • Add new options to ZRANGE. See #1053.

  • Add ZRANGESTORE command. See #1053.

  • Add SCAN support for Redis::Cluster. See #1049.

  • Add COPY command. See #1053. See #1048.

  • Add ZDIFFSTORE command. See #1046.

  • Add ZDIFF command. See #1044.

  • Add ZUNION command. See #1042.

  • Add HRANDFIELD command. See #1040.

Commits
  • 4e76b03 Release 4.6.0
  • 64e2664 Merge pull request #1063 from cmcinnes-mdsol/fix/clustered-scan-functions
  • acda111 Add specs for scan methods key extraction
  • 88e1c9d Remove broken scan case statement branch
  • 9446688 Use require_relative less
  • e3cf29d Add Redis.raise_deprecations= to help track down deprecated usages
  • 4663cb6 Fix method redefinition warnings
  • 5e6da6e Refactor Redis#synchronize and make it private
  • c30c510 Merge pull request #1061 from casperisfine/multi-deprecation
  • cbc3bdd Deprecate calling commands on the original Redis instance in multi (block)
  • Additional commits viewable in compare view


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)