Skip to content

2.2

Compare
Choose a tag to compare
@Chrico Chrico released this 24 May 07:25
· 57 commits to master since this release
b5867d8

Virtual Packages

This version introduces a new configuration setting virtual-packages which allows you to define "pre-installed platform dependencies", which are not part of require or require-dev in composer.json, to be able to download those translations additionally.

Read more: https://github.com/inpsyde/wp-translation-downloader/blob/2.2/docs/Configuraton.md#virtual-packages


New command clean-cache

This version introduces a new command composer wp-translation-downloader:clean-cache to allow deleting the translation zip file cache without clearing the whole composer cache.

Read more: https://github.com/inpsyde/wp-translation-downloader/blob/2.2/docs/Commands.md#clean-cache


Improvements

Plugin

  • keep track of already processed folders (created) to avoid multiple filesystem calls.
  • doUpdatePackage() - change order to avoid creating a TranslatablePackage when it is excluded.

Remover

  • catch exception in case the folder does not exist and write down exception in verbose mode.

Behat

  • Moved complete test suite into tests/-folder.

props to @gmazzap and @benoitchantre for testing and discussions 💪