Skip to content

Commit

Permalink
General: Bump minimum PHP version to 7.2 (#40147)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* Remove comment

Co-authored-by: Brad Jorsch <[email protected]>

* 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 <[email protected]>
Co-authored-by: Brad Jorsch <[email protected]>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/11822562293

Upstream-Ref: Automattic/jetpack@e2ab2c1
  • Loading branch information
tbradsha authored and matticbot committed Nov 13, 2024
1 parent e9db3fc commit a2c6c85
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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}"
Expand Down
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-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": {
Expand Down
2 changes: 1 addition & 1 deletion src/class-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
class Main {

const PACKAGE_VERSION = '0.6.7';
const PACKAGE_VERSION = '0.7.0-alpha';

/**
* Modules to include.
Expand Down

0 comments on commit a2c6c85

Please sign in to comment.