WordPress / developer-blog-content

In this GitHub space, WordPress team coordinate content to be published on the Developer Blog. Discussion and montly meetings (first Thu) in WP Slack #core-dev-blog
36 stars 2 forks source link

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

Closed justintadlock closed 4 months ago

justintadlock commented 5 months ago

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:

github-actions[bot] commented 5 months ago

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 commented 5 months ago

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.

https://github.com/WordPress/developer-blog-content/assets/205419/0ed60752-d481-41a6-a2bd-e38216641e16

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:

https://github.com/WordPress/playground-tools/assets/205419/5f0b794b-866a-4587-acfe-939e690de625

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 commented 5 months ago

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

bph commented 5 months ago

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

justintadlock commented 4 months ago

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 commented 4 months ago

Props to @ndiego for the first review.

rmartinezduque commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

Shared with Marketing team for This month in WordPress February edition