Skip to content

Releases: wp-cli/media-command

Version 2.0.1

17 Dec 13:21
fe65ffc

Choose a tag to compare

  • Add support for Probot move command [#96]
  • Ignore log files [#92]
  • Automatically rerun failed scenarios [#89]

Version 2.0.0

05 Aug 14:20
127e058

Choose a tag to compare

  • Document how to fetch attachment URL after import [#68]
  • Clear WP object cache periodically on media regenerate/import. [#62]
  • Update scaffolded files [#76]
  • Reinstate ghostscript/imagick install and fix bmp name in regenerate test [#69]
  • Updating examples in documentation [#81]
  • Adapt package for framework v2 [#85]

Version 1.1.4

30 Jan 03:21
7f8664b

Choose a tag to compare

  • media regenerate:
    • Does not throw PHP warning if no sizes metadata [#61].
  • Updates scaffolded tests and requires wp-cli/wp-cli: ^1.5 [#65].

Version 1.1.3

18 Dec 19:56
b591fe0

Choose a tag to compare

  • media image-size:
    • Adds size ratio to output [#58, #59].
  • Documentation, test suite, and repository improvements [#53, #54, #55].

Version 1.1.2

21 Nov 13:26
b067f7b

Choose a tag to compare

  • Updates scaffolded tests to enable error reporting [#51].
  • Updates scaffolded README and GitHub configuration [#52].

Version 1.1.1

12 Oct 23:26

Choose a tag to compare

  • media image-size:
    • Lists registered image sizes with hard/soft crop value [#49].
  • media import:
    • Adds --preserve-filetime argument to support persisting file modification time [#42].
  • media regenerate:
    • Skips non-thumbnailed PDFs & other images rather than fail [#48].

Version 1.1.0

01 Oct 14:15

Choose a tag to compare

  • Introduces wp media image-size command for listing registered image sizes [#36, #37].
  • Properly handles query strings on image import to prevent security error [#35].
  • Prevents error notice when no additional image sizes are defined [#39].
  • Improves top-level command descriptions [#40].
  • Updates package tests to latest [#44, #47].

Version 1.0.4

05 Aug 22:47

Choose a tag to compare

  • Adds --skip-copy flag to allow import of media from local filesystem without moving on disk [#21].
  • Replicates wp_get_additional_image_sizes() for WP < 4.7. [#30].
  • Updates package with latest scaffolded components [#32].
  • Uses dist: precise for PHP 5.3, dist: trusty for everything else [#34].

Version 1.0.3

16 Jun 09:14

Choose a tag to compare

  • Changes media noun to 'items' in most cases, to reflect multi-type nature of media.

Version 1.0.2

30 May 21:25

Choose a tag to compare

  • Clarifies this command as a bundled command.
  • Fixes Travis CI caching for composer.