From 9ca3da4ca7f9a65621aad0dfbc2a5ac50e3d18ad Mon Sep 17 00:00:00 2001 From: Jahanzaib Iqbal Date: Wed, 1 Jul 2026 15:50:44 +0500 Subject: [PATCH] fix: update broken Pydantic v2 and Ariadne documentation links Pydantic restructured their docs site when releasing v2, moving pages from /usage/ to /concepts/. The pydantic-extra-types page no longer has a standalone docs URL, so the link now points to the GitHub repo. Ariadne removed their FastAPI integration page, so the link now points to the Ariadne homepage. Affected files: - docs/en/docs/tutorial/extra-data-types.md - docs/en/docs/index.md - docs/en/docs/release-notes.md - docs/en/docs/how-to/graphql.md --- docs/en/docs/how-to/graphql.md | 2 +- docs/en/docs/index.md | 4 ++-- docs/en/docs/release-notes.md | 4 ++-- docs/en/docs/tutorial/extra-data-types.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/docs/how-to/graphql.md b/docs/en/docs/how-to/graphql.md index de149a74a..b99b17446 100644 --- a/docs/en/docs/how-to/graphql.md +++ b/docs/en/docs/how-to/graphql.md @@ -21,7 +21,7 @@ Here are some of the **GraphQL** libraries that have **ASGI** support. You could * [Strawberry](https://strawberry.rocks/) 🍓 * With [docs for FastAPI](https://strawberry.rocks/docs/integrations/fastapi) * [Ariadne](https://ariadnegraphql.org/) - * With [docs for FastAPI](https://ariadnegraphql.org/docs/fastapi-integration) + * With [docs for FastAPI](https://ariadnegraphql.org/) * [Tartiflette](https://tartiflette.io/) * With [Tartiflette ASGI](https://tartiflette.github.io/tartiflette-asgi/) to provide ASGI integration * [Graphene](https://graphene-python.org/) diff --git a/docs/en/docs/index.md b/docs/en/docs/index.md index 7baeaab26..9161daba1 100644 --- a/docs/en/docs/index.md +++ b/docs/en/docs/index.md @@ -572,8 +572,8 @@ There are some additional dependencies you might want to install. Additional optional Pydantic dependencies: -* [`pydantic-settings`](https://docs.pydantic.dev/latest/usage/pydantic_settings/) - for settings management. -* [`pydantic-extra-types`](https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/) - for extra types to be used with Pydantic. +* [`pydantic-settings`](https://docs.pydantic.dev/latest/concepts/pydantic_settings/) - for settings management. +* [`pydantic-extra-types`](https://github.com/pydantic/pydantic-extra-types) - for extra types to be used with Pydantic. Additional optional FastAPI dependencies: diff --git a/docs/en/docs/release-notes.md b/docs/en/docs/release-notes.md index edbcb6e10..95ab3bcc0 100644 --- a/docs/en/docs/release-notes.md +++ b/docs/en/docs/release-notes.md @@ -4012,8 +4012,8 @@ There are **tests for both Pydantic v1 and v2**, and test **coverage** is kept a * The attribute `schema_extra` for the internal class `Config` has been replaced by the key `json_schema_extra` in the new `model_config` dict. * You can read more about it in the docs for [Declare Request Example Data](https://fastapi.tiangolo.com/tutorial/schema-extra-example/). * When you install `"fastapi[all]"` it now also includes: - * [`pydantic-settings`](https://docs.pydantic.dev/latest/usage/pydantic_settings/) - for settings management. - * [`pydantic-extra-types`](https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/) - for extra types to be used with Pydantic. + * [`pydantic-settings`](https://docs.pydantic.dev/latest/concepts/pydantic_settings/) - for settings management. + * [`pydantic-extra-types`](https://github.com/pydantic/pydantic-extra-types) - for extra types to be used with Pydantic. * Now Pydantic Settings is an additional optional package (included in `"fastapi[all]"`). To use settings you should now import `from pydantic_settings import BaseSettings` instead of importing from `pydantic` directly. * You can read more about it in the docs for [Settings and Environment Variables](https://fastapi.tiangolo.com/advanced/settings/). diff --git a/docs/en/docs/tutorial/extra-data-types.md b/docs/en/docs/tutorial/extra-data-types.md index 63c914efe..955090694 100644 --- a/docs/en/docs/tutorial/extra-data-types.md +++ b/docs/en/docs/tutorial/extra-data-types.md @@ -49,7 +49,7 @@ Here are some of the additional data types you can use: * `Decimal`: * Standard Python `Decimal`. * In requests and responses, handled the same as a `float`. -* You can check all the valid Pydantic data types here: [Pydantic data types](https://docs.pydantic.dev/latest/usage/types/types/). +* You can check all the valid Pydantic data types here: [Pydantic data types](https://docs.pydantic.dev/latest/concepts/types/). ## Example { #example }