From a874f8594ec01892a630cda9344ba18a74f6d80e Mon Sep 17 00:00:00 2001 From: Raam Dev Date: Tue, 15 Nov 2016 19:49:30 -0500 Subject: [PATCH] Phing release of v161116-RC. --- .gitchange | 3 +- CHANGELOG.md | 38 +++- comet-cache.php | 2 +- composer.lock | 22 +- readme.txt | 2 +- src/client-s/css/menu-pages.min.css | 2 +- src/client-s/css/menu-pages.min.css.map | 2 +- src/client-s/css/menu-pages/_elements.scss | 32 ++- src/client-s/css/menu-pages/_heading.scss | 84 +++++++- src/client-s/css/menu-pages/_panels.scss | 29 ++- src/client-s/css/menu-pages/_sections.scss | 4 +- src/includes/classes/AbsBase.php | 14 +- src/includes/classes/AbsBaseAp.php | 1 + src/includes/classes/MenuPageOptions.php | 144 ++++++------- src/includes/classes/Notes.php | 127 +++++++++++ src/includes/classes/Plugin.php | 27 ++- src/includes/classes/VsUpgrades.php | 27 ++- src/includes/stub.php | 2 +- src/includes/templates/advanced-cache.x-php | 56 +++-- .../htaccess/canonical-urls-no-ts-enable.txt | 2 +- .../htaccess/canonical-urls-ts-enable.txt | 2 +- src/includes/traits/Ac/ClientSideUtils.php | 29 ++- src/includes/traits/Ac/NcDebugUtils.php | 6 +- src/includes/traits/Ac/ObUtils.php | 133 ++++++++---- src/includes/traits/Ac/PostloadUtils.php | 18 +- src/includes/traits/Plugin/AdminBarUtils.php | 18 +- src/includes/traits/Plugin/InstallUtils.php | 11 +- src/includes/traits/Plugin/MenuPageUtils.php | 9 +- src/includes/traits/Plugin/NoticeUtils.php | 35 +-- src/includes/traits/Plugin/OptionUtils.php | 15 +- .../traits/Plugin/WcpWooCommerceUtils.php | 23 ++ src/includes/traits/Shared/ArrayUtils.php | 33 +++ src/includes/traits/Shared/CachePathUtils.php | 56 ++++- .../traits/Shared/ConditionalUtils.php | 199 ++++++++---------- src/includes/traits/Shared/StringUtils.php | 52 +++++ 35 files changed, 867 insertions(+), 392 deletions(-) create mode 100644 src/includes/classes/Notes.php create mode 100644 src/includes/traits/Shared/ArrayUtils.php diff --git a/.gitchange b/.gitchange index 18758e5..05972a7 100644 --- a/.gitchange +++ b/.gitchange @@ -1,3 +1,4 @@ 1460135613 49dd4154d8f5d3b70691c8e3f52a063a49137fb7:57be33556df067.43016776 -d0e05c36184f81b133761b71ca6ee0136be67409:57dca7f6a53000.90318734 +853d9120b42cf4f2eabe2f35ea18a6ace7170ea6:5824430b1d7e09.47123954 +d0e05c36184f81b133761b71ca6ee0136be67409:582bad1a16b488.93697139 diff --git a/CHANGELOG.md b/CHANGELOG.md index 738bdc2..d83cc4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,42 @@ +## [coming soon] + +- **New Pro Feature:** In the pro version it is now possible to define a list of GET request variable names that should be ignored entirely by Comet Cache. See: **Dashboard → Comet Cache → Plugin Options → GET Requests → List of GET Variable Names to Ignore**. As an example, this new feature makes it possible for site owners to pass query string variables associated with Google Analytics (i.e., `utm_*` variable names) without incurring a cache performance hit. See also: [issue #639](https://github.com/websharks/comet-cache/issues/639) if you'd like additional details. + +- **Performance Enhancement:** For sites configured to allow query string variables into the cache, those variables are now sorted by key name internally to avoid duplicate cache files; i.e., whenever the order of query string variables changes from one request to another, but with the same exact values. In short, Comet Cache now knows how to serve the same underlying cache file; i.e., from a previous request that may have had the same query string, just in a slightly different order. See also: [issue #639](https://github.com/websharks/comet-cache/issues/639) if you'd like additional details. + +- **Nonce Support:** In the pro version, when logged-in user caching is enabled, Comet Cache is now capable of intelligently caching pages that contain Nonce values ([numbers used once](https://cometcache.com/r/numbers-used-once-nonce/)). This allows for pages containing the WordPress Admin Bar to be cached without issue. It also improves compatibility with plugins like bbPress and BuddyPress, resulting in better performance and faster speeds for logged-in users. See also: [issue #793](https://github.com/websharks/comet-cache/issues/793) if you'd like additional details. + +- **i18n Compat.** This release makes all pro preview labels translatable by moving the labels that were previously defined in CSS only into HTML attribute values. See also: [issue #808](https://github.com/websharks/comet-cache/issues/808) if you'd like additional details. + +- **Bug Fix:** Fixed a broken link to the [Static CDN Filters tutorial for MaxCDN integration](http://cometcache.com/r/static-cdn-filters-maxcdn/). Props @kristineds. See also: [issue #842](https://github.com/websharks/comet-cache/issues/842) if you'd like additional details. + +- **HTML Debug Notes:** This version enhances the HTML comments left in the source code. When debug notes are enabled (i.e., HTML comments) they are now broken down into key/value pairs and tabulated for a cleaner display and easier debugging. + +- **UI Enhancement:** Following improvements to the update API in a previous release of Comet Cache that made it possible to update both the lite and pro versions of the software through normal WordPress update mechanisms, this release removes some clutter from the menu pages for Comet Cache. In short, now that we have a tighter integration with WordPress core, it's no longer necessary for Comet Cache to display update notifications in a custom way. See also: [issue #829](https://github.com/websharks/comet-cache/issues/829) for further details. + +- **Bug Fix:** Multisite installations inside a sub-directory were broken by Apache Optimizations via `.htaccess` in some scenarios. Fixed in this release. See also: [issue #798](https://github.com/websharks/comet-cache/issues/798) if you'd like additional details. + +- **Minor UI Enhancement:** This release improves the toggle link that allows you to see additional details whenever Comet Cache automatically clears more than one facet of the cache. See also: [issue #837](https://github.com/websharks/comet-cache/issues/837) and [issue #831](https://github.com/websharks/comet-cache/issues/831) if you'd like additional details. + +- **Bug Fix:** Don't enqueue Chart.js unnecessarily in lite version of the sofware. See also: [issue #830](https://github.com/websharks/comet-cache/issues/830) if you'd like additional details. + +- **Bug Fix:** Enhancing WooCommerce integration by listening to the `woocommerce_product_set_stock_status` hook in addition to the `woocommerce_product_set_stock` hook. See also: [issue #674](https://github.com/websharks/comet-cache/issues/674) if you'd like additional details. + +- **Bug Fix:** Avoid browser autocomplete in configuration fields by adding `autocomplete="off"` to all form tags in Comet Cache menu pages. See also: [issue #832](https://github.com/websharks/comet-cache/issues/832) if you'd like additional details. + +- **Bug Fix:** Automatically dismiss any persistent update notifications whenever a new version of the software is recompiled; i.e., don't continue to show an upgrade notice whenever the software has just been updated by a site owner. See also: [issue #806](https://github.com/websharks/comet-cache/issues/806) if you'd like additional details. + +- **UI Enhancement:** On pro version activation, display a notice that reminds site owners to configure their Pro Update Credentials so they'll be notified by WordPress about new versions of the pro software. See also: [issue #477](https://github.com/websharks/comet-cache/issues/477) if you'd like additional details. + +- **HTML Compressor:** Updating to the latest release of the [HTML Compressor](https://github.com/websharks/html-compressor) library. Comet Cache now comes with the new improved v161108 (latest release). + +- **RevSlider Compat.:** This release includes a built-in exclusion rule for the HTML Compressor to allow for improved compatibility with the popular RevSlider plugin for WordPress. The new built-in exclusion rule looks for and automatically bypasses an important style tag that must be preserved for the RevSlider plugin to work in all scenarios; i.e., `