0.0.9
Breaking Changes
Features
Fixes
- π Fix
AsyncSession
type annotations forexec()
. PR #58 by @Bobronium. - π Fix allowing using a
ForeignKey
directly, remove repeated column construction fromSQLModelMetaclass.__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 withlimit
andwhere
. PR #273 by @jbmchuck. - π Fix docs for Pydantic's fields using
le
(lte
is invalid, usele
). 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
- β¬ [pre-commit.ci] pre-commit autoupdate. PR #672 by @pre-commit-ci[bot].
- β¬ Bump dawidd6/action-download-artifact from 2.24.2 to 2.28.0. PR #660 by @dependabot[bot].
- β Refactor OpenAPI FastAPI tests to simplify updating them later, this moves things around without changes. PR #671 by @tiangolo.
- β¬ Bump actions/checkout from 3 to 4. PR #670 by @dependabot[bot].
- π§ Update mypy config, use
strict = true
instead of manual configs. PR #428 by @michaeloliverx. - β¬οΈ Upgrade MkDocs Material. PR #668 by @tiangolo.
- π¨ Update docs format and references with pre-commit and Ruff. PR #667 by @tiangolo.
- π¨ Run pre-commit on all files and autoformat. PR #666 by @tiangolo.
- π· Move to Ruff and add pre-commit. PR #661 by @tiangolo.
- π οΈ Add
CITATION.cff
file for academic citations. PR #13 by @sugatoray. - π· Update docs deployments to Cloudflare. PR #630 by @tiangolo.
- π·ββοΈ Upgrade CI for docs. PR #628 by @tiangolo.
- π· Update CI debug mode with Tmate. PR #629 by @tiangolo.
- π· Update latest changes token. PR #616 by @tiangolo.
- β¬οΈ Upgrade analytics. PR #558 by @tiangolo.
- π§ Update new issue chooser to point to GitHub Discussions. PR #546 by @tiangolo.
- π§ Add template for GitHub Discussion questions and update issues template. PR #544 by @tiangolo.
- π· Refactor CI artifact upload/download for docs previews. PR #514 by @tiangolo.
- β¬ Bump actions/cache from 2 to 3. PR #497 by @dependabot[bot].
- β¬ Bump dawidd6/action-download-artifact from 2.24.0 to 2.24.2. PR #493 by @dependabot[bot].
- π§ Update Smokeshow coverage threshold. PR #487 by @tiangolo.
- π· Move from Codecov to Smokeshow. PR #486 by @tiangolo.
- β¬ Bump actions/setup-python from 2 to 4. PR #411 by @dependabot[bot].
- β¬ Update black requirement from ^21.5-beta.1 to ^22.10.0. PR #460 by @dependabot[bot].
- β Add extra dev dependencies for MkDocs Material. PR #485 by @tiangolo.
- β¬ Update mypy requirement from 0.930 to 0.971. PR #380 by @dependabot[bot].
- β¬ Update coverage requirement from ^5.5 to ^6.2. PR #171 by @dependabot[bot].
- β¬ Bump codecov/codecov-action from 2 to 3. PR #415 by @dependabot[bot].
- β¬ Bump actions/upload-artifact from 2 to 3. PR #412 by @dependabot[bot].
- β¬ Update flake8 requirement from ^3.9.2 to ^5.0.4. PR #396 by @dependabot[bot].
- β¬ Update pytest requirement from ^6.2.4 to ^7.0.1. PR #242 by @dependabot[bot].
- β¬ Bump actions/checkout from 2 to 3.1.0. PR #458 by @dependabot[bot].
- β¬ Bump dawidd6/action-download-artifact from 2.9.0 to 2.24.0. PR #470 by @dependabot[bot].
- π· Update Dependabot config. PR #484 by @tiangolo.