Version 2.12.0
What's Changed
- PHP 8.4 | Fix implicitly nullable parameters by @jrfnl in https://github.com/wp-cli/wp-cli/pull/5982
- PHP 8.3 | ReportWidthTest: fix deprecation notices for ReflectionProperty::setValue() by @jrfnl in https://github.com/wp-cli/wp-cli/pull/5984
- PHP 8.1 | WP_CLI\Iterators\CSV: fix "missing return type" deprecation warnings by @jrfnl in https://github.com/wp-cli/wp-cli/pull/5983
- PHP 8.4 | wp_debug_mode(): remove use of
E_STRICTby @jrfnl in https://github.com/wp-cli/wp-cli/pull/5986 - PHP 8.4 | Update Requests to v 2.0.12 by @jrfnl in https://github.com/wp-cli/wp-cli/pull/5981
- Remove unused automerge workflow by @swissspidy in https://github.com/wp-cli/wp-cli/pull/5992
- Composer: prevent a lock file from being created by @swissspidy in https://github.com/wp-cli/wp-cli/pull/5993
- Fix tests against WordPress trunk by @swissspidy in https://github.com/wp-cli/wp-cli/pull/5995
- Skip Requests v1 test on PHP 8.2+ by @swissspidy in https://github.com/wp-cli/wp-cli/pull/5996
- UtilsTest: fix the test failure by @jrfnl in https://github.com/wp-cli/wp-cli/pull/5997
- PHPUnit: convert deprecations to exceptions by @swissspidy in https://github.com/wp-cli/wp-cli/pull/5994
- PHP 8.4 | Fix CSV escaping deprecation notices by @jrfnl in https://github.com/wp-cli/wp-cli/pull/5991
- Added global documentation by @wpeople-dev in https://github.com/wp-cli/wp-cli/pull/6017
- Update
wp-cli/php-cli-toolsby @bor0 in https://github.com/wp-cli/wp-cli/pull/6021 - Code quality improvements powered by PHPStan by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6019
- Fix: Update outdated AJAX documentation link by @PARTHVATALIYA in https://github.com/wp-cli/wp-cli/pull/6031
- Update expected error message in unit tests by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6032
- Add hook to
http_request()util by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6036 - Improve regex for detecting
wp-settings.phpby @swissspidy in https://github.com/wp-cli/wp-cli/pull/6039 - Ensure code after
wp-settings.phpcall is loaded by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6042 - Added PHPDoc for cmd_starts_with() method by @PARTHVATALIYA in https://github.com/wp-cli/wp-cli/pull/6034
- Update log and warning logger functions comment according to the actual functionality by @matiasbenedetto in https://github.com/wp-cli/wp-cli/pull/5979
- Add configurable user agent to WP-CLI to detect in firewall logs by @amirhmoradi in https://github.com/wp-cli/wp-cli/pull/5998
- docker scheme: working-directory and stdin passing by @drzraf in https://github.com/wp-cli/wp-cli/pull/5974
- Revert "docker scheme: working-directory and stdin passing" by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6049
- Allow collecting PHPUnit coverage by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6041
- Add defaults and accepted values for runcommand() options in doc by @i-am-chitti in https://github.com/wp-cli/wp-cli/pull/5953
- Check PHP version requirement in update check by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6037
- docker scheme: working-directory and stdin passing (reroll of #5974) by @drzraf in https://github.com/wp-cli/wp-cli/pull/6057
- Fix undefined variable issue by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6058
- Add test for line breaks in table view by @BhargavBhandari90 in https://github.com/wp-cli/wp-cli/pull/6055
- Temporarily remove
roave/security-advisoriesby @swissspidy in https://github.com/wp-cli/wp-cli/pull/6060 - Improve command suggestions for taxonomies and post types by @karthick-murugan in https://github.com/wp-cli/wp-cli/pull/6059
- Update
wp-cli/php-cli-toolsdependency by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6061 - Support multiple files in
WP_CLI_EARLY_REQUIREby @swissspidy in https://github.com/wp-cli/wp-cli/pull/6065 - Removes array_column compatability function by @9ete in https://github.com/wp-cli/wp-cli/pull/6068
- Properly create missing wp cli config file when needed. by @mrsdizzie in https://github.com/wp-cli/wp-cli/pull/6062
- Add WP_CLI_REQUIRE env var for including extra php files by @mrsdizzie in https://github.com/wp-cli/wp-cli/pull/6070
- Update WP-CLI update message by @wojsmol in https://github.com/wp-cli/wp-cli/pull/6071
- Detect MariaDB vs MySQL by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6072
- Fix update step for nightlies by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6075
- Fix Gherkin lint issues by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6076
- Do not error if mysql binary not found by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6077
- Fix Gherkin lint issues by @ernilambar in https://github.com/wp-cli/wp-cli/pull/6082
- Set display_errors to stderr (lowercase) instead of STDERR by @WPprodigy in https://github.com/wp-cli/wp-cli/pull/6084
- don't forcefully exec()
docker versionby @drzraf in https://github.com/wp-cli/wp-cli/pull/6040 - Update release issue templates by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6078
- Fix unstable package override tests by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6069
- allow remote binary customization by @drzraf in https://github.com/wp-cli/wp-cli/pull/6013
- Make sure existing
esc_like()takes precedence by @schlessera in https://github.com/wp-cli/wp-cli/pull/6088 - Check for root earlier by @schlessera in https://github.com/wp-cli/wp-cli/pull/5987
- Escape CSV output by @schlessera in https://github.com/wp-cli/wp-cli/pull/6089
- Use forked mustache library by @swissspidy in https://github.com/wp-cli/wp-cli/pull/6090
- Replace
duplicate-postplugin withdebug-barin feature tests by @schlessera in https://github.com/wp-cli/wp-cli/pull/6091 - Release v2.12.0 by @schlessera in https://github.com/wp-cli/wp-cli/pull/6092
New Contributors
- @wpeople-dev made their first contribution in https://github.com/wp-cli/wp-cli/pull/6017
- @bor0 made their first contribution in https://github.com/wp-cli/wp-cli/pull/6021
- @PARTHVATALIYA made their first contribution in https://github.com/wp-cli/wp-cli/pull/6031
- @matiasbenedetto made their first contribution in https://github.com/wp-cli/wp-cli/pull/5979
- @amirhmoradi made their first contribution in https://github.com/wp-cli/wp-cli/pull/5998
- @drzraf made their first contribution in https://github.com/wp-cli/wp-cli/pull/5974
- @i-am-chitti made their first contribution in https://github.com/wp-cli/wp-cli/pull/5953
- @BhargavBhandari90 made their first contribution in https://github.com/wp-cli/wp-cli/pull/6055
- @karthick-murugan made their first contribution in https://github.com/wp-cli/wp-cli/pull/6059
- @9ete made their first contribution in https://github.com/wp-cli/wp-cli/pull/6068
- @WPprodigy made their first contribution in https://github.com/wp-cli/wp-cli/pull/6084
Full Changelog: https://github.com/wp-cli/wp-cli/compare/v2.11.0...v2.12.0