Skip to content

build(deps): Bump redix from 1.5.3 to 1.6.0 in /elixir-orchestration#177

Merged
hyperpolymath merged 1 commit into
mainfrom
dependabot/hex/elixir-orchestration/redix-1.6.0
Jul 12, 2026
Merged

build(deps): Bump redix from 1.5.3 to 1.6.0 in /elixir-orchestration#177
hyperpolymath merged 1 commit into
mainfrom
dependabot/hex/elixir-orchestration/redix-1.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 11, 2026

Copy link
Copy Markdown
Contributor

Bumps redix from 1.5.3 to 1.6.0.

Changelog

Sourced from redix's changelog.

v1.6.0

  • Add support for Redis Cluster. This is a major feature and this its first release, so use with care—I only tested it (extensively) in non-production-grade scenarios; it was tested on various synthetic environments (like with AWS ElastiCache and locally via Docker) but it has not seen the horrors of production traffic. See the Redix.Cluster documentation to get started.
  • Add Redix.PubSub.ping/2.
  • Fix Elixir 1.19/1.20 warnings.

Unreleased

New features

  • Add support for reading from replicas in Redix.Cluster. Start the cluster with read_from_replicas: true to open and supervise a connection to every replica (each one gets a READONLY after connecting), then pass route: :replica or route: :prefer_replica to Redix.Cluster.command/3 and Redix.Cluster.pipeline/3 to send reads to replicas. The default routing stays :primary, so existing behavior is unchanged.
  • Route commands outside Redix.Cluster's built-in command table to the correct node. Previously commands the driver didn't recognize were treated as keyless and sent to a random node; now their keys are resolved against the server (via COMMAND INFO, with a COMMAND GETKEYS fallback for commands with movable keys) and the result is cached per command name, so repeated calls add no extra round-trips. The built-in table also grew to cover more commands directly (bit commands, the blocking B* list/sorted-set pops, hash-field expiration commands, XSETID, and BITOP).
  • Add a :readonly option to Redix.start_link/1 that issues READONLY after every (re)connection.
  • Add a :health_check_interval option to Redix.start_link/1 that detects half-open connections (the socket is open but the server stopped replying) and reconnects. This fixes slow recovery after a Sentinel failover where the old primary is paused (for example via CLIENT PAUSE): the reconnection re-queries the sentinels and lands on the new primary instead of staying wedged. Defaults to :infinity (disabled).

Changes

  • Verify SSL server hostnames the way browsers do (RFC 6125) by default, which accepts the wildcard certificates used by servers such as Amazon ElastiCache. This sets customize_hostname_check automatically; you can still override it (or any other default SSL option) through :socket_opts.

Bug fixes

  • Bound the total wall-clock of a steady-state Redix.Cluster topology refresh. The refresh runs on the cluster manager's process and probes seed/known nodes serially, so a few black-holed nodes (which accept the connection but never reply) used to block the manager—and every connection restart or MOVED/ASK redirect that needs it—for up to one connection :timeout per node, i.e. tens of seconds. A refresh now stops probing once it exhausts a single :timeout budget, relying on the next refresh for any skipped nodes. The initial topology discovery stays unbounded so startup reliably reaches a reachable seed.
Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code labels Jul 11, 2026
@dependabot
dependabot Bot requested a review from hyperpolymath as a code owner July 11, 2026 22:33
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code labels Jul 11, 2026
@hyperpolymath
hyperpolymath enabled auto-merge (squash) July 12, 2026 04:52
@hyperpolymath
hyperpolymath disabled auto-merge July 12, 2026 04:52
@hyperpolymath
hyperpolymath enabled auto-merge (squash) July 12, 2026 04:52
@hyperpolymath
hyperpolymath disabled auto-merge July 12, 2026 04:53
@hyperpolymath
hyperpolymath enabled auto-merge (squash) July 12, 2026 04:53
@hyperpolymath
hyperpolymath disabled auto-merge July 12, 2026 04:53
@hyperpolymath
hyperpolymath enabled auto-merge (squash) July 12, 2026 04:53
@hyperpolymath
hyperpolymath disabled auto-merge July 12, 2026 04:53
@hyperpolymath
hyperpolymath enabled auto-merge (rebase) July 12, 2026 04:53
Bumps [redix](https://github.com/whatyouhide/redix) from 1.5.3 to 1.6.0.
- [Changelog](https://github.com/whatyouhide/redix/blob/main/CHANGELOG.md)
- [Commits](https://github.com/whatyouhide/redix/commits)

---
updated-dependencies:
- dependency-name: redix
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/hex/elixir-orchestration/redix-1.6.0 branch from c50999f to d845b8a Compare July 12, 2026 04:53
auto-merge was automatically disabled July 12, 2026 04:53

Branch protection rule check failed

@hyperpolymath
hyperpolymath merged commit a91ca81 into main Jul 12, 2026
33 of 38 checks passed
@hyperpolymath
hyperpolymath deleted the dependabot/hex/elixir-orchestration/redix-1.6.0 branch July 12, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant