Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's new for developers? (February 2024) #207

Closed
justintadlock opened this issue Jan 16, 2024 · 10 comments
Closed

What's new for developers? (February 2024) #207

justintadlock opened this issue Jan 16, 2024 · 10 comments
Assignees

Comments

@justintadlock
Copy link

This is a rolling discussion for a new monthly series that is intended to keep track of the items, PRs, Trac tickets, and Make blog posts that are interesting/important for developers. The goal is to publish a post on the 10th of each month with the previous month's updates.

Everyone is welcome to contribute to this monthly document. If you find something interesting, just create a new reply to this discussion below.

Google Doc: https://docs.google.com/document/d/1dHUKWDTZstOG7KR3uxWJejN5eUmWm0LdVvL-m4Gvi6s/edit?usp=sharing

Resources to track:

Copy link

Heads-up @bph @adamziel: To include your project's news for developers, please add the information or a link as a comment to this issue. Deadline 8th of next month

@adamziel
Copy link

adamziel commented Jan 30, 2024

Some editing may be required but here's the first draft of what's new in WordPress Playground:


Live previews

Playground now supports multisites

Go to https://playground.wordpress.net?multisite=yes to enjoy the magic:

CleanShot 2024-01-29 at 12 34 04@2x

If you the Blueprint API, you can lean on the enableMultisite Blueprint step:

{ "steps": [ { "step": "enableMultisite" } ] }

wp-cli is now supported in the CLI and in the browser

wp-cli now works with the WASM PHP provided by the @php-wasm/cli npm package.

You can try it out with the following command:

npx @php-wasm/cli wp-cli.phar user list

CleanShot 2024-01-18 at 14 55 13@2x (2)

Furthermore, you can also use wp-cli directly in the browser – see the live demo.

wp-cli.browser.plugin.install.mp4

The popular commands seem to work, although many limitations are yet to be discovered. Please report any issues at https://github.com/WordPress/wordpress-playground/issues

Playground Block.

The new Playground Block brings Playground into the WordPress editor.
It supports:

  • Embedding Playground with a custom Blueprint
  • Setting WP_DEBUG and WP_SCRIPT_DEBUG constants
  • Navigating to a specific URL
  • Code editor – the files become an auto-installed plugin
  • Exposing PHP errors via an error_log file
Playground.block.mp4

Work is underway to use that block for interactive tutorials on learn.wordpress.org.

Other highlights

WordPress Playground now supports PHP 8.3 and mbregex and OpenSSL PHP extensions.

@adamziel
Copy link

adamziel commented Feb 1, 2024

@bph @justintadlock can we also ping @bgrgicak in these posts?

@bph
Copy link
Collaborator

bph commented Feb 1, 2024

Certainly! Added @bgrgicak to the notifier. Notification starts for the March edition.
<Waving at @bgrgicak/>

@justintadlock
Copy link
Author

justintadlock commented Feb 7, 2024

This one is ready for review now: https://docs.google.com/document/d/1dHUKWDTZstOG7KR3uxWJejN5eUmWm0LdVvL-m4Gvi6s/edit?usp=sharing

Just a heads up that this is expected to be published on Saturday, Feb. 10.

@justintadlock
Copy link
Author

Props to @ndiego for the first review.

@rmartinezduque
Copy link

Looks great to me, Justin! I just left some minor comments and suggestions for consideration. Feel free to accept or reject as you see fit.

@justintadlock
Copy link
Author

Props to @rmartinezduque for the second review.

I'll get this moved over to the Dev Blog tomorrow and ready to publish early on Saturday.

@justintadlock
Copy link
Author

Social copy:

WordPress 6.5 is shaping up to be an exciting release for developers. Check out all the feature updates and changes from the past month on the Developer Blog:

https://developer.wordpress.org/news/2024/02/10/whats-new-for-developers-february-2024/

@bph
Copy link
Collaborator

bph commented Feb 15, 2024

Shared with Marketing team for This month in WordPress February edition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Published (Done)
Development

No branches or pull requests

4 participants