Skip to content

Commit 64ca596

Browse files
committed
📝 Update release notes
1 parent e1758d1 commit 64ca596

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/en/docs/release-notes.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@
77
* Add support for injecting `HTTPConnection` (as `Request` and `WebSocket`). Useful for sharing app state in dependencies. PR [#1827](https://github.com/tiangolo/fastapi/pull/1827) by [@nsidnev](https://github.com/nsidnev).
88
* Export `WebSocketDisconnect` and add example handling WebSocket disconnections to docs. PR [#1822](https://github.com/tiangolo/fastapi/pull/1822) by [@rkbeatss](https://github.com/rkbeatss).
99

10+
### Breaking Changes
11+
12+
* Require Pydantic > `1.0.0`.
13+
* Remove support for deprecated Pydantic `0.32.2`. This improves maintainability and allows new features.
14+
* In `FastAPI` and `APIRouter`:
15+
* Remove *path operation decorators* related/deprecated parameter `response_model_skip_defaults` (use `response_model_exclude_unset` instead).
16+
* Change *path operation decorators* parameter default for `response_model_exclude` from `set()` to `None` (as is in Pydantic).
17+
* In `encoders.jsonable_encoder`:
18+
* Remove deprecated `skip_defaults`, use instead `exclude_unset`.
19+
* Set default of `exclude` from `set()` to `None` (as is in Pydantic).
20+
* PR [#1862](https://github.com/tiangolo/fastapi/pull/1862).
21+
1022
### Docs
1123

1224
* Add link to the course by TestDriven.io: [Test-Driven Development with FastAPI and Docker](https://testdriven.io/courses/tdd-fastapi/). PR [#1860](https://github.com/tiangolo/fastapi/pull/1860).

0 commit comments

Comments
 (0)