Skip to content

v0.2.1

Choose a tag to compare

@cyberops7 cyberops7 released this 14 Apr 03:13
· 17 commits to main since this release
b4776df

What's Changed

Improvements

  • Stream file uploads — upload() now streams files via open handles instead of loading entire files into memory with read_bytes(). File handles are properly cleaned up even on partial failures. (#10, PR #18)
  • Stricter error handling — check_action_error() now raises ActionError on unexpected JSON response types (arrays, null, numbers) instead of silently accepting them. Signature widened to object for defensive runtime type checking. (#13, PR #17)
  • Tighter type annotations — _post() data parameter narrowed from bare dict to dict[str, str | list[str]] to match build_form_data() return type. (#11, PR #16)

Docs

  • Added releasing workflow and branch protection docs to CLAUDE.md
  • Added one-PR-per-issue workflow guidance

Full Changelog: v0.2.0...v0.2.1