All Versions
30
Latest Version
Avg Release Cycle
48 days
Latest Release
79 days ago

Changelog History
Page 2

  • v0.8.1

    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

    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

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

    💥 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

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

    💥 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.
  • v0.5.2

    • Fix some TCP error handling during the connection setup phase.
  • v0.5.1

    • Fix Redix.stop/1 to be synchronous and not leave zombie processes.
  • v0.5.0

    • Drop support for Elixir < 1.2 and OTP 17 or earlier.
  • v0.4.0

    • Add @lexmag to the maintainers :tada:

    • Handle timeouts nicely by returning {:error, :timeout} instead of exiting (which is the default GenServer behaviour).

    • Remove support for specifying a maximum number of reconnection attempts when connecting to Redis (it was the :max_reconnection_attempts option).

    • Use exponential backoff when reconnecting.

    • Don't reconnect right away after the connection to Redis is lost, but wait for a cooldown time first.

    • Add support for :backoff_initial and :backoff_max options in Redix.start_link/2. These options are used for controlling the backoff behaviour of a Redix connection.

    • Add support for the :sync_connect option when connecting to Redis.

    • Add support for the :exit_on_disconnection option when connecting to Redis.

    • Add support for the :log option when connecting to Redis.

    • Raise ArgumentError exceptions instead of Redix.ConnectionError exceptions for stuff like empty commands.

    • Raise Redix.Error exceptions from Redix.command/3 instead of returning them wrapped in {:error, _}.

    • Expose Redix.format_error/1.

    • Add a "Reconnections" page in the documentation.

    • Extract the Pub/Sub functionality into a separate project.