Features
- ✨ Allow setting
unique
inField()
for a column. PR #83 by @raphaelgibson. - ✨ Update GUID handling to use stdlib
UUID.hex
instead of anint
. PR #26 by @andrewbolster. - ✨ Raise an exception when using a Pydantic field type with no matching SQLAlchemy type. PR #18 by @elben10.
- ⬆ Upgrade constrain for SQLAlchemy = ">=1.4.17,<=1.4.41". PR #371 by @RobertRosca.
- ✨ Add new
Session.get()
parameterexecution_options
. PR #302 by @tiangolo.
Fixes
- 🐛 Fix type annotations for
Model.parse_obj()
, andModel.validate()
. PR #321 by @phi-friday. - 🐛 Fix
Select
andSelectOfScalar
to inherit cache to avoid warning:SAWarning: Class SelectOfScalar will not make use of SQL compilation caching
. PR #234 by @rabinadk1. - 🐛 Fix handling validators for non-default values. PR #253 by @byrman.
- 🐛 Fix fields marked as "set" in models. PR #117 by @statt8900.
- 🐛 Fix Enum handling in SQLAlchemy. PR #165 by @chriswhite199.
- 🐛 Fix setting nullable property of Fields that don't accept
None
. PR #79 by @van51. - 🐛 Fix SQLAlchemy version 1.4.36 breaks SQLModel relationships (#315). PR #322 by @byrman.
Docs
- 📝 Update docs for models for updating,
id
should not be updatable. PR #335 by @kurtportelli. - ✏ Fix broken variable/typo in docs for Read Relationships,
hero_spider_boy.id
=>hero_spider_boy.team_id
. PR #106 by @yoannmos. - 🎨 Remove unwanted highlight in the docs. PR #233 by @jalvaradosegura.
- ✏ Fix typos in
docs/databases.md
anddocs/tutorial/index.md
. PR #35 by @prrao87. - ✏ Fix typo in
docs/tutorial/relationship-attributes/define-relationships-attributes.md
. PR #239 by @jalvaradosegura. - ✏ Fix typo in
docs/tutorial/fastapi/simple-hero-api.md
. PR #80 by @joemudryk. - ✏ Fix typos in multiple files in the docs. PR #400 by @VictorGambarini.
- ✏ Fix typo in
docs/tutorial/code-structure.md
. PR #344 by @marciomazza. - ✏ Fix typo in
docs/db-to-code.md
. PR #155 by @gr8jam. - ✏ Fix typo in
docs/contributing.md
. PR #323 by @Fardad13. - ✏ Fix typo in
docs/tutorial/fastapi/tests.md
. PR #265 by @johnhoman. - ✏ Fix typo in
docs/tutorial/where.md
. PR #286 by @jalvaradosegura. - ✏ Fix typos in
docs/tutorial/fastapi/update.md
. PR #268 by @cirrusj. - ✏ Fix typo in
docs/tutorial/fastapi/simple-hero-api.md
. PR #247 by @hao-wang. - ✏ Fix typos in
docs/tutorial/automatic-id-none-refresh.md
,docs/tutorial/fastapi/update.md
,docs/tutorial/select.md
. PR #185 by @rootux. - ✏ Fix typo in
docs/databases.md
. PR #177 by @seandlg. - ✏ Fix typos in
docs/tutorial/fastapi/update.md
. PR #162 by @wmcgee3. - ✏ Fix typos in
docs/tutorial/code-structure.md
,docs/tutorial/fastapi/multiple-models.md
,docs/tutorial/fastapi/simple-hero-api.md
,docs/tutorial/many-to-many/index.md
. PR #116 by @moonso. - ✏ Fix typo in
docs/tutorial/fastapi/teams.md
. PR #154 by @chrisgoddard. - ✏ Fix typo variable in example about relationships and
back_populates
, always usehero
instead ofowner
. PR #120 by @onionj. - ✏ Fix typo in
docs/tutorial/fastapi/tests.md
. PR #113 by @feanil. - ✏ Fix typo in
docs/tutorial/where.md
. PR #72 by @ZettZet. - ✏ Fix typo in
docs/tutorial/code-structure.md
. PR #91 by @dhiraj. - ✏ Fix broken link to newsletter sign-up in
docs/help.md
. PR #84 by @mborus. - ✏ Fix typos in
docs/tutorial/many-to-many/create-models-with-link.md
. PR #45 by @xginn8. - ✏ Fix typo in
docs/tutorial/index.md
. PR #398 by @ryangrose.
Internal
- ♻ Refactor internal statements to simplify code. PR #53 by @yezz123.
- ♻ Refactor internal imports to reduce redundancy. PR #272 by @aminalaee.
- ⬆ Update development requirement for FastAPI from
^0.68.0
to^0.68.1
. PR #48 by @alucarddelta. - ⏪ Revert upgrade Poetry, to make a release that supports Python 3.6 first. PR #417 by @tiangolo.
- 👷 Add dependabot for GitHub Actions. PR #410 by @tiangolo.
- ⬆️ Upgrade Poetry to version
==1.2.0b1
. PR #303 by @tiangolo. - 👷 Add CI for Python 3.10. PR #305 by @tiangolo.
- 📝 Add Jina's QA Bot to the docs to help people that want to ask quick questions. PR #263 by @tiangolo.
- 👷 Upgrade Codecov GitHub Action. PR #304 by @tiangolo.
- 💚 Only run CI on push when on master, to avoid duplicate runs on PRs. PR #244 by @tiangolo.
- 🔧 Upgrade MkDocs Material and update configs. PR #217 by @tiangolo.
- ⬆ Upgrade mypy, fix type annotations. PR #218 by @tiangolo.