Repository navigation
0.8.7
QIT CLI 0.8.7 Release Notes
This release is all about squashing bugs!
Bug Fixes and Improvements
This PR includes several bug fixes for the QIT CLI, especially around test types that uses the Custom Tests platform, such as run:e2e, run:activation, and env:up.
- Fix WP.org Download Slug Ambiguity: Resolves issues when the same slug exists as both a plugin and a theme.
- Automatically Activate Theme: When spinning up a test environment with a single
--themeargument, that theme (and its parent, if it’s a child theme) is now automatically activated. - Fix Plugin’s Custom PHPStan Neon File: Ensures PHPStan uses the correct custom neon configuration.
- Improve
qit getCommand: Removes unnecessarily long columns for cleaner output. - Display Errors with
--json: Ensures errors are properly displayed in JSON output. - Skip Fetching Custom Tests for Non-WCCOM: Custom tests are fetched only for extensions hosted on WooCommerce.com.
- Correct SUT Path for Zip Files: Sets the proper path for SUT when a zip file is used.
- Fix String Plugin in Config File: Addresses incorrect handling of string-based plugin definitions.
- Tolerate Missing Docker: QIT will now gracefully handle environments without Docker installed.
- Allow Unknown Slugs: Permits extension slug lookups even if the slug is not recognized initially.
- Log Slow Requests: Adds visibility into requests that take longer than expected.
- Self-Tests Around PHPStan Neon Files: Adds internal tests to validate and maintain these configuration files.
- Stop Printing Console Errors to Stdout: Reduce verbosity on console log when running tests that emits a lot of console warnings/errors.
- Increase Notification Timeout: Raises notify timeout for better reliability.
- Change Working Directory Before Scripts: Switches the working directory as needed when running scripts.
- Remove
ConfigurationProcessor: Simplifies early setup by removing extra configuration processing.
Support and Feedback
If you have any questions, encounter issues, or have suggestions, please visit our GitHub Issues Page. Your feedback helps us continually improve QIT.
What's Changed
- Fix WPORG download slug ambiguity by @Luc45 in #257
- Activate theme automatically when a single
--themeargument is passed by @Luc45 in #258 - Activate theme with parent by @Luc45 in #259
- Set correct SUT path for zip file by @Luc45 in #267
- Don't fetch custom tests for extensions that are not hosted on WCCOM by @Luc45 in #266
- Tolerate missing docker by @Luc45 in #265
- Remove ConfigurationProcessor to make the early setup more straightforward by @Luc45 in #263
- Display errors when --json is passed by @Luc45 in #264
- Self-tests around PHPStan neon files by @Luc45 in #268
- Fix string plugin in config file by @Luc45 in #262
- Make sure automatic dependency resolution don't override manually defined dependencies by @Luc45 in #269
Full Changelog: 0.8.6...0.8.7
