storefront
storefront copied to clipboard
Update wordpress monorepo (major)
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@wordpress/browserslist-config (source) | 4.1.3 -> 5.1.0 |
||||
@wordpress/env (source) | 4.9.0 -> 5.3.0 |
||||
@wordpress/scripts (source) | 23.7.2 -> 24.2.0 |
Release Notes
WordPress/gutenberg (@wordpress/browserslist-config)
v5.1.0
v5.0.1
v5.0.0
Breaking Change
- Increase the minimum Node.js version to 14 (#43141).
WordPress/gutenberg (@wordpress/env)
v5.3.0
v5.2.1
v5.2.0
Enhancement
- Query parameters can now be used in .zip source URLs.
v5.1.1
Bug Fix
- Fix a crash when "core" was set to
null
in a.wp-env.json
file. We now use the latest stable WordPress version in that case. This also restores the previous behavior of"core": null
in.wp-env.override.json
, which was to use the latest stable WordPress version.
v5.1.0
Enhancement
- Previously, wp-env used the WordPress version provided by Docker in the WordPress image for installations which don't specify a WordPress version. Now, wp-env will find the latest stable version on WordPress.org and check out the https://github.com/WordPress/WordPress repository at the tag matching that version. In most cases, this will match what Docker provides. The benefit is that wp-env (and WordPress.org) now controls the default WordPress version rather than Docker.
Bug Fix
- Downloading a default WordPress version also resolves a bug where the wrong WordPress test files were used if no core source was specified in wp-env.json. The current trunk test files were downloaded rather than the stable version. Now, the test files will match the default stable version.
v5.0.0
Breaking Changes
- Removed the
WP_PHPUNIT__TESTS_CONFIG
environment variable from thephpunit
container. This removes automatic support for thewp-phpunit/wp-phpunit
Composer package. To continue using the package, set the following two environment variables in yourphpunit.xml
file or similar:WP_TESTS_DIR=""
andWP_PHPUNIT__TESTS_CONFIG="/wordpress-phpunit/wp-tests-config.php"
. - Removed the generated
/var/www/html/phpunit-wp-config.php
file from the environment.
Enhancement
- Read WordPress' version and include the corresponding PHPUnit test files in the environment.
- Set the
WP_TESTS_DIR
environment variable in all containers to point at the PHPUnit test files.
Bug Fix
- Restrict
WP_TESTS_DOMAIN
constant to just hostname rather than an entire URL (e.g. it now excludes scheme, port, etc.) (#41039).
WordPress/gutenberg (@wordpress/scripts)
v24.2.0
v24.1.2
v24.1.1
v24.1.0
New Features
- Update the default webpack config to allow
webp
image format (#43880). - Update webpack configuration for the
build
andstart
commands to automatically copy PHP files listed in therender
field ofblock.json
files from the source to the build folder (#43917).
v24.0.0
Breaking Change
- Increase the minimum Node.js version to 14 and minimum npm version to 6.14.4 (#43141).
- The bundled
@wordpress/eslint-plugin
package got updated to the new major version and the default linting for Jest unit tests is now handled in the default config in this package (#43272).
Bug Fix
- Packages: Replace
is-plain-obj
withis-plain-object
(#43511).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.