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 <anomiex@users.noreply.github.com>

* Remove comment

Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com>

* 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 <rafael.agostini@automattic.com>
Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com>

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 e03ec9f commit 4ddbab4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ 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).

## [3.5.0-alpha] - unreleased
## [4.0.0-alpha] - unreleased

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

### Added
- Backup: added next daily backup schedule time on admin page

### Removed
- General: Update minimum PHP version to 7.2.

## [3.4.17] - 2024-11-11
### Changed
- Updated package dependencies. [#39999] [#40060]
Expand Down Expand Up @@ -737,7 +740,7 @@ This is an alpha version! The changes listed here are not final.

- Add API endpoints and Jetpack Backup package for managing Help…

[3.5.0-alpha]: https://github.com/Automattic/jetpack-backup/compare/v3.4.17...v3.5.0-alpha
[4.0.0-alpha]: https://github.com/Automattic/jetpack-backup/compare/v3.4.17...v4.0.0-alpha
[3.4.17]: https://github.com/Automattic/jetpack-backup/compare/v3.4.16...v3.4.17
[3.4.16]: https://github.com/Automattic/jetpack-backup/compare/v3.4.15...v3.4.16
[3.4.15]: https://github.com/Automattic/jetpack-backup/compare/v3.4.14...v3.4.15
Expand Down
26 changes: 13 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
"type": "jetpack-library",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.0",
"automattic/jetpack-assets": "^2.3.14",
"automattic/jetpack-admin-ui": "^0.4.6",
"automattic/jetpack-autoloader": "^3.1.3",
"automattic/jetpack-backup-helper-script-manager": "^0.2.9-alpha",
"automattic/jetpack-composer-plugin": "^2.0.4",
"automattic/jetpack-config": "^2.0.4",
"automattic/jetpack-connection": "^5.1.7",
"automattic/jetpack-my-jetpack": "^4.37.0",
"automattic/jetpack-sync": "^3.15.1-alpha",
"automattic/jetpack-status": "^4.0.3"
"php": ">=7.2",
"automattic/jetpack-assets": "^3.0.0-alpha",
"automattic/jetpack-admin-ui": "^0.5.0-alpha",
"automattic/jetpack-autoloader": "^4.0.0-alpha",
"automattic/jetpack-backup-helper-script-manager": "^0.3.0-alpha",
"automattic/jetpack-composer-plugin": "^3.0.0-alpha",
"automattic/jetpack-config": "^3.0.0-alpha",
"automattic/jetpack-connection": "^6.0.0-alpha",
"automattic/jetpack-my-jetpack": "^5.0.0-alpha",
"automattic/jetpack-sync": "^4.0.0-alpha",
"automattic/jetpack-status": "^5.0.0-alpha"
},
"require-dev": {
"automattic/jetpack-changelogger": "^4.2.8",
"automattic/jetpack-changelogger": "^5.0.0-alpha",
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/wordbless": "@dev"
},
Expand Down Expand Up @@ -72,7 +72,7 @@
"link-template": "https://github.com/Automattic/jetpack-backup/compare/v${old}...v${new}"
},
"branch-alias": {
"dev-trunk": "3.5.x-dev"
"dev-trunk": "4.0.x-dev"
}
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion src/class-package-version.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
class Package_Version {

const PACKAGE_VERSION = '3.5.0-alpha';
const PACKAGE_VERSION = '4.0.0-alpha';

const PACKAGE_SLUG = 'backup';

Expand Down

0 comments on commit 4ddbab4

Please sign in to comment.