Skip to content

Releases: pantheon-systems/wp-redis

Version 0.8.2

15 Jan 19:03
dd58ff8
Compare
Choose a tag to compare
  • Catches exceptions when trying to connect to Redis [#265].

Version 0.8.1

10 Jan 16:13
103d6e0
Compare
Choose a tag to compare
  • Adds WP_REDIS_DEFAULT_EXPIRE_SECONDS constant to set default cache expire value [#264].

Version 0.8.0

06 Jan 13:06
d9a3625
Compare
Choose a tag to compare
  • Uses flushdb instead of flushAll to avoid flushing the entire Redis instance [#259].

Version 0.7.1

14 Dec 18:31
71d3d15
Compare
Choose a tag to compare
  • Better support in wp_cache_init() for drop-ins like LudicrousDB [#231].
  • Cleans up PHPCS issues.

Version 0.7.0

22 Aug 20:31
Compare
Choose a tag to compare

Version 0.6.2

05 Jun 18:02
Compare
Choose a tag to compare
  • Bug fix: Preserves null values in internal cache.
  • Bug fix: Converts numeric values to their true type when getting.

Version 0.6.1

23 Feb 16:47
Compare
Choose a tag to compare
  • Bug fix: correctly passes an empty password to redis-cli.
  • Variety of improvements to the test suite.

Version 0.6.0

21 Sep 17:08
Compare
Choose a tag to compare
  • Introduces three new WP-CLI commands: wp redis debug to display cache hit/miss ratio for any URL; wp redis info to display high-level Redis statistics; wp redis enable to create the object-cache.php symlink.
  • Permits a Redis database to be defined with $redis_server['database'].
  • Introduces wp_cache_add_redis_hash_groups(), which permits registering specific groups to use Redis hashes, and is more precise than our existing WP_REDIS_USE_CACHE_GROUPS constant.

Version 0.5.0

27 Apr 18:59
Compare
Choose a tag to compare
  • Performance boost! Removes redundant exists call from wp_cache_get(), which easily halves the number of Redis calls.
  • Uses add_action() and $wpdb in a safer manner for compatibility with Batcache, which loads the object cache before aforementioned APIs are available.
  • For debugging purposes, tracks number of calls to Redis, and includes breakdown of call types.
  • Adds a slew of more explicit test coverage against existing features.
  • For consistency with the actual Redis call, calls del instead of delete.
  • Bug fix: If a group isn't persistent, don't ever make an exists call against Redis.

Version 0.4.0

23 Mar 23:18
Compare
Choose a tag to compare
  • Introduces wp redis-cli, a WP-CLI command to launch redis-cli with WordPress' Redis credentials.
  • Bug fix: Ensures fail back mechanism works as expected on multisite, by writing to sitemeta table instead of the active site's options table.
  • Bug fix: Uses 'default' as the default cache group, mirroring WordPress core, such that $wp_object_cache->add( 'foo', 'bar' ) === wp_cache_add( 'foo', 'bar' ).