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 @wordpress/env from 4.9.0 to 7.0.0 #24

Merged
merged 1 commit into from
May 24, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 24, 2023

Bumps @wordpress/env from 4.9.0 to 7.0.0.

Changelog

Sourced from @​wordpress/env's changelog.

7.0.0 (2023-05-10)

Breaking Change

  • Docker containers now run as the host user. This should resolve problems with permissions arising from different owners between the host, web container, and cli container. If you still encounter permissions issues, try running npx wp-env destroy so that the environment can be recreated with the correct permissions.
  • Remove the composer and phpunit Docker containers. If you are currently using the run composer or run phpunit command you can migrate to run cli composer or run tests-cli phpunit respectively. Note that with composer, you will need to use the --env-cwd option to navigate to your plugin's directory as it is no longer the default working directory.

New feature

  • Create an afterSetup option in .wp-env.json files for setting arbitrary commands to run after setting up WordPress when using npx wp-env start and npx wp-env clean.
  • Add a WP_ENV_AFTER_SETUP environment variable to override the afterSetup option.
  • Execute the afterSetup command on npx wp-env start after the environment is set up. This can happen when your config changes, WordPress updates, or you pass the --update flag.
  • Execute the afterSetup command on npx wp-env clean.
  • Globally install composer and the correct version of phpunit in all of the Docker containers.

Bug fix

  • Ensure wordpress, tests-wordpress, cli, and tests-cli always build the correct Docker image.
  • Fix Xdebug while using PHP 7.2x.

Enhancement

  • wp-env run ... now uses docker-compose exec instead of docker-compose run. As a result, it is much faster, since commands are executed against existing services, rather than creating them from scratch each time.
  • Increase the maximum upload size to 1GB.

6.0.0 (2023-04-26)

Breaking Change

  • Use test environment's WP_SITEURL instead of WP_TESTS_DOMAIN as the WordPress URL.
  • Automatically add the environment's port to WP_TESTS_DOMAIN.
  • run command now has a --env-cwd option to set the working directory in the container for the command to execute from.

5.16.0 (2023-04-12)

5.15.0 (2023-03-29)

5.14.0 (2023-03-15)

5.13.0 (2023-03-01)

5.12.0 (2023-02-15)

5.11.0 (2023-02-01)

Bug fix

  • PHP 7.3 and 7.4 must use PHPUnit 9.

Enhancement

... (truncated)

Commits
  • e936127 chore(release): publish
  • 717c69d Update changelog files
  • b50133e Merge changes published in the Gutenberg plugin "release/15.8" branch
  • 6df0c62 chore(release): publish
  • 6ede72d Update changelog files
  • 8acc9dc Merge changes published in the Gutenberg plugin "release/15.7" branch
  • d61700b chore(release): publish
  • 79bb350 Update changelog files
  • d5c28a6 chore(release): publish
  • c62971f Update changelog files
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@wordpress/env](https://github.com/WordPress/gutenberg/tree/HEAD/packages/env) from 4.9.0 to 7.0.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/env/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/env@7.0.0/packages/env)

---
updated-dependencies:
- dependency-name: "@wordpress/env"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 24, 2023
@fumikito fumikito merged commit a95d422 into master May 24, 2023
9 checks passed
@fumikito fumikito deleted the dependabot/npm_and_yarn/wordpress/env-7.0.0 branch May 24, 2023 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant