Skip to content

1.2.20 - Support Non-UTF-8 Templates & Update Async Method Signature

Choose a tag to compare

@Trenza1ore Trenza1ore released this 27 May 15:54
· 43 commits to main since this release

Feature

  • Issue and pull request templates: get_template methods for fetching issue and pull request templates now accept encoding (default to "utf-8") and optional decoding_kwargs forwarded to bytes.decode, so non-UTF-8 template files can be read with the codec and error handling of your choice!

Fix

  • Async client method signatures: several async methods that previously took a catch-all **params or **payload as input now use the same keyword arguments as their sync counterparts.

GitHub Action

  • check-code: new workflow that runs on push & PR, checking code style (via ruff) and ensuring all unit tests pass.

Full Changelog: 1.2.19...1.2.20