From 38674dc0616f8ec2e1054c028ca7fab9ee0cb8e0 Mon Sep 17 00:00:00 2001 From: donnchawp Date: Thu, 9 May 2024 14:40:50 +0000 Subject: [PATCH] Updated package versions for automattic/wp-super-cache Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/9018968524 Upstream-Ref: Automattic/jetpack@379816cce153f46add436cd4f7c9770c686b923e --- CHANGELOG.md | 16 ++-- composer.json | 3 +- composer.lock | 85 ++++++++----------- package.json | 2 +- readme.txt | 29 ++----- vendor/autoload.php | 2 +- .../jetpack-device-detection/composer.json | 2 +- vendor/composer/autoload_real.php | 8 +- vendor/composer/autoload_static.php | 4 +- vendor/composer/installed.json | 30 +++---- vendor/composer/installed.php | 4 +- wp-cache.php | 2 +- 12 files changed, 75 insertions(+), 112 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a11472d..25b21592 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,18 +5,14 @@ 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.12.1-alpha] - unreleased - -This is an alpha version! The changes listed here are not final. - +## [1.12.1] - 2024-05-09 ### Changed -- General: update WordPress version requirements to WordPress 6.4. -- General: use wp_admin_notice function introduced in WP 6.4 to display notices. -- Updated package dependencies. +- General: update WordPress version requirements to WordPress 6.4. [#37047] +- General: use wp_admin_notice function introduced in WP 6.4 to display notices. [#37051] ### Fixed -- Super-cache: Fix the CDN functionality when cache is disabled -- WP Super Cache: do not define DONOTCACHEPAGE if it is already defined +- Fix the CDN functionality when cache is disabled [#37112] +- Do not define DONOTCACHEPAGE if it is already defined [#36423] ## [1.12.0] - 2024-03-11 ### Added @@ -735,7 +731,7 @@ This is an alpha version! The changes listed here are not final. Misc fixes -[1.12.1-alpha]: https://github.com/Automattic/wp-super-cache/compare/v1.12.0...v1.12.1-alpha +[1.12.1]: https://github.com/Automattic/wp-super-cache/compare/v1.12.0...v1.12.1 [1.12.0]: https://github.com/Automattic/wp-super-cache/compare/v1.11.0...v1.12.0 [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 diff --git a/composer.json b/composer.json index 4cb1551c..38e39c92 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_12_1_alpha" + "autoloader-suffix": "6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_1" } } diff --git a/composer.lock b/composer.lock index 6452dd94..55eead93 100644 --- a/composer.lock +++ b/composer.lock @@ -4,21 +4,27 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "dcaea797341539b9efa00735e3e79ac2", + "content-hash": "2b51844a3247d7f5d554aa0fe7667d90", "packages": [ { "name": "automattic/jetpack-device-detection", - "version": "2.1.3", + "version": "v2.1.3", + "source": { + "type": "git", + "url": "https://github.com/Automattic/jetpack-device-detection.git", + "reference": "178cb2d0215d7446743a1654b0964a1d4ddfca8a" + }, "dist": { - "type": "path", - "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "1681df0d9d766d2c7da58863050a66bb3c90d8dd" + "type": "zip", + "url": "https://api.github.com/repos/Automattic/jetpack-device-detection/zipball/178cb2d0215d7446743a1654b0964a1d4ddfca8a", + "reference": "178cb2d0215d7446743a1654b0964a1d4ddfca8a", + "shasum": "" }, "require": { "php": ">=7.0" }, "require-dev": { - "automattic/jetpack-changelogger": "^4.2.3", + "automattic/jetpack-changelogger": "^4.1.2", "yoast/phpunit-polyfills": "1.1.0" }, "suggest": { @@ -40,31 +46,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/v2.1.3" + }, + "time": "2024-04-08T18:32:53+00:00" } ], "packages-dev": [ { "name": "automattic/jetpack-changelogger", - "version": "4.2.3", + "version": "v4.2.3", + "source": { + "type": "git", + "url": "https://github.com/Automattic/jetpack-changelogger.git", + "reference": "eff8ed366b8e1d0be1b98db2abacf85d8d9470d6" + }, "dist": { - "type": "path", - "url": "/tmp/jetpack-build/Automattic/jetpack-changelogger", - "reference": "67033a80007b61ea214a7adc934f8842127fed79" + "type": "zip", + "url": "https://api.github.com/repos/Automattic/jetpack-changelogger/zipball/eff8ed366b8e1d0be1b98db2abacf85d8d9470d6", + "reference": "eff8ed366b8e1d0be1b98db2abacf85d8d9470d6", + "shasum": "" }, "require": { "php": ">=7.0", @@ -94,30 +100,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" ], @@ -128,9 +115,10 @@ "dev", "keepachangelog" ], - "transport-options": { - "relative": false - } + "support": { + "source": "https://github.com/Automattic/jetpack-changelogger/tree/v4.2.3" + }, + "time": "2024-05-06T17:32:10+00:00" }, { "name": "doctrine/instantiator", @@ -2696,10 +2684,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 fee93ba3..614b8867 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-super-cache", - "version": "1.12.1-alpha", + "version": "1.12.1", "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 48b5ad1f..d47c430a 100644 --- a/readme.txt +++ b/readme.txt @@ -268,33 +268,14 @@ Your theme is probably responsive which means it resizes the page to suit whatev == Changelog == -### 1.12.0 - 2024-03-11 -#### Added -- Setup: Detect Jetpack Boost cache and suggest troubleshooting steps -- WP Super Cache: added WPSC_PRELOAD_POST_INTERVAL and WPSC_PRELOAD_LOOP_INTERVAL to modify preload timings - +### 1.12.1 - 2024-05-09 #### Changed -- Code Modernization: Replace usage of strpos() with str_contains() -- Code Modernization: Replace usage of strpos() with str_starts_with(). -- Code Modernization: Replace usage of substr() with str_starts_with() and str_ends_with(). -- Fix blurry Automattic logo. -- General: avoid deprecation warnings when trying to get URLs in PHP 8.2 -- General: indicate compatibility with the upcoming version of WordPress, 6.5. -- General: updated PHP requirement to PHP 7.0+ -- General: update WordPress version requirements to WordPress 6.3. -- WP Super Cache: check for Boost Cache when creating advanced-cache.php -- WP Super Cache: fixed labels on advanced settings page -- WP Super Cache: remove notifications that preload started working again. +- General: update WordPress version requirements to WordPress 6.4. +- General: use wp_admin_notice function introduced in WP 6.4 to display notices. #### Fixed -- Supercache: add "days" to "Next preload scheduled" message. -- Super Cache: with rebuild enabled, apply that to subdirectories instead of deleting them. -- WP Super Cache - fix the wp_super_cache_clear_post_cache filter so the homepage cache isn't deleted too. -- WP Super Cache: bail if the request uri isn't set. It means the plugin isn't configured yet. -- WP Super Cache: don't create an output buffer if there's already one active -- WP Super Cache: fixed serving a cached page on POST with late init enabled. -- WP Super Cache: fix the output buffer check, and make debug logs pre-formatted. -- WP Super Cache: if the preload number of posts is not in the list, then add it +- Fix the CDN functionality when cache is disabled +- Do not define DONOTCACHEPAGE if it is already defined -------- diff --git a/vendor/autoload.php b/vendor/autoload.php index aa3ed324..71a97aa3 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_12_1_alpha::getLoader(); +return ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_1::getLoader(); diff --git a/vendor/automattic/jetpack-device-detection/composer.json b/vendor/automattic/jetpack-device-detection/composer.json index 33e47229..12aa1e91 100644 --- a/vendor/automattic/jetpack-device-detection/composer.json +++ b/vendor/automattic/jetpack-device-detection/composer.json @@ -8,7 +8,7 @@ }, "require-dev": { "yoast/phpunit-polyfills": "1.1.0", - "automattic/jetpack-changelogger": "^4.2.3" + "automattic/jetpack-changelogger": "^4.1.2" }, "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 e08b0919..2c0c91c9 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_12_1_alpha +class ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_1 { private static $loader; @@ -24,12 +24,12 @@ public static function getLoader() require __DIR__ . '/platform_check.php'; - spl_autoload_register(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_1_alpha', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_1', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_1_alpha', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_1', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_1_alpha::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_1::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 584f5fe1..3fdf5fda 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_12_1_alpha +class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_1 { 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_12_1_al public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->classMap = ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_1_alpha::$classMap; + $loader->classMap = ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_1::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index ddb0ff64..f278b53a 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -2,23 +2,30 @@ "packages": [ { "name": "automattic/jetpack-device-detection", - "version": "2.1.3", + "version": "v2.1.3", "version_normalized": "2.1.3.0", + "source": { + "type": "git", + "url": "https://github.com/Automattic/jetpack-device-detection.git", + "reference": "178cb2d0215d7446743a1654b0964a1d4ddfca8a" + }, "dist": { - "type": "path", - "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "1681df0d9d766d2c7da58863050a66bb3c90d8dd" + "type": "zip", + "url": "https://api.github.com/repos/Automattic/jetpack-device-detection/zipball/178cb2d0215d7446743a1654b0964a1d4ddfca8a", + "reference": "178cb2d0215d7446743a1654b0964a1d4ddfca8a", + "shasum": "" }, "require": { "php": ">=7.0" }, "require-dev": { - "automattic/jetpack-changelogger": "^4.2.3", + "automattic/jetpack-changelogger": "^4.1.2", "yoast/phpunit-polyfills": "1.1.0" }, "suggest": { "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." }, + "time": "2024-04-08T18:32:53+00:00", "type": "jetpack-library", "extra": { "autotagger": true, @@ -36,20 +43,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/v2.1.3" }, "install-path": "../automattic/jetpack-device-detection" } diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 32fdd1a1..93ee928f 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -11,9 +11,9 @@ ), 'versions' => array( 'automattic/jetpack-device-detection' => array( - 'pretty_version' => '2.1.3', + 'pretty_version' => 'v2.1.3', 'version' => '2.1.3.0', - 'reference' => '1681df0d9d766d2c7da58863050a66bb3c90d8dd', + 'reference' => '178cb2d0215d7446743a1654b0964a1d4ddfca8a', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-device-detection', 'aliases' => array(), diff --git a/wp-cache.php b/wp-cache.php index b97d98df..c49aeb7e 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.12.1-alpha + * Version: 1.12.1 * Author: Automattic * Author URI: https://automattic.com/ * License: GPL2+