All Versions
Latest Version
Avg Release Cycle
44 days
Latest Release

Changelog History
Page 3

  • v0.9.2 Changes

    February 11, 2019

    ๐Ÿ› Bug fixes and improvements

    • Add support for URLs with the rediss scheme.
    • Fix a bug where we used the wrong logging level in some places.
  • v0.9.1 Changes

    January 21, 2019

    ๐Ÿ› Bug fixes and improvements

    • Fix a bad return type from a gen_statem callback (#120).
    • Improve logging for Redis Sentinel.
  • v0.9.0 Changes

    January 15, 2019

    ๐Ÿ’ฅ Breaking changes

    • Bring Redix.PubSub into Redix. Pub/Sub functionality lived in a separate library, redix_pubsub. Now, that functionality has been moved into Redix. This means that if you use redix_pubsub and upgrade your Redix version to 0.9, you will use the redix_pubsub version of Redix.PubSub. If you also upgrade your redix_pubsub version, redix_pubsub will warn and avoid compiling Redix.PubSub so you can use the latest version in Redix. In general, if you upgrade Redix to 0.9 or later just drop the redix_pubsub dependency and make sure your application works with the latest Redix.PubSub API (the message format changed slightly in recent versions).

    • Add support for Redis Sentinel.

    • Don't raise Redix.Error errors on non-bang variants of functions. This means that for example Redix.command/3 won't raise a Redix.Error exception in case of Redis errors (like wront typing) and will return that error instead. In general, if you're pattern matching on {:error, _} to handle connection errors (for example, to retry after a while), now specifically match on {:error, %Redix.ConnectionError{}}. If you want to handle all possible errors the same way, keep matching on {:error, _}.

    ๐Ÿ› Bug fixes and improvements

    • Fix a bug that wouldn't let you use Redis URIs without host or port.
    • Don't ignore the :timeout option when connecting to Redis.
  • v0.8.2 Changes

    October 12, 2018

    ๐Ÿ› Bug fixes and improvements

    • Fix an error when setting up SSL buffers (#106).
  • v0.8.1 Changes

    September 19, 2018

    ๐Ÿ› Bug fixes and improvements

    • Re-introduce start_link/2 with two lists of options, but deprecate it. It will be removed in the next Redix version.
  • v0.8.0 Changes

    September 18, 2018

    ๐Ÿ’ฅ Breaking changes

    • Drop support for Elixir < 1.6.

    • Unify start_link options: there's no more separation between "Redis options" and "connection options". Now, all the options are passed in together. You can still pass a Redis URI as the first argument. This is a breaking change because now calling start_link/2 with two kewyord lists breaks. Note that start_link/2 with two keyword lists still works, but emits a warning and is deprecated.

    ๐Ÿ› Bug fixes and improvements

    • Rewrite the connection using gen_statem in order to drop the dependency to Connection.

    • Add Redix.transaction_pipeline/3 and Redix.transaction_pipeline!/3.

    • Use a timeout when connecting to Redis (which sometimes could get stuck).

    • Add support for SSL ๐Ÿ”

    • Add Redix.noreply_command/3 and Redix.noreply_pipeline/3 (plus their bang ! variants).

  • v0.7.1 Changes

    April 09, 2018
    • Add support for Unix domain sockets by passing host: {:local, path}.
  • v0.7.0 Changes

    ๐Ÿ’ฅ Breaking changes

    • Drop support for Elixir < 1.3.

    • Remove Redix.format_error/1.

    ๐Ÿ› Bug fixes and improvements

    • Add Redix.child_spec/1 for use with the child spec changes in Elixir 1.5.
  • v0.6.1 Changes

    • Fix some deprecation warnings around String.to_char_list/1.
  • v0.6.0 Changes

    ๐Ÿ’ฅ Breaking changes

    • Start using Redix.ConnectionError when returning errors instead of just an atom. This is a breaking change since now Redix.command/2 and the other functions return {:error, %Redix.ConnectionError{reason: reason}} instead of {:error, reason}. If you're matching on specific error reasons, make sure to update your code; if you're formatting errors through Redix.format_error/1, you can now use Exception.message/1 on the Redix.ConnectionError structs.