Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: jamstack, performance, security, static site generator
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 3.8.5
Stable tag: 3.8.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -275,6 +275,12 @@ Diagnostics - Check your WordPress environment for compatibility

== Changelog ==

= 3.8.6 =

* Restored safe, clickable ZIP download and deployment destination links in the activity log
* Fixed activity log, export log, and multisite site data REST responses
* Fixed GitHub release asset uploads when the publish job has no repository checkout

= 3.8.5 =

* Requeued assets during update exports when their generated paths change
Expand Down
4 changes: 2 additions & 2 deletions simply-static.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Plugin Name: Simply Static
* Plugin URI: https://simplystatic.com
* Description: A static site generator to create fast and secure static versions of your WordPress website.
* Version: 3.8.5
* Version: 3.8.6
* Requires at least: 6.2
* Author: Patrick Posner
* Author URI: https://patrickposner.com
Expand All @@ -20,7 +20,7 @@

define( 'SIMPLY_STATIC_PATH', plugin_dir_path( __FILE__ ) );
define( 'SIMPLY_STATIC_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
define( 'SIMPLY_STATIC_VERSION', '3.8.5' );
define( 'SIMPLY_STATIC_VERSION', '3.8.6' );

// Check PHP version.
if ( version_compare( PHP_VERSION, '7.4', '<' ) ) {
Expand Down
4 changes: 2 additions & 2 deletions src/admin/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 src/admin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simplystatic-settings",
"version": "3.8.5",
"version": "3.8.6",
"description": "",
"main": "build/index.js",
"scripts": {
Expand Down
15 changes: 8 additions & 7 deletions tests/Unit/BootstrapCompatibilityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public function test_release_compatibility_map_uses_the_new_symmetric_boundary()
self::assertSame( '2.5.0', Pro_Compatibility::required_pro_version( '3.8.3' ) );
self::assertSame( '2.5.0', Pro_Compatibility::required_pro_version( '3.8.4' ) );
self::assertSame( '2.5.0', Pro_Compatibility::required_pro_version( '3.8.5' ) );
self::assertSame( '2.5.0', Pro_Compatibility::required_pro_version( '3.8.6' ) );
}

public function test_outdated_active_pro_is_left_active_but_all_runtime_hooks_are_blocked(): void {
Expand Down Expand Up @@ -103,20 +104,20 @@ public function test_release_metadata_and_bootstrap_hook_are_aligned(): void {
$package = json_decode( (string) file_get_contents( $root . '/src/admin/package.json' ), true );
$lock = json_decode( (string) file_get_contents( $root . '/src/admin/package-lock.json' ), true );

self::assertMatchesRegularExpression( '/^ \* Version:\s+3\.8\.5$/m', $bootstrap );
self::assertMatchesRegularExpression( '/^ \* Version:\s+3\.8\.6$/m', $bootstrap );
self::assertMatchesRegularExpression( '/^ \* Requires at least:\s+6\.2$/m', $bootstrap );
self::assertStringContainsString( "define( 'SIMPLY_STATIC_VERSION', '3.8.5' );", $bootstrap );
self::assertStringContainsString( "define( 'SIMPLY_STATIC_VERSION', '3.8.6' );", $bootstrap );
self::assertStringContainsString( "version_compare( get_bloginfo( 'version' ), '6.2', '<' )", $bootstrap );
self::assertStringContainsString( 'Simply Static requires WordPress 6.2 or higher.', $bootstrap );
self::assertStringContainsString( "require_once SIMPLY_STATIC_PATH . 'src/class-ss-pro-compatibility.php';", $bootstrap );
self::assertStringContainsString( "add_action( 'plugins_loaded', array( 'Simply_Static\\Pro_Compatibility', 'enforce' ), 1 );", $bootstrap );
self::assertStringNotContainsString( 'deactivate_plugins( $pro_basename', $bootstrap );
self::assertMatchesRegularExpression( '/^Stable tag:\s+3\.8\.5$/m', $readme );
self::assertMatchesRegularExpression( '/^Stable tag:\s+3\.8\.6$/m', $readme );
self::assertMatchesRegularExpression( '/^Requires at least:\s+6\.2$/m', $readme );
self::assertStringContainsString( '= 3.8.5 =', $readme );
self::assertSame( '3.8.5', $package['version'] ?? null );
self::assertSame( '3.8.5', $lock['version'] ?? null );
self::assertSame( '3.8.5', $lock['packages']['']['version'] ?? null );
self::assertStringContainsString( '= 3.8.6 =', $readme );
self::assertSame( '3.8.6', $package['version'] ?? null );
self::assertSame( '3.8.6', $lock['version'] ?? null );
self::assertSame( '3.8.6', $lock['packages']['']['version'] ?? null );
}

private function registerProRuntimeHooks(): void {
Expand Down
Loading