Skip to content

chore: sync release branch to main (v1.0.7 final release) - #86

Open
cmworkato wants to merge 4 commits into
mainfrom
release
Open

cmworkato wants to merge 4 commits into
mainfrom
release

Conversation

@cmworkato

Copy link
Copy Markdown
Contributor

Summary

Syncs main with release following the v1.0.7 final release. main is the source of truth and should contain all shipped changes.

Changes included

fix: preserve non-ASCII filenames (e.g. Japanese) when extracting ZIP
Passes metadata_encoding="utf-8" to the ZipFile constructor so recipe filenames containing Japanese and other non-ASCII characters are extracted correctly. Contributed by Tomomichi Noguchi (Workato Japan team). Resolves #78.

chore: deprecate Python CLI

  • DeprecationNotifier class shows a ⚠️ warning to stderr after every command
  • Warning suppressed by workato deprecation-warning disable or WORKATO_DISABLE_DEPRECATION_WARNING=1
  • New workato deprecation-warning command group with disable / enable / status subcommands
  • README deprecation banner (renders on GitHub and PyPI)
  • pyproject.toml classifier updated to Development Status :: 7 - Inactive

test: full test coverage for new deprecation code
39 new unit tests — 1,015 total, all passing.

This is the final PR on this repository

workato-platform-cli is retired as of v1.0.7. This repository will be archived once this PR is merged.

cmworkato and others added 4 commits September 9, 2026 22:15
…#78)

Pass metadata_encoding='utf-8' to ZipFile constructor so filenames stored
as raw UTF-8 bytes (without the ZIP UTF-8 flag) are decoded correctly.
Python's zipfile module defaults to CP437 which garbles Japanese characters.
metadata_encoding requires Python 3.11+, already the project minimum.

Co-authored-by: Tomomichi Noguchi <tomomichiw@users.noreply.github.com>
- Add DeprecationNotifier class to version_checker.py: shows a ⚠️ warning
  to stderr after every command directing users to the new Go CLI at
  https://workato-devs.github.io/labs/
- Warning is suppressed by flag file
  (~/.cache/workato-platform-cli/deprecation_warning_disabled) or by
  setting WORKATO_DISABLE_DEPRECATION_WARNING=1
- Add 'workato deprecation-warning' command group with disable/enable/status
  subcommands so users can manage the warning interactively
- Update pyproject.toml classifier to 'Development Status :: 7 - Inactive'
- Add deprecation banner to README.md (renders on PyPI and GitHub)
- 25 unit tests for DeprecationNotifier (is_disabled, disable, enable,
  show, run — all paths including env var, flag file, and error handling)
- 14 tests for the deprecation-warning CLI commands (disable, enable,
  status, help) using asyncclick CliRunner
- Add silence_deprecation_notifier autouse fixture to test_version_checker.py
  so existing check_updates_async tests remain focused on update logic only
- fix: preserve non-ASCII filenames (e.g. Japanese) when extracting ZIP (#78)
- chore: deprecate Python CLI with DeprecationNotifier, deprecation-warning
  command (disable/enable/status), README banner, PyPI classifier update
- test: full test coverage for DeprecationNotifier and deprecation-warning command
@cmworkato
cmworkato requested a review from hovu96 September 11, 2026 18:10

This branch was successfully deployed

1 active deployment
release — 2b4456cf Deployed Sep 10, 2026 by cmworkato via publish-release #54
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.

2 participants