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 6.0.0 to 7.0.0 #250

Merged
merged 1 commit into from
May 19, 2023

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps @wordpress/env from 6.0.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.
Commits
  • e936127 chore(release): publish
  • 717c69d Update changelog files
  • b50133e Merge changes published in the Gutenberg plugin "release/15.8" branch
  • See full diff 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 6.0.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/[email protected]/packages/env)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 18, 2023
@Luehrsen Luehrsen enabled auto-merge (squash) May 18, 2023 05:08
@Luehrsen Luehrsen merged commit 5d7dc4e into main May 19, 2023
@Luehrsen Luehrsen deleted the dependabot/npm_and_yarn/wordpress/env-7.0.0 branch May 19, 2023 09:36
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.

2 participants