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.
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 redis from 4.2.5 to 4.6.0.
Changelog
Sourced from redis's changelog.
... (truncated)
Commits
4e76b03
Release 4.6.064e2664
Merge pull request #1063 from cmcinnes-mdsol/fix/clustered-scan-functionsacda111
Add specs for scan methods key extraction88e1c9d
Remove broken scan case statement branch9446688
Use require_relative lesse3cf29d
AddRedis.raise_deprecations=
to help track down deprecated usages4663cb6
Fix method redefinition warnings5e6da6e
Refactor Redis#synchronize and make it privatec30c510
Merge pull request #1061 from casperisfine/multi-deprecationcbc3bdd
Deprecate calling commands on the original Redis instance in multi (block)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)