From a2c6c8532fe136e859af4cb80f17a2220234beb0 Mon Sep 17 00:00:00 2001 From: tbradsha Date: Wed, 13 Nov 2024 17:44:27 +0000 Subject: [PATCH] General: Bump minimum PHP version to 7.2 (#40147) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Bump minimum WP version to 6.6 * Match WP tested version to readme * Add changelogs * Remove 7.0 tests * Update comments with more recent data * Update composer.lock * Fix comment * Backup: Add next daily backup schedule time (#39914) * Set up react-query, moment and typescript * changelog * Add endpoint to fetch site backup schedule time * Setup react-query (queryClientProvider) * Add useScheduledTimeQuery hook to fetch schedule time * Add hook to parse and return the next backup schedule time * Add component to render the next scheduled backup message * Fix record Tracks event * Removing changelog for migration and core plugin * Bump `Automattic\Jetpack\Backup` namespace to V0005 * changelog * Bump `Automattic\Jetpack\Transport_Helper` to V0005 * Remove `between` to make `Modify` fit in the same line * Fix pnpm lock * Bump PHP 7.0 refs * Clean up false positive * setMethods → onlyMethods * Add changelogs * Bump PHP 7.0 refs * Clean up false positive * setMethods → onlyMethods * Add changelogs * More changelogs * Remove suppression for old PHP versions * Make PHPCS and Phan rules match * Docs tweak Co-authored-by: Brad Jorsch * Remove comment Co-authored-by: Brad Jorsch * Remove inaccurate changelogs * Make params explicitly nullable * Oops: onlyMethods → addMethods * Another onlyMethods → addMethods * Last one * Split existing and new methods to mock * Prevent error when not adding new methods * Update Phan baselines * Use a more recent theme * Remove unneeded @requires * Update composer.lock * Debug * More debug * Remove debug * Remove more debug * Oops, missed one * Add another changelog --------- Co-authored-by: Rafael Agostini Co-authored-by: Brad Jorsch Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/11822562293 Upstream-Ref: Automattic/jetpack@e2ab2c1e50731acb008c3af2756b14568414fcc3 --- CHANGELOG.md | 8 ++++++++ composer.json | 8 ++++---- package.json | 2 +- src/class-main.php | 2 +- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e53bf66..a069376 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. 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). +## [0.7.0-alpha] - unreleased + +This is an alpha version! The changes listed here are not final. + +### Removed +- General: Update minimum PHP version to 7.2. + ## [0.6.7] - 2024-11-11 ### Changed - Updated package dependencies. [#39999] @@ -147,6 +154,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Add wordpress folder on gitignore. [#37177] +[0.7.0-alpha]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.6.7...v0.7.0-alpha [0.6.7]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.6.6...v0.6.7 [0.6.6]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.6.5...v0.6.6 [0.6.5]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.6.4...v0.6.5 diff --git a/composer.json b/composer.json index 575a5a7..76badff 100644 --- a/composer.json +++ b/composer.json @@ -4,12 +4,12 @@ "type": "jetpack-library", "license": "GPL-2.0-or-later", "require": { - "php": ">=7.0", - "automattic/jetpack-assets": "^2.3.14" + "php": ">=7.2", + "automattic/jetpack-assets": "^3.0.0-alpha" }, "require-dev": { "yoast/phpunit-polyfills": "^1.1.1", - "automattic/jetpack-changelogger": "^4.2.8", + "automattic/jetpack-changelogger": "^5.0.0-alpha", "automattic/wordbless": "dev-master" }, "autoload": { @@ -46,7 +46,7 @@ "extra": { "autotagger": true, "branch-alias": { - "dev-trunk": "0.6.x-dev" + "dev-trunk": "0.7.x-dev" }, "changelogger": { "link-template": "https://github.com/Automattic/jetpack-classic-theme-helper/compare/v${old}...v${new}" diff --git a/package.json b/package.json index 9501181..f1853db 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-classic-theme-helper", - "version": "0.6.7", + "version": "0.7.0-alpha", "description": "Features used with classic themes", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/classic-theme-helper/#readme", "bugs": { diff --git a/src/class-main.php b/src/class-main.php index c132800..c71dbba 100644 --- a/src/class-main.php +++ b/src/class-main.php @@ -14,7 +14,7 @@ */ class Main { - const PACKAGE_VERSION = '0.6.7'; + const PACKAGE_VERSION = '0.7.0-alpha'; /** * Modules to include.