diff --git a/CHANGELOG.md b/CHANGELOG.md index 200c4dd5..88cd32b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,23 +5,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [1.11.0-alpha] - unreleased - -This is an alpha version! The changes listed here are not final. - +## [1.11.0] - 2023-11-08 ### Added -- Super Cache: fix "accept header" check, and add new "wpsc_accept_list" filter on JSON accept list +- Super Cache: fix "accept header" check, and add new "wpsc_accept_headers" filter on accept header list [#33972] ### Changed -- General: indicate full compatibility with the latest version of WordPress, 6.4. -- General: update WordPress version requirements to WordPress 6.2. -- Overhauled visual styling to match Jetpack branding -- Updated package dependencies. +- General: indicate full compatibility with the latest version of WordPress, 6.4. [#33776] +- General: update WordPress version requirements to WordPress 6.2. [#32762] +- Overhauled visual styling to match Jetpack branding [#32981] +- Updated package dependencies. [#32307] +- Updated package dependencies. [#32605] +- Updated package dependencies. [#32966] +- Updated package dependencies. [#33498] ### Fixed -- Caching: make sure $wp_cache_request_uri is defined to avoid warnings about "NULL" parameters. -- super-cache: fixed null parameter warning when using $supercachedir -- Super Cache: cancel the full preload job correctly. +- Caching: make sure $wp_cache_request_uri is defined to avoid warnings about "NULL" parameters. [#32629] +- super-cache: fixed null parameter warning when using $supercachedir [#33970] +- Super Cache: cancel the full preload job correctly. [#33560] ## [1.10.0] - 2023-08-16 ### Added @@ -694,7 +694,7 @@ This is an alpha version! The changes listed here are not final. Misc fixes -[1.11.0-alpha]: https://github.com/Automattic/wp-super-cache/compare/v1.10.0...v1.11.0-alpha +[1.11.0]: https://github.com/Automattic/wp-super-cache/compare/v1.10.0...v1.11.0 [1.10.0]: https://github.com/Automattic/wp-super-cache/compare/v1.9.4...v1.10.0 [1.9.4]: https://github.com/Automattic/wp-super-cache/compare/v1.9.3...v1.9.4 [1.9.3]: https://github.com/Automattic/wp-super-cache/compare/v1.9.2...v1.9.3 diff --git a/composer.json b/composer.json index 48728bb7..0827fa90 100644 --- a/composer.json +++ b/composer.json @@ -28,6 +28,7 @@ "build-production": "echo 'Add your build step to composer.json, please!'", "build-development": "echo 'Add your build step to composer.json, please!'" }, + "repositories": [], "minimum-stability": "dev", "prefer-stable": true, "extra": { @@ -42,6 +43,6 @@ "wp-svn-autopublish": true }, "config": { - "autoloader-suffix": "6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0_alpha" + "autoloader-suffix": "6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0" } } diff --git a/composer.lock b/composer.lock index 390f7783..2983ad2a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,18 +4,24 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "87e295155b7e1a279aec97fdc82e2d0c", + "content-hash": "872abb34dee066e8db67b7ece02c62eb", "packages": [ { "name": "automattic/jetpack-device-detection", - "version": "1.4.27", + "version": "v1.4.27", + "source": { + "type": "git", + "url": "https://github.com/Automattic/jetpack-device-detection.git", + "reference": "5fa2add941f3a7933b34bc3f57b4649e887c3976" + }, "dist": { - "type": "path", - "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "f9ccd13e0ccb6129fa2f4ff9e5204ebfef6da2a1" + "type": "zip", + "url": "https://api.github.com/repos/Automattic/jetpack-device-detection/zipball/5fa2add941f3a7933b34bc3f57b4649e887c3976", + "reference": "5fa2add941f3a7933b34bc3f57b4649e887c3976", + "shasum": "" }, "require-dev": { - "automattic/jetpack-changelogger": "^3.3.11", + "automattic/jetpack-changelogger": "^3.3.8", "yoast/phpunit-polyfills": "1.1.0" }, "suggest": { @@ -37,31 +43,31 @@ "src/" ] }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, + "notification-url": "https://packagist.org/downloads/", "license": [ "GPL-2.0-or-later" ], "description": "A way to detect device types based on User-Agent header.", - "transport-options": { - "relative": false - } + "support": { + "source": "https://github.com/Automattic/jetpack-device-detection/tree/v1.4.27" + }, + "time": "2023-08-23T17:56:41+00:00" } ], "packages-dev": [ { "name": "automattic/jetpack-changelogger", - "version": "3.3.11", + "version": "v3.3.11", + "source": { + "type": "git", + "url": "https://github.com/Automattic/jetpack-changelogger.git", + "reference": "1b5300887b0dbe8bccc054aa439cd6db6e2d8fb9" + }, "dist": { - "type": "path", - "url": "/tmp/jetpack-build/Automattic/jetpack-changelogger", - "reference": "3c9de249da4268dd696c3a56da378fcd1d93fca7" + "type": "zip", + "url": "https://api.github.com/repos/Automattic/jetpack-changelogger/zipball/1b5300887b0dbe8bccc054aa439cd6db6e2d8fb9", + "reference": "1b5300887b0dbe8bccc054aa439cd6db6e2d8fb9", + "shasum": "" }, "require": { "php": ">=5.6", @@ -92,30 +98,11 @@ }, "autoload": { "psr-4": { - "Automattic\\Jetpack\\Changelogger\\": "src", - "Automattic\\Jetpack\\Changelog\\": "lib" + "Automattic\\Jetpack\\Changelog\\": "lib", + "Automattic\\Jetpack\\Changelogger\\": "src" } }, - "autoload-dev": { - "psr-4": { - "Automattic\\Jetpack\\Changelogger\\Tests\\": "tests/php/includes/src", - "Automattic\\Jetpack\\Changelog\\Tests\\": "tests/php/includes/lib" - } - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "post-install-cmd": [ - "[ -e vendor/bin/changelogger ] || { cd vendor/bin && ln -s ../../bin/changelogger; }" - ], - "post-update-cmd": [ - "[ -e vendor/bin/changelogger ] || { cd vendor/bin && ln -s ../../bin/changelogger; }" - ] - }, + "notification-url": "https://packagist.org/downloads/", "license": [ "GPL-2.0-or-later" ], @@ -126,9 +113,10 @@ "dev", "keepachangelog" ], - "transport-options": { - "relative": false - } + "support": { + "source": "https://github.com/Automattic/jetpack-changelogger/tree/v3.3.11" + }, + "time": "2023-09-28T18:32:29+00:00" }, { "name": "doctrine/instantiator", @@ -2749,10 +2737,7 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": { - "automattic/jetpack-device-detection": 20, - "automattic/jetpack-changelogger": 20 - }, + "stability-flags": [], "prefer-stable": true, "prefer-lowest": false, "platform": [], diff --git a/package.json b/package.json index 85d8b15f..42fc12de 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-super-cache", - "version": "1.11.0-alpha", + "version": "1.11.0", "description": "A very fast caching engine for WordPress that produces static html files.", "homepage": "https://jetpack.com", "bugs": { diff --git a/readme.txt b/readme.txt index 9f1de416..8a0e5dd4 100644 --- a/readme.txt +++ b/readme.txt @@ -268,34 +268,23 @@ Your theme is probably responsive which means it resizes the page to suit whatev == Changelog == -### 1.10.0 - 2023-08-16 +### 1.11.0 - 2023-11-08 #### Added -- Caching: Added support for the 'Accept' HTTP Header. Prevent caching JSON content. -- Preload: Improved preload notification panel shows the last 5 preloaded URLs. +- Super Cache: fix "accept header" check, and add new "wpsc_accept_headers" filter on accept header list #### Changed -- General: Indicate full compatibility with the latest version of WordPress, 6.3. -- General: Update Boost install / activate card styles. -- General: Update documentation links to point to Jetpack.com docs. -- General: Update the contributors list. -- Preload: Faster and more robust preloading slower hosts. - -#### Removed -- Cleanup: Removes unwanted development environment files from production version of the plugin. -- Cleanup: Remove unused "object cache" code. +- General: indicate full compatibility with the latest version of WordPress, 6.4. +- General: update WordPress version requirements to WordPress 6.2. +- Overhauled visual styling to match Jetpack branding +- Updated package dependencies. +- Updated package dependencies. +- Updated package dependencies. +- Updated package dependencies. #### Fixed -- Cache Compression: Fix PHP warning appearing in gzip output stream. -- Caching: Reject unknown or malformed URIs to prevent PHP warnings. -- Dynamic Caching: Fixed incorrect encoding headers when using dynamic caching with compression. -- Setting page: Fixed boost banner getting oversized when zoomed out -- General: Fix incorrect Debug Log URL for nested WordPress installations. -- General: Fix links to cache directory on sites that are in a sub directory. -- General: Updated Nginx documentation hyperlink. -- Preload: No longer deletes child taxonomies during preload. -- Preload: Use a constant instead of hard-coded email numbers in preload dropdown. -- Caching: Prevent Super Cache from attempting to gunzip content which is not zipped -- General: Fix null/false warning in PHP8.1 +- Caching: make sure $wp_cache_request_uri is defined to avoid warnings about "NULL" parameters. +- super-cache: fixed null parameter warning when using $supercachedir +- Super Cache: cancel the full preload job correctly. -------- diff --git a/vendor/autoload.php b/vendor/autoload.php index e3459b77..63cb1bfb 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -22,4 +22,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0_alpha::getLoader(); +return ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0::getLoader(); diff --git a/vendor/automattic/jetpack-device-detection/SECURITY.md b/vendor/automattic/jetpack-device-detection/SECURITY.md index 98f48dd1..b4b46c0e 100644 --- a/vendor/automattic/jetpack-device-detection/SECURITY.md +++ b/vendor/automattic/jetpack-device-detection/SECURITY.md @@ -4,20 +4,11 @@ Full details of the Automattic Security Policy can be found on [automattic.com]( ## Supported Versions -Generally, only the latest version of Jetpack and its associated plugins have continued support. If a critical vulnerability is found in the current version of a plugin, we may opt to backport any patches to previous versions. +Generally, only the latest version of Jetpack has continued support. If a critical vulnerability is found in the current version of Jetpack, we may opt to backport any patches to previous versions. ## Reporting a Vulnerability -Our HackerOne program covers the below plugin software, as well as a variety of related projects and infrastructure: - -* [Jetpack](https://jetpack.com/) -* Jetpack Backup -* Jetpack Boost -* Jetpack CRM -* Jetpack Protect -* Jetpack Search -* Jetpack Social -* Jetpack VideoPress +[Jetpack](https://jetpack.com/) is an open-source plugin for WordPress. Our HackerOne program covers the plugin software, as well as a variety of related projects and infrastructure. **For responsible disclosure of security issues and to be eligible for our bug bounty program, please submit your report via the [HackerOne](https://hackerone.com/automattic) portal.** diff --git a/vendor/automattic/jetpack-device-detection/composer.json b/vendor/automattic/jetpack-device-detection/composer.json index 04d6ce0d..b789130d 100644 --- a/vendor/automattic/jetpack-device-detection/composer.json +++ b/vendor/automattic/jetpack-device-detection/composer.json @@ -6,7 +6,7 @@ "require": {}, "require-dev": { "yoast/phpunit-polyfills": "1.1.0", - "automattic/jetpack-changelogger": "^3.3.11" + "automattic/jetpack-changelogger": "^3.3.8" }, "suggest": { "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 22c4810d..54229599 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0_alpha +class ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0 { private static $loader; @@ -22,12 +22,12 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0_alpha', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0_alpha', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0_alpha::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index cf089fef..122fe86f 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0_alpha +class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0 { public static $classMap = array ( 'Automattic\\Jetpack\\Device_Detection' => __DIR__ . '/..' . '/automattic/jetpack-device-detection/src/class-device-detection.php', @@ -15,7 +15,7 @@ class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0_al public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->classMap = ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0_alpha::$classMap; + $loader->classMap = ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_0::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index f88d9b3a..4e3cee96 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -2,20 +2,27 @@ "packages": [ { "name": "automattic/jetpack-device-detection", - "version": "1.4.27", + "version": "v1.4.27", "version_normalized": "1.4.27.0", + "source": { + "type": "git", + "url": "https://github.com/Automattic/jetpack-device-detection.git", + "reference": "5fa2add941f3a7933b34bc3f57b4649e887c3976" + }, "dist": { - "type": "path", - "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "f9ccd13e0ccb6129fa2f4ff9e5204ebfef6da2a1" + "type": "zip", + "url": "https://api.github.com/repos/Automattic/jetpack-device-detection/zipball/5fa2add941f3a7933b34bc3f57b4649e887c3976", + "reference": "5fa2add941f3a7933b34bc3f57b4649e887c3976", + "shasum": "" }, "require-dev": { - "automattic/jetpack-changelogger": "^3.3.11", + "automattic/jetpack-changelogger": "^3.3.8", "yoast/phpunit-polyfills": "1.1.0" }, "suggest": { "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." }, + "time": "2023-08-23T17:56:41+00:00", "type": "jetpack-library", "extra": { "autotagger": true, @@ -33,20 +40,13 @@ "src/" ] }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, + "notification-url": "https://packagist.org/downloads/", "license": [ "GPL-2.0-or-later" ], "description": "A way to detect device types based on User-Agent header.", - "transport-options": { - "relative": false + "support": { + "source": "https://github.com/Automattic/jetpack-device-detection/tree/v1.4.27" }, "install-path": "../automattic/jetpack-device-detection" } diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index bd06ae95..ec3dcbb1 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -11,9 +11,9 @@ ), 'versions' => array( 'automattic/jetpack-device-detection' => array( - 'pretty_version' => '1.4.27', + 'pretty_version' => 'v1.4.27', 'version' => '1.4.27.0', - 'reference' => 'f9ccd13e0ccb6129fa2f4ff9e5204ebfef6da2a1', + 'reference' => '5fa2add941f3a7933b34bc3f57b4649e887c3976', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-device-detection', 'aliases' => array(), diff --git a/wp-cache.php b/wp-cache.php index b86e437d..129e39ff 100644 --- a/wp-cache.php +++ b/wp-cache.php @@ -3,7 +3,7 @@ * Plugin Name: WP Super Cache * Plugin URI: https://wordpress.org/plugins/wp-super-cache/ * Description: Very fast caching plugin for WordPress. - * Version: 1.11.0-alpha + * Version: 1.11.0 * Author: Automattic * Author URI: https://automattic.com/ * License: GPL2+