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 Jun 27, 2024
1 parent b97e5e3 commit edcde50
Show file tree
Hide file tree
Showing 12 changed files with 98 additions and 104 deletions.
36 changes: 16 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,26 @@
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.13.0-alpha] - unreleased

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

## [1.12.2] - 2024-06-27
### Added
- Super Cache: add an admin notice to encourage migration to Jetpack Boost
- Super Cache: modify boost install code so it can be used by multiple buttons
- Super Cache: notify Boost of migration to that plugin
- add an admin notice to encourage migration to Jetpack Boost [#37933]
- modify boost install code so it can be used by multiple buttons [#37824]
- notify Boost of migration to that plugin [#37797]

### Changed
- General: indicate compatibility with the upcoming version of WordPress - 6.6.
- Super Cache: tell user that Cache module of Boost must be deactivated to use WPSC
- Updated package dependencies.
- WP Super Cache: Updated banner designs, added auto-install Jetpack Boost buttons
- General: indicate compatibility with the upcoming version of WordPress - 6.6. [#37962]
- tell user that Cache module of Boost must be deactivated to use WPSC [#37265]
- WP Updated banner designs, added auto-install Jetpack Boost buttons [#37963]

### Fixed
- Detect when WP_CACHE is defined with "const" in wp-config.php
- Super Cache: Align detection of Boost installs with activation of that plugin
- Super Cache: create the cache directory before creating the config file
- Super Cache: do not show migration notice if already using Boost Cache
- Super Cache: fixed a PHP warning when deactivating the plugin.
- Super Cache: make sure plugins links is an array before using it.
- Super Cache: remove the preload interval based on the post count. Preload as often as you want.
- Super Cache: renamed WPSC_VERSION because it conflicted with other plugins
- Detect when WP_CACHE is defined with "const" in wp-config.php [#38022]
- Align detection of Boost installs with activation of that plugin [#37896]
- create the cache directory before creating the config file [#38028]
- do not show migration notice if already using Boost Cache [#38005]
- fixed a PHP warning when deactivating the plugin. [#37968]
- make sure plugins links is an array before using it. [#37604]
- remove the preload interval based on the post count. Preload as often as you want. [#37618]
- renamed WPSC_VERSION because it conflicted with other plugins [#38007]

## [1.12.1] - 2024-05-09
### Changed
Expand Down Expand Up @@ -756,7 +752,7 @@ This is an alpha version! The changes listed here are not final.

Misc fixes

[1.13.0-alpha]: https://github.com/Automattic/wp-super-cache/compare/v1.12.1...v1.13.0-alpha
[1.12.2]: https://github.com/Automattic/wp-super-cache/compare/v1.12.1...v1.12.2
[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
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"require-dev": {
"yoast/phpunit-polyfills": "1.1.0",
"automattic/jetpack-changelogger": "^4.2.5-alpha"
"automattic/jetpack-changelogger": "^4.2.5"
},
"autoload": {
"classmap": [
Expand All @@ -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ⓥ1_13_0_alpha"
"autoloader-suffix": "6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_2"
}
}
85 changes: 35 additions & 50 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": "1.13.0-alpha",
"version": "1.12.2",
"description": "A very fast caching engine for WordPress that produces static html files.",
"homepage": "https://jetpack.com",
"bugs": {
Expand Down
22 changes: 17 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,26 @@ Your theme is probably responsive which means it resizes the page to suit whatev


== Changelog ==
### 1.12.1 - 2024-05-09
### 1.12.2 - 2024-06-27
#### Added
- add an admin notice to encourage migration to Jetpack Boost
- modify boost install code so it can be used by multiple buttons
- notify Boost of migration to that plugin

#### Changed
- General: update WordPress version requirements to WordPress 6.4.
- General: use wp_admin_notice function introduced in WP 6.4 to display notices.
- General: indicate compatibility with the upcoming version of WordPress - 6.6.
- tell user that Cache module of Boost must be deactivated to use WPSC
- WP Updated banner designs, added auto-install Jetpack Boost buttons

#### Fixed
- Fix the CDN functionality when cache is disabled
- Do not define DONOTCACHEPAGE if it is already defined
- Detect when WP_CACHE is defined with "const" in wp-config.php
- Align detection of Boost installs with activation of that plugin
- create the cache directory before creating the config file
- do not show migration notice if already using Boost Cache
- fixed a PHP warning when deactivating the plugin.
- make sure plugins links is an array before using it.
- remove the preload interval based on the post count. Preload as often as you want.
- renamed WPSC_VERSION because it conflicted with other plugins

--------

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_cache1_13_0_alpha::getLoader();
return ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_2::getLoader();
2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-device-detection/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"require-dev": {
"yoast/phpunit-polyfills": "1.1.0",
"automattic/jetpack-changelogger": "^4.2.5-alpha"
"automattic/jetpack-changelogger": "^4.1.2"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
Expand Down
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_cache1_13_0_alpha
class ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_2
{
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ⓥ1_13_0_alpha', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_2', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_13_0_alpha', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_2', 'loadClassLoader'));

require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_13_0_alpha::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_2::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_cache1_13_0_alpha
class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_2
{
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ⓥ1_13_0_al
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->classMap = ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_13_0_alpha::$classMap;
$loader->classMap = ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_2::$classMap;

}, null, ClassLoader::class);
}
Expand Down
30 changes: 15 additions & 15 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "917579bb98dccfb0440c8c4db8119d1cb4c24035"
"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.5-alpha",
"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,
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.3"
},
"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.3',
'pretty_version' => 'v2.1.3',
'version' => '2.1.3.0',
'reference' => '917579bb98dccfb0440c8c4db8119d1cb4c24035',
'reference' => '178cb2d0215d7446743a1654b0964a1d4ddfca8a',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../automattic/jetpack-device-detection',
'aliases' => array(),
Expand Down
Loading

0 comments on commit edcde50

Please sign in to comment.