- Fix support for Redis v7+ high-availability using Redis Sentinel
- Add support for redis auth via username/password (vs just password). Requires redis v6+
Code:$config['cache']['config']['username'] = 'myUsername'; // requires redis 6+, or for cloud redis installations $config['cache']['config']['password'] = '....';
Improve SSL/TLS support, exposing tls/ssl options.
Code:$config['cache']['config']['server'] = 'ssl://127.0.0.1'; // See https://www.php.net/manual/en/context.ssl.php for details $config['cache']['config']['tlsOptions'] = [ 'SNI_enabled' => true, ];
- Fix php 8.1+ error with phpredis + socket connections
- Workaround for php 8.0.17+/8.1.4+ issue when zlib output compression & serving css
- Fix case where cached forum thread counts may be inaccurate due to insufficiently specific cache key
- Update library used to talk to redis to version which is confirmed php 8.1 compatible
- Improve compatibility with 3rd party add-ons with caching applied to user's online list
- Fix email rendering
- Prefix known global functions to avoid a current namespace lookup for the function.
- Work-around for non-desirable caching behaviour when CloudFlare (or similar) is forced to cache css.php output
- If css.php would return empty output instead return a 404 and cache in redis for at most a second
- Prevent polluting of caches if the time-stamp is in the future
- Improve XF Cloud support
- config.php are not required if the stock Redis connector is used.
- Currently XF Cloud does not use Redis for the main cache which prevents various redis-only add-ons from functioning as expected
- Force global namespace for functions which are known to be optimizable to bytecode in php
- Track latest upstream Credis library
- Fix "TypeError: Argument 1 passed to XXXX must be of the type YYYY, bool given" when the decompressor library for content stored in redis unexpectedly disappears
- Add php7+ type hinting
- Add short (per-user) caching for 'user online' widget. On busy forums this may reduce the contention of xf_session_activity table.
- Support using PHP Redis extension for TLS connections when v5.3.0+ is present. Older version will fall back to the pure php implementation for communicating with a redis server