Skip to content

Commit 3068507

Browse files
committed
add release post for 0.13
1 parent 7fcf14c commit 3068507

File tree

1 file changed

+77
-0
lines changed

1 file changed

+77
-0
lines changed

_posts/2013-11-30-version-0.13.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
layout: post
3+
author: scribu
4+
title: Version 0.13 released
5+
---
6+
7+
It's been less than two months since the last major release of WP-CLI, and already we have a lot of goodies to show you.
8+
9+
### Global config files
10+
11+
If you create a `~/.wp-cli/config.yml` file, WP-CLI will read config values from that file, regardless of where you're running it from.
12+
13+
You can change the path to the global config file by setting the `WP_CLI_CONFIG_PATH` environment variable. That means that you can also disable the global config, like so:
14+
15+
WP_CLI_CONFIG_PATH=/dev/null wp core install ...
16+
17+
The old `--config` global parameter is now deprecated.
18+
19+
### Setting command parameter values in config files
20+
21+
What's more, you can now define per-command config values. For example, if my config file looks like this:
22+
23+
core install:
24+
admin_user: billy
25+
admin_email: billy@example.com
26+
27+
... when I run `wp core install`, I don't have to pass the `--admin_user` and `--admin_email` parameters again; they are read from the config file.
28+
29+
### Improved plugin test templates
30+
31+
We have simplified the process of [setting up and running plugin tests](https://github.com/wp-cli/wp-cli/wiki/Plugin-Unit-Tests) locally.
32+
33+
It fetches the test library from the new `develop.svn.wordpress.org` repository.
34+
35+
Also, the Travis build no longer depends on the Github mirror of WordPress.
36+
37+
### Improved downloads
38+
39+
Firstly, all HTTPS requests now use the more up-to-date SSL CA bundle from the Requests library, which should fix most certificate warnings.
40+
41+
Secondly, the timeout for `wp core download` has been increased to 10 minutes.
42+
43+
Thirdly, to extract the tarball, `wp core download` now uses the [PharData](http://us3.php.net/manual/en/class.phardata.php) class, instead of the `tar` binary. This should make it work in more environments, such as MinGW.
44+
45+
Finally, plugin and theme downloads are now cached. So, the first time you run `wp plugin install bbpress`, it will save the zip locally. The second time you run it, it won't download the zip again.
46+
47+
### Other improvements
48+
49+
Additions:
50+
51+
* added `--all` flag to `wp plugin deactivate`
52+
* added `wp comment-meta` command
53+
* added filtering to `wp plugin list` and `wp theme list`
54+
* added `--match` and `--source` parameters to `wp rewrite list`
55+
* added `--post_content` flag to `wp post generate`
56+
* added `--skip-tests` flag to `wp scaffold plugin`
57+
* added `--skip=image_resize` to `wp import`
58+
59+
Bug fixes:
60+
61+
* `wp core config` no longer escapes HTML characters in passwords
62+
* `wp user create` no longer ignores the `--role` parameter
63+
* `wp rewrite structure` correctly flushes rewrite rules
64+
* `wp theme delete` now refuses to delete the active theme
65+
* `wp scaffold post-type` now generates correct capitalization
66+
* `wp plugin activate` now works correctly for network-only plugins
67+
* `wp shell` now works correctly even if a plugin starts output buffering
68+
* `wp core install --prompt` now correctly handles the `--url` parameter
69+
70+
Misc:
71+
72+
* removed `wp core init-tests` command ([context](https://github.com/wp-cli/wp-cli/pull/885))
73+
* renamed `WP_CLI::add_action()` to `WP_CLI::add_hook()` ([context](https://github.com/wp-cli/wp-cli/pull/845))
74+
75+
You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=19&page=1&state=closed) on Github.
76+
77+
Contributors to this release: [BoiteAWeb](https://github.com/BoiteAWeb), [ctayloroomphinc](https://github.com/ctayloroomphinc), [danielbachhuber](https://github.com/danielbachhuber), [dd32](https://github.com/dd32), [francescolaffi](https://github.com/francescolaffi), [jonathanbardo](https://github.com/jonathanbardo), [Kevinlearynet](https://github.com/Kevinlearynet), [leewillis77](https://github.com/leewillis77), [nickdaugherty](https://github.com/nickdaugherty), [QWp6t](https://github.com/QWp6t), [rodrigoprimo](https://github.com/rodrigoprimo), [ryanduff](https://github.com/ryanduff), [scribu](https://github.com/scribu), [simonwheatley](https://github.com/simonwheatley), [tiagohillebrandt](https://github.com/tiagohillebrandt), [tlovett1](https://github.com/tlovett1), [wojsmol](https://github.com/wojsmol).

0 commit comments

Comments
 (0)