Skip to content

Releases: fastapi/sqlmodel

0.0.29

23 Dec 20:59

Choose a tag to compare

Fixes

0.0.28

23 Dec 16:40

Choose a tag to compare

Fixes

  • 🐛 Fix RuntimeError: dictionary changed size during iteration in sqlmodel_update(). PR #997 by @BartSchuurmans.

Docs

Internal

0.0.27

08 Oct 16:38

Choose a tag to compare

Upgrades

0.0.26

08 Oct 11:18

Choose a tag to compare

Fixes

  • 🐛 Fix attribute handling in model_dump for compatibility with the latest Pydantic versions. PR #1595 by @spazm.

Docs

  • 📝 Fix typo in docs/tutorial/fastapi/simple-hero-api.md. PR #1583 by @kofi-kusi.

Internal

0.0.25

17 Sep 21:44

Choose a tag to compare

Features

  • ✨ Add overload for exec method to support insert, update, delete statements. PR #1342 by @seriaati.

Upgrades

  • ⬆️ Drop support for Python 3.7, require Python 3.8 or above. PR #1316 by @svlandeg.

Docs

  • ✏️ Fix typos in docs/tutorial/relationship-attributes/cascade-delete-relationships.md. PR #1543 by @YuriiMotov.
  • 🍱 Update SVG files, a single file per diagram, sans-serif fonts. PR #1373 by @tiangolo.
  • 📝 Grammar tweak in docs/tutorial/insert.md. PR #1368 by @brettcannon.
  • 📝 Update docs/tutorial/fastapi/relationships.md. PR #1365 by @Foxerine.
  • ✏️ Tweak the grammar in docs/learn/index.md. PR #1363 by @brettcannon.
  • 📝 Update all docs references to Optional to use the new syntax in Python 3.10, e.g. int | None. PR #1351 by @tiangolo.
  • 📝 Update install and usage with FastAPI CLI in FastAPI tutorial. PR #1350 by @tiangolo.
  • 📝 Update FastAPI tutorial docs to use the new model.sqlmodel_update() instead of old setattr(). PR #1117 by @jpizquierdo.
  • ✏️ Update docs/virtual-environments.md. PR #1321 by @sylvainHellin.

Internal

Read more

0.0.24

07 Mar 05:43

Choose a tag to compare

Upgrades

Internal

0.0.23

28 Feb 16:58

Choose a tag to compare

Fixes

  • 🐛 Fix type annotation in Field constructor. PR #1304 by @AlanBogarin.
  • 🐛 Fix Pydantic version check for version 2.10.x onwards. PR #1255 by @asiunov.

Refactors

Docs

Internal

0.0.22

31 Aug 09:42

Choose a tag to compare

Fixes

  • 🐛 Fix support for types with Optional[Annoated[x, f()]], e.g. id: Optional[pydantic.UUID4]. PR #1093 by @tiangolo.

Docs

  • ✏️ Fix a typo in docs/virtual-environments.md. PR #1085 by @tiangolo.
  • 📝 Add docs for virtual environments and environment variables, update contributing. PR #1082 by @tiangolo.
  • 📝 Add docs about repo management and team. PR #1059 by @tiangolo.
  • ✏️ Fix typo in cascade_delete docs. PR #1030 by @tiangolo.

Internal

0.0.21

21 Jul 02:13

Choose a tag to compare

Features

Docs

Internal

0.0.20

17 Jul 02:54

Choose a tag to compare

Features

Docs

  • ✏️ Fix internal link in docs/tutorial/create-db-and-table.md. PR #911 by @tfpgh.
  • ✏️ Add missing step in create-db-and-table-with-db-browser.md. PR #976 by @alejsdev.
  • ✏️ Fix typo in docs/tutorial. PR #943 by @luco17.
  • ✏️ Fix typo in sqlmodel/_compat.py. PR #950 by @Highfire1.
  • ✏️ Update pip installation command in tutorial. PR #975 by @alejsdev.
  • ✏️ Fix typo in docs/tutorial/relationship-attributes/index.md. PR #880 by @UncleGoogle.

Internal