Skip to content

Commit 2965e1b

Browse files
authored
Merge branch 'main' into fix/param-dump-accept-plaintext-format
2 parents 44f0644 + 05fd7f2 commit 2965e1b

126 files changed

Lines changed: 6231 additions & 3402 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/dependabot.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ updates:
77
open-pull-requests-limit: 10
88
labels:
99
- scope:distribution
10+
cooldown:
11+
default-days: 7
1012
- package-ecosystem: github-actions
1113
directory: "/"
1214
schedule:
1315
interval: daily
1416
open-pull-requests-limit: 10
1517
labels:
1618
- scope:distribution
19+
cooldown:
20+
default-days: 7
1721

‎.github/workflows/copilot-setup-steps.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout code
24-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
24+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2525
with:
2626
persist-credentials: false
2727

‎.github/workflows/update-requests.yml‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Check out repository
21-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
21+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2222

2323
- name: Get the latest Requests release tag
2424
id: latest_release
@@ -82,6 +82,8 @@ jobs:
8282
if: steps.latest_release.outputs.tag != steps.current_version.outputs.tag
8383
env:
8484
GH_TOKEN: ${{ github.token }}
85+
LATEST_TAG: ${{ steps.latest_release.outputs.tag }}
86+
BASE_BRANCH: ${{ github.event.repository.default_branch }}
8587
BRANCH_NAME: "update/requests-${{ steps.latest_release.outputs.tag }}"
8688
PR_BODY: |
8789
This automated PR updates the bundled [Requests](https://github.com/WordPress/Requests) library from `${{ steps.current_version.outputs.tag }}` to `${{ steps.latest_release.outputs.tag }}`.
@@ -93,23 +95,23 @@ jobs:
9395
git config user.email "github-actions[bot]@users.noreply.github.com"
9496
git checkout -b "$BRANCH_NAME"
9597
git add utils/install-requests.sh bundle/rmccue/requests/
96-
git commit -m "Update bundled Requests library to ${{ steps.latest_release.outputs.tag }}"
98+
git commit -m "Update bundled Requests library to ${LATEST_TAG}"
9799
git push -f origin "$BRANCH_NAME"
98100
99101
PR_NUMBER=$(gh pr list --head "$BRANCH_NAME" --json number --jq '.[0].number // empty')
100102
if [ -z "$PR_NUMBER" ]; then
101103
gh pr create \
102-
--title "Update bundled Requests library to ${{ steps.latest_release.outputs.tag }}" \
104+
--title "Update bundled Requests library to ${LATEST_TAG}" \
103105
--body "$PR_BODY" \
104106
--label "Requests" \
105-
--base "${{ github.event.repository.default_branch }}" \
107+
--base "$BASE_BRANCH" \
106108
--head "$BRANCH_NAME"
107109
else
108110
gh pr edit "$PR_NUMBER" \
109-
--title "Update bundled Requests library to ${{ steps.latest_release.outputs.tag }}" \
111+
--title "Update bundled Requests library to ${LATEST_TAG}" \
110112
--body "$PR_BODY" \
111113
--add-label "Requests" \
112-
--base "${{ github.event.repository.default_branch }}"
114+
--base "$BASE_BRANCH"
113115
fi
114116
fi
115117

‎VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.13.0-alpha
1+
3.0.0-alpha

‎bundle/rmccue/requests/CHANGELOG.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
Changelog
22
=========
33

4+
2.0.19
5+
------
6+
7+
### Overview of changes
8+
- Update bundled certificates as of 2026-07-16. [#1050], [#1061]
9+
- General housekeeping.
10+
11+
[#1050]: https://github.com/WordPress/Requests/pull/1050
12+
[#1061]: https://github.com/WordPress/Requests/pull/1061
13+
414
2.0.18
515
------
616

‎bundle/rmccue/requests/certificates/cacert.pem‎

Lines changed: 4 additions & 623 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b6e66569cc3d438dd5abe514d0df50005d570bfc96c14dca8f768d020cb96171 cacert.pem
1+
3ff344e30b9b1ed2971044eabb438a08f2e2245ddb5f8ab1a3ad8b63ab4eaf91 cacert.pem

‎bundle/rmccue/requests/src/Requests.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Requests {
4040
*
4141
* @var string
4242
*/
43-
const VERSION = '2.0.18';
43+
const VERSION = '2.0.19';
4444

4545
/**
4646
* POST method

‎codecov.yml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Coverage for this repository is reported from two separate CI uploads:
2+
#
3+
# * `unit` – PHPUnit tests (fast, finishes in ~1 minute).
4+
# * `feature` – Behat functional tests (slow, can take ~45 minutes).
5+
#
6+
# Much of the framework is only exercised through the functional tests. Because
7+
# the Behat upload lands long after the unit upload, Codecov would otherwise
8+
# evaluate the commit/patch status (and post its comment) on unit-only data and
9+
# report a spurious failure for code that is actually covered once the functional
10+
# tests finish. Waiting for both uploads before reporting fixes that.
11+
#
12+
# Note: this repository normally produces exactly two coverage uploads. If the
13+
# feature job ever fails to upload, the Codecov status may stay pending until the
14+
# next push. A fully count-independent fix (aggregating both reports into a
15+
# single upload, or a `manual_trigger` finalizer step) would need to live in the
16+
# shared CI workflow rather than here.
17+
18+
codecov:
19+
notify:
20+
after_n_builds: 2
21+
22+
comment:
23+
after_n_builds: 2

‎composer.json‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@
1111
"php": ">=7.2.24 || ^8.0",
1212
"mustache/mustache": "^3.0.0",
1313
"wp-cli/mustangostang-spyc": "^0.6.3",
14-
"wp-cli/php-cli-tools": "~0.12.7"
14+
"wp-cli/php-cli-tools": "~0.13.0"
1515
},
1616
"require-dev": {
1717
"justinrainbow/json-schema": "^6.3",
1818
"roave/security-advisories": "dev-latest",
19-
"wp-cli/db-command": "^2",
20-
"wp-cli/entity-command": "^2",
21-
"wp-cli/extension-command": "^2",
22-
"wp-cli/package-command": "^2",
19+
"wp-cli/db-command": "^2 || ^3",
20+
"wp-cli/entity-command": "^2 || ^3",
21+
"wp-cli/extension-command": "^2 || ^3",
22+
"wp-cli/language-command": "^2 || ^3",
23+
"wp-cli/package-command": "^2 || ^3",
2324
"wp-cli/wp-cli-tests": "^5"
2425
},
2526
"suggest": {
@@ -39,7 +40,7 @@
3940
},
4041
"extra": {
4142
"branch-alias": {
42-
"dev-main": "2.13.x-dev"
43+
"dev-main": "3.0.x-dev"
4344
},
4445
"commands": [
4546
"cli",

0 commit comments

Comments
 (0)