]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Update release notes
authorSebastián Ramírez <tiangolo@gmail.com>
Sun, 9 Aug 2020 20:34:50 +0000 (22:34 +0200)
committerSebastián Ramírez <tiangolo@gmail.com>
Sun, 9 Aug 2020 20:34:50 +0000 (22:34 +0200)
docs/en/docs/release-notes.md

index 145d44d87c1c82444674bc5fb8afb07feb16c18c..b5c6c492ba26c6219624a464f0a5bf46f9edd824 100644 (file)
@@ -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