github fastapi/sqlmodel 0.0.9

latest releases: 0.0.22, 0.0.21, 0.0.20...
11 months ago

Breaking Changes

  • 🗑️ Deprecate Python 3.6 and upgrade Poetry and Poetry Version Plugin. PR #627 by @tiangolo.

Features

  • ✨ Raise a more clear error when a type is not valid. PR #425 by @ddanier.

Fixes

  • 🐛 Fix AsyncSession type annotations for exec(). PR #58 by @Bobronium.
  • 🐛 Fix allowing using a ForeignKey directly, remove repeated column construction from SQLModelMetaclass.__init__ and upgrade minimum SQLAlchemy to >=1.4.36. PR #443 by @daniil-berg.
  • 🐛 Fix enum type checks ordering in get_sqlalchemy_type. PR #669 by @tiangolo.
  • 🐛 Fix SQLAlchemy version 1.4.36 breaks SQLModel relationships (#315). PR #461 by @byrman.

Upgrades

  • ⬆️ Upgrade support for SQLAlchemy 1.4.49, update tests. PR #519 by @sandrotosi.
  • ⬆ Raise SQLAlchemy version requirement to at least 1.4.29 (related to #434). PR #439 by @daniil-berg.

Docs

  • 📝 Clarify description of in-memory SQLite database in docs/tutorial/create-db-and-table.md. PR #601 by @SimonCW.
  • 📝 Tweak wording in docs/tutorial/fastapi/multiple-models.md. PR #674 by @tiangolo.
  • ✏️ Fix contributing instructions to run tests, update script name. PR #634 by @PookieBuns.
  • 📝 Update link to docs for intro to databases. PR #593 by @abenezerBelachew.
  • 📝 Update docs, use offset in example with limit and where. PR #273 by @jbmchuck.
  • 📝 Fix docs for Pydantic's fields using le (lte is invalid, use le ). PR #207 by @jrycw.
  • 📝 Update outdated link in docs/db-to-code.md. PR #649 by @MatveyF.
  • ✏️ Fix typos found with codespell. PR #520 by @kianmeng.
  • 📝 Fix typos (duplication) in main page. PR #631 by @Mr-DRP.
  • 📝 Update release notes, add second author to PR. PR #429 by @br-follow.
  • 📝 Update instructions about how to make a foreign key required in docs/tutorial/relationship-attributes/define-relationships-attributes.md. PR #474 by @jalvaradosegura.
  • 📝 Update help SQLModel docs. PR #548 by @tiangolo.
  • ✏️ Fix typo in internal function name get_sqlachemy_type(). PR #496 by @cmarqu.
  • ✏️ Fix typo in docs. PR #446 by @davidbrochart.
  • ✏️ Fix typo in docs/tutorial/create-db-and-table.md. PR #477 by @FluffyDietEngine.
  • ✏️ Fix small typos in docs. PR #481 by @micuffaro.

Internal

Don't miss a new sqlmodel release

NewReleases is sending notifications on new releases.