Browse Source

docs: fix dead pydantic v1 extra_types link in release-notes.md

`https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/` (404) —
the pydantic v1 `/usage/types/` docs path was retired after the v2 migration.

Replaced with `https://docs.pydantic.dev/latest/concepts/types/#extra-types` (200) — the
v2 docs use `/concepts/types/` and the `#extra-types` anchor points to the
equivalent section.
pull/15822/head
sanjibani 4 weeks ago
parent
commit
2e2c3d77ee
  1. 2
      docs/en/docs/release-notes.md

2
docs/en/docs/release-notes.md

@ -3965,7 +3965,7 @@ There are **tests for both Pydantic v1 and v2**, and test **coverage** is kept a
* 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-extra-types`](https://docs.pydantic.dev/latest/concepts/types/#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/).

Loading…
Cancel
Save