Skip to content

Releases: fastapi/sqlmodel

0.0.24

07 Mar 05:43
Compare
Choose a tag to compare

Upgrades

Internal

0.0.23

28 Feb 16:58
Compare
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
Compare
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

  • βœ… Refactor test_enums to make them independent of previous imports. PR #1095 by @tiangolo.
  • πŸ‘· Update latest-changes GitHub Action. PR #1087 by @tiangolo.
  • ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1028 by @pre-commit-ci[bot].
  • ⬆ Bump ruff from 0.4.7 to 0.6.2. PR #1081 by @dependabot[bot].
  • πŸ”§ Update lint script. PR #1084 by @tiangolo.
  • πŸ‘· Update Python version for coverage. PR #1083 by @tiangolo.
  • πŸ”§ Update coverage config files. PR #1077 by @tiangolo.
  • πŸ”§ Add URLs to pyproject.toml, show up in PyPI. PR #1074 by @tiangolo.
  • πŸ‘· Do not sync labels as it overrides manually added labels. PR #1073 by @tiangolo.
  • πŸ‘· Update configs for GitHub Action labeler, to add only one label. PR #1072 by @tiangolo.
  • πŸ‘· Update labeler GitHub Actions permissions and dependencies. PR #1071 by @tiangolo.
  • πŸ‘· Add GitHub Action label-checker. PR #1069 by @tiangolo.
  • πŸ‘· Add GitHub Action labeler. PR #1068 by @tiangolo.
  • πŸ‘· Update GitHub Action add-to-project. PR #1067 by @tiangolo.
  • πŸ‘· Add GitHub Action add-to-project. PR #1066 by @tiangolo.
  • πŸ“ Update admonitions in annotations. PR #1065 by @tiangolo.
  • πŸ“ Update links from github.com/tiangolo/sqlmodel to github.com/fastapi/sqlmodel. PR #1064 by @tiangolo.
  • πŸ”§ Update members. PR #1063 by @tiangolo.
  • πŸ’„ Add dark-mode logo. PR #1061 by @tiangolo.
  • πŸ”¨ Update docs.py script to enable dirty reload conditionally. PR #1060 by @tiangolo.
  • πŸ”§ Update MkDocs previews. PR #1058 by @tiangolo.
  • πŸ’„ Update Termynal line-height. PR #1057 by @tiangolo.
  • πŸ‘· Upgrade build docs configs. PR #1047 by @tiangolo.
  • πŸ‘· Add alls-green for test-redistribute. PR #1055 by @tiangolo.
  • πŸ‘· Update docs-previews to handle no docs changes. PR #1056 by @tiangolo.
  • πŸ‘·πŸ» Show docs deployment status and preview URLs in comment. PR #1054 by @tiangolo.
  • πŸ”§ Enable auto dark mode. PR #1046 by @tiangolo.
  • πŸ‘· Update issue-manager. PR #1045 by @tiangolo.
  • πŸ‘· Update issue-manager.yml GitHub Action permissions. PR #1040 by @tiangolo.
  • ♻️ Refactor Deploy Docs GitHub Action to be a script and update token preparing for org. PR #1039 by @tiangolo.

0.0.21

21 Jul 02:13
Compare
Choose a tag to compare

Features

Docs

Internal

0.0.20

17 Jul 02:54
Compare
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

0.0.19

04 Jun 03:29
Compare
Choose a tag to compare

Fixes

  • πŸ› Fix pydantic EmailStr support and max_length in several String subclasses. PR #966 by @estebanx64.
  • πŸ› Fix set varchar limit when max_length is set on Pydantic models using Pydantic v2. PR #963 by @estebanx64.

Refactors

  • ♻️ Refactor generate select template to isolate templated code to the minimum. PR #967 by @tiangolo.

Upgrades

  • ⬆️ Update minimum SQLAlchemy version to 2.0.14 as that one includes TryCast used internally. PR #964 by @tiangolo.

Docs

  • ✏️ Fix broken link to @dataclass_transform (now PEP 681) in docs/features.md. PR #753 by @soof-golan.

Internal

  • ⬆️ Upgrade Ruff and Black. PR #968 by @tiangolo.
  • ⬆ Bump tiangolo/issue-manager from 0.4.1 to 0.5.0. PR #922 by @dependabot[bot].
  • πŸ“Œ Pin typing-extensions in tests for compatiblity with Python 3.8, dirty-equals, Pydantic. PR #965 by @tiangolo.
  • πŸ‘· Update GitHub Actions to download and upload artifacts. PR #936 by @tiangolo.
  • πŸ‘· Tweak CI for test-redistribute, add needed env vars for slim. PR #929 by @tiangolo.

0.0.18

30 Apr 06:30
Compare
Choose a tag to compare

Internal

In the future SQLModel will include the standard default recommended packages, and sqlmodel-slim will come without those recommended standard packages and with a group of optional dependencies sqlmodel-slim[standard], equivalent to sqlmodel, for those that want to opt out of those packages.

  • πŸ”§ Re-enable MkDocs Material Social plugin. PR #915 by @tiangolo.

0.0.17

29 Apr 23:49
Compare
Choose a tag to compare

Refactors

  • ♻️ Refactor types to properly support Pydantic 2.7. PR #913 by @tiangolo.

Docs

  • πŸ“ Update ModelRead to ModelPublic documentation and examples. PR #885 by @estebanx64.
  • ✨ Add source examples for Python 3.10 and 3.9 with updated syntax. PR #842 by @tiangolo and @estebanx64.

Internal

  • ⬆ Bump actions/setup-python from 4 to 5. PR #733 by @dependabot[bot].
  • πŸ”¨ Update internal scripts and remove unused ones. PR #914 by @tiangolo.
  • πŸ”§ Migrate from Poetry to PDM for the internal build config. PR #912 by @tiangolo.
  • πŸ”§ Update MkDocs, disable cards while I can upgrade to the latest MkDocs Material, that fixes an issue with social cards. PR #888 by @tiangolo.
  • πŸ‘· Add cron to run test once a week on monday. PR #869 by @estebanx64.
  • ⬆️ Upgrade Ruff version and configs. PR #859 by @tiangolo.
  • πŸ”₯ Remove Jina QA Bot as it has been discontinued. PR #840 by @tiangolo.

0.0.16

17 Feb 13:54
Compare
Choose a tag to compare

Features

0.0.15

17 Feb 13:41
Compare
Choose a tag to compare

Fixes

  • πŸ› Fix class initialization compatibility with Pydantic and SQLModel, fixing errors revealed by the latest Pydantic. PR #807 by @tiangolo.

Internal

  • ⬆ Bump tiangolo/issue-manager from 0.4.0 to 0.4.1. PR #775 by @dependabot[bot].
  • πŸ‘· Fix GitHub Actions build docs filter paths for GitHub workflows. PR #738 by @tiangolo.