Skip to content

[v3] #83 - Rename the filename option to file_path and files_base_path to base_path - #86

Merged
njoubert-cleverage merged 1 commit into
dev-v3from
83
Dec 2, 2026
Merged

njoubert-cleverage merged 1 commit into
dev-v3from
83

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #83, part of cleverage/process-bundle#505: the archive tasks use the option names of the core tasks, renamed directly in v3.0 without deprecation in 2.x.

  • archive_zip, archive_unzip: filename → file_path; archive_zip: files_base_path → base_path, as options and as keys of the input array (wrapper_key: file_path in the docs).
  • The former names are rejected (UndefinedOptionsException), when the first item reaches the task (validation at initialization: Resolve the options of archive_zip and archive_unzip at initialization #84).
  • destination is kept (target folder).
  • Tests: the former names are rejected in the options and in the input; base_path from the input.
  • Reference pages, import_archive and export_archive_upload cookbooks, CHANGELOG (BC breaks), UPGRADE.md v3.0.

Checked locally: make quality, PHPUnit with pcov (58 tests).

Requirements

  • Documentation updates
    • Reference
    • Cookbooks
    • Changelog
  • Unit tests

Breaking changes

Major: filename and files_base_path are no longer accepted, in the options nor in the input array; use file_path and base_path (see UPGRADE.md).

🤖 Generated with Claude Code

…base_path

archive_zip, archive_unzip: filename → file_path; archive_zip: files_base_path →
base_path, as in the core tasks (cleverage/process-bundle#505), in the options and
in the input array. No deprecation in 2.x: the former names are rejected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage requested a review from a team as a code owner December 2, 2026 16:05
@njoubert-cleverage
njoubert-cleverage merged commit b1f70e9 into dev-v3 Dec 2, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant