v.0.7.0

Improvements:

  1. [LUNA-9014] Supported TLS (1.2 or newer) for connections to Redis/Valkey and Redis Sentinel: the use_ssl parameter is added to the LUNA_RETRANSLATOR_DB_ADDRESS setting (0 by default). The certificate chain and the host name of every server are verified against the system trusted CA store, the verification cannot be turned off. A connection to a server with an untrusted or expired certificate or a certificate not matching the host name is rejected, the reason is logged.

  2. [LUNA-9014] With Redis Sentinel the master is connected to by the address the sentinels report, so the master certificate has to match that address: an IP address unless the sentinels announce host names (resolve-hostnames yes, announce-hostnames yes).

  3. [LUNA-9014] Server certificates are verified in the strict mode (VERIFY_X509_STRICT, Python 3.13 and newer): every certificate of the chain except the root one has to have the Authority Key Identifier extension, CA certificates have to have the Subject Key Identifier, Key Usage and critical Basic Constraints extensions. A server connected to by an IP address has to have that address among IP addresses of the Subject Alternative Name extension of its certificate.

Bugs fixed:

  1. [LUNA-7470] The process lock of the startup restart is released even when the restart fails halfway, so another instance no longer waits for the lock to expire.

  2. [LUNA-9052] Improved the stability of the service when working with Redis.

Migration:

See a migration manual.

[LUNA-7470] See a migration manual.

[LUNA-9014] See a migration manual.

[LUNA-9052] See a migration manual.