From 667a73456d36c61aa5fa210b52198cc58c7650d2 Mon Sep 17 00:00:00 2001 From: Steve Persch Date: Wed, 21 Sep 2016 12:44:17 -0500 Subject: [PATCH 1/3] Adding --no-scripts to composer install instructions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab8e1ac..6b9b82d 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Go forth and make awesome! And, once you've built something great, [send us feat To install WP LCache, follow these steps: 1. Install the plugin from WordPress.org using the WordPress dashboard. -1a. Those installing from Github will need to run `composer install --no-dev` after cloning to get the [LCache library](https://github.com/lcache/lcache). +1a. Those installing from Github will need to run `composer install --no-dev --no-scripts` after cloning to get the [LCache library](https://github.com/lcache/lcache). 2. Activate the plugin, to ensure LCache's database tables are created. These are created on the plugin activation hook. 3. Symlink the object cache drop-in to its appropriate location: `cd wp-content; ln -s plugins/wp-lcache/object-cache.php object-cache.php` From 5574c3e878ee833b89345046c23d5456635ea5de Mon Sep 17 00:00:00 2001 From: Steve Persch Date: Wed, 21 Sep 2016 12:49:04 -0500 Subject: [PATCH 2/3] Adding --no-scripts to composer install instructions --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index ae7cd90..28c6018 100644 --- a/readme.txt +++ b/readme.txt @@ -28,7 +28,7 @@ Go forth and make awesome! And, once you've built something great, [send us feat To install WP LCache, follow these steps: 1. Install the plugin from WordPress.org using the WordPress dashboard. -1a. Those installing from Github will need to run `composer install --no-dev` after cloning to get the [LCache library](https://github.com/lcache/lcache). +1a. Those installing from Github will need to run `composer install --no-dev --no-scripts` after cloning to get the [LCache library](https://github.com/lcache/lcache). 2. Activate the plugin, to ensure LCache's database tables are created. These are created on the plugin activation hook. 3. Symlink the object cache drop-in to its appropriate location: `cd wp-content; ln -s plugins/wp-lcache/object-cache.php object-cache.php` From 8ced77e13e575267f64a6efe0364f6263a13ceec Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Wed, 21 Sep 2016 11:01:27 -0700 Subject: [PATCH 3/3] Update README and bump version for 0.3.0 --- README.md | 9 +++++++-- readme.txt | 9 +++++++-- wp-lcache.php | 2 +- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ab8e1ac..e751bff 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ **Tags:** cache, plugin **Requires at least:** 4.3 **Tested up to:** 4.6.1 -**Stable tag:** 0.2.2 +**Stable tag:** 0.3.0 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -43,7 +43,7 @@ If you need to install APCu, the PECL installer is the easiest way to do so. If you can't easily use PHP 5.6 or greater, you should switch to a more responsible hosting provider. -### Admin notices ### +### Admin Notices ### If any of the requirements for LCache to function are not met, you will see an admin notice indicating the issue. Here's how to resolve issues for each possible dependency: @@ -78,6 +78,11 @@ Existing WP LCache users will need to alter the `value` column on the lcache_eve ## Changelog ## +### 0.3.0 (September 21st, 2016) ### +* Introduces the `wp lcache enable` WP-CLI command to create the `object-cache.php` symlink. +* Updates LCache to [v0.3.2](https://github.com/lcache/lcache/releases/tag/v0.3.2), which is more noisy about failed L2 serialization. +* Better admin notices: alerts when LCache database tables are missing, or if the plugin is active but `object-cache.php` is missing. + ### 0.2.2 (September 14th, 2016) ### * Updates LCache to [v0.3.1](https://github.com/lcache/lcache/releases/tag/v0.3.1), which has L2 cache guard against returning failed unserializations. * Sets `STRICT_ALL_TABLES` on the database handler to fail and give warnings if there are issues with database inserts. diff --git a/readme.txt b/readme.txt index ae7cd90..f7e86f8 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: getpantheon, danielbachhuber, stevector Tags: cache, plugin Requires at least: 4.3 Tested up to: 4.6.1 -Stable tag: 0.2.2 +Stable tag: 0.3.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -43,7 +43,7 @@ If you need to install APCu, the PECL installer is the easiest way to do so. If you can't easily use PHP 5.6 or greater, you should switch to a more responsible hosting provider. -= Admin notices = += Admin Notices = If any of the requirements for LCache to function are not met, you will see an admin notice indicating the issue. Here's how to resolve issues for each possible dependency: @@ -78,6 +78,11 @@ Existing WP LCache users will need to alter the `value` column on the lcache_eve == Changelog == += 0.3.0 (September 21st, 2016) = +* Introduces the `wp lcache enable` WP-CLI command to create the `object-cache.php` symlink. +* Updates LCache to [v0.3.2](https://github.com/lcache/lcache/releases/tag/v0.3.2), which is more noisy about failed L2 serialization. +* Better admin notices: alerts when LCache database tables are missing, or if the plugin is active but `object-cache.php` is missing. + = 0.2.2 (September 14th, 2016) = * Updates LCache to [v0.3.1](https://github.com/lcache/lcache/releases/tag/v0.3.1), which has L2 cache guard against returning failed unserializations. * Sets `STRICT_ALL_TABLES` on the database handler to fail and give warnings if there are issues with database inserts. diff --git a/wp-lcache.php b/wp-lcache.php index 19f1e7b..72a4d91 100644 --- a/wp-lcache.php +++ b/wp-lcache.php @@ -3,7 +3,7 @@ * Plugin Name: WP LCache * Plugin URI: http://github.com/pantheon-systems/wp-lcache/ * Description: Supercharge your WP Object Cache with LCache, a persistent, performant, and multi-layer cache library. - * Version: 0.2.2 + * Version: 0.3.0 * Author: Pantheon, Daniel Bachhuber * Author URI: https://pantheon.io/ */