------------------------------------------------------------------- Mon Nov 14 09:12:12 UTC 2022 - David Anes - Starlette newest version is already supported: * Remove fastapi-support-startlette-0.21.0.patch - Add patch to disable a broken test: * Add python-fastapi-disable-broken-tests.patch - Update to 0.88.0 * Upgrades - arrow_up Bump Starlette to version 0.22.0 to fix bad encoding for query parameters in new TestClient. * Docs - pencil2 Fix typo in docs for docs/en/docs/advanced/middleware.md. * Translations - globe_with_meridians Add Portuguese translation for docs/pt/docs/deployment/docker.md. - Update to 0.87.0 * Highlights of this release: - Upgraded Starlette + Now the TestClient is based on HTTPX instead of Requests. + There are some possible breaking changes in the TestClient usage, but @Kludex built bump-testclient to help you automatize migrating your tests. Make sure you are using Git and that you can undo any unnecessary changes (false positive changes, etc) before using bump-testclient. - New WebSocketException (and docs), re-exported from Starlette. - Upgraded and relaxed dependencies for package extras all (including new Uvicorn version), when you install "fastapi[all]". - New docs about how to Help Maintain FastAPI. * Features: - arrow_up Upgrade and relax dependencies for extras "all". - sparkles Re-export Starlette's WebSocketException and add it to docs. - memo Update references to Requests for tests to HTTPX, and add HTTPX to extras. - arrow_up Upgrade Starlette to 0.21.0, including the new TestClient based on HTTPX. PR #5471 by @pawelrubin. * Docs: - pencil2 Tweak Help FastAPI from PR review after merging. - pencil2 Clarify docs on CORS. - memo Update Help FastAPI: Help Maintain FastAPI. * Translations: - globe_with_meridians Fix highlight lines for Japanese translation for docs/tutorial/query-params.md. - globe_with_meridians Add French translation for docs/fr/docs/advanced/additional-status-code.md. - globe_with_meridians Add Portuguese translation for docs/pt/docs/tutorial/request-forms-and-files.md. - globe_with_meridians Add Japanese translation for docs/ja/docs/advanced/websockets.md. * Internal: - sparkles Use Ruff for linting. - hammer_and_wrench Add Arabic issue number to Notify Translations GitHub Action. - arrow_up Bump dawidd6/action-download-artifact from 2.24.1 to 2.24.2. - arrow_up Bump dawidd6/action-download-artifact from 2.24.0 to 2.24.1. - memo Update coverage badge to use Samuel Colvin's Smokeshow. ------------------------------------------------------------------- Fri Nov 4 11:06:39 UTC 2022 - Michael Ströder - Update to 0.86.0 * Features: - Add Python 3.11 to the officially supported versions. PR #5587 - Enable tests for Python 3.11. PR #4881 * Fixes: - Close FormData (uploaded files) after the request is done. PR #5465 * Docs: - Fix typo in docs/en/docs/tutorial/security/oauth2-jwt.md. PR #5584 ------------------------------------------------------------------- Wed Nov 2 10:35:31 UTC 2022 - David Anes - Update to 0.85.2 * Docs: - Fix grammar and add helpful links to dependencies in docs/en/docs/async.md. - Fix broken link in alternatives.md. - Fix typo in docs about contributing, for compatibility with pip in Zsh. - Fix typo in docs with examples for Python 3.10 instead of 3.9. *Translations: - Add Portuguese translation for docs/pt/docs/tutorial/request-forms.md. - Add Chinese translation for docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md. - Add French translation for deployment/deta.md. - Update Chinese translation for docs/zh/docs/tutorial/query-params-str-validations.md. - Add Chinese translation for docs/zh/docs/tutorial/sql-databases.md. - Add Chinese translation for docs/zh/docs/advanced/wsgi.md. - Add Portuguese translation for docs/pt/docs/tutorial/body-multiple-params.md. - Add Portuguese translation for docs/pt/docs/tutorial/path-params-numeric-validations.md. - Add French translation for deployment/versions.md. - Add French translation for docs/fr/docs/help-fastapi.md. - Fix typo in Chinese translation for docs/zh/docs/tutorial/security/first-steps.md. - Add Portuguese translation for docs/pt/docs/tutorial/response-status-code.md. - Add config for Tamil translations. ------------------------------------------------------------------- Mon Oct 31 08:45:35 UTC 2022 - David Anes - Update to 0.85.1 * Fix support for strings in OpenAPI status codes: default, 1XX, 2XX, 3XX, 4XX, 5XX. * Docs: Add WayScript x FastAPI Tutorial to External Links section - Add support for Starlette 0.21.0: * Add patch fastapi-support-startlette-0.21.0.patch ------------------------------------------------------------------- Thu Sep 15 14:24:19 UTC 2022 - Michael Ströder - added new build dependencies * python-hatchling * python-orjson - Update to 0.85.0 * Upgrade version required of Starlette from 0.19.1 to 0.20.4. Initial PR #4820 by @Kludex. * Upgrade Uvicorn max version in public extras: all. From >=0.12.0,<0.18.0 to >=0.12.0,<0.19.0. PR #5401 by @tiangolo. - Update to 0.84.0 * dropped support for Python 3.6 - Update to 0.83.0 * Features - Add support in jsonable_encoder for include and exclude with dataclasses. PR #4923 by @DCsunset. * Fixes - Fix RuntimeError raised when HTTPException has a status code with no content. PR #5365 by @iudeen. - Fix empty reponse body when default status_code is empty but the a Response parameter with response.status_code is set. PR #5360 by @tmeckel. * Docs - Update SECURITY.md. PR #5377 ------------------------------------------------------------------- Thu Sep 8 07:30:26 UTC 2022 - Steve Kowalik - Use email-validator package instead of email_validator. ------------------------------------------------------------------- Sun Sep 4 20:34:02 UTC 2022 - Michael Ströder - Update to 0.82.0 * Features - Export WebSocketState in fastapi.websockets. PR #4376 - Support Python internal description on Pydantic model's docstring. PR #3032 - Update ORJSONResponse to support non str keys and serializing Numpy arrays. PR #3892 * Fixes - Allow exit code for dependencies with yield to always execute, by removing capacity limiter for them, to e.g. allow closing DB connections without deadlocks. PR #5122 - Fix FastAPI People GitHub Action: set HTTPX timeout for GraphQL query request. PR #5222 - Make sure a parameter defined as required is kept required in OpenAPI even if defined as optional in another dependency. PR #4319 - Fix support for path parameters in WebSockets. PR #3879 * Docs - Update Hypercorn link, now pointing to GitHub. PR #5346 - Tweak wording in docs/en/docs/advanced/dataclasses.md. PR #3698 - Add note about Python 3.10 X | Y operator in explanation about Response Models. PR #5307 - Add link to New Relic article: "How to monitor FastAPI application performance using Python agent". PR #5260 - Update docs for ORJSONResponse with details about improving performance. PR #2615 - Add docs for creating a custom Response class. PR #5331 - Add tip about using alias for form data fields. PR #5329 * Translations - Add Russian translation for docs/ru/docs/features.md. PR #5315 - Update Chinese translation for docs/zh/docs/tutorial/request-files.md. PR #4529 - Add Chinese translation for docs/zh/docs/tutorial/encoder.md. PR #4969 - Fix MkDocs file line for Portuguese translation of background-task.md. PR #5242 ------------------------------------------------------------------- Fri Aug 26 21:20:08 UTC 2022 - Michael Ströder - Update to 0.81.0 * Features - Add ReDoc