This release v2.3.0 is, as already announced, rather unspectacular. The previous release was very taxing for several reasons, so we lowered the pace for a while to recover.
This version is mainly meant to finally get a few bug fixes out there that were not critical enough to warrant an immediate hotfix release but are nice to have eradicated at one point, nevertheless.
Overall, a team of 36 contributors has collaborated to get 129 pull requests merged. I’ll briefly go over some of the more noteworthy stuff, but as always, you can also skip directly to the detailed changelog if you prefer.
New command to fix image orientation
Some cameras and smartphones will automatically tag pictures to denote “which way is up”. This means that you will have these devices show you the pictures you took during your handstand in the correct orientation no matter what, even though the actual picture file is upside down.
The media
command now has a new subcommand media fix-orientation
that reads these special tags and properly applies them to your images. This way, the images will also be shown with the correct orientation on devices that do not support this tag.
You can now skip tables using wildcards
The --skip-tables
flag for the search-replace
command has learnt a new trick – it now lets you skip a group of tables in one go through wildcards.
You can use wildcards like 'wp_*options'
or 'wp_post*'
to make your life easier.
Add config settings to the end of the file
Up until now you always had to provide an anchor to attach changes to your wp-config.php
to when using the config add
command.
You can use this through the special anchor flag --anchor=EOF
.
Optimized vagrant support
When you’re connecting to your vagrant VMs through WP-CLI’s special-case vagrant SSH connection scheme, you’ll notice that the operations are way faster now, as we’re caching the configuration across calls now.
Detailed Change Log
- Permit use of
php7.2-mysql
and php7.3-mysql
in Debian build [#130]
- Make extraction more robust [#5261]
- Improve “Adding deferred command…” debug output (Closes: #4893) [#5242]
- Fix
parse_url
scheme bug [#5241]
- Speed up vagrant scheme calls by caching
vagrant ssh-config
[#5235]
- Remove bug-provoking test for a bug in WPDB that was fixed [#5220]
- Fix return types [#5212]
- Update handbook for release v2.3.0 [#333]
- Add Fedora and CentOS to installation instructions [#328]
- Add documentation to integrate Dash/Alfred [#327]
- Add Romanian language [#329]
- Update Brazilian Portugues translation [#328]
- Update Japanese translation [#326]
- Update French translation [#324]
- Allow to opt-out from dumping specific sections [#61]
- Reuse
File_Writer
for STDOUT
support [#60]
- Make
load_export_api()
public [#59]
- Add theme status in
wp theme get
command [#177]
- Fix issue with failing test cases due to version mismatch [#181]
- Fix activation issue of installed plugin/theme [#180]
- Skip broken test on PHP 7.3 [#178]
- Investigate include/exclude oddities [#175]
- Sort translation files by name to ensure same order on all systems [#173]
- Workaround for parsing dynamic imports [#164]
- Avoid throwing a notice about
strpos(): Empty needle
when going through include paths [#149]
- Skip test for duplicate resizes for core trunk because of bug in current version [#112]
- Clarify implications of using
--skip-copy
[#110]
- Add
media fix-orientation
command [#108]
- Adds wildcards support to
--skip-tables
parameter [#124]
- Fix port number in example [#58]
- Add EOF as special-case anchor [#23]
Contributors
@afragen, @ajoah, @blackfile, @connerbw, @drzraf, @felipeelia, @fernandoherlo, @fuegas, @fullsteamlabs, @gitlost, @greatislander, @herregroen, @hofmannsven, @jrfnl, @l3ku, @localheinz, @maximejobin, @michaelzangl, @MikeWKrystal, @mustafauysal, @ocean90, @ovidiul, @pdaalder, @sagarnasit, @schlessera, @shadyvb, @shashank3105, @siliconforks, @swissspidy, @szepeviktor, @tecking, @thrijith, @vladutilie, @wojsmol, @yognsk, @yousan
#release, #v2-3-0