Skip to content

0.10.0

Compare
Choose a tag to compare
@jonathansick jonathansick released this 13 Mar 17:19
· 55 commits to main since this release
a623beb

New features

  • We've adopted Safir's safir.fastapi.ClientRequestError so that errors like 404 and 422 (input validation) now use the same error format as FastAPI uses for its built-in model validation errors. For parameter errors from endpoints like GET /v1/pages:page/html the parameter name is now part of the loc field in the error message.
  • Times Square and its worker now send uncaught exceptions to a Slack webhook for better error reporting. The webhook URL is set in the TS_SLACK_WEBHOOK_URL environment variable.

Other changes

  • Updated to Python 3.12
  • Updated to Pydantic 2
  • Adopted Ruff for linting and formatting, replacing black, flake8, and isort.
  • Switch to using Annotated for Pydantic models and FastAPI path functions.

What's Changed

  • [neophile] Update dependencies by @neophile-square in #62
  • [neophile] Update dependencies by @neophile-square in #63
  • [neophile] Update dependencies by @neophile-square in #64
  • [neophile] Update dependencies by @neophile-square in #65
  • DM-43173: Update to ruff linting and pydantic 2 by @jonathansick in #69
  • DM-43264: Adopt Safir ClientRequestError and Slack messaging for internal errors by @jonathansick in #70

Full Changelog: 0.9.2...0.10.0