Upgrade @wp-playground/client to v3 for PHP 8.5 support#24
Merged
Conversation
- Parse wordpress-stubs to extract 3900+ WordPress function signatures - Create autocomplete provider with function names, signatures, and descriptions - Register completion provider in Monaco editor beforeMount hook - Enable quickSuggestions for better autocomplete UX - Enable resolveJsonModule in TypeScript config Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
…ing comment Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
- Create npm script to regenerate WordPress functions data - Add 'since' version info to function metadata - Include clickable links to WordPress developer docs in autocomplete - Show 'since WordPress X.X' in function detail - Add scripts/README.md with maintenance instructions Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
The issue was that ${1:$post_id} format caused Monaco to treat $post_id as a variable reference, showing empty placeholders. Changed to ${1:post_id} format which displays parameter names correctly.
- Updated generation script to omit $ from placeholder text
- Regenerated wordpress-functions.json with fixed format
- Build passes successfully
Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
Test ensures that after selecting an autocomplete suggestion, parameter names are visible (not empty like "get_post_meta(, , )"). Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
Document that parameter names don't include $ in placeholders and explain how Monaco snippet syntax works. Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
- Add explicit wait for specific suggestions before selecting - Add small delays after autocomplete insertions - Use more specific selectors to avoid race conditions - Ensure tests are more robust for async operations Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
…h mobile stacked view Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
…eyinteractive/wp-repl into copilot/improve-mobile-ux-for-panels
…ments Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
Base automatically changed from
copilot/improve-mobile-ux-for-panels
to
main
February 11, 2026 21:57
Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade @wp-playground/client package to v3
Upgrade @wp-playground/client to v3 for PHP 8.5 support
Feb 11, 2026
Member
|
@copilot default should be 8.4 but we must also have 8.5 supported. |
Co-authored-by: srtfisher <346399+srtfisher@users.noreply.github.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrades WordPress Playground client to v3.0.46, adding PHP 8.5 support.
Changes
@wp-playground/clientv1.0.28 → v3.0.46@wp-playground/blueprints,@php-wasm/universal,@php-wasm/util,@wp-playground/remote(required by v3)StepDefinitionimport moved from@wp-playground/clientto@wp-playground/blueprintsSupported PHP versions: 8.5, 8.4, 8.3, 8.2, 8.1, 8.0, 7.4
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.