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

Bump to WP 6.6 RC1 #510

Merged
merged 1 commit into from
Jul 3, 2024
Merged

Bump to WP 6.6 RC1 #510

merged 1 commit into from
Jul 3, 2024

Conversation

stian-overasen
Copy link
Member

@stian-overasen stian-overasen commented Jun 27, 2024

When building with @wordpress/scripts v28 WordPress 6.6 is required. I suggest we bump to RC1 now, and to 6.6 as soon as it is released.

Read more: https://make.wordpress.org/core/2024/06/06/jsx-in-wordpress-6-6/

Details:

When building a block with wp-scripts < 28, the editor.asset.php file looks something like this:

<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-polyfill', 'wp-server-side-render'), 'version' => '24dcb634f80b729ca9b2');

For wp-scripts >= 28, the react dependency is changed to react-jsx-runtime.

<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-server-side-render'), 'version' => '5f3541aa60a4b502af1f');

@stian-overasen stian-overasen marked this pull request as ready for review June 27, 2024 06:32
@stian-overasen stian-overasen requested a review from olethomas June 27, 2024 06:32
Copy link

Composer package changes
Prod Packages Operation Base Target
johnpbloch/wordpress New - 6.6.x-dev 9dd57cc
johnpbloch/wordpress-core New - 6.6.x-dev fb2c46f
johnpbloch/wordpress-core-installer New - 2.0.0
roots/wordpress Removed 6.5.5 -
roots/wordpress-core-installer Removed 1.100.0 -
roots/wordpress-no-content Removed 6.5.5 -

Copy link
Member

@olethomas olethomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scripts package > 28 isn't compatible with WordPress < 6.6. Let's merge this and switch back to roots as soon as WP 6.6 is released late July.

@olethomas olethomas merged commit 04eabb3 into main Jul 3, 2024
5 checks passed
@olethomas olethomas deleted the wp66 branch July 3, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants