Repository navigation
Redis v4.0.0
Breaking changes
- TLS now uses OpenSSL.jl instead of MbedTLS.jl, which is no longer maintained (#122).
- The sslconfig keyword on RedisConnection, SentinelConnection and RedisClusterConnection now takes a Redis.TLSConfig or an OpenSSL.SSLContext, not an MbedTLS.SSLConfig.
- A new exported TLSConfig(; cacert, clientcert, clientkey, verify) covers the common cases: a CA bundle, system CA certificates, mutual TLS, or verify=false.
Fixes and behaviour changes
- With verify=true, the server certificate must now match the hostname unless the host is an IP address. Before, a certificate for the wrong host was accepted.
- If the server closes a TLS connection partway through a reply, you now get an EOFError (or Base.IOError after a TLS close_notify) instead of a truncated reply.
- A failed TLS handshake now closes the socket instead of leaving it open.
Other
- The MbedTLS dependency is replaced by OpenSSL (compat 1.3.3). Julia compat stays at 1.6.
- test/test_utils.jl is removed. Its client_tls_config helper is replaced by TLSConfig.
Merged pull requests:
- chore: set next release version to 3.1.0 (#121) (@tanmaykm)
- Replace MbedTLS with OpenSSL for TLS connections (#122) (@krynju)
Closed issues:
- Version 4 is not registered (#118)