-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Bug: Fixed method usage because of method signature change in docker-compose 0.24.6 #59184
base: trunk
Are you sure you want to change the base?
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @[email protected], @angcl, @peperuda. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @angcl! In case you missed it, we'd love to have you join us in our Slack community. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
Ran into this issue with the latest version of I can confirm changing the calls from |
Weird that the tests are all failing now because |
Looking at the raw
Github workflows must be using this version, which explain the failures. |
Alright, looks like the lock file just needs a proper update then |
I've updated the lock file, now it looks good. I'll update the |
Just FYI: There is also a PR for "adding down as alias for downAll" and an issue for "how to prevent such issues in the future". PDMLab/docker-compose#264 |
It was merged and a new version of docker-compose was released (0.24.6), which contains the aliases. PDMLab/docker-compose#264 |
Very kind of the author, as in strict semver I just double checked: the |
I've updated the version to |
What?
Due to changes on the method signature in docker-compose 0.24.4, this PR updates the @wordpress/env package to use
downAll()
instead ofdown()
which is not available anymore.Why?
When installing @wordpress/env over npm in a new project or updating the docker-compose dependency to 0.24.6, it will break the usage of wp-env.
Fixes #59183
How?
The call to
down()
was changed todownAll()
was changed instart.js
anddestroy.js
and the version ofdocker-compose
was raised to0.24.6
in thepackage.json
Testing Instructions
Create a new project and use the original version of @wordpress/env. It should throw an error message like this:
Try to run wp-env with the files from this PR then, which should work flawlessly.