Skip to content

Commit

Permalink
Updated package versions for automattic/wp-super-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
donnchawp authored and matticbot committed Mar 11, 2024
1 parent a226682 commit 33c6000
Show file tree
Hide file tree
Showing 11 changed files with 106 additions and 114 deletions.
50 changes: 23 additions & 27 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,33 @@
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).

## [2.0.0-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

## [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
- Setup: Detect Jetpack Boost cache and suggest troubleshooting steps [#36018]
- WP Super Cache: added WPSC_PRELOAD_POST_INTERVAL and WPSC_PRELOAD_LOOP_INTERVAL to modify preload timings [#36246]

### 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.
- Updated package dependencies.
- 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.
- Code Modernization: Replace usage of strpos() with str_contains() [#34137]
- Code Modernization: Replace usage of strpos() with str_starts_with(). [#34135]
- Code Modernization: Replace usage of substr() with str_starts_with() and str_ends_with(). [#34207]
- Fix blurry Automattic logo. [#34985]
- General: avoid deprecation warnings when trying to get URLs in PHP 8.2 [#34962]
- General: indicate compatibility with the upcoming version of WordPress, 6.5. [#35820]
- General: updated PHP requirement to PHP 7.0+ [#34126]
- General: update WordPress version requirements to WordPress 6.3. [#34127]
- WP Super Cache: check for Boost Cache when creating advanced-cache.php [#36027]
- WP Super Cache: fixed labels on advanced settings page [#36067]
- WP Super Cache: remove notifications that preload started working again. [#35960]

### 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 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
- Supercache: add "days" to "Next preload scheduled" message. [#34509]
- Super Cache: with rebuild enabled, apply that to subdirectories instead of deleting them. [#35032]
- WP Super Cache - fix the wp_super_cache_clear_post_cache filter so the homepage cache isn't deleted too. [#36069]
- WP Super Cache: bail if the request uri isn't set. It means the plugin isn't configured yet. [#36024]
- WP Super Cache: don't create an output buffer if there's already one active [#36124]
- WP Super Cache: fixed serving a cached page on POST with late init enabled. [#36211]
- WP Super Cache: fix the output buffer check, and make debug logs pre-formatted. [#36158]
- WP Super Cache: if the preload number of posts is not in the list, then add it [#36249]

## [1.11.0] - 2023-11-08
### Added
Expand Down Expand Up @@ -726,7 +722,7 @@ This is an alpha version! The changes listed here are not final.

Misc fixes

[2.0.0-alpha]: https://github.com/Automattic/wp-super-cache/compare/v1.11.0...v2.0.0-alpha
[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
[1.9.4]: https://github.com/Automattic/wp-super-cache/compare/v1.9.3...v1.9.4
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -42,6 +43,6 @@
"wp-svn-autopublish": true
},
"config": {
"autoloader-suffix": "6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_0_alpha"
"autoloader-suffix": "6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_0"
}
}
83 changes: 34 additions & 49 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@automattic/jetpack-super-cache",
"version": "2.0.0-alpha",
"version": "1.12.0",
"description": "A very fast caching engine for WordPress that produces static html files.",
"homepage": "https://jetpack.com",
"bugs": {
Expand Down
34 changes: 22 additions & 12 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -268,23 +268,33 @@ Your theme is probably responsive which means it resizes the page to suit whatev


== Changelog ==
### 1.11.0 - 2023-11-08
### 1.12.0 - 2024-03-11
#### Added
- Super Cache: fix "accept header" check, and add new "wpsc_accept_headers" filter on accept header list
- 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

#### 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.
- Updated package dependencies.
- Updated package dependencies.
- Updated package dependencies.
- 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.

#### 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.
- 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

--------

Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache2_0_0_alpha::getLoader();
return ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_0::getLoader();
8 changes: 4 additions & 4 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache2_0_0_alpha
class ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_0
{
private static $loader;

Expand All @@ -24,12 +24,12 @@ public static function getLoader()

require __DIR__ . '/platform_check.php';

spl_autoload_register(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_0_alpha', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_0', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_0_alpha', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_0', 'loadClassLoader'));

require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache2_0_0_alpha::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_0::getInitializer($loader));

$loader->setClassMapAuthoritative(true);
$loader->register(true);
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache2_0_0_alpha
class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_0
{
public static $classMap = array (
'Automattic\\Jetpack\\Device_Detection' => __DIR__ . '/..' . '/automattic/jetpack-device-detection/src/class-device-detection.php',
Expand All @@ -15,7 +15,7 @@ class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_0_alp
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->classMap = ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache2_0_0_alpha::$classMap;
$loader->classMap = ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_0::$classMap;

}, null, ClassLoader::class);
}
Expand Down
28 changes: 14 additions & 14 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@
"packages": [
{
"name": "automattic/jetpack-device-detection",
"version": "2.1.0",
"version": "v2.1.0",
"version_normalized": "2.1.0.0",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-device-detection.git",
"reference": "2f9d771b5b3585d8692f8323f70108cee00723f8"
},
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-device-detection",
"reference": "d9b58b4c51a1b422ec296f40d479f18dbe69717f"
"type": "zip",
"url": "https://api.github.com/repos/Automattic/jetpack-device-detection/zipball/2f9d771b5b3585d8692f8323f70108cee00723f8",
"reference": "2f9d771b5b3585d8692f8323f70108cee00723f8",
"shasum": ""
},
"require": {
"php": ">=7.0"
Expand All @@ -19,6 +25,7 @@
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
},
"time": "2024-02-22T02:09:09+00:00",
"type": "jetpack-library",
"extra": {
"autotagger": true,
Expand All @@ -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.0"
},
"install-path": "../automattic/jetpack-device-detection"
}
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
),
'versions' => array(
'automattic/jetpack-device-detection' => array(
'pretty_version' => '2.1.0',
'pretty_version' => 'v2.1.0',
'version' => '2.1.0.0',
'reference' => 'd9b58b4c51a1b422ec296f40d479f18dbe69717f',
'reference' => '2f9d771b5b3585d8692f8323f70108cee00723f8',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../automattic/jetpack-device-detection',
'aliases' => array(),
Expand Down
2 changes: 1 addition & 1 deletion wp-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: 2.0.0-alpha
* Version: 1.12.0
* Author: Automattic
* Author URI: https://automattic.com/
* License: GPL2+
Expand Down

0 comments on commit 33c6000

Please sign in to comment.