Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantheon Automation committed May 28, 2024
1 parent b8321e4 commit fdd3d05
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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,6 +1,6 @@
{
"name": "pantheon-advanced-page-cache",
"version": "2.0.0-dev",
"version": "2.0.0",
"author": "Pantheon",
"license": "GPL-2.0-only",
"homepage": "https://github.com/pantheon-systems/pantheon-advanced-page-cache",
Expand Down
4 changes: 2 additions & 2 deletions pantheon-advanced-page-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author URI: https://pantheon.io
* Text Domain: pantheon-advanced-page-cache
* Domain Path: /languages
* Version: 2.0.0-dev
* Version: 2.0.0
* Requires at least: 6.4
* Tested up to: 6.5.3
*
Expand Down Expand Up @@ -107,7 +107,7 @@ function pantheon_wp_prefix_surrogate_keys_with_blog_id( $keys ) {
*
* Expects that a bootstrap() function exists in the namespaced file.
*
* @since 2.0.0-dev
* @since 2.0.0
* @return void
*/
function pantheon_bootstrap_namespaces() {
Expand Down
6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: getpantheon, danielbachhuber, kporras07, jspellman, jazzs3quence,
Tags: pantheon, cdn, cache
Requires at least: 6.4
Tested up to: 6.5.3
Stable tag: 2.0.0-dev
Stable tag: 2.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -360,7 +360,7 @@ Pantheon Advanced Page Cache integrates with WordPress plugins, including:
See [CONTRIBUTING.md](https://github.com/pantheon-systems/wp-saml-auth/blob/master/CONTRIBUTING.md) for information on contributing.

== Changelog ==
= 2.0.0-dev =
= 2.0.0 (28 May 2024) =
* Adds new admin alerts and Site Health tests about default cache max age settings and recommendations [[#268](https://github.com/pantheon-systems/pantheon-advanced-page-cache/pull/268), [#271](https://github.com/pantheon-systems/pantheon-advanced-page-cache/pull/271)]. The default Pantheon GCDN cache max age value has been updated to 1 week in the [Pantheon MU plugin](https://github.com/pantheon-systems/pantheon-mu-plugin). For more information, see the [release note](https://docs.pantheon.io/release-notes/2024/04/pantheon-mu-plugin-1-4-0-update).
* Updated UI in Pantheon Page Cache admin page when used in a Pantheon environment (with the Pantheon MU plugin). [[#272](https://github.com/pantheon-systems/pantheon-advanced-page-cache/pull/272)]
* Automatically updates the cache max age to the recommended value (1 week) if it was saved at the old default value (600 seconds). [[#269](https://github.com/pantheon-systems/pantheon-advanced-page-cache/pull/269)]
Expand Down Expand Up @@ -443,7 +443,7 @@ See [CONTRIBUTING.md](https://github.com/pantheon-systems/wp-saml-auth/blob/mast
* Initial release.

== Upgrade Notice ==
= 2.0.0-dev =
= 2.0.0 (28 May 2024) =
This release requires a minimum WordPress version of 6.4.0. It uses Site Health checks and the `wp_admin_notices` function to alert users to the new cache max-age default settings and recommendations. The plugin will still function with earlier versions, but you will not get the benefit of the alerts and Site Health checks.

This version also automatically updates the cache max age (set in the [Pantheon Page Cache settings](https://docs.pantheon.io/guides/wordpress-configurations/wordpress-cache-plugin)) to the recommended value (1 week) if it was saved at the old default value (600 seconds). If the cache max age was set to any other value (or not set at all), it will not be changed. A one-time notice will be displayed in the admin interface to inform administrators of this change.
Expand Down

0 comments on commit fdd3d05

Please sign in to comment.