Skip to content

Commit 8551ad8

Browse files
jehervematticbot
authored andcommitted
Status: add new class used to classify requests on a site. (#43843)
* Status: bring over jetpack_is_frontend This function currently lives in the Jetpack plugin only, but would be needed outside of the Jetpack plugin (for example for #43413). * Move file to correct location and switch to using Constants * Add extra tests * Update docblock Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com> * Update version reference See Automattic/jetpack#43843 (comment) Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com> * Simplify test output see Automattic/jetpack#43843 (comment) --------- Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/15556168880 Upstream-Ref: Automattic/jetpack@aa5f7e8
1 parent 5e07cc8 commit 8551ad8

File tree

19 files changed

+211
-92
lines changed

19 files changed

+211
-92
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"automattic/jetpack-my-jetpack": "^5.16.1",
1212
"automattic/jetpack-search": "^0.52.0",
1313
"automattic/jetpack-stats": "^0.16.2",
14-
"automattic/jetpack-status": "^5.1.4",
14+
"automattic/jetpack-status": "^5.2.0-alpha",
1515
"automattic/jetpack-sync": "^4.14.1"
1616
},
1717
"require-dev": {

jetpack_vendor/automattic/jetpack-assets/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"require": {
77
"php": ">=7.2",
88
"automattic/jetpack-constants": "^3.0.8",
9-
"automattic/jetpack-status": "^5.1.4"
9+
"automattic/jetpack-status": "^5.2.0-alpha"
1010
},
1111
"require-dev": {
1212
"brain/monkey": "^2.6.2",

jetpack_vendor/automattic/jetpack-connection/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"automattic/jetpack-assets": "^4.0.25",
1111
"automattic/jetpack-constants": "^3.0.8",
1212
"automattic/jetpack-roles": "^3.0.8",
13-
"automattic/jetpack-status": "^5.1.4",
13+
"automattic/jetpack-status": "^5.2.0-alpha",
1414
"automattic/jetpack-redirect": "^3.0.7"
1515
},
1616
"require-dev": {

jetpack_vendor/automattic/jetpack-jitm/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"automattic/jetpack-device-detection": "^3.0.8",
1212
"automattic/jetpack-logo": "^3.0.5",
1313
"automattic/jetpack-redirect": "^3.0.7",
14-
"automattic/jetpack-status": "^5.1.4"
14+
"automattic/jetpack-status": "^5.2.0-alpha"
1515
},
1616
"require-dev": {
1717
"brain/monkey": "^2.6.2",

jetpack_vendor/automattic/jetpack-my-jetpack/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"automattic/jetpack-redirect": "^3.0.7",
1717
"automattic/jetpack-constants": "^3.0.8",
1818
"automattic/jetpack-plans": "^0.8.0",
19-
"automattic/jetpack-status": "^5.1.4",
19+
"automattic/jetpack-status": "^5.2.0-alpha",
2020
"automattic/jetpack-sync": "^4.14.1",
2121
"automattic/jetpack-protect-status": "^0.6.0"
2222
},

jetpack_vendor/automattic/jetpack-plugins-installer/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"require": {
77
"php": ">=7.2",
88
"automattic/jetpack-a8c-mc-stats": "^3.0.5",
9-
"automattic/jetpack-status": "^5.1.4"
9+
"automattic/jetpack-status": "^5.2.0-alpha"
1010
},
1111
"require-dev": {
1212
"yoast/phpunit-polyfills": "^4.0.0",

jetpack_vendor/automattic/jetpack-redirect/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "GPL-2.0-or-later",
66
"require": {
77
"php": ">=7.2",
8-
"automattic/jetpack-status": "^5.1.4"
8+
"automattic/jetpack-status": "^5.2.0-alpha"
99
},
1010
"require-dev": {
1111
"brain/monkey": "^2.6.2",

jetpack_vendor/automattic/jetpack-search/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"automattic/jetpack-connection": "^6.13.2",
99
"automattic/jetpack-assets": "^4.0.25",
1010
"automattic/jetpack-constants": "^3.0.8",
11-
"automattic/jetpack-status": "^5.1.4",
11+
"automattic/jetpack-status": "^5.2.0-alpha",
1212
"automattic/jetpack-config": "^3.1.0",
1313
"automattic/jetpack-my-jetpack": "^5.16.1",
1414
"automattic/jetpack-sync": "^4.14.1"

jetpack_vendor/automattic/jetpack-stats/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"php": ">=7.2",
88
"automattic/jetpack-connection": "^6.13.2",
99
"automattic/jetpack-constants": "^3.0.8",
10-
"automattic/jetpack-status": "^5.1.4"
10+
"automattic/jetpack-status": "^5.2.0-alpha"
1111
},
1212
"require-dev": {
1313
"yoast/phpunit-polyfills": "^4.0.0",

jetpack_vendor/automattic/jetpack-status/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [5.2.0-alpha] - unreleased
9+
10+
This is an alpha version! The changes listed here are not final.
11+
12+
### Added
13+
- Request: add new class used to classify requests on a site.
14+
815
## [5.1.4] - 2025-04-28
916
### Changed
1017
- Internal updates.
@@ -469,6 +476,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
469476

470477
- Packages: Introduce a status package
471478

479+
[5.2.0-alpha]: https://github.com/Automattic/jetpack-status/compare/v5.1.4...v5.2.0-alpha
472480
[5.1.4]: https://github.com/Automattic/jetpack-status/compare/v5.1.3...v5.1.4
473481
[5.1.3]: https://github.com/Automattic/jetpack-status/compare/v5.1.2...v5.1.3
474482
[5.1.2]: https://github.com/Automattic/jetpack-status/compare/v5.1.1...v5.1.2

0 commit comments

Comments
 (0)