Skip to content

Commit 9d08def

Browse files
committed
Correct merge conflicts
2 parents 8d891d4 + 119518a commit 9d08def

File tree

122 files changed

+3802
-1662
lines changed

Some content is hidden

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

122 files changed

+3802
-1662
lines changed

.github/workflows/ci.yml

Lines changed: 46 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
# This step:
1010
# * Warms up the node_modules cache
1111
# * Performs linting and typechecking
12+
# * Checks for orphaned documentation pages
1213
#
1314
# The linting tasks take ~5s to complete and it doesn't
1415
# make sense to separate them into separate steps that would
@@ -23,28 +24,31 @@ jobs:
2324
- uses: ./.github/actions/prepare-playground
2425
- run: npx nx affected --target=lint
2526
- run: npx nx affected --target=typecheck
27+
- run: npx nx check-orphan-pages docs-site
2628
test-unit-asyncify:
2729
runs-on: ubuntu-latest
2830
strategy:
2931
fail-fast: false
3032
matrix:
3133
include:
32-
- name: test-unit-asyncify (1/8)
34+
- name: test-unit-asyncify (1/9)
3335
target: test
34-
- name: test-unit-asyncify (2/8)
36+
- name: test-unit-asyncify (2/9)
3537
target: test-asyncify
36-
- name: test-unit-asyncify (3/8)
38+
- name: test-unit-asyncify (3/9)
3739
target: test-php-file-get-contents-asyncify
38-
- name: test-unit-asyncify (4/8)
40+
- name: test-unit-asyncify (4/9)
3941
target: test-php-fopen-asyncify
40-
- name: test-unit-asyncify (5/8)
42+
- name: test-unit-asyncify (5/9)
4143
target: test-php-fsockopen-asyncify
42-
- name: test-unit-asyncify (6/8)
44+
- name: test-unit-asyncify (6/9)
4345
target: test-php-gethostbyname-asyncify
44-
- name: test-unit-asyncify (7/8)
46+
- name: test-unit-asyncify (7/9)
4547
target: test-php-mysqli-asyncify
46-
- name: test-unit-asyncify (8/8)
48+
- name: test-unit-asyncify (8/9)
4749
target: test-php-sqlite3-asyncify
50+
- name: test-unit-asyncify (9/9)
51+
target: test-php-file-locking-asyncify
4852
name: ${{ matrix.name }}
4953
services:
5054
mysql:
@@ -79,20 +83,22 @@ jobs:
7983
fail-fast: false
8084
matrix:
8185
include:
82-
- name: test-unit-jspi (1/7)
86+
- name: test-unit-jspi (1/8)
8387
target: test-jspi
84-
- name: test-unit-jspi (2/7)
88+
- name: test-unit-jspi (2/8)
8589
target: test-php-file-get-contents-jspi
86-
- name: test-unit-jspi (3/7)
90+
- name: test-unit-jspi (3/8)
8791
target: test-php-fopen-jspi
88-
- name: test-unit-jspi (4/7)
92+
- name: test-unit-jspi (4/8)
8993
target: test-php-fsockopen-jspi
90-
- name: test-unit-jspi (5/7)
94+
- name: test-unit-jspi (5/8)
9195
target: test-php-gethostbyname-jspi
92-
- name: test-unit-jspi (6/7)
96+
- name: test-unit-jspi (6/8)
9397
target: test-php-mysqli-jspi
94-
- name: test-unit-jspi (7/7)
98+
- name: test-unit-jspi (7/8)
9599
target: test-php-sqlite3-jspi
100+
- name: test-unit-jspi (8/8)
101+
target: test-php-file-locking-jspi
96102
name: ${{ matrix.name }}
97103
services:
98104
mysql:
@@ -169,6 +175,19 @@ jobs:
169175
test-e2e-playwright-prepare:
170176
runs-on: ubuntu-latest
171177
steps:
178+
- name: Free up runner disk space
179+
shell: bash
180+
run: |
181+
set -euo pipefail
182+
echo "Disk usage before cleanup:"
183+
df -h
184+
sudo rm -rf /usr/local/lib/android
185+
sudo rm -rf /usr/share/dotnet
186+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
187+
sudo rm -rf /opt/ghc
188+
sudo rm -rf /opt/hostedtoolcache/CodeQL
189+
echo "Disk usage after cleanup:"
190+
df -h
172191
- uses: actions/checkout@v4
173192
with:
174193
submodules: true
@@ -254,6 +273,18 @@ jobs:
254273
path: packages/playground/components/playwright-report/
255274
if-no-files-found: ignore
256275

276+
test-docs-api-reference:
277+
runs-on: ubuntu-latest
278+
steps:
279+
- uses: actions/checkout@v4
280+
with:
281+
submodules: true
282+
- uses: ./.github/actions/prepare-playground
283+
- name: Install Playwright Browsers
284+
run: npx playwright install --with-deps chromium
285+
- name: Verify docs API reference
286+
run: npx nx run docs-site:api-e2e
287+
257288
test-built-npm-packages:
258289
runs-on: ubuntu-latest
259290
steps:

CHANGELOG.md

Lines changed: 66 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,58 +4,109 @@ All notable changes to this project are documented in this file by a CI job
44
that runs on every NPM release. The file follows the [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
55
format.
66

7-
## [v3.0.21] (2025-11-10)
7+
## [v3.0.22] (2025-11-17)
8+
9+
### Enhancements
10+
11+
#### Boot Flow
12+
13+
- [Boot] Verify permalink structure is actually set. ([#2902](https://github.com/WordPress/wordpress-playground/pull/2902))
14+
15+
### Blueprints
16+
17+
- V1] Rewrite github.com/owner/repo/raw URLs. ([#2892](https://github.com/WordPress/wordpress-playground/pull/2892))
18+
19+
### Documentation
20+
21+
- Document the new GitHub Preview button action. ([#2893](https://github.com/WordPress/wordpress-playground/pull/2893))
22+
- [Docs] Adding link at the documentation sidebar for PR preview link page. ([#2895](https://github.com/WordPress/wordpress-playground/pull/2895))
23+
- [Docs] Documentation Expansion for php-wasm/node. ([#2780](https://github.com/WordPress/wordpress-playground/pull/2780))
24+
- [Docs] Updating sidebar to add Xdebug pages. ([#2881](https://github.com/WordPress/wordpress-playground/pull/2881))
25+
26+
### PHP WebAssembly
27+
28+
- Try avoiding URL.canParse for older version of Safari. ([#2887](https://github.com/WordPress/wordpress-playground/pull/2887))
29+
30+
### Website
31+
32+
- Remove "preview WordPress core branch" feature. ([#2894](https://github.com/WordPress/wordpress-playground/pull/2894))
33+
- Support previewing WordPress and Gutenberg branches, not just PRs. ([#2868](https://github.com/WordPress/wordpress-playground/pull/2868))
834

935
### Bug Fixes
1036

11-
- Docs: Fix grammar, typos, and formatting issues across documentation. ([#2877](https://github.com/WordPress/wordpress-playground/pull/2877))
12-
- Docs: Fix typo in resources.md. ([#2876](https://github.com/WordPress/wordpress-playground/pull/2876))
13-
- docs: Fix MDN link for Access-Control-Allow-Origin header. ([#2875](https://github.com/WordPress/wordpress-playground/pull/2875))
37+
- [CLI] Fix null and "latest" WP version resolution and improve unzip error message. ([#2889](https://github.com/WordPress/wordpress-playground/pull/2889))
38+
- [CLI] Fix run-cli leak which was revealed by repeated runCLI() calls during test. ([#2888](https://github.com/WordPress/wordpress-playground/pull/2888))
39+
40+
###
41+
42+
- CLI] Allow API consumers to rely upon option validation and default values. ([#2883](https://github.com/WordPress/wordpress-playground/pull/2883))
1443

1544
### Various
1645

17-
- [Docs] Adding ask AI Button. ([#2858](https://github.com/WordPress/wordpress-playground/pull/2858))
18-
- [i18n] Add Japanese translations to Blueprints JSON and the API Client. ([#2873](https://github.com/WordPress/wordpress-playground/pull/2873))
46+
- Minor stylistic and punctuation improvements. ([#2884](https://github.com/WordPress/wordpress-playground/pull/2884))
47+
- Revise error messages and coding guidelines. ([#2879](https://github.com/WordPress/wordpress-playground/pull/2879))
48+
- Update footer labels in localization file. ([#2878](https://github.com/WordPress/wordpress-playground/pull/2878))
49+
- [i18n] Add Japanese translations to Blueprints JSON and the API Client and Mount data. ([#2882](https://github.com/WordPress/wordpress-playground/pull/2882))
50+
- [i18n] Adding Italian translations. ([#2865](https://github.com/WordPress/wordpress-playground/pull/2865))
51+
- [i18n] Create contributor-day-table-lead.md for Gujarati. ([#2866](https://github.com/WordPress/wordpress-playground/pull/2866))
52+
- i18n: Full Translation of "Build" to Spanish. ([#2906](https://github.com/WordPress/wordpress-playground/pull/2906))
53+
- i18n: Minor fixes on web-instance.md Spanish translation. ([#2899](https://github.com/WordPress/wordpress-playground/pull/2899))
1954

2055
### Contributors
2156

2257
The following contributors merged PRs in this release:
2358

24-
@fellyph @hmbashar @huzaifaalmesbah @shimotmk
59+
@adamziel @brandonpayton @fellyph @mehrazmorshed @praful2111 @shimotmk @SirLouen @Successfulsebunya
2560

61+
## [v3.0.21] (2025-11-10)
62+
63+
### Bug Fixes
2664

27-
## [v3.0.20] (2025-11-06)
65+
- Docs: Fix grammar, typos, and formatting issues across documentation. ([#2877](https://github.com/WordPress/wordpress-playground/pull/2877))
66+
- Docs: Fix typo in resources.md. ([#2876](https://github.com/WordPress/wordpress-playground/pull/2876))
67+
- docs: Fix MDN link for Access-Control-Allow-Origin header. ([#2875](https://github.com/WordPress/wordpress-playground/pull/2875))
68+
69+
### Various
70+
71+
- [Docs] Adding ask AI Button. ([#2858](https://github.com/WordPress/wordpress-playground/pull/2858))
72+
- [i18n] Add Japanese translations to Blueprints JSON and the API Client. ([#2873](https://github.com/WordPress/wordpress-playground/pull/2873))
73+
74+
### Contributors
75+
76+
The following contributors merged PRs in this release:
77+
78+
@fellyph @hmbashar @huzaifaalmesbah @shimotmk
79+
80+
## [v3.0.20] (2025-11-06)
2881

2982
### Enhancements
3083

31-
- [CLI] Add --wordpress-install-mode flag. ([#2803](https://github.com/WordPress/wordpress-playground/pull/2803))
84+
- [CLI] Add --wordpress-install-mode flag. ([#2803](https://github.com/WordPress/wordpress-playground/pull/2803))
3285

3386
### Tools
3487

35-
3688
#### PHP WebAssembly
3789

38-
- [PHP.wasm] Major overhaul of URL rewriting and setting $_SERVER variables. ([#2864](https://github.com/WordPress/wordpress-playground/pull/2864))
90+
- [PHP.wasm] Major overhaul of URL rewriting and setting $\_SERVER variables. ([#2864](https://github.com/WordPress/wordpress-playground/pull/2864))
3991

4092
### PHP WebAssembly
4193

42-
- [PHP.wasm] ImageMagick extension. ([#2834](https://github.com/WordPress/wordpress-playground/pull/2834))
94+
- [PHP.wasm] ImageMagick extension. ([#2834](https://github.com/WordPress/wordpress-playground/pull/2834))
4395

4496
### Bug Fixes
4597

46-
- [CLI] Make messaging clearer for errors and Xdebug IDE integration. ([#2869](https://github.com/WordPress/wordpress-playground/pull/2869))
98+
- [CLI] Make messaging clearer for errors and Xdebug IDE integration. ([#2869](https://github.com/WordPress/wordpress-playground/pull/2869))
4799

48100
### Various
49101

50-
- [Docs] Add xdebug testing page. ([#2840](https://github.com/WordPress/wordpress-playground/pull/2840))
102+
- [Docs] Add xdebug testing page. ([#2840](https://github.com/WordPress/wordpress-playground/pull/2840))
51103

52104
### Contributors
53105

54106
The following contributors merged PRs in this release:
55107

56108
@adamziel @brandonpayton @fellyph
57109

58-
59110
## [v3.0.19] (2025-11-04)
60111

61112
### Enhancements

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "3.0.21",
3+
"version": "3.0.22",
44
"useWorkspaces": true,
55
"useNx": true
66
}

0 commit comments

Comments
 (0)