From c14803e3fa91a4624a3031e3a455add634b6afe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sun, 9 Aug 2020 22:34:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20release=20notes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/docs/release-notes.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/en/docs/release-notes.md b/docs/en/docs/release-notes.md index 145d44d87..b5c6c492b 100644 --- a/docs/en/docs/release-notes.md +++ b/docs/en/docs/release-notes.md @@ -18,6 +18,9 @@ * Remove deprecated `skip_defaults`, use instead `exclude_unset`. * Set default of `exclude` from `set()` to `None` (as is in Pydantic). * PR [#1862](https://github.com/tiangolo/fastapi/pull/1862). +* In `encoders.jsonable_encoder` remove parameter `sqlalchemy_safe`. + * It was an early hack to allow returning SQLAlchemy models, but it was never documented, and the recommended way is using Pydantic's `orm_mode` as described in the tutorial: [SQL (Relational) Databases](https://fastapi.tiangolo.com/tutorial/sql-databases/). + * PR [#1864](https://github.com/tiangolo/fastapi/pull/1864). ### Docs