Commit Graph

1868 Commits

Author SHA1 Message Date
github-actions 3829129245 📝 Update release notes 2023-08-02 18:58:29 +00:00
github-actions 165f29fe5e 📝 Update release notes 2023-08-02 15:57:57 +00:00
github-actions b473cdd88d 📝 Update release notes 2023-08-02 15:29:13 +00:00
github-actions 2d8a776836 📝 Update release notes 2023-08-02 15:15:10 +00:00
github-actions 01f91fdb57 📝 Update release notes 2023-08-01 21:40:00 +00:00
Sebastián Ramírez c2a33f1087
🍱 Update sponsors, Fern badge (#9982) 2023-08-01 23:39:22 +02:00
github-actions 6c8c3b788b 📝 Update release notes 2023-08-01 09:20:23 +00:00
github-actions 74de15d0df 📝 Update release notes 2023-07-31 21:49:56 +00:00
Sebastián Ramírez 1da0a7afbd
🔧 Update sponsor Fern (#9979) 2023-07-31 23:49:19 +02:00
github-actions d38e86ef20 📝 Update release notes 2023-07-31 19:54:46 +00:00
github-actions cd6d75e451 📝 Update release notes 2023-07-28 12:16:16 +00:00
Sebastián Ramírez 076bdea671
🌐 Remove Vietnamese note about missing translation (#9957) 2023-07-28 14:15:29 +02:00
Sebastián Ramírez 8d27236648 🔖 Release version 0.100.1 2023-07-27 21:16:01 +02:00
Sebastián Ramírez effa578b8d 📝 Update release notes 2023-07-27 21:15:16 +02:00
github-actions bec5530ac8 📝 Update release notes 2023-07-27 19:14:48 +00:00
github-actions 643d8e41c4 📝 Update release notes 2023-07-27 19:08:23 +00:00
github-actions c52c940066 📝 Update release notes 2023-07-27 19:04:24 +00:00
github-actions 77cfb3c822 📝 Update release notes 2023-07-27 18:59:56 +00:00
github-actions e334065d10 📝 Update release notes 2023-07-27 18:57:37 +00:00
github-actions 5d3f51c8bc 📝 Update release notes 2023-07-27 18:56:19 +00:00
github-actions a52875c656 📝 Update release notes 2023-07-27 18:54:32 +00:00
Sebastián Ramírez 570ca011f9
🔧 Update sponsors, add Fern (#9956) 2023-07-27 20:53:51 +02:00
github-actions 02ed00cc47 📝 Update release notes 2023-07-27 18:53:03 +00:00
github-actions 35707a1b29 📝 Update release notes 2023-07-27 18:51:59 +00:00
github-actions d7c6894b8b 📝 Update release notes 2023-07-27 18:50:16 +00:00
github-actions 6a95a3a8e7 📝 Update release notes 2023-07-27 18:48:28 +00:00
github-actions 39318a39f4 📝 Update release notes 2023-07-27 18:43:30 +00:00
github-actions 7cdea41431 📝 Update release notes 2023-07-27 18:23:13 +00:00
github-actions f7e3559bd5 📝 Update release notes 2023-07-09 15:45:55 +00:00
github-actions 2d69531509 📝 Update release notes 2023-07-09 15:44:58 +00:00
Sebastián Ramírez 73c39745d8
👥 Update FastAPI People (#9775)
Co-authored-by: github-actions <github-actions@github.com>
2023-07-09 17:44:21 +02:00
github-actions ea92dcaa01 📝 Update release notes 2023-07-09 15:40:19 +00:00
github-actions eaa14e18d3 📝 Update release notes 2023-07-09 14:37:16 +00:00
github-actions c165be380f 📝 Update release notes 2023-07-07 18:15:42 +00:00
Sebastián Ramírez 5f85e2cf58
📝 Update links for self-hosted Swagger UI, point to v5, for OpenAPI 31.0 (#9834)
📝 Update links for self-hosted Swagger UI, point to v5, for OpenAPI 3.1.0
2023-07-07 20:15:08 +02:00
Sebastián Ramírez f8356d9fff 🔖 Release version 0.100.0 2023-07-07 19:25:59 +02:00
Sebastián Ramírez 179e409159 📝 Update release notes 2023-07-07 19:14:54 +02:00
github-actions bb7e5b7261 📝 Update release notes 2023-07-07 17:12:58 +00:00
Sebastián Ramírez 0976185af9
Add support for Pydantic v2 (#9816)
*  Pydantic v2 migration, initial implementation (#9500)

*  Add compat layer, for Pydantic v1 and v2

*  Re-export Pydantic needed internals from compat, to later patch them for v1

* ♻️ Refactor internals to use new compatibility layers and run with Pydantic v2

* 📝 Update examples to run with Pydantic v2

*  Update tests to use Pydantic v2

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

*  Temporarily disable Peewee tests, afterwards I'll enable them only for Pydantic v1

* 🐛 Fix JSON Schema generation and OpenAPI ref template

* 🐛 Fix model field creation with defaults from Pydantic v2

* 🐛 Fix body field creation, with new FieldInfo

*  Use and check new ResponseValidationError for server validation errors

*  Fix test_schema_extra_examples tests with ResponseValidationError

*  Add dirty-equals to tests for compatibility with Pydantic v1 and v2

*  Add util to regenerate errors with custom loc

*  Generate validation errors with loc

*  Update tests for compatibility with Pydantic v1 and v2

*  Update tests for Pydantic v2 in tests/test_filter_pydantic_sub_model.py

*  Refactor tests in tests/test_dependency_overrides.py for Pydantic v2, separate parameterized into independent tests to use insert_assert

*  Refactor OpenAPI test for tests/test_infer_param_optionality.py for consistency, and make it compatible with Pydantic v1 and v2

*  Update tests for tests/test_multi_query_errors.py for Pydantic v1 and v2

*  Update tests for tests/test_multi_body_errors.py for Pydantic v1 and v2

*  Update tests for tests/test_multi_body_errors.py for Pydantic v1 and v2

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

* ♻️ Refactor tests for tests/test_path.py to inline pytest parameters, to make it easier to make them compatible with Pydantic v2

*  Refactor and udpate tests for tests/test_path.py for Pydantic v1 and v2

* ♻️ Refactor and update tests for tests/test_query.py with compatibility for Pydantic v1 and v2

*  Fix test with optional field without default None

*  Update tests for compatibility with Pydantic v2

*  Update tutorial tests for Pydantic v2

* ♻️ Update OAuth2 dependencies for Pydantic v2

* ♻️ Refactor str check when checking for sequence types

* ♻️ Rename regex to pattern to keep in sync with Pydantic v2

* ♻️ Refactor _compat.py, start moving conditional imports and declarations to specifics of Pydantic v1 or v2

*  Update tests for OAuth2 security optional

*  Refactor tests for OAuth2 optional for Pydantic v2

*  Refactor tests for OAuth2 security for compatibility with Pydantic v2

* 🐛 Fix location in compat layer for Pydantic v2 ModelField

*  Refactor tests for Pydantic v2 in tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

* 🐛 Add missing markers in Python 3.9 tests

*  Refactor tests for bigger apps for consistency with annotated ones and with support for Pydantic v2

* 🐛 Fix jsonable_encoder with new Pydantic v2 data types and Url

* 🐛 Fix invalid JSON error for compatibility with Pydantic v2

*  Update tests for behind_a_proxy for Pydantic v2

*  Update tests for tests/test_tutorial/test_body/test_tutorial001_py310.py for Pydantic v2

*  Update tests for tests/test_tutorial/test_body/test_tutorial001.py with Pydantic v2 and consistency with Python 3.10 tests

*  Fix tests for tutorial/body_fields for Pydantic v2

*  Refactor tests for tutorial/body_multiple_params with Pydantic v2

*  Update tests for tutorial/body_nested_models for Pydantic v2

*  Update tests for tutorial/body_updates for Pydantic v2

*  Update test for tutorial/cookie_params for Pydantic v2

*  Fix tests for tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py for Pydantic v2

*  Update tests for tutorial/dataclasses for Pydantic v2

*  Update tests for tutorial/dependencies for Pydantic v2

*  Update tests for tutorial/extra_data_types for Pydantic v2

*  Update tests for tutorial/handling_errors for Pydantic v2

*  Fix test markers for Python 3.9

*  Update tests for tutorial/header_params for Pydantic v2

*  Update tests for Pydantic v2 in tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

*  Fix extra tests for Pydantic v2

*  Refactor test for parameters, to later fix Pydantic v2

*  Update tests for tutorial/query_params for Pydantic v2

* ♻️ Update examples in docs to use new pattern instead of the old regex

*  Fix several tests for Pydantic v2

*  Update and fix test for ResponseValidationError

* 🐛 Fix check for sequences vs scalars, include bytes as scalar

* 🐛 Fix check for complex data types, include UploadFile

* 🐛 Add list to sequence annotation types

* 🐛 Fix checks for uploads and add utils to find if an annotation is an upload (or bytes)

*  Add UnionType and NoneType to compat layer

*  Update tests for request_files for compatibility with Pydantic v2 and consistency with other tests

*  Fix testsw for request_forms for Pydantic v2

*  Fix tests for request_forms_and_files for Pydantic v2

*  Fix tests in tutorial/security for compatibility with Pydantic v2

* ⬆️ Upgrade required version of email_validator

*  Fix tests for params repr

*  Add Pydantic v2 pytest markers

* Use match_pydantic_error_url

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

* Use field_serializer instead of encoders in some tests

* Show Undefined as ... in repr

* Mark custom encoders test with xfail

* Update test to reflect new serialization of Decimal as str

* Use `model_validate` instead of `from_orm`

* Update JSON schema to reflect required nullable

* Add dirty-equals to pyproject.toml

* Fix locs and error creation for use with pydantic 2.0a4

* Use the type adapter for serialization. This is hacky.

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

*  Refactor test_multi_body_errors for compatibility with Pydantic v1 and v2

*  Refactor test_custom_encoder for Pydantic v1 and v2

*  Set input to None for now, for compatibility with current tests

* 🐛 Fix passing serialization params to model field when handling the response

* ♻️ Refactor exceptions to not depend on Pydantic ValidationError class

* ♻️ Revert/refactor params to simplify repr

*  Tweak tests for custom class encoders for Pydantic v1 and v2

*  Tweak tests for jsonable_encoder for Pydantic v1 and v2

*  Tweak test for compatibility with Pydantic v1 and v2

* 🐛 Fix filtering data with subclasses

* 🐛 Workaround examples in OpenAPI schema

*  Add skip marker for SQL tutorial, needs to be updated either way

*  Update test for broken JSON

*  Fix test for broken JSON

*  Update tests for timedeltas

*  Fix test for plain text validation errors

*  Add markers for Pydantic v1 exclusive tests (for now)

*  Update test for path_params with enums for compatibility with Pydantic v1 and v2

*  Update tests for extra examples in OpenAPI

*  Fix tests for response_model with compatibility with Pydantic v1 and v2

* 🐛 Fix required double serialization for different types of models

*  Fix tests for response model with compatibility with new Pydantic v2

* 🐛 Import Undefined from compat layer

*  Fix tests for response_model for Pydantic v2

*  Fix tests for schema_extra for Pydantic v2

*  Add markers and update tests for Pydantic v2

* 💡 Comment out logic for double encoding that breaks other usecases

*  Update errors for int parsing

* ♻️ Refactor re-enabling compatibility for Pydantic v1

* ♻️ Refactor OpenAPI utils to re-enable support for Pydantic v1

* ♻️ Refactor dependencies/utils and _compat for compatibility with Pydantic v1

* 🐛 Fix and tweak compatibility with Pydantic v1 and v2 in dependencies/utils

*  Tweak tests and examples for Pydantic v1

* ♻️ Tweak call to ModelField.validate for compatibility with Pydantic v1

*  Use new global override TypeAdapter from_attributes

*  Update tests after updating from_attributes

* 🔧 Update pytest config to avoid collecting tests from docs, useful for editor-integrated tests

*  Add test for data filtering, including inheritance and models in fields or lists of models

* ♻️ Make OpenAPI models compatible with both Pydantic v1 and v2

* ♻️ Fix compatibility for Pydantic v1 and v2 in jsonable_encoder

* ♻️ Fix compatibility in params with Pydantic v1 and v2

* ♻️ Fix compatibility when creating a FieldInfo in Pydantic v1 and v2 in utils.py

* ♻️ Fix generation of flat_models and JSON Schema definitions in _compat.py for Pydantic v1 and v2

* ♻️ Update handling of ErrorWrappers for Pydantic v1

* ♻️ Refactor checks and handling of types an sequences

* ♻️ Refactor and cleanup comments with compatibility for Pydantic v1 and v2

* ♻️ Update UploadFile for compatibility with both Pydantic v1 and v2

* 🔥 Remove commented out unneeded code

* 🐛 Fix mock of get_annotation_from_field_info for Pydantic v1 and v2

* 🐛 Fix params with compatibility for Pydantic v1 and v2, with schemas and new pattern vs regex

* 🐛 Fix check if field is sequence for Pydantic v1

*  Fix tests for custom_schema_fields, for compatibility with Pydantic v1 and v2

*  Simplify and fix tests for jsonable_encoder with compatibility for Pydantic v1 and v2

*  Fix tests for orm_mode with Pydantic v1 and compatibility with Pydantic v2

* ♻️ Refactor logic for normalizing Pydantic v1 ErrorWrappers

* ♻️ Workaround for params with examples, before defining what to deprecate in Pydantic v1 and v2 for examples with JSON Schema vs OpenAPI

*  Fix tests for Pydantic v1 and v2 for response_by_alias

*  Fix test for schema_extra with compatibility with Pydantic v1 and v2

* ♻️ Tweak error regeneration with loc

* ♻️ Update error handling and serializationwith compatibility for Pydantic v1 and v2

* ♻️ Re-enable custom encoders for Pydantic v1

* ♻️ Update ErrorWrapper reserialization in Pydantic v1, do it outside of FastAPI ValidationExceptions

*  Update test for filter_submodel, re-structure to simplify testing while keeping division of Pydantic v1 and v2

*  Refactor Pydantic v1 only test that requires modifying environment variables

* 🔥 Update test for plaintext error responses, for Pydantic v1 and v2

* ️ Revert changes in DB tutorial to use Pydantic v1 (the new guide will have SQLModel)

*  Mark current SQL DB tutorial tests as Pydantic only

* ♻️ Update datastructures for compatibility with Pydantic v1, not requiring pydantic-core

* ♻️ Update encoders.py for compatibility with Pydantic v1

* ️ Revert changes to Peewee, the docs for that are gonna live in a new HowTo section, not in the main tutorials

* ♻️ Simplify response body kwargs generation

* 🔥 Clean up comments

* 🔥 Clean some tests and comments

*  Refactor tests to match new Pydantic error string URLs

*  Refactor tests for recursive models for Pydantic v1 and v2

*  Update tests for Peewee, re-enable, Pydantic-v1-only

* ♻️ Update FastAPI params to take regex and pattern arguments

* ️ Revert tutorial examples for pattern, it will be done in a subsequent PR

* ️ Revert changes in schema extra examples, it will be added later in a docs-specific PR

* 💡 Add TODO comment to document str validations with pattern

* 🔥 Remove unneeded comment

* 📌 Upgrade Pydantic pin dependency

* ⬆️ Upgrade email_validator dependency

* 🐛 Tweak type annotations in _compat.py

* 🔇 Tweak mypy errors for compat, for Pydantic v1 re-imports

* 🐛 Tweak and fix type annotations

*  Update requirements-test.txt, re-add dirty-equals

* 🔥 Remove unnecessary config

* 🐛 Tweak type annotations

* 🔥 Remove unnecessary type in dependencies/utils.py

* 💡 Update comment in routing.py

---------

Co-authored-by: David Montague <35119617+dmontagu@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* 👷 Add CI for both Pydantic v1 and v2 (#9688)

* 👷 Test and install Pydantic v1 and v2 in CI

* 💚 Tweak CI config for Pydantic v1 and v2

* 💚 Fix Pydantic v2 specification in CI

* 🐛 Fix type annotations for compatibility with Python 3.7

* 💚 Install Pydantic v2 for lints

* 🐛 Fix type annotations for Pydantic v2

* 💚 Re-use test cache for lint

* ♻️ Refactor internals for test coverage and performance (#9691)

* ♻️ Tweak import of Annotated from typing_extensions, they are installed anyway

* ♻️ Refactor _compat to define functions for Pydantic v1 or v2 once instead of checking inside

*  Add test for UploadFile for Pydantic v2

* ♻️ Refactor types and remove logic for impossible cases

*  Add missing tests from test refactor for path params

*  Add tests for new decimal encoder

* 💡 Add TODO comment for decimals in encoders

* 🔥 Remove unneeded dummy function

* 🔥 Remove section of code in field_annotation_is_scalar covered by sub-call to field_annotation_is_complex

* ♻️ Refactor and tweak variables and types in _compat

*  Add tests for corner cases and compat with Pydantic v1 and v2

* ♻️ Refactor type annotations

* 🔖 Release version 0.100.0-beta1

* ♻️ Refactor parts that use optional requirements to make them compatible with installations without them (#9707)

* ♻️ Refactor parts that use optional requirements to make them compatible with installations without them

* ♻️ Update JSON Schema for email field without email-validator installed

* 🐛 Fix support for Pydantic v2.0, small changes in their final release (#9771)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>

* 🔖 Release version 0.100.0-beta2

*  OpenAPI 3.1.0 with Pydantic v2, merge `master` (#9773)

*  Add dirty-equals as a testing dependency (#9778)

 Add dirty-equals as a testing dependency, it seems it got lsot at some point

* 🔀 Merge master, fix valid JSON Schema accepting bools (#9782)

* ️ Revert usage of custom logic for TypeAdapter JSON Schema, solved on the Pydantic side (#9787)

️ Revert usage of custom logic for TypeAdapter JSON Schema, solved on Pydantic side

* ♻️ Deprecate parameter `regex`, use `pattern` instead (#9786)

* 📝 Update docs to deprecate regex, recommend pattern

* ♻️ Update examples to use new pattern instead of regex

* 📝 Add new example with deprecated regex

* ♻️ Add deprecation notes and warnings for regex

*  Add tests for regex deprecation

*  Update tests for compatibility with Pydantic v1

*  Update docs to use Pydantic v2 settings and add note and example about v1 (#9788)

*  Add pydantic-settings to all extras

* 📝 Update docs for Pydantic settings

* 📝 Update Settings source examples to use Pydantic v2, and add a Pydantic v1 version

*  Add tests for settings with Pydantic v1 and v2

* 🔥 Remove solved TODO comment

* ♻️ Update conditional OpenAPI to use new Pydantic v2 settings

*  Update tests to import Annotated from typing_extensions for Python < 3.9 (#9795)

*  Add pydantic-extra-types to fastapi[extra]

*  temp: Install Pydantic from source to test JSON Schema metadata fixes (#9777)

*  Install Pydantic from source, from branch for JSON Schema with metadata

*  Update dependencies, install Pydantic main

*  Fix dependency URL for Pydantic from source

*  Add pydantic-settings for test requirements

* 💡 Add TODO comments to re-enable Pydantic main (not from source) (#9796)

*  Add new Pydantic Field param options to Query, Cookie, Body, etc. (#9797)

* 📝 Add docs for Pydantic v2 for `docs/en/docs/advanced/path-operation-advanced-configuration.md` (#9798)

* 📝 Update docs in examples for settings with Pydantic v2 (#9799)

* 📝 Update JSON Schema `examples` docs with Pydantic v2 (#9800)

* ♻️ Use new Pydantic v2 JSON Schema generator (#9813)

Co-authored-by: David Montague <35119617+dmontagu@users.noreply.github.com>

* ♻️ Tweak type annotations and Pydantic version range (#9801)

* 📌 Re-enable GA Pydantic, for v2, require minimum 2.0.2 (#9814)

* 🔖 Release version 0.100.0-beta3

* 🔥 Remove duplicate type declaration from merge conflicts (#9832)

* 👷‍♂️ Run tests with Pydantic v2 GA (#9830)

👷 Run tests for Pydantic v2 GA

* 📝 Add notes to docs expecting Pydantic v2 and future updates (#9833)

* 📝 Update index with new extras

* 📝 Update release notes

---------

Co-authored-by: David Montague <35119617+dmontagu@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Pastukhov Nikita <diementros@yandex.ru>
2023-07-07 19:12:13 +02:00
Sebastián Ramírez 8a198fc1ed 📝 Update release notes 2023-07-02 18:00:12 +02:00
github-actions 6bd4f53531 📝 Update release notes 2023-07-02 15:59:00 +00:00
github-actions 0f105d9076 📝 Update release notes 2023-07-01 16:44:12 +00:00
Sebastián Ramírez 4d83f984cc
📝 Update source examples to use new JSON Schema examples field (#9776)
* 📝 Update source examples to use new JSON Schema examples field

*  Update tests for JSON Schema examples

* 📝 Update highlights in JSON Schema examples
2023-07-01 18:43:29 +02:00
Sebastián Ramírez 983f1d34db 🔖 Release version 0.99.0 2023-06-30 20:55:17 +02:00
Sebastián Ramírez efc2bcc57a 📝 Update release notes 2023-06-30 20:54:25 +02:00
github-actions b757211299 📝 Update release notes 2023-06-30 18:25:53 +00:00
Sebastián Ramírez 7dad5a820b
Add support for OpenAPI 3.1.0 (#9770)
*  Update OpenAPI models for JSON Schema 2020-12 and OpenAPI 3.1.0

*  Add support for summary and webhooks

*  Update JSON Schema for UploadFiles

* ️ Revert making paths optional, to ensure always correctness

* ️ Keep UploadFile as format: binary for compatibility with the rest of Pydantic bytes fields in v1

*  Update version of OpenAPI generated to 3.1.0

*  Update the version of Swagger UI

* 📝 Update docs about extending OpenAPI

* 📝 Update docs and links to refer to OpenAPI 3.1.0

*  Update logic for handling webhooks

* ♻️ Update parameter functions and classes, deprecate example and make examples the main field

*  Update tests for OpenAPI 3.1.0

* 📝 Update examples for OpenAPI metadata

*  Add and update tests for OpenAPI metadata

* 📝 Add source example for webhooks

* 📝 Update docs for metadata

* 📝 Update docs for Schema extra

* 📝 Add docs for webhooks

* 🔧 Add webhooks docs to MkDocs

*  Update tests for extending OpenAPI

*  Add tests for webhooks

* ♻️ Refactor generation of OpenAPI and JSON Schema with params

* 📝 Update source examples for field examples

*  Update tests for examples

*  Make sure the minimum version of typing-extensions installed has deprecated() (already a dependency of Pydantic)

* ✏️ Fix typo in Webhooks example code

* 🔥 Remove commented out code of removed nullable field

* 🗑️ Add deprecation warnings for example argument

*  Update tests to check for deprecation warnings

*  Add test for webhooks with security schemes, for coverage

* 🍱 Update image for metadata, with new summary

* 🍱 Add docs image for Webhooks

* 📝 Update docs for webhooks, add docs UI image
2023-06-30 20:25:16 +02:00
github-actions 02fc9e8a63 📝 Update release notes 2023-06-30 16:23:36 +00:00
Sebastián Ramírez 0a8423d792
🔨 Enable linenums in MkDocs Material during local live development to simplify highlighting code (#9769) 2023-06-30 18:23:02 +02:00
github-actions 0f390cd4b5 📝 Update release notes 2023-06-28 16:39:44 +00:00
github-actions d409c05d6f 📝 Update release notes 2023-06-27 01:14:01 +00:00
github-actions 706d74b6ad 📝 Update release notes 2023-06-27 01:10:40 +00:00
github-actions 6c143b930d 📝 Update release notes 2023-06-27 01:07:03 +00:00
github-actions dffca555ff 📝 Update release notes 2023-06-27 01:06:48 +00:00
github-actions a95af94669 📝 Update release notes 2023-06-27 01:02:34 +00:00
github-actions 317cef3f8a 📝 Update release notes 2023-06-27 01:00:55 +00:00
github-actions 47524eee1b 📝 Update release notes 2023-06-26 16:03:19 +00:00
Sebastián Ramírez 872af100f5
📝 Fix form for the FastAPI and friends newsletter (#9749) 2023-06-26 18:02:34 +02:00
github-actions d1c5c5c97c 📝 Update release notes 2023-06-26 14:06:24 +00:00
Sebastián Ramírez ed297bb2e0
Add Material for MkDocs Insiders features and cards (#9748)
*  Add dependencies for MkDocs Insiders

* 🙈 Add Insider's .cache to .gitignore

* 🔧 Update MkDocs configs for Insiders

* 💄 Add custom Insiders card layout, while the custom logo is provided from upstream

* 🔨 Update docs.py script to dynamically enable insiders if it's installed

* 👷 Add cache for MkDocs Material Insiders' cards

* 🔊 Add a small log to the docs CLI

* 🔊 Tweak logs, only after exporting languages

* 🐛 Fix accessing non existing env var

* 🔧 Invalidate deps cache

* 🔧 Tweak cache IDs

* 👷 Update cache for installing insiders

* 🔊 Log insiders

* 💚 Invalidate cache

* 👷 Tweak cache keys

* 👷 Trigger CI and test cache

* 🔥 Remove cache comment

* ️ Optimize cache usage for first runs of docs

* 👷 Tweak cache for MkDocs Material cards

* 💚 Trigger CI to test cache
2023-06-26 16:05:43 +02:00
github-actions afc237ad53 📝 Update release notes 2023-06-25 12:57:53 +00:00
Sebastián Ramírez b107b6a096
🔥 Remove languages without translations (#9743)
* 🔥 Remove lang directories for empty translations

* 🔥 Remove untranslated langs from main config
2023-06-25 14:57:19 +02:00
github-actions be8e704e46 📝 Update release notes 2023-06-25 12:34:39 +00:00
Sebastián Ramírez 5656ed09ef
Refactor docs for building scripts, use MkDocs hooks, simplify (remove) configs for languages (#9742)
*  Add MkDocs hooks to re-use all config from en, and auto-generate missing docs files form en

* 🔧 Update MkDocs config for es

* 🔧 Simplify configs for all languages

*  Compute available languages from MkDocs Material for config overrides in hooks

* 🔧 Update config for MkDocs for en, to make paths compatible for other languages

* ♻️ Refactor scripts/docs.py to remove all custom logic that is now handled by the MkDocs hooks

* 🔧 Remove ta language as it's incomplete (no translations and causing errors)

* 🔥 Remove ta lang, no translations available

* 🔥 Remove dummy overrides directories, no longer needed

*  Use the same missing-translation.md file contents for hooks

* ️ Restore and refactor new-lang command

* 📝 Update docs for contributing with new simplified workflow for translations

* 🔊 Enable logs so that MkDocs can show its standard output on the docs.py script
2023-06-25 14:33:58 +02:00
github-actions c563b5bcf1 📝 Update release notes 2023-06-24 14:47:59 +00:00
Sebastián Ramírez 51d3a8ff12
🔨 Add MkDocs hook that renames sections based on the first index file (#9737) 2023-06-24 16:47:15 +02:00
github-actions 3aea9acc68 📝 Update release notes 2023-06-24 12:31:54 +00:00
github-actions 8cee653ad8 📝 Update release notes 2023-06-24 12:29:17 +00:00
github-actions 7d865c9487 📝 Update release notes 2023-06-24 00:00:47 +00:00
github-actions 2848951082 📝 Update release notes 2023-06-23 23:52:34 +00:00
github-actions 1471bc956c 📝 Update release notes 2023-06-23 18:17:17 +00:00
github-actions 5a3bbb62de 📝 Update release notes 2023-06-23 17:55:46 +00:00
Sebastián Ramírez 4721405ef7 🔖 Release version 0.98.0 2023-06-22 19:58:22 +02:00
Sebastián Ramírez 8066f85b3f 📝 Update release notes 2023-06-22 19:57:25 +02:00
github-actions 2ffb08d0bc 📝 Update release notes 2023-06-22 17:52:55 +00:00
github-actions 41d774ed6d 📝 Update release notes 2023-06-22 17:44:21 +00:00
github-actions a01c2ca3dd 📝 Update release notes 2023-06-22 17:43:29 +00:00
github-actions fdc713428e 📝 Update release notes 2023-06-22 17:26:46 +00:00
github-actions 586de94ca1 📝 Update release notes 2023-06-22 17:12:59 +00:00
github-actions 4842dfadcf 📝 Update release notes 2023-06-22 17:07:05 +00:00
я котик пур-пур cfc06a3a3d
📝 Update docs on Pydantic using ujson internally (#5804)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-22 17:06:25 +00:00
github-actions c812b42293 📝 Update release notes 2023-06-22 17:04:50 +00:00
ivan-abc 68ce5b37dc
✏ Rewording in `docs/en/docs/tutorial/debugging.md` (#9581)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-22 17:04:16 +00:00
github-actions 0dc9a377dc 📝 Update release notes 2023-06-22 17:02:08 +00:00
Pankaj Kumar d82700c96d
✏️ Fix tooltips for light/dark theme toggler in docs (#9588) 2023-06-22 19:01:28 +02:00
github-actions fafe670db6 📝 Update release notes 2023-06-22 16:53:00 +00:00
github-actions e76dd3e70d 📝 Update release notes 2023-06-22 16:44:41 +00:00
Marcel Sander e5f3d6a5eb
📝 Add german blog post (Domain-driven Design mit Python und FastAPI) (#9261) 2023-06-22 18:44:05 +02:00
github-actions 7217f167d4 📝 Update release notes 2023-06-22 16:41:05 +00:00
github-actions 762ede2bec 📝 Update release notes 2023-06-22 16:40:50 +00:00
jyothish-mohan a3b1478221
✏️ Tweak wording in `docs/en/docs/tutorial/security/index.md` (#9561) 2023-06-22 18:40:32 +02:00
github-actions b1f27c96c4 📝 Update release notes 2023-06-22 16:35:04 +00:00
github-actions c7dad1bb59 📝 Update release notes 2023-06-22 16:33:28 +00:00
Alexandr 0ef164e1ee
📝 Update `Annotated` notes in `docs/en/docs/tutorial/schema-extra-example.md` (#9620)
Update for docs/tutorial/schema-extra-example.md

When working on the translation, I noticed that this page is missing the annotated tips that can be found in the rest of the documentation (I checked, and it's the only page where they're missing).
2023-06-22 18:32:53 +02:00
github-actions fd6a78cbfe 📝 Update release notes 2023-06-22 16:20:40 +00:00
github-actions 2f0541f17a 📝 Update release notes 2023-06-22 16:18:54 +00:00
github-actions 847befdc1d 📝 Update release notes 2023-06-22 16:17:50 +00:00
github-actions 1182b36362 📝 Update release notes 2023-06-22 16:16:43 +00:00
github-actions 234cecb5bf 📝 Update release notes 2023-06-22 16:14:54 +00:00
github-actions 223ed67682 📝 Update release notes 2023-06-22 14:30:35 +00:00
github-actions 09319d6271 📝 Update release notes 2023-06-22 14:29:41 +00:00
github-actions 7505f24f2e 📝 Update release notes 2023-06-22 11:47:12 +00:00
github-actions a2aede32b4 📝 Update release notes 2023-06-22 11:43:21 +00:00
Ricardo Castro 7c66ec8a8b
✏️ Fix typo `Annotation` -> `Annotated` in `docs/en/docs/tutorial/query-params-str-validations.md` (#9625)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-22 11:42:48 +00:00
github-actions d47eea9bb6 📝 Update release notes 2023-06-22 11:35:49 +00:00
github-actions 3279f0ba63 📝 Update release notes 2023-06-22 11:32:46 +00:00
github-actions 05c5ce3689 📝 Update release notes 2023-06-22 11:26:45 +00:00
github-actions 2f048f7199 📝 Update release notes 2023-06-22 11:20:49 +00:00
Harsha Laxman 2cef119cd7
📝 Use in memory database for testing SQL in docs (#1223)
Co-authored-by: Harsha Laxman <harsh@Harshas-MacBook-Pro.local>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-06-22 11:20:12 +00:00
github-actions dd1c2018dc 📝 Update release notes 2023-06-22 10:38:27 +00:00
github-actions b7ce10079e 📝 Update release notes 2023-06-19 12:34:13 +00:00
Sebastián Ramírez 87d5870314
🔧 Update sponsors, add Flint (#9699)
* 🔧 Set up sponsor Flint

* 🔧 Add configs for Flint sponsor
2023-06-19 12:33:32 +00:00
github-actions 49bc3e0873 📝 Update release notes 2023-06-16 14:49:35 +00:00
Sebastián Ramírez 32935103b1 🔖 Release version 0.97.0 2023-06-12 00:50:06 +02:00
Sebastián Ramírez 395ece75aa 📝 Update release notes 2023-06-12 00:49:35 +02:00
github-actions e958d30d1d 📝 Update release notes 2023-06-11 22:47:16 +00:00
github-actions 3289796286 📝 Update release notes 2023-06-11 22:38:17 +00:00
github-actions ba882c10fe 📝 Update release notes 2023-06-11 22:16:38 +00:00
github-actions 3390a82832 📝 Update release notes 2023-06-11 22:09:33 +00:00
github-actions 32cefb9bff 📝 Update release notes 2023-06-11 21:49:52 +00:00
github-actions df58ecdee2 📝 Update release notes 2023-06-11 21:38:54 +00:00
Sebastián Ramírez 6595658324
⬇️ Separate requirements for development into their own requirements.txt files, they shouldn't be extras (#9655) 2023-06-11 23:38:15 +02:00
github-actions c8b729aea7 📝 Update release notes 2023-06-11 20:36:12 +00:00
github-actions ee96a099d8 📝 Update release notes 2023-06-11 19:08:50 +00:00
Sebastián Ramírez f5e2dd8025 📝 Update release notes 2023-06-11 00:03:27 +02:00
Sebastián Ramírez 19347bfc3c 🔖 Release version 0.96.1 2023-06-10 23:51:40 +02:00
Sebastián Ramírez 20d93fad94 📝 Update release notes 2023-06-10 23:50:09 +02:00
github-actions 58e50622de 📝 Update release notes 2023-06-10 20:58:55 +00:00
Sebastián Ramírez 4ac8b8e443
🔧 Add sponsor Platform.sh (#9650) 2023-06-10 22:58:15 +02:00
github-actions 3d162455a7 📝 Update release notes 2023-06-10 20:49:25 +00:00
github-actions 4c64c15ead 📝 Update release notes 2023-06-10 20:37:02 +00:00
github-actions 9b14107695 📝 Update release notes 2023-06-10 20:31:03 +00:00
github-actions 6fe26b5689 📝 Update release notes 2023-06-10 20:29:47 +00:00
github-actions ca8ddb2893 📝 Update release notes 2023-06-10 17:23:47 +00:00
github-actions ae5c51afa6 📝 Update release notes 2023-06-10 17:06:14 +00:00
Marcelo Trylesinski 19757d1859
🔥 Remove link to Pydantic's benchmark, as it was removed there (#5811)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-10 19:05:42 +02:00
github-actions e645a2db1b 📝 Update release notes 2023-06-10 17:05:03 +00:00
github-actions 503cec5649 📝 Update release notes 2023-06-10 16:03:40 +00:00
github-actions 2c7a0aca95 📝 Update release notes 2023-06-10 14:26:29 +00:00
github-actions d189c38aaf 📝 Update release notes 2023-06-10 12:06:21 +00:00
github-actions 4b31beef35 📝 Update release notes 2023-06-08 18:31:33 +00:00
github-actions 155fc5e24e 📝 Update release notes 2023-06-07 20:44:47 +00:00
Sebastián Ramírez 1574c96231 🔖 Release version 0.96.0 2023-06-03 16:29:23 +02:00
Sebastián Ramírez 99ed2a227f 📝 Update release notes 2023-06-03 16:28:37 +02:00
github-actions 6b72d54136 📝 Update release notes 2023-06-03 14:20:32 +00:00
github-actions 4d5e40190b 📝 Update release notes 2023-06-03 14:19:04 +00:00
github-actions b086b6580d 📝 Update release notes 2023-06-03 14:15:41 +00:00
github-actions 47c13874a0 📝 Update release notes 2023-06-03 14:06:48 +00:00
github-actions ede2b53a0f 📝 Update release notes 2023-06-03 14:06:02 +00:00
github-actions 8e1280bf87 📝 Update release notes 2023-06-03 14:01:51 +00:00
github-actions 5d2942f8fd 📝 Update release notes 2023-06-03 13:58:16 +00:00
github-actions ee017fdffa 📝 Update release notes 2023-06-03 13:58:09 +00:00
github-actions d5b588f246 📝 Update release notes 2023-06-03 13:57:42 +00:00
github-actions 1ecc9a1810 📝 Update release notes 2023-06-03 13:56:26 +00:00
github-actions f0b4d590af 📝 Update release notes 2023-06-03 13:56:16 +00:00
github-actions beedcd90c7 📝 Update release notes 2023-06-03 13:56:02 +00:00
github-actions f2b0670f04 📝 Update release notes 2023-06-03 13:55:50 +00:00
github-actions 795419ceee 📝 Update release notes 2023-06-03 13:54:48 +00:00
github-actions 2c091aa0a4 📝 Update release notes 2023-06-03 13:52:14 +00:00
Sebastián Ramírez 68809d6f97
🔧 Update sponsors, remove InvestSuite (#9612) 2023-06-03 13:51:39 +00:00
github-actions 3c7a4b568c 📝 Update release notes 2023-06-03 13:38:23 +00:00
Lemonyte ffb818970f
✏️ Fix typo in Deta deployment tutorial (#9501)
Fix typo (Data -> Deta)
2023-06-03 14:32:40 +02:00
github-actions[bot] e0961cbd1c
👥 Update FastAPI People (#9602)
Co-authored-by: github-actions <github-actions@github.com>
2023-06-03 14:09:57 +02:00
Sebastián Ramírez 8cc967a760 🔖 Release version 0.95.2 2023-05-16 15:39:43 +02:00
Sebastián Ramírez 6d235d1fe1 📝 Update release notes 2023-05-16 15:38:23 +02:00
github-actions 66259ddbb5 📝 Update release notes 2023-05-16 13:30:24 +00:00
github-actions d59c27d017 📝 Update release notes 2023-05-09 14:32:48 +00:00
Samuel Colvin 5100a98ccd
🐛 Fix `flask.escape` warning for internal tests (#9468)
* fix flask.escape warning

* 📝 Fix highlight in docs for WSGI

---------

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-05-09 14:32:00 +00:00
github-actions fe55402776 📝 Update release notes 2023-05-08 21:36:55 +00:00
github-actions 028e7cad67 📝 Update release notes 2023-05-08 21:08:08 +00:00
Bighneswar Parida 724060df43
📝 Update Deta deployment tutorial for compatibility with Deta Space (#6004)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Lemonyte <49930425+lemonyte@users.noreply.github.com>
Co-authored-by: xeust <maxeust@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-05-08 14:32:02 +02:00
github-actions 490bde7169 📝 Update release notes 2023-05-08 11:18:04 +00:00
github-actions 3f5cfdc3fe 📝 Update release notes 2023-05-08 11:17:05 +00:00
github-actions bdb32bfe03 📝 Update release notes 2023-05-08 11:16:10 +00:00
Saleumsack KEOBOUALAY ed1f93f803
🌐 Add setup for translations to Lao (#9396)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-08 13:15:37 +02:00
github-actions 33fa1b0927 📝 Update release notes 2023-05-08 11:14:57 +00:00
github-actions 778b909cc1 📝 Update release notes 2023-05-08 11:11:35 +00:00
github-actions 60ef67a66b 📝 Update release notes 2023-05-02 06:28:23 +00:00
MariiaRomaniuk 055cf356ca
✏ Fix command to install requirements in Windows (#9445)
fix command to install requirements
2023-05-01 23:27:49 -07:00
github-actions 8ac8d70d52 📝 Update release notes 2023-04-25 19:12:33 +00:00
github-actions 0ef0aa55b0 📝 Update release notes 2023-04-25 19:08:41 +00:00
Evzen Ptacek 0e75981bd0
🌐 Initiate Czech translation setup (#9288)
Initiate Czech translation setup

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-04-25 12:08:01 -07:00
github-actions 1bc156482f 📝 Update release notes 2023-04-25 18:46:57 +00:00
github-actions bd51832394 📝 Update release notes 2023-04-25 18:45:08 +00:00
github-actions 7f3e0fe8a7 📝 Update release notes 2023-04-25 18:28:42 +00:00
github-actions bde0316227 📝 Update release notes 2023-04-25 18:27:12 +00:00
github-actions a73570a832 📝 Update release notes 2023-04-25 18:26:51 +00:00
Sebastián Ramírez c81e136d75 🔖 Release version 0.95.1 2023-04-13 12:04:52 -07:00
Sebastián Ramírez 79846b2d2b 📝 Update release notes 2023-04-13 12:04:11 -07:00
github-actions 1ccc5a862b 📝 Update release notes 2023-04-13 18:58:35 +00:00
Geoff Dworkin 8df86309c8
📝 Add notification message warning about old versions of FastAPI not supporting `Annotated` (#9298)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-04-13 18:57:59 +00:00
github-actions 925ba5c652 📝 Update release notes 2023-04-13 18:44:47 +00:00
Leonardo Marinho de Melo Júnior 1bb998d516
📝 Fix typo in `docs/en/docs/advanced/behind-a-proxy.md` (#5681)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-04-13 18:44:09 +00:00
github-actions 89fd635925 📝 Update release notes 2023-04-13 18:38:01 +00:00
github-actions bf9bb08b28 📝 Update release notes 2023-04-13 18:34:43 +00:00
Armen Gabrielyan 75f59c46d5
✏️ Fix format, remove unnecessary asterisks in `docs/en/docs/help-fastapi.md` (#9249)
✏️ Remove unnecessary asterisks from help doc
2023-04-13 11:34:04 -07:00
github-actions fe975b0031 📝 Update release notes 2023-04-13 18:33:37 +00:00
github-actions acd4c11282 📝 Update release notes 2023-04-13 18:30:56 +00:00
tim-habitat 08ba3a98a3
✏ Fix typo/bug in inline code example in `docs/en/docs/tutorial/query-params-str-validations.md` (#9273) 2023-04-13 11:30:21 -07:00
github-actions 0cc8e9cf31 📝 Update release notes 2023-04-13 18:29:28 +00:00
Aadarsha Shrestha 8ca7c5c29d
✏ Fix typo in `docs/en/docs/tutorial/path-params-numeric-validations.md` (#9282) 2023-04-13 11:28:52 -07:00
github-actions cd6150806f 📝 Update release notes 2023-04-13 18:21:50 +00:00
dasstyxx 571b5c6f0c
✏ Fix typo: 'wll' to 'will' in `docs/en/docs/tutorial/query-params-str-validations.md` (#9380) 2023-04-13 11:21:17 -07:00
github-actions c1f41fc5fe 📝 Update release notes 2023-04-13 18:18:19 +00:00
github-actions 6e129dbaaf 📝 Update release notes 2023-04-13 18:17:46 +00:00
Sebastián Ramírez dfe58433c0
🔧 Update sponsors: remove Jina (#9388)
🔧 Remove Jina sponsor
2023-04-13 11:17:05 -07:00
github-actions 1267736d9f 📝 Update release notes 2023-04-13 18:16:07 +00:00
github-actions d1f1425392 📝 Update release notes 2023-04-13 18:13:26 +00:00
github-actions d824a5ca9b 📝 Update release notes 2023-04-13 18:12:59 +00:00
github-actions 4b9e9e40b5 📝 Update release notes 2023-04-13 18:07:18 +00:00
github-actions c6be4c6d65 📝 Update release notes 2023-04-13 18:05:11 +00:00
github-actions 9bdb8cc45a 📝 Update release notes 2023-04-13 18:03:28 +00:00
github-actions 48e9d87e7e 📝 Update release notes 2023-04-13 18:01:31 +00:00
github-actions d82809d90d 📝 Update release notes 2023-04-13 18:00:28 +00:00
github-actions c4128e7f5a 📝 Update release notes 2023-04-13 17:58:46 +00:00
github-actions 08f049208e 📝 Update release notes 2023-04-13 17:52:45 +00:00
github-actions 3eac0a4a87 📝 Update release notes 2023-04-13 17:49:59 +00:00
github-actions 6ce6c8954c 📝 Update release notes 2023-04-10 18:28:00 +00:00
github-actions ac4bf3b5eb 📝 Update release notes 2023-04-10 18:16:44 +00:00
Sebastián Ramírez 6ab811763f
🔧 Update sponsors, add databento, remove Ines's course and StriveWorks (#9351) 2023-04-05 17:09:04 +02:00
LeeeeT d4e85da18b
🌐 🔠 📄 🐢 Translate docs to Emoji 🥳 🎉 💥 🤯 🤯 (#5385)
* 🌐 💬  🩺  🦲

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

* 🛠️😊

* ♻️ Rename emoji lang from emj to em, and main docs name as 😉

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Axd1x8a <26704473+FeeeeK@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-04-01 11:26:04 +02:00
Sebastián Ramírez d666ccb622 🔖 Release version 0.95.0 2023-03-18 20:37:42 +01:00
Sebastián Ramírez 38f0cad517 📝 Tweak release notes 2023-03-18 20:37:20 +01:00
Sebastián Ramírez bd90bed02a 📝 Update release notes 2023-03-18 20:24:12 +01:00
github-actions 546392db98 📝 Update release notes 2023-03-18 19:08:30 +00:00
Sebastián Ramírez 0bc87ec77c
📝 Tweak tip recommending `Annotated` in docs (#9270)
📝 Tweak tip recommending Annotated
2023-03-18 19:07:53 +00:00
Sebastián Ramírez fbfd53542e 📝 Update release notes 2023-03-18 19:46:47 +01:00
github-actions 994ea1ad33 📝 Update release notes 2023-03-18 16:16:37 +00:00
Sebastián Ramírez 69673548bc
📝 Update order of examples, latest Python version first, and simplify version tab names (#9269)
* 📝 Simplify names in Python versions in tabs in docs

* 📝 Update docs for Types Intro, explain Python 3.6+, Python 3.9+, Python 3.10+

* 📝 Re-order all Python examples, show latest Python versions first
2023-03-18 17:16:02 +01:00
github-actions 166d348ea6 📝 Update release notes 2023-03-18 12:30:38 +00:00
Sebastián Ramírez 9eaed2eb37
📝 Update all docs to use `Annotated` as the main recommendation, with new examples and tests (#9268)
* 🍱 Add new source examples with Annotated for Query Params and String Validations

* 📝 Add new docs with Annotated for Query Params and String Validations

* 🚚 Rename incorrectly named tests for Query Params and str validations

*  Add new tests with Annotated for Query Params and Sring Validations examples

* 🍱 Add new examples with Annotated for Intro to Python Types

* 📝 Update Python Types Intro, include Annotated

* 🎨 Fix formatting in Query params and string validation, and highlight

* 🍱 Add new Annotated source examples for Path Params and Numeric Validations

* 📝 Update docs for Path Params and Numeric Validations with Annotated

* 🍱 Add new source examples with Annotated for Body - Multiple Params

* 📝 Update docs with Annotated for Body - Multiple Parameters

*  Add test for new Annotated examples in Body - Multiple Parameters

* 🍱 Add new Annotated source examples for Body Fields

* 📝 Update docs for Body Fields with new Annotated examples

*  Add new tests for new Annotated examples for Body Fields

* 🍱 Add new Annotated source examples for Schema Extra (Example Data)

* 📝 Update docs for Schema Extra with Annotated

*  Add tests for new Annotated examples for Schema Extra

* 🍱 Add new Annnotated source examples for Extra Data Types

* 📝 Update docs with Annotated for Extra Data Types

*  Add tests for new Annotated examples for Extra Data Types

* 🍱 Add new Annotated source examples for Cookie Parameters

* 📝 Update docs for Cookie Parameters with Annotated examples

*  Add tests for new Annotated source examples in Cookie Parameters

* 🍱 Add new Annotated examples for Header Params

* 📝 Update docs with Annotated examples for Header Parameters

*  Add tests for new Annotated examples for Header Params

* 🍱 Add new Annotated examples for Form Data

* 📝 Update Annotated docs for Form Data

*  Add tests for new Annotated examples in Form Data

* 🍱 Add new Annotated source examples for Request Files

* 📝 Update Annotated docs for Request Files

*  Test new Annotated examples for Request Files

* 🍱 Add new Annotated source examples for Request Forms and Files

*  Add tests for new Anotated examples for Request Forms and Files

* 🍱 Add new Annotated source examples for Dependencies and Advanced Dependencies

*  Add tests for new Annotated dependencies

* 📝 Add new docs for using Annotated with dependencies including type aliases

* 📝 Update docs for Classes as Dependencies with Annotated

* 📝 Update docs for Sub-dependencies with Annotated

* 📝 Update docs for Dependencies in path operation decorators with Annotated

* 📝 Update docs for Global Dependencies with Annotated

* 📝 Update docs for Dependencies with yield with Annotated

* 🎨 Update format in example for dependencies with Annotated

* 🍱 Add source examples with Annotated for Security

*  Add tests for new Annotated examples for security

* 📝 Update docs for Security - First Steps with Annotated

* 📝 Update docs for Security: Get Current User with Annotated

* 📝 Update docs for Simple OAuth2 with Password and Bearer with Annotated

* 📝 Update docs for OAuth2 with Password (and hashing), Bearer with JWT tokens with Annotated

* 📝 Update docs for Request Forms and Files with Annotated

* 🍱 Add new source examples for Bigger Applications with Annotated

*  Add new tests for Bigger Applications with Annotated

* 📝 Update docs for Bigger Applications - Multiple Files with Annotated

* 🍱 Add source examples for background tasks with Annotated

* 📝 Update docs for Background Tasks with Annotated

*  Add test for Background Tasks with Anotated

* 🍱 Add new source examples for docs for Testing with Annotated

* 📝 Update docs for Testing with Annotated

*  Add tests for Annotated examples for Testing

* 🍱 Add new source examples for Additional Status Codes with Annotated

*  Add tests for new Annotated examples for Additional Status Codes

* 📝 Update docs for Additional Status Codes with Annotated

* 📝 Update docs for Advanced Dependencies with Annotated

* 📝 Update docs for OAuth2 scopes with Annotated

* 📝 Update docs for HTTP Basic Auth with Annotated

* 🍱 Add source examples with Annotated for WebSockets

*  Add tests for new Annotated examples for WebSockets

* 📝 Update docs for WebSockets with new Annotated examples

* 🍱 Add source examples with Annotated for Settings and Environment Variables

* 📝 Update docs for Settings and Environment Variables with Annotated

* 🍱 Add new source examples for testing dependencies with Annotated

*  Add tests for new examples for testing dependencies

* 📝 Update docs for testing dependencies with new Annotated examples

*  Update and fix marker for Python 3.9 test

* 🔧 Update Ruff ignores for source examples in docs

*  Fix some tests in the grid for Python 3.9 (incorrectly testing 3.10)

* 🔥 Remove source examples and tests for (non existent) docs section about Annotated, as it's covered in all the rest of the docs
2023-03-18 13:29:59 +01:00
github-actions f63b3ad53e 📝 Update release notes 2023-03-17 20:36:26 +00:00
Sebastián Ramírez ef176c6631 🔖 Release version 0.94.1 2023-03-14 03:27:11 +01:00
github-actions 7b7e86a307 📝 Update release notes 2023-03-14 02:19:50 +00:00
Sebastián Ramírez 392ffaae43 🔖 Release version 0.94.0 2023-03-10 20:00:49 +01:00
Sebastián Ramírez 202ee0497a 📝 Update release notes 2023-03-10 20:00:09 +01:00
github-actions 321e873c95 📝 Update release notes 2023-03-10 18:57:58 +00:00
github-actions 4860631468 📝 Update release notes 2023-03-10 18:57:42 +00:00
github-actions 3e3278ed3f 📝 Update release notes 2023-03-10 18:51:19 +00:00
github-actions 59f91db1d2 📝 Update release notes 2023-03-10 18:49:54 +00:00
github-actions 253d58bc5c 📝 Update release notes 2023-03-10 18:48:20 +00:00
github-actions c26db94a90 📝 Update release notes 2023-03-10 18:43:10 +00:00
github-actions d5b0cc9f58 📝 Update release notes 2023-03-10 18:32:12 +00:00
github-actions fd3bfe9f50 📝 Update release notes 2023-03-10 18:27:50 +00:00
Steven Eubank 1fea9c5626
📝 Update Sentry link in docs (#9218) 2023-03-10 19:27:10 +01:00
github-actions d783463ebd 📝 Update release notes 2023-03-10 18:24:42 +00:00
Sebastián Ramírez 8a4cfa52af
⬆️ Upgrade Starlette version, support new `lifespan` with state (#9239) 2023-03-10 19:24:04 +01:00
Sebastián Ramírez 25382d2d19 🔖 Release version 0.93.0 2023-03-07 17:06:47 +01:00
Sebastián Ramírez b9bb441b23 📝 Update release notes 2023-03-07 17:04:40 +01:00
github-actions e33f30a607 📝 Update release notes 2023-03-07 15:46:37 +00:00
Jordan Speicher cc9a73c3f8
Add support for `lifespan` async context managers (superseding `startup` and `shutdown` events) (#2944)
Co-authored-by: Mike Shantz <mshantz@coldstorage.com>
Co-authored-by: Jonathan Plasse <13716151+JonathanPlasse@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-03-07 16:46:00 +01:00
github-actions 66e03c816b 📝 Update release notes 2023-03-06 19:32:19 +00:00
gusty1g 639cf3440a
🌐 Tamil translations - initial setup (#5564)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-03-06 20:31:37 +01:00
github-actions 2f1b856fe6 📝 Update release notes 2023-03-06 16:29:17 +00:00
github-actions 40c2c44ff9 📝 Update release notes 2023-03-06 16:27:29 +00:00
github-actions 9b83a00c40 📝 Update release notes 2023-03-04 12:52:10 +00:00
har8 83012a9cf6
🌐 Initiate Armenian translation setup (#5844)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-03-04 12:51:37 +00:00
github-actions 8625189351 📝 Update release notes 2023-03-04 12:43:32 +00:00
eykamp e570371003
✏ Fix formatting in `docs/en/docs/tutorial/metadata.md` for `ReDoc` (#6005) 2023-03-04 13:42:55 +01:00
Aayush Chhabra 4d099250f6
✏ Fix typo in `docs/en/docs/tutorial/bigger-applications.md`, "codes" to "code" (#5990)
Typo in docs: it should be code instead of codes
2023-03-04 13:17:21 +01:00
github-actions 9ef46a2299 📝 Update release notes 2023-03-04 12:02:42 +00:00
github-actions 03bb7c166c 📝 Update release notes 2023-03-04 11:45:13 +00:00
github-actions 83050bead6 📝 Update release notes 2023-03-04 10:40:08 +00:00
github-actions 4b95025d44 📝 Update release notes 2023-03-04 07:35:11 +00:00
Sebastián Ramírez ff64772dd1
🔧 Update sponsors-badges (#9182) 2023-03-04 07:34:39 +00:00
github-actions e8fd74e737 📝 Update release notes 2023-03-04 07:30:07 +00:00
github-actions[bot] 87842ac0db
👥 Update FastAPI People (#9181)
Co-authored-by: github-actions <github-actions@github.com>
2023-03-04 08:29:30 +01:00
github-actions 7674da89d3 📝 Update release notes 2023-03-02 15:11:54 +00:00
github-actions 97effae92d 📝 Update release notes 2023-03-02 13:07:40 +00:00
github-actions be54d44b0c 📝 Update release notes 2023-03-01 13:22:41 +00:00
github-actions 7b3727e03e 📝 Update release notes 2023-02-21 10:24:13 +00:00
Sebastián Ramírez a270ab0c3f
⬆️ Upgrade analytics (#6025) 2023-02-21 11:23:37 +01:00
github-actions f6f39d8714 📝 Update release notes 2023-02-16 18:51:02 +00:00
Sebastián Ramírez 6879082b36 🔖 Release version 0.92.0 2023-02-14 10:17:53 +01:00
Sebastián Ramírez 52ca6cb95b 📝 Update release notes 2023-02-14 10:17:08 +01:00
github-actions 9e283ef66b 📝 Update release notes 2023-02-14 09:13:56 +00:00
Sebastián Ramírez 2ca77f9a4d 🔖 Release version 0.91.0 2023-02-10 15:33:25 +01:00
Sebastián Ramírez 3c05189b06 📝 Update release notes 2023-02-10 15:32:23 +01:00
github-actions a04acf6900 📝 Update release notes 2023-02-10 14:13:57 +00:00
Sebastián Ramírez 6e94ec2bf0 🔖 Release version 0.90.1 2023-02-09 20:41:40 +01:00
Sebastián Ramírez e85c109bcd 📝 Update release notes 2023-02-09 20:40:53 +01:00
github-actions 445e611a29 📝 Update release notes 2023-02-09 19:37:21 +00:00
github-actions 5ed70f285b 📝 Update release notes 2023-02-09 19:35:40 +00:00
Chandra Deb d6fb9429d2
✏ Tweak wording to clarify `docs/en/docs/project-generation.md` (#5930) 2023-02-09 20:35:01 +01:00
github-actions 9a5147382e 📝 Update release notes 2023-02-09 19:29:30 +00:00
Yasser Tahiri 99deead7fc
✏ Update Pydantic GitHub URLs (#5952) 2023-02-09 20:28:54 +01:00
github-actions 18e6c3ff6a 📝 Update release notes 2023-02-09 19:27:57 +00:00
github-actions 79eed9d7d9 📝 Update release notes 2023-02-09 18:58:23 +00:00
Sebastián Ramírez e37d504e27
📝 Add opinion from Cisco (#5981) 2023-02-09 18:57:49 +00:00
github-actions 70688eb7b2 📝 Update release notes 2023-02-09 18:47:16 +00:00
Sebastián Ramírez 148bcf5ce4 🔖 Release version 0.90.0 2023-02-08 11:30:01 +01:00
Sebastián Ramírez e4c8df062b 📝 Update release notes 2023-02-08 11:28:55 +01:00
github-actions b313f86338 📝 Update release notes 2023-02-08 10:23:46 +00:00
github-actions 58757f63af 📝 Update release notes 2023-02-07 16:51:06 +00:00
Leon 88dc4ce3d7
📝 Add article "Tortoise ORM / FastAPI 整合快速筆記" to External Links (#5496)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-02-07 16:50:02 +00:00
github-actions c9d3656a6e 📝 Update release notes 2023-02-07 16:46:40 +00:00
github-actions 9cb2586499 📝 Update release notes 2023-02-07 13:33:51 +00:00
github-actions 6e3c707c60 📝 Update release notes 2023-02-07 13:28:45 +00:00
github-actions a4f3bc5a69 📝 Update release notes 2023-02-07 13:10:13 +00:00
github-actions 05342cc264 📝 Update release notes 2023-02-07 13:09:45 +00:00