Skip to content

v2.2

Choose a tag to compare

@njoubert-cleverage njoubert-cleverage released this 30 Sep 14:43
· 55 commits to main since this release
f896e44

Changes

  • #13 Add missing tests: ZipTask and UnzipTask (options precedence and validation, missing or unreadable files, overwriting, open failures), bundle and DI extension.

Fixes

  • #15 Fix ZipTask and UnzipTask: resolve the options on every execution, so that each input is used (the options of the first input were reused for the following ones). Update documentation, add tests.
  • #16 Fix ZipTask: only remove the leading files_base_path from the file paths (every occurrence was removed), and read the files at the given path when files_base_path is empty (relative paths were resolved from the filesystem root). Update documentation, add tests.
  • #17 Fix ZipTask and UnzipTask: throw a \RuntimeException when the archive cannot be written (ZipTask) or extracted (UnzipTask), instead of outputting the path anyway; add the ZipArchive error code to the UnzipTask open failure message. Update documentation, add tests.
  • #18 Fix ZipTask and UnzipTask: throw an explicit \UnexpectedValueException on a non-array input (e.g. a string path) instead of an unrelated warning or TypeError. Update documentation, add tests.