Releases: wp-cli/wp-cli
Releases · wp-cli/wp-cli
Version 2.11.0
- Allow manually dispatching tests workflow [#5965]
- Add fish shell completion [#5954]
- Add defaults and accepted values for runcommand() options in doc [#5953]
- Address warnings with filenames ending in fullstop on Windows [#5951]
- Fix unit tests [#5950]
- Update copyright year in license [#5942]
- Fix breaking multi-line CSV values on reading [#5939]
- Fix broken Gutenberg test [#5938]
- Update docker runner to resolve docker path using
/usr/bin/env
[#5936] - Fix
inherit
path in nested directory [#5930] - Minor docblock improvements [#5929]
- Add Signup fetcher [#5926]
- Ensure the alias has the leading
@
symbol when added [#5924] - Include any non default hook information in CompositeCommand [#5921]
- Correct completion case when ends in = [#5913]
- Docs: Fixes for inline comments [#5912]
- Update Inline comments [#5910]
- Add a real-world example for
wp cli has-command
[#5908] - Fix typos [#5901]
- Avoid PHP deprecation notices in PHP 8.1.x [#5899]
Version 2.10.0
- Fix PHP deprecation warnings [#5897]
- Only use
--skip-column-statistics
flag when available [#5895] - Handle unparseable tags gracefully [#5894]
- WpOrgApi: allow specifying fields request param [#5893]
- Remove unneeded compatibility shim [#5885]
- Use has_config() in get_config() to prevent warnings on null values [#5880]
- Suggest 'network meta' intead of 'network option' [#5879]
- Updated Doc Block for Admin.php [#5877]
- Admin Context: Fix PHP fatals when admin.php has CRLF line endings [#5875]
- Standard completion of current option [#5873]
- Add
WP_CLI\Utils\has_stdin()
function [#5872] - Revert the revert of the Move of
RecursiveDataStructureTraverser
towp-cli/wp-cli
[#5871] - Add verbosity level and quiet flag in ssh command based on debug flag [#5869]
- Remove the pre-commit hook installation and its corresponding command [#5868]
- Revert "Move
RecursiveDataStructureTraverser
towp-cli/wp-cli
package" [#5866] - Add missing required arguments when using
--prompt
[#5865] - Move
RecursiveDataStructureTraverser
towp-cli/wp-cli
package [#5864] - Add
docker compose
command support in SSH command generation [#5863] - Add missing documentation for
$data
attribute inhttp_request()
[#5861] - Updated Inline PHP Documentation [#5853]
- Remove
contrib-list.php
[#5851] - Update release checklist template [#5850]
- Update tests to accommodate for SQLite [#5849]
- Post-release version bump after v2.9.0 [#5848]
- Update
Formatter\show_table
to useRunner->in_color
rather thanshouldColorize
[#5804]
Version 2.9.0
- Prepare v2.9.0 [#5846]
- Add debugging output for
@when
command registration [#5841] - Fix
--skip-themes
for WordPress 6.4 [#5840] - Update
phpcs.xml
to match new WPCS rules [#5836] - Update to WPCS v3 [#5834]
- Respect alias
--path=
inIncludeRequestsAutoloader
[#5830] - Update type hint of
$callable
parameter inadd_command()
method [#5828] - Require PHP 7.0 for tests installing WP via Composer [#5825]
- Require PHP 7+ for installing Gutenberg [#5824]
- Run test only on PHP 7.0+ [#5823]
- Display a custom error message when
themes/functions.php
fatals [#5817] - Fix PHP 8.1 deprecation:
ReturnTypeWillChange
[#5807] - Add support for the
proxyjump
key [#5805] - Mention updating the homepage in the release process [#5802]
- Fix link in
README.md
[#5801]
Version 2.8.1
Version 2.8.0
- Harden loading of upgrader [#5791]
- Ignore Requests deprecations in error handling for now [#5790]
- Fallback to hardcoded folder when WPINC not defined [#5786]
- Add
RequestsLibrary::get_bundled_certificate_path()
method [#5785] - Conditionally adapt to Core Requests library [#5783]
- Add bootstrap step to extract default CA certificate [#5781]
- Revert "Extract cacert from Phar for cURL" [#5780]
- Use
wp_cache_flush_runtime
if supported. [#5778] - Extract cacert from Phar for cURL [#5777]
- Fix some PHP 8.2 depreciation notices in behat tests [#5776]
- Use rtrim on phar-safe path to avoid double slash [#5775]
- Upgrade WP-CLI to Requests v2 [#5774]
- Added "wp cli alias is-group" subcommand. [#5766]
- Update test to reflect warning when
--url=<url>
is provided [#5763] - Use -R instead of -r for fallback pager command [#5759]
- Fix autocompletion notice with PHP 8.2 [#5749]
- fix PHP Deprecation for 8.1 [#5743]
- Add
composer phpcbf
[#5740] - Use
WP_CLI_FORCE_USER_LOGIN=1
to force--user=<login>
[#5738] - Fix
--skip-themes
for themes with block patterns [#5737] - Make sure subcommand @alias definition respects @when definition [#5730]
- Improve docs for SHELL_PIPE [#5729]
- Use AWK instead of sed to create BOM in feature test [#5728]
- Add runtime_args to options array for runcommand [#5722]
- Fix deprecation notice triggered in WpOrgApi class in PHP 8.1 [#5717]
- Fix return type of make_progress_bar [#5715]
- Add name context to before_invoke and after_invoke [#5712]
- Check that
proc_open()
is available inProcess::run()
[#5711] - Improve support for cases with empty --path provided to wp-cli commands [#5709]
- Fix composer test after branch rename [#5708]
- PHP 8.2: explicitly declare CompositeCommand::$longdesc to fix deprecation warning [#5707]
- Detect Object Cache Pro [#5698]
- Ensure
WP_CLI_ROOT
is defined before accessing it [#5697] - Bump actions/checkout from 2 to 3 [#5691]
- Bump nucleos/auto-merge-action from 1.0.0 to 1.3.0 [#5690]
- Fix proc_open_compat util on Windows [#5689]
- Move
WP_CLI_CONFIG_SPEC_FILTER_CALLBACK
test toflags.feature
[#5687]
Release 2.7.1
Release 2.7.0
- Add support for
docker-compose run
to the--ssh
option [#5637] - Internalize
global_terms_enabled()
[#5684] - Remove old global terms feature test [#5682]
- Add cache directory path to
cli info
output [#5681] - Always return PHP_BINARY when using a PHAR bundle [#5672]
- Load
config-spec.php
in a "filterable" way [#5664] - Use different action for admin context logic [#5663]
- Require
v3.1.6
ofwp-cli/wp-cli-tests
[#5659] - Address some PHP 8.1 deprecation notices [#5658]
- Add
johnpbloch/wordpress-core-installer
toallowed-plugins
[#5653] - Documents return type for
WP_CLI::halt()
asnever
[#5651] - Fix skip theme tests [#5646]
- Add missing
$upgrade
argument toenable_maintenance_mode
filter [#5630] - Handle optional option values in
SynopsisParser::render()
[#5618] - Add missing relative namespace [#5616]
- Update README.md [#5610]
Release 2.6.0
- Adapt VERSION from 2.5.1-alpha to 2.6.0-alpha [#5605]
- Force the use of Mustache 2.14.1 security fix [#5604]
- Use proper
WP_User_Query
for fetching users [#5600] - Fix Composer stack tests [#5599]
- Detect and ignore BOMs [#5597]
- Allow dealerdirect/phpcodesniffer-composer-installer [#5593]
- Check
github.repository_owner
in automerge workflow [#5591] - Revert addition of the Mustache PHP 8.1 workaround and update dependency [#5590]
- Use Mustache work-around for PHP 8.1 compat [#5588]
- Use fork on schlessera for Mustache PHP 8.1 fix [#5587]
- Re-add subcommands on all composite commands that are overwritten [#5584]
- Fix default
mysqli
error reporting mode for PHP 8.1+ [#5582] - Add
--context
flag [#5581] - Make cache size and expiry configurable via environment variables [#5576]
- Updated default branch for roave/security-advisories [#5575]
- Fix wrong variable name used in argument parsing [#5564]
- Fix regression that broke extending existing commands [#5563]
- Add a
SECURITY.md
file [#5562] - Update credits [#5556]
- Pass in args to before_run_command hook [#5554]
- Update Composer lock file [#5553]
- Change "Fake Site" site name to "WordPress" wp core multisite-install subcommand [#5552]
- Add missing docblocks [#5551]
- Update Composer lock file - 2021-07-26 [#5550]
- Make logger accessible and add colorization control to
Quiet
logger [#5549] - Fix OOM issues when exporting to STDOUT [#5546]
- Update Composer lock file [#5545]
- Allow
WP_DEBUG_LOG
to override thedebug.log
location [#5511]
Release 2.5.0
- Require v1.8 of
Requests
[#5529] - Remove tech debt via Rector [#5528]
- Move fetcher implementations back into framework [#5527]
- Add
WpOrgApi
abstraction to handle WordPress.org API requests [#5526] - Update Composer dependencies - 2021-05-08 [#5524]
- Disable automatic retry by default on certificate validation error [#5523]
- Add missing
$pipes
variables when creating processes [#5522] - Harden error message on failed cache directory creation [#5520]
- Update docblocks for methods that accept error objects [#5516]
- Use custom certificate if provided [#5514]
- Respect provided
verify
option inUtils\http_request
[#5507] - Add magic properties to docblock [#5504]
- Allow disabling of
ini_set()
[#5499] - Update GHA functional tests workflow [#5498]
- Switch from Travis CI to GitHub Actions [#5483]
- Add PHP 8 as an allowed PHP version [#5477]
- Fix registering a command with a class and method name pair on PHP 8. [#5476]
- [PHP 8] Add properties argument to __set_state magic method [#5469]
- Improve regex to match
__FILE__
and__DIR__
magic constants [#5465] - Skip using removed
Operation::getReason()
for Composer v2 compat [#5462] - Update Composer dependencies - 2020-10-31 [#5461]
- Support custom folder structures in
wp-config.php
file [#5460] - Fixed: Wrong param type. [#5459]
- Fix non static methods in Extractor_Test class call statically [#5457]
- Only suppress global parameters if set as true [#5455]
- Add global parameter for executing php [#5454]
- Missing
@return
tag in function/method PHPDoc comment [#5450] - Allow root from environment [#5448]
- Update dependencies 2020-09-29 [#5445]
- Fix a broken link in the README file [#5443]
- Add support for Redis Object Cache [#5436]
- Allow user to suppress global parameters info from help display [#5423]
- Updated license date [#5421]
- Add $interactive arg for run_mysql_command() [#5420]
- Add support for comma-separated flag values [#5419]
- Fix
SERVER_PORT
JSON encoding failure [#5417] - Create a default global config file if it does not exist [#5411]
- Update Composer lock file - 2020-06-10 [#5409]
- Updated minimum required PHP version too 5.6 [#5408]
- Include classmap in order to fix composer 2.0 deprecation notices. [#5407]
- Bump PHPCS compatibility tests to new PHP 5.6+ minimum [#5406]
- Throw exception when misusing
error_to_string()
[#5405] - Add
regenerate-readme
GitHub Action workflow [#5399] - Improve
replace_path_costs()
with logic from eval file command [#5397] - Add database info to
cli info
command [#5386] - Let
Utils\run_mysql_command()
return data [#5384] - Bump Travis CI OS from
trusty
toxenial
[#5381] - Enforce PHP 7.4 compatibility in Travis CI [#5380]
- Remove
is_bundled_command()
method [#5375] - Allow for array of strings in ComposerIO [#5370]
- Escape path before
wp-config.php
string replacement [#5368] - Add
$wp_config_path
param forget_wp_config_code()
[#5366] - Update
drush
project URL [#5350] - Fix typos and docs standards and URL. [#5337]
- Fix typos and docs standards [#5336]
- Support exceptions in
WP_CLI::error_to_string()
method [#5331] - Update mustache/mustache to version 2.13 [#5326]
- Show full command after using the
--prompt
flag [#5322] - Adapt branch alias for v2.5.0 [#5319]
Version 2.4.0
- Change timing of when to polyfill
is_customize_preview()
[#5314] - Bump VERSION and adapt README for release 2.4.0 [#5313]
- Update feature request template from central version [#5311]
- Polyfill
is_customize_preview()
[#5310] - Adapt regex in
parse_str_to_argv()
[#5309] - Fix access to undefined host index [#5308]
- Sync Travis [#5307]
- Patch
mustache/mustache
to avoid throwing notices on PHP 7.4 [#5306] - Load template functions in Runner [#5303]
- Revert "Refresh
wp-settings-cli.php
to reflect changes to Corewp-settings.php
" [#5302] - Refresh
wp-settings-cli.php
to reflect changes to Corewp-settings.php
[#5300] - Converted alias, cli, cache, and help commands help summaries to use third-person singular verbs. [#5297]
- Ensure the autoloader for the Requests library is registered [#5296]
- Use warning instead of colorize to fix warning output [#5289]
- Remove checks for
wp_blog_versions
table in Behat tests [#5287] - Add PHP-version-specific traits to extend the upgrader skin feedback method [#5283]
- Example for adding alias is missing '@' [#5281]
- Fix return type of
make_progress_bar()
[#5280] - Locking
wp-completion.bash
to v2.3.0 [#5275] - Replace
is_a()
withinstanceof
operator [#5271] - Update the README for the current version [#5266]
- Adapt branch alias for v2.4.0 [#5263]