You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2016-10-25-version-0.25.0.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,20 @@ WordPress 4.7 introduces a new `WP_Hook` implementation for registering and exec
12
12
13
13
Inspect the nature of the change in [this pull request](https://github.com/wp-cli/wp-cli/pull/3384).
14
14
15
+
### More ways to install WP-CLI packages
16
+
17
+
Although we'd love to see your package listed in the package index, we realize there are reasons you might not be able to do so. `wp package install` now supports installing an arbitrary Git URL [[#3482](https://github.com/wp-cli/wp-cli/pull/3482)], `.zip` file [[#3485](https://github.com/wp-cli/wp-cli/pull/3485)], or directory path [[#3484](https://github.com/wp-cli/wp-cli/pull/3484)] as a package.
It's worth noting Composer's behavior is slightly different for each package type:
24
+
25
+
* Git URLs are treated as VCS repositories, and cloned to `~/.wp-cli/packages/vendor`.
26
+
* ZIP archives (remote and local) are extracted to `~/.wp-cli/packages/local`, and added as path repositories.
27
+
* Local directory paths are added as path repositories, which means Composer creates a symlink to the existing directory path. If the directory you've provided is removed, then the installation will break.
28
+
15
29
### Everything else in 0.25.0
16
30
17
31
New commands:
@@ -89,6 +103,7 @@ Framework enhancements:
89
103
* Provides more verbosity in `wp_die()` handler to give the end user more detail when a database connection fails [[#3459](https://github.com/wp-cli/wp-cli/pull/3459)].
90
104
* Support passing arguments to `WP_CLI::do_hook()`[[#3470](https://github.com/wp-cli/wp-cli/pull/3470)].
91
105
* Logs the current alias when executing an alias group [[#3471](https://github.com/wp-cli/wp-cli/pull/3471)].
106
+
* Only checks `options` for a positional argument when a value is present [[#3481](https://github.com/wp-cli/wp-cli/pull/3481)].
92
107
93
108
Bug fixes across the board:
94
109
@@ -98,3 +113,7 @@ Bug fixes across the board:
98
113
* Passes slashed data in meta commands [[#3274](https://github.com/wp-cli/wp-cli/pull/3274)].
99
114
* Ensures appropriate WP-CLI package index URL is used in the `composer.json`[[#3276](https://github.com/wp-cli/wp-cli/pull/3276)].
100
115
* Corrects reference of `WP_CLI` to use global namespace in `WP_CLI\Utils\get_temp_dir()`[[#3369](https://github.com/wp-cli/wp-cli/pull/3369)].
116
+
117
+
Contributors to this release:
118
+
119
+
You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?q=milestone%3A0.25.0+is%3Aclosed) on Github.
0 commit comments