Skip to content

Choose a tag to compare

@xz-dev xz-dev released this 12 Feb 03:50
· 13 commits to master since this release
f597b98

Bug Fixes

  • Fix stdout buffering in Docker/CI: Revert to sync execution and add flush=True to all print() calls, ensuring upload progress logs are visible in real-time in non-TTY environments (Docker, CI pipelines) instead of being buffered until exit
  • Fix bot entity resolution: Add parse_entity() to convert numeric string chat IDs to int, fixing Telethon bot entity resolution errors
  • Fix test imports: Correct from main import main → from main import upload to match actual function name

Improvements

  • Add python -u flag to Dockerfile for unbuffered stdout
  • Remove dead progress_callback from send_file() (no-op on pre-uploaded InputFile objects)
  • Restore None caption for non-last files in album, matching v1.1.x behavior

Tests

  • Add integration tests for async_main CLI entry point (single file, multiple files, GitHub Actions multiline args, GITHUB_OUTPUT writing)