Changelog

v1.8.0 - 2020-07-23

Added

  • Added username configuration option for Redis 6 ACL support

  • Added cache configuration option to set a custom object cache class

  • Added connector configuration option to set a custom connector class

  • Added flush_network configuration option (defaults to all)

  • Support flushing individual sites via Network Admin > Sites

  • Added --skip-flush-notice option to wp redis enable command

  • Added health check to ensure asynchronous flushing is supported

  • Added health check to ensure drop-in can be managed

  • Added intuitive alias for all WP CLI commands

  • Added support for wp_cache_get_multiple() introduced in WP 5.5

Changed

  • Renamed "Dropin" to "Drop-in" everywhere

  • Support flushing individual sites using wp redis flush

  • Hide Redis memory from dashboard widget in multisite environments

  • Display notice when license token is not set or invalid, as well as when the license is unpaid or canceled

Fixed

  • Explicitly set permissions of object-cache.php to FS_CHMOD_FILE

v1.7.3 - 2020-07-10

Fixed

  • Support older versions of Query Monitor

  • Ignore HTTP errors for license verification requests

  • Prevent undefined index notice in ObjectCache::info()

  • Prevent call to undefined function in Licensing::telemetry()

v1.7.2 - 2020-07-09

Added

  • Use wp_opcache_invalidate() on dropin

  • Refactored Diagnostics to use Diagnostic objects

Changed

  • Minor dashboard widget improvements

  • Minor QueryMonitor extension improvements

  • Cleanup plugin options upon deactivation

  • Disable free version when activating plugin to avoid confusion

Fixed

  • Escape more HTML outputs

  • Prevent unnecessary license verification requests

v1.7.1 - 2020-06-08

Fixed

  • Always send setOption() values as string

  • Fixed Query Monitor panels not showing up for some setups

  • Fixed ArrayObjectCache fallback instantiation in wp_cache_init()

  • Format all commands parameters using json_encode() in Query Monitor panel

v1.7.0 - 2020-05-30

Added

  • Added support for Query Monitor

  • Added context to license issues in the dashboard widget

  • Show updates for must-use plugin and object cache dropin

Changed

  • Improved formatting of config values in diagnostics

  • Don't highlight noeviction policy when maxTTL is set

Fixed

  • Prevent unnecessary plugin update requests

v1.6.0 - 2020-05-11

Added

  • Support PHP 7.0 and PhpRedis 3.1.1

  • Indicate missing license token in dashboard widget

Changed

  • Switched to WP_CLI\Utils\proc_open_compat() for wp redis cli

  • Ping Redis during object cache initialization to catch LOADING errors

Fixed

  • Fixed potential TypeError during upgrader_process_complete action

v1.5.1 - 2020-04-29

Fixed

  • Fixed global group cache keys

Security

  • Prevent XSS injection using cache group names when using Debug Bar

v1.5.0 - 2020-04-22

Added

  • Added Requires PHP and Network to plugin header fields

  • Show supported compression formats in site health

Changed

  • Initialize plugin after all plugins have been loaded

  • Improved the plugin version and basename detection

  • Improved muting the wp redis cli auth warning

  • Don't require setting port when connecting to a unix socket

  • Validate config connection information before connecting

  • Always inline widget styles (1015 bytes)

  • Always inject plugin details into update_plugins transient

  • Improved obfuscation of sensitive values

  • Hide health link from plugin actions in WP <5.2 and multisite networks

  • Prevent widget color clashing with color scheme

Fixed

  • Fixed detection of multisite networks

  • Fixed setting global and non-persistent groups

  • Fixed notices in Debug Bar extension

  • Fixed INFO command when using cluster

Removed

  • Removed wp_clear_scheduled_hook for rediscache_report

v1.4.0 - 2020-02-27

Added

  • Added support for storing alloptions key as hash

  • Added wp redis cli command to spawn redis-cli process with configuration

  • Support WP_REDIS_DIR constant in mu-plugin.php stub

Changed

  • Ensure object cache dropin is valid before flushing via CLI

  • Colorized wp redis flush errors

Fixed

  • Fixed typo in RedisConfigMissingException

  • Fixed logs missing from Debug Bar

  • Fixed cloning logic in PhpRedisObjectCache::storeInMemory()

  • Inline styles when plugin is symlinked or located outside of web root

v1.3.0 - 2020-02-06

Added

  • Added support for asynchronous flushing

  • Added support for data compression using lzf and zstd

  • Added network admin dashboard widget

  • Added wp redis flush command with support for --async flag

  • Automatically update dropin after plugin update

  • Show used and max memory in widget, site health and Debug Bar

Changed

  • Switched to using ErrorLogLogger by default

  • The ArrayLogger now extends ErrorLogLogger and vice versa

  • The log levels now default to ['emergency', 'alert', 'critical', 'error']

  • Changed log level of ObjectCache::error() from critical to error

  • Introduced PhpRedisMissingException and PhpRedisOutdatedException

  • Attempt direct filesystem access when WP filesystem initialization fails

  • Renamed internal cache methods in PhpRedisObjectCache to be more descriptive

  • Capture more errors by using Throwable in some places

  • Moved Debug Bar HTML into template files

  • Support setting log_levels configuration option to null

Removed

  • Support setting token and password to null

  • Removed captured errors from site health information

v1.2.1 - 2020-01-20

Added

  • Added health checks link to plugin actions

Changed

  • Made initialization exceptions more helpful

  • Escape HTML in Debug Bar log messages

  • Improved pinging cluster nodes

Fixed

  • Fixed duplicate prefix when using cluster

  • Fixed undefined index notices in Licensing

  • Fixed a issue when loading widget styles as must-use plugin

  • Resolved minor spelling mistakes

v1.2.0 - 2019-11-29

Added

  • Added dashboard widget

  • Added support for automatic WordPress updates

  • Added diagnostic tests and information to Tools > Site Health

  • Added token configuration option to set license token

Changed

  • Disable object cache when deactivating/uninstalling the plugin

Fixed

  • Fixed DebugBar integration on case-sensitive filesystems

v1.1.0 - 2019-11-19

Added

  • Added log levels

  • Added WP_REDIS_DISABLED environment variable

Changed

  • Use PhpRedisConnection for each master when flushing clusters

  • Obfuscate all non-null passwords in diagnostics

  • Allow password to be null for more convenient fallbacks

Fixed

  • Prevent timeouts when flushing database

  • Use inline styles to clear floats in Debug Bar panels

Security

  • Obfuscate password in constants section of diagnostics

v1.0.0 - 2019-11-01

Added

  • Initial stable release