2.2
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 aTranslatablePackage
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 💪