Skip to content

0.0.9

Compare
Choose a tag to compare
@tiangolo tiangolo released this 23 Oct 21:04
· 290 commits to main since this release

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