Title: WP-CLI v2.8.0 Release Notes
Author: Alain Schlesser
Published: May 31, 2023

---

 [  ](https://profiles.wordpress.org/schlessera/) [Alain Schlesser](https://profiles.wordpress.org/schlessera/)
7:13 pm _on_ May 31, 2023     
Tags: [release ( 21 )](https://make.wordpress.org/cli/tag/release/),
[v2.8.0 ( 2 )](https://make.wordpress.org/cli/tag/v2-8-0/)   

# WP-CLI v2.8.0 Release Notes

After a bit of unexpected delay, a new release of WP-CLIWP-CLI WP-CLI is the Command
Line Interface for WordPress, used to do administrative and development tasks in
a programmatic way. The project page is [http://wp-cli.org/](http://wp-cli.org/)
[https://make.wordpress.org/cli/](https://make.wordpress.org/cli/) is available 
as of today: **WP-CLI v2.8.0**. For this release, we had **66 contributors** collaborate
to get **277 pull requests** merged. 

As always, big thanks to the [WP-CLI sponsors](https://make.wordpress.org/cli/sponsors/)
that make the continued maintenance possible.

This is a small release with the main purpose of polishing PHPPHP PHP (recursive
acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose
scripting language that is especially suited for web development and can be embedded
into HTML. [https://www.php.net/manual/en/index.php](https://www.php.net/manual/en/index.php)
8.1/8.2 support. Nevertheless, apart from the flurry of bugs that were fixed, we
also have a few new features that I’ll want to highlight. As always, you can also
skip directly to the [detailed changelog](https://make.wordpress.org/cli/2023/05/31/wp-cli-v2-8-0-release-notes/?output_format=md#changelog)
if you prefer.

### Bundled with Requests v2

The last component that needed updating for full PHP 8.1 was the bundled Requests
library. With the move to v2 of Requests, adding support for PHP 8.1 seems to be
complete, an.d PHP 8.2 is starting to look good as well.

Note that the way the dependencies interact between WP-CLI and WordPress CoreCore
Core is the set of software required to run WordPress. The Core Development Team
builds WordPress. (which has no proper dependency management that could help out
here) makes for a somewhat hacky solution at this time. We’re looking into something
more robust for a future release, but until then make sure you submit issues when
you encounter edge cases that the current approach does not yet take into account.

### Improve support for caching solutions

There is a new command `wp cache supports <feature>` to detect cache features like`
add_multiple`. Furthermore, we have a new command `wp cache flush-group` that allows
you to flush at the group level. Also, WP-CLI now produces warning when you use `
wp transient list` when an object cache is active. Finally, WP-CLI now recognizes
Object Cache Pro as a caching solution.

    ```wp-block-code
    $ wp cache supports add_multiple
    $ echo $?
    0

    $ wp cache flush-group my_group
    Success: Cache group 'my_group' was flushed.
    ```

### Fetch URLs of entities

For the posts, terms and comments, you can now retrieve their canonical URLURL A
specific web address of a website or web page on the Internet, such as a website’s
URL www.wordpress.org via the `--field=url` argument. As an example, you can retrieve
the URL of the post with ID 123 via the following command:

    ```wp-block-code
    $ wp post get 123 --field=url
    https://example.com/hello-world-the-sequel/
    ```

### Skip config changes on multisiteMultisite Multisite is a WordPress feature which allows users to create a network of sites on a single WordPress installation. Available since WordPress version 3.0, Multisite is a continuation of WPMU or WordPress Multiuser project. WordPress MultiUser project was discontinued and its features were included into WordPress core. 󠀁[Advanced Administration Handbook -> Create A Network.](https://developer.wordpress.org/advanced-administration/multisite/create-network/)󠁿 conversion

In case you’re working on a read-only filesystem or are forced to push file changes
through VCS, you can now skip the automatic config file changes that `wp core multisite-
convert` does. All you need to do is add the `--skip-config` flag, and the command
will not only obey that choice, but also conveniently print the changes you need
to make to the config file manually. This behavior was already included with `wp
core multisite-install`, but now the conversion command knows this trick too.

    ```wp-block-code
    $ wp core multisite-convert --skip-config
    Set up multisite database tables.
    Addition of multisite constants to 'wp-config.php' skipped. You need to add them manually:
    define( 'WP_ALLOW_MULTISITE', true );
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', {$subdomain_export} );
    \$base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'example.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    Success: Network installed. Don't forget to set up rewrite rules (and a .htaccess file, if using Apache).
    ```

### Verify checksums for the root folder

The `wp core verify-checksums` now has a new `--include-root` flag that makes it
scan and verify the root folder as well (the one that `ABSPATH` points to).

    ```wp-block-code
    $ wp core verify-checksums --include-root
    Warning: File should not exist: dump.sql
    Warning: File should not exist: backdoor.php
    ```

### Configure autoloading behavior for options

Two new commands `wp option get-autoload` and `wp option set-autoload` have been
added to change the autoloading behavior for an existing option. This was not easily
possible with `wp option update` as that only allowed the autoloading to change 
when the value changed as well.

    ```wp-block-code
    $ wp option add foo bar
    Success: Added 'foo' option.
    $ wp option get-autoload foo
    yes
    $ wp option set-autoload foo no
    Success: Updated autoload value for 'foo' option.
    $ wp option set-autoload foo no
    Success: Autoload value passed for 'foo' option is unchanged.
    ```

### New flags for password reset

The command `wp user reset-password` now has two new flags. The first one is `--
show-password`, and it will immediately show the new password as it is being reset.
The second one is `--porcelain`, and it will show only the password and nothing 
else as output of the command. The latter one is useful for scripting purposes.

    ```wp-block-code
    $ wp user reset-password admin --skip-email --show-password
    Reset password for admin.
    Password: bt6Hy!9*P0A1
    Success: Password reset for 1 user.

    $ wp user reset-password admin --skip-email --porcelain
    yV6BP*!d70wg
    ```

### Include ad-hoc code instead of evaluating it

If you’re using the `wp eval-file` command, it will read the file you point it to
and run it through the PHP `eval` logic. This has a few drawbacks, though. One one
hand, directives like `declare(strict_types=1)` will throw errors. On the other,
it is not possible to use XDebug to debug such an evaluated piece of code.

To counter this, the `wp eval-file` command now has a new `--use-include` flag that
makes it `include` the file you’re pointing to, instead of running it through `eval`.
Note that this does not work with `STDIN` as input, so the `-` file argument can
not be used at the same time as the `--use-include` flag.

### Detailed change log

_To avoid too much noise in the list above, the following types of pull requests
have been omitted:_

 * _PRs that only bumped dependencies to their latest version._
 * _PRs that only fixed a typo in the documentation._
 * _PRs that add an `allow-plugins` rule to Composer_.
 * _PRs that add a Composer script_.

#### 󠀁[wp-cli/wp-cli-bundle](https://github.com/wp-cli/wp-cli-bundle/)󠁿

 * Adapt tests for Requests [[#540](https://github.com/wp-cli/wp-cli-bundle/pull/540)]
 * Skip `update-framework.yml` workflow on forks [[#537](https://github.com/wp-cli/wp-cli-bundle/pull/537)]
 * Add a workflow to keep `wp-cli/wp-cli` up to date [[#507](https://github.com/wp-cli/wp-cli-bundle/pull/507)]
 * Move the new README into its proper location [[#478](https://github.com/wp-cli/wp-cli-bundle/pull/478)]
 * Add a new bundle-specific README [[#476](https://github.com/wp-cli/wp-cli-bundle/pull/476)]
 * Use Composer 2.2 LTS for PHP < 7.2 [[#472](https://github.com/wp-cli/wp-cli-bundle/pull/472)]
 * Detect if running Phar via CLICLI Command Line Interface. Terminal (Bash) in 
   Mac, Command Prompt in Windows, or WP-CLI for WordPress. SAPI [[#465](https://github.com/wp-cli/wp-cli-bundle/pull/465)]
 * Use `ramsey/composer-install` in `Deployment` workflow [[#463](https://github.com/wp-cli/wp-cli-bundle/pull/463)]

#### 󠀁[wp-cli/wp-cli](https://github.com/wp-cli/wp-cli/)󠁿

 * Harden loading of upgrader [[#5791](https://github.com/wp-cli/wp-cli/pull/5791)]
 * Ignore Requests deprecations in error handling for now [[#5790](https://github.com/wp-cli/wp-cli/pull/5790)]
 * Fallback to hardcoded folder when `WPINC` not defined [[#5786](https://github.com/wp-cli/wp-cli/pull/5786)]
 * Add `RequestsLibrary::get_bundled_certificate_path()` method [[#5785](https://github.com/wp-cli/wp-cli/pull/5785)]
 * Conditionally adapt to Core Requests library [[#5783](https://github.com/wp-cli/wp-cli/pull/5783)]
 * Add bootstrap step to extract default CA certificate [[#5781](https://github.com/wp-cli/wp-cli/pull/5781)]
 * Revert “Extract cacert from Phar for cURL” [[#5780](https://github.com/wp-cli/wp-cli/pull/5780)]
 * Use `wp_cache_flush_runtime` if supported. [[#5778](https://github.com/wp-cli/wp-cli/pull/5778)]
 * Extract `cacert` from Phar for cURL [[#5777](https://github.com/wp-cli/wp-cli/pull/5777)]
 * Fix some PHP 8.2 depreciation notices in behat tests [[#5776](https://github.com/wp-cli/wp-cli/pull/5776)]
 * Use `rtrim` on phar-safe path to avoid double slash [[#5775](https://github.com/wp-cli/wp-cli/pull/5775)]
 * Upgrade WP-CLI to Requests v2 [[#5774](https://github.com/wp-cli/wp-cli/pull/5774)]
 * Added `wp cli alias is-group` subcommand. [[#5766](https://github.com/wp-cli/wp-cli/pull/5766)]
 * Update test to reflect warning when `--url=<url>` is provided [[#5763](https://github.com/wp-cli/wp-cli/pull/5763)]
 * Use `-R` instead of `-r` for fallback pager command [[#5759](https://github.com/wp-cli/wp-cli/pull/5759)]
 * Fix autocompletion notice with PHP 8.2 [[#5749](https://github.com/wp-cli/wp-cli/pull/5749)]
 * Fix PHP Deprecation for 8.1 [[#5743](https://github.com/wp-cli/wp-cli/pull/5743)]
 * Use `WP_CLI_FORCE_USER_LOGIN=1` to force `--user=<login>` [[#5738](https://github.com/wp-cli/wp-cli/pull/5738)]
 * Fix `--skip-themes` for themes with blockBlock Block is the abstract term used
   to describe units of markup that, composed together, form the content or layout
   of a webpage using the WordPress editor. The idea combines concepts of what in
   the past may have achieved with shortcodes, custom HTML, and embed discovery 
   into a single consistent API and user experience. patterns [[#5737](https://github.com/wp-cli/wp-cli/pull/5737)]
 * Make sure `subcommand` `@alias` definition respects `@when` definition [[#5730](https://github.com/wp-cli/wp-cli/pull/5730)]
 * Improve docs for `SHELL_PIPE` [[#5729](https://github.com/wp-cli/wp-cli/pull/5729)]
 * Use `awk` instead of `sed` to create BOM in feature test [[#5728](https://github.com/wp-cli/wp-cli/pull/5728)]
 * Add `runtime_args` to options array for `runcommand` [[#5722](https://github.com/wp-cli/wp-cli/pull/5722)]
 * Fix deprecation notice triggered in `WpOrgApi` class in PHP 8.1 [[#5717](https://github.com/wp-cli/wp-cli/pull/5717)]
 * Fix return type of `make_progress`_bar [[#5715](https://github.com/wp-cli/wp-cli/pull/5715)]
 * Add name context to `before_invoke` and `after_invoke` [[#5712](https://github.com/wp-cli/wp-cli/pull/5712)]
 * Check that `proc_open()` is available in `Process::run()` [[#5711](https://github.com/wp-cli/wp-cli/pull/5711)]
 * Improve support for cases with empty `--path` provided to commands [[#5709](https://github.com/wp-cli/wp-cli/pull/5709)]
 * Fix `composer test` after branch rename [[#5708](https://github.com/wp-cli/wp-cli/pull/5708)]
 * PHP 8.2: explicitly declare `CompositeCommand::$longdesc` to fix deprecation 
   warning [[#5707](https://github.com/wp-cli/wp-cli/pull/5707)]
 * Detect Object Cache Pro [[#5698](https://github.com/wp-cli/wp-cli/pull/5698)]
 * Ensure `WP_CLI_ROOT` is defined before accessing it [[#5697](https://github.com/wp-cli/wp-cli/pull/5697)]
 * Fix `proc_open_compat` util on Windows [[#5689](https://github.com/wp-cli/wp-cli/pull/5689)]
 * Move `WP_CLI_CONFIG_SPEC_FILTER_CALLBACK` test to `flags.feature` [[#5687](https://github.com/wp-cli/wp-cli/pull/5687)]

#### 󠀁[wp-cli/handbook](https://github.com/wp-cli/handbook/)󠁿

 * Replacement added for the `&&` [[#444](https://github.com/wp-cli/handbook/pull/444)]
 * Add HostRiver to list of hosting companies [[#442](https://github.com/wp-cli/handbook/pull/442)]
 * Add DataPerk to list of hosting companies [[#441](https://github.com/wp-cli/handbook/pull/441)]
 * Include a couple more helpful Behat calls [[#440](https://github.com/wp-cli/handbook/pull/440)]
 * Add maintainer expectations to the Governance page [[#439](https://github.com/wp-cli/handbook/pull/439)]
 * Fill out page for `wp profile` [[#437](https://github.com/wp-cli/handbook/pull/437)]
 * Link to ‘Shell Friends’ from the Philosophy doc [[#435](https://github.com/wp-cli/handbook/pull/435)]
 * Add example for how to discard headerHeader The header of your site is typically
   the first thing people will experience. The masthead or header art located across
   the top of your page is part of the look and feel of your website. It can influence
   a visitor’s opinion about your content and you/ your organization’s brand. It
   may also look different on different screen sizes. row from CSV [[#434](https://github.com/wp-cli/handbook/pull/434)]
 * Uppercase for ‘Committers Credo’ title [[#433](https://github.com/wp-cli/handbook/pull/433)]
 * Update `hosting-companies.md` [[#432](https://github.com/wp-cli/handbook/pull/432)]
 * Move the Doctor docs under ‘Guides’ [[#431](https://github.com/wp-cli/handbook/pull/431)]
 * Add secondary `wp doctor` content and a landing page [[#430](https://github.com/wp-cli/handbook/pull/430)]
 * Add two primary `wp doctor` docs to the handbook [[#429](https://github.com/wp-cli/handbook/pull/429)]
 * Fix phar download url [[#428](https://github.com/wp-cli/handbook/pull/428)]
 * Adding new pluginPlugin A plugin is a piece of software containing a group of
   functions that can be added to a WordPress website. They can extend functionality
   or add new features to your WordPress websites. WordPress plugins are written
   in the PHP programming language and integrate seamlessly with WordPress. These
   can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
   or can be cost-based plugin from a third-party. to handbook [[#427](https://github.com/wp-cli/handbook/pull/427)]
 * Corrected local jumplinks [[#426](https://github.com/wp-cli/handbook/pull/426)]
 * Running commands remotely: On restrictive webhost [[#425](https://github.com/wp-cli/handbook/pull/425)]
 * Remove BackupBuddy [[#423](https://github.com/wp-cli/handbook/pull/423)]
 * Remove non existing tool [[#421](https://github.com/wp-cli/handbook/pull/421)]

#### 󠀁[wp-cli/wp-cli.github.com](https://github.com/wp-cli/wp-cli.github.com/)󠁿

 * Update `index.md` [[#428](https://github.com/wp-cli/wp-cli.github.com/pull/428)]
 * Add “WP-CLI” heading [[#427](https://github.com/wp-cli/wp-cli.github.com/pull/427)]
 * Update German readme [[#426](https://github.com/wp-cli/wp-cli.github.com/pull/426)]
 * Update `ja/index.md` [[#424](https://github.com/wp-cli/wp-cli.github.com/pull/424)]
 * Current stable release is 2.6.0 [[#423](https://github.com/wp-cli/wp-cli.github.com/pull/423)]

#### 󠀁[wp-cli/cache-command](https://github.com/wp-cli/cache-command/)󠁿

 * Warn when `wp transient list` is used with external object cache [[#82](https://github.com/wp-cli/cache-command/pull/82)]
 * Give a warning when flushing cache on multisite with `--url=<url>` [[#86](https://github.com/wp-cli/cache-command/pull/86)]
 * Add `wp cache flush-group` for flushing a cache group [[#85](https://github.com/wp-cli/cache-command/pull/85)]
 * Add `wp cache supports <feature>` command [[#84](https://github.com/wp-cli/cache-command/pull/84)]

#### 󠀁[wp-cli/checksum-command](https://github.com/wp-cli/checksum-command/)󠁿

 * Fix failing checksum tests due to timeout on `WP_VERSION=trunk` [[#99](https://github.com/wp-cli/checksum-command/pull/99)]
 * Pass `false` instead of `null` to fix PHP 8.1 warning [[#103](https://github.com/wp-cli/checksum-command/pull/103)]
 * Add `--include-root` parameter to also verify root directory [[#102](https://github.com/wp-cli/checksum-command/pull/102)]
 * Verify a specific plugin version [[#108](https://github.com/wp-cli/checksum-command/pull/108)]
 * Log warning if `WpOrgApi::get_plugin_checksums()` fails [[#105](https://github.com/wp-cli/checksum-command/pull/105)]

#### 󠀁[wp-cli/core-command](https://github.com/wp-cli/core-command/)󠁿

 * Fix failing tests by switching to WordPress 4.1 as minor update test [[#223](https://github.com/wp-cli/core-command/pull/223)]
 * Fix failing test by setting `WP_AUTO_UPDATE_CORE=false` [[#222](https://github.com/wp-cli/core-command/pull/222)]
 * Fix deprecation notices in PHP 8.1 [[#220](https://github.com/wp-cli/core-command/pull/220)]
 * Resolve tests failures from WordPress 6.2 [[#229](https://github.com/wp-cli/core-command/pull/229)]
 * Leave `wp-content/plugins` and `wp-content/themes` directories when using `--
   skip-content` [[#230](https://github.com/wp-cli/core-command/pull/230)]
 * Check more files to determine if WordPress is present or not [[#233](https://github.com/wp-cli/core-command/pull/233)]
 * Add a `--skip-config` flag to `wp core multisite-convert` [[#231](https://github.com/wp-cli/core-command/pull/231)]
 * Fix tests for Requests v2 support [[#235](https://github.com/wp-cli/core-command/pull/235)]

#### 󠀁[wp-cli/cron-command](https://github.com/wp-cli/cron-command/)󠁿

 * Use `wp_get_ready_cron_jobs()` for `--due-now` to apply core filterFilter Filters
   are one of the two types of Hooks [https://codex.wordpress.org/Plugin_API/Hooks](https://codex.wordpress.org/Plugin_API/Hooks).
   They provide a way for functions to modify data of other functions. They are 
   the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated
   manner, and should never have side effects such as affecting global variables
   and output. [[#89](https://github.com/wp-cli/cron-command/pull/89)]
 * Warn instead of fatal when invalid cron event is detected [[#93](https://github.com/wp-cli/cron-command/pull/93)]
 * Add `--exclude=<hooks>` argument to `wp cron event run` [[#97](https://github.com/wp-cli/cron-command/pull/97)]

#### 󠀁[wp-cli/db-command](https://github.com/wp-cli/db-command/)󠁿

 * Fix retrieval of `get_post_table_characterset` [[#231](https://github.com/wp-cli/db-command/pull/231)]

#### 󠀁[wp-cli/entity-command](https://github.com/wp-cli/entity-command/)󠁿

 * Add example for deleting multiple post IDs [[#387](https://github.com/wp-cli/entity-command/pull/387)]
 * Add `--field=url` support for posts, comments, and terms [[#383](https://github.com/wp-cli/entity-command/pull/383)]
 * Add `wp option get-autoload` and `wp option set-autoload` [[#382](https://github.com/wp-cli/entity-command/pull/382)]
 * Replace empty namespace autoloader with classmap [[#390](https://github.com/wp-cli/entity-command/pull/390)]
 * Do not mark main site as spam when using `wp user spam` [[#393](https://github.com/wp-cli/entity-command/pull/393)]
 * Clarify `url` field in `wp site list` docs [[#401](https://github.com/wp-cli/entity-command/pull/401)]
 * Change new passwords to 24 characters in a few places [[#399](https://github.com/wp-cli/entity-command/pull/399)]
 * Add examples and update the documentation to the `wp post term` [[#398](https://github.com/wp-cli/entity-command/pull/398)]
 * Add `--show-password` flag to `user reset-password` [[#394](https://github.com/wp-cli/entity-command/pull/394)]
 * Warn when an invalid role is provided for `wp user update` [[#406](https://github.com/wp-cli/entity-command/pull/406)]

#### 󠀁[wp-cli/eval-command](https://github.com/wp-cli/eval-command/)󠁿

 * Add `--use-include` flag [[#64](https://github.com/wp-cli/eval-command/pull/64)]

#### 󠀁[wp-cli/export-command](https://github.com/wp-cli/export-command/)󠁿

 * Update `post__in` documentation to mention space-separated [[#104](https://github.com/wp-cli/export-command/pull/104)]
 * Update tests using WordPress Importer to require WordPress 5.2 [[#102](https://github.com/wp-cli/export-command/pull/102)]
 * Add `--include_once=<section>` parameter for `before_posts` data in multi-file
   exports [[#100](https://github.com/wp-cli/export-command/pull/100)]
 * Exclude unnecessary author IDs from `oembed_cache` posts in export [[#99](https://github.com/wp-cli/export-command/pull/99)]

#### 󠀁[wp-cli/extension-command](https://github.com/wp-cli/extension-command/)󠁿

 * Fix failing tests [[#347](https://github.com/wp-cli/extension-command/pull/347)]
 * Fix failing PHP 5.6 tests by requiring WP 5.2 [[#342](https://github.com/wp-cli/extension-command/pull/342)]
 * Delete plugin translation files when plugin is uninstalled [[#339](https://github.com/wp-cli/extension-command/pull/339)]
 * Don’t report an error when 5 out of 5 plugins were updated [[#338](https://github.com/wp-cli/extension-command/pull/338)]
 * Remove extra space [[#335](https://github.com/wp-cli/extension-command/pull/335)]
 * Add format option to `wp plugin|theme auto-updates status` [[#351](https://github.com/wp-cli/extension-command/pull/351)]
 * Include optional `'auto_updates'` field in plugin and theme lists [[#350](https://github.com/wp-cli/extension-command/pull/350)]
 * Avoid deleting theme if the specified version cannot be found [[#349](https://github.com/wp-cli/extension-command/pull/349)]
 * Ensure a stable version is used when `--minor` or `--patch` specified [[#355](https://github.com/wp-cli/extension-command/pull/355)]
 * Fix fatal error in invalid plugin update offer [[#354](https://github.com/wp-cli/extension-command/pull/354)]
 * Fix PHP 8.2 ‘Creation of dynamic property’ warning [[#360](https://github.com/wp-cli/extension-command/pull/360)]

#### 󠀁[wp-cli/i18n-command](https://github.com/wp-cli/i18n-command/)󠁿

 * PHP 8.2: fix `${var}` string interpolation deprecation warning [#346]
 * Add more standard ‘excludes’ values [[#351](https://github.com/wp-cli/i18n-command/pull/351)]
 * Fix unclosed quote [[#350](https://github.com/wp-cli/i18n-command/pull/350)]
 * CI: Ensure PHPUnit workflow actually runs [[#360](https://github.com/wp-cli/i18n-command/pull/360)]
 * Fix deprecated partially-supported callables for PHP 8.2 [[#359](https://github.com/wp-cli/i18n-command/pull/359)]
 * `update-po`: Check for destination [[#356](https://github.com/wp-cli/i18n-command/pull/356)]

#### 󠀁[wp-cli/import-command](https://github.com/wp-cli/import-command/)󠁿

 * Fix failing tests with `@require-wp-5.2` [[#79](https://github.com/wp-cli/import-command/pull/79)]
 * Document use of the `IMPORT_DEBUG` constant [[#82](https://github.com/wp-cli/import-command/pull/82)]

#### 󠀁[wp-cli/language-command](https://github.com/wp-cli/language-command/)󠁿

 * Switch to `twentytwentyone` to fix failing tests [[#118](https://github.com/wp-cli/language-command/pull/118)]

#### 󠀁[wp-cli/media-command](https://github.com/wp-cli/media-command/)󠁿

 * Fx typo in `import` command `longdesc` [[#172](https://github.com/wp-cli/media-command/pull/172)]
 * Travis is no longer in use, so fine to remove config files [[#171](https://github.com/wp-cli/media-command/pull/171)]
 * Avoid deleting metaMeta Meta is a term that refers to the inside workings of 
   a group. For us, this is the team that works on internal WordPress sites like
   WordCamp Central and Make WordPress. for other sizes when running `wp media regenerate`
   with `--image_size` [[#170](https://github.com/wp-cli/media-command/pull/170)]
 * Support `--post_name=` when importing media [[#166](https://github.com/wp-cli/media-command/pull/166)]
 * Correct argument for `fix-orientation` subcommand [[#165](https://github.com/wp-cli/media-command/pull/165)]
 * Remove tests around square image thumbnail regeneration [[#177](https://github.com/wp-cli/media-command/pull/177)]

#### 󠀁[wp-cli/package-command](https://github.com/wp-cli/package-command/)󠁿

 * Fix failing `package-command` tests [[#164](https://github.com/wp-cli/package-command/pull/164)]
 * Mark the test with `yoast/wp-cli-faker` as `@broken` [[#170](https://github.com/wp-cli/package-command/pull/170)]
 * Adapt bundled certificate access [[#174](https://github.com/wp-cli/package-command/pull/174)]

#### 󠀁[wp-cli/php-cli-tools](https://github.com/wp-cli/php-cli-tools/)󠁿

 * Add annotations to remove deprecated warning message on PHP 8.1[[#152](https://github.com/wp-cli/php-cli-tools/pull/152)]
 * Restore PHPUnit test runs [[#155](https://github.com/wp-cli/php-cli-tools/pull/155)]
 * Fix PHP Deprecated: Creation of dynamic property [[#158](https://github.com/wp-cli/php-cli-tools/pull/158)]

#### 󠀁[wp-cli/rewrite-command](https://github.com/wp-cli/rewrite-command/)󠁿

 * Support full URLs for `wp rewrite list --match=<url>` [[#59](https://github.com/wp-cli/rewrite-command/pull/59)]

#### 󠀁[wp-cli/role-command](https://github.com/wp-cli/role-command/)󠁿

 * Add explanation of what happens for `wp role reset` [[#58](https://github.com/wp-cli/role-command/pull/58)]
 * Fix fatal error when resetting an already deleted role [[#57](https://github.com/wp-cli/role-command/pull/57)]
 * Fix support for `--grant=false` argument [[#59](https://github.com/wp-cli/role-command/pull/59)]

#### 󠀁[wp-cli/scaffold-command](https://github.com/wp-cli/scaffold-command/)󠁿

 * Update the GitHubGitHub GitHub is a website that offers online implementation
   of git repositories that can easily be shared, copied and modified by other developers.
   Public repositories are free to host, private repositories require a paid subscription.
   GitHub introduced the concept of the ‘pull request’ where code changes done in
   branches by contributors can be reviewed and discussed before being merged by
   the repository owner. [https://github.com/](https://github.com/) URL for `db.
   php` [[#317](https://github.com/wp-cli/scaffold-command/pull/317)]
 * Add `phpcompatibility-wp` coding standards to Gitlab template [[#315](https://github.com/wp-cli/scaffold-command/pull/315)]
 * Use platform-agnostic `mysql-client` packages in Gitlab CI [[#314](https://github.com/wp-cli/scaffold-command/pull/314)]
 * Added `vendor` to the generated `.gitignore` which the scaffold creates [[#279](https://github.com/wp-cli/scaffold-command/pull/279)]

#### 󠀁[wp-cli/search-replace-command](https://github.com/wp-cli/search-replace-command/)󠁿

 * Make `is_text_col`‘s search case-insensitive for `sqlite` support [[#177](https://github.com/wp-cli/search-replace-command/pull/177)]
 * Fix regex invalid delimiter test for PHP 8.2 [[#181](https://github.com/wp-cli/search-replace-command/pull/181)]
 * Address long-running queries and OOM contributor in PHP replacement [[#180](https://github.com/wp-cli/search-replace-command/pull/180)]

#### 󠀁[wp-cli/wp-config-transformer](https://github.com/wp-cli/wp-config-transformer/)󠁿

 * Update status badge in `README.md` [[#40](https://github.com/wp-cli/wp-config-transformer/pull/40)]
 * Avoid test failure with `assertNotSame` instead of `assertNotEquals` [[#41](https://github.com/wp-cli/wp-config-transformer/pull/41)]
 * Fix incorrect return type in docblock for `get_value()` [[#43](https://github.com/wp-cli/wp-config-transformer/pull/43)]

### Contributors

[@aerogus](https://github.com/aerogus), [@agrullon95](https://github.com/agrullon95),
[@akirk](https://github.com/akirk), [@benjaminprojas](https://github.com/benjaminprojas),
[@BhargavBhandari90](https://github.com/BhargavBhandari90), [@brandonpayton](https://github.com/brandonpayton),
[@bukowa](https://github.com/bukowa), [@cliffordp](https://github.com/cliffordp),
[@connerbw](https://github.com/connerbw), [@danielbachhuber](https://github.com/danielbachhuber),
[@dd32](https://github.com/dd32), [@dlind1](https://github.com/dlind1), [@drzraf](https://github.com/drzraf),
[@dsXLII](https://github.com/dsXLII), [@elenachavdarova](https://github.com/elenachavdarova),
[@endriu84](https://github.com/endriu84), [@gagan0123](https://github.com/gagan0123),
[@gedex](https://github.com/gedex), [@gitlost](https://github.com/gitlost), [@greatislander](https://github.com/greatislander),
[@hbhalodia](https://github.com/hbhalodia), [@herregroen](https://github.com/herregroen),
[@janw-me](https://github.com/janw-me), [@jenkoian](https://github.com/jenkoian),
[@joeldcanfield](https://github.com/joeldcanfield), [@josedumas](https://github.com/josedumas),
[@jrfnl](https://github.com/jrfnl), [@kozer](https://github.com/kozer), [@l3ku](https://github.com/l3ku),
[@lipemat](https://github.com/lipemat), [@localheinz](https://github.com/localheinz),
[@matzeeable](https://github.com/matzeeable), [@michaelzangl](https://github.com/michaelzangl),
[@mpkelly](https://github.com/mpkelly), [@mrsdizzie](https://github.com/mrsdizzie),
[@mweimerskirch](https://github.com/mweimerskirch), [@oandregal](https://github.com/oandregal),
[@ocean90](https://github.com/ocean90), [@ouikhuan](https://github.com/ouikhuan),
[@paulschreiber](https://github.com/paulschreiber), [@pbiron](https://github.com/pbiron),
[@pdaalder](https://github.com/pdaalder), [@pmbaldha](https://github.com/pmbaldha),
[@ponsfrilus](https://github.com/ponsfrilus), [@pwtyler](https://github.com/pwtyler),
[@r-a-y](https://github.com/r-a-y), [@Rahmon](https://github.com/Rahmon), [@rodrigoprimo](https://github.com/rodrigoprimo),
[@rutviksavsani](https://github.com/rutviksavsani), [@Saggre](https://github.com/Saggre),
[@schlessera](https://github.com/schlessera), [@semseysandor](https://github.com/semseysandor),
[@SH4LIN](https://github.com/SH4LIN), [@shendy-a8c](https://github.com/shendy-a8c),
[@siliconforks](https://github.com/siliconforks), [@srtfisher](https://github.com/srtfisher),
[@SteenSchutt](https://github.com/SteenSchutt), [@strarsis](https://github.com/strarsis),
[@stuartlangridge](https://github.com/stuartlangridge), [@swissspidy](https://github.com/swissspidy),
[@tecking](https://github.com/tecking), [@Tug](https://github.com/Tug), [@tyrann0us](https://github.com/tyrann0us),
[@wojsmol](https://github.com/wojsmol), [@wojtekn](https://github.com/wojtekn), 
[@yousan](https://github.com/yousan)

[#release](https://make.wordpress.org/cli/tag/release/), [#v2-8-0](https://make.wordpress.org/cli/tag/v2-8-0/)

### Share this:

 * [  Threads ](https://make.wordpress.org/cli/2023/05/31/wp-cli-v2-8-0-release-notes/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/cli/2023/05/31/wp-cli-v2-8-0-release-notes/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/cli/2023/05/31/wp-cli-v2-8-0-release-notes/?share=bluesky)
 * [  Facebook ](https://make.wordpress.org/cli/2023/05/31/wp-cli-v2-8-0-release-notes/?share=facebook)
 * [  X ](https://make.wordpress.org/cli/2023/05/31/wp-cli-v2-8-0-release-notes/?share=x)
 * [  LinkedIn ](https://make.wordpress.org/cli/2023/05/31/wp-cli-v2-8-0-release-notes/?share=linkedin)

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2023%2F05%2F31%2Fwp-cli-v2-8-0-release-notes%2F%23respond&locale=en_US)

### Leave a Reply 󠀁[Cancel reply](https://make.wordpress.org/cli/2023/05/31/wp-cli-v2-8-0-release-notes/?output_format=md#respond)󠁿

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2023%2F05%2F31%2Fwp-cli-v2-8-0-release-notes%2F&locale=en_US)
to post a comment.

# Post navigation

[← WP-CLI v2.8.0 release date](https://make.wordpress.org/cli/2023/04/05/wp-cli-v2-8-0-release-date/)

[WP-CLI v2.8.1 Release Notes →](https://make.wordpress.org/cli/2023/06/05/wp-cli-v2-8-1-release-notes/)