Releases: fastapi/sqlmodel
Releases · fastapi/sqlmodel
Release list
0.0.42
Features
- 🏷️ Allow
Discriminatortype fordiscriminatorparameter inField. PR #1729 by @YuriiMotov.
0.0.41
Refactors
- 🗑️ Deprecate
min_itemsandmax_itemsparameters ofField. PR #1731 by @YuriiMotov.
0.0.40
Docs
- ✏️ Fix grammar and typos in docs. PR #2058 by @YuriiMotov.
- 📝 Fix "Decimals in SQLModel" to reference
Field()instead ofcondecimal(). PR #2035 by @anxkhn. - 🐛 Use buttons for Termynal controls. PR #2063 by @tiangolo.
- 📝 Add Library Skills documentation. PR #2052 by @tiangolo.
- 📝 Recommend uv projects by default in docs. PR #2050 by @tiangolo.
- 🐛 Prevent Termynal controls from scrolling. PR #2051 by @tiangolo.
- 📝 Update help docs. PR #2049 by @tiangolo.
Internal
- ⬆️ Bump Typer min version to
0.26.1. PR #2078 by @YuriiMotov. - ⬆️ Bump
setup-uvaction to10.0.1. PR #2077 by @YuriiMotov. - 👷 Migrate automatic labels to Latest Changes. PR #2074 by @tiangolo.
- 👷 Remove legacy label check. PR #2072 by @tiangolo.
- 🔐 Use PR Submit for pull requests. PR #2071 by @tiangolo.
- 👷 Use GitHub CLI for Git authentication. PR #2070 by @tiangolo.
- 👷 Use PR Push commit identity. PR #2069 by @tiangolo.
- 🔒 Replace pre-commit PAT with PR Push. PR #2067 by @tiangolo.
- 👷 Remove Zensical docs cache. PR #2065 by @tiangolo.
- 🔥 Remove the old Latest Changes workflow. PR #2064 by @tiangolo.
- ⬆ Bump the python-packages group with 7 updates. PR #2060 by @dependabot[bot].
- ⬆ Bump the github-actions group with 5 updates. PR #2059 by @dependabot[bot].
- ⬆️ Upgrade latest-changes to 0.7.1. PR #2054 by @tiangolo.
- ⬆ Bump the python-packages group across 1 directory with 6 updates. PR #2042 by @dependabot[bot].
- ⬆ Bump the github-actions group across 1 directory with 4 updates. PR #2045 by @dependabot[bot].
- 👷 Add GH workflow to bump pre-commit hook versions. PR #2026 by @YuriiMotov.
- 🔧 Set Dependabot schedule interval to "monthly". PR #2025 by @YuriiMotov.
- ⬆ Bump the python-packages group with 4 updates. PR #2039 by @dependabot[bot].
- ⬆ Bump https://github.com/crate-ci/typos from v1.47.2 to 1.48.0 in the pre-commit group. PR #2038 by @dependabot[bot].
- 👷 Fix latest-changes checkout target. PR #2031 by @tiangolo.
- ⬆️ Update issue-manager to 0.8.1. PR #2030 by @tiangolo.
- ⬆️ Update latest-changes to 0.6.1. PR #2029 by @tiangolo.
- ⬆ Bump the python-packages group across 1 directory with 8 updates. PR #2028 by @dependabot[bot].
- ⬆ Bump the github-actions group with 4 updates. PR #2027 by @dependabot[bot].
- ⬆ Bump sqlalchemy from 2.0.50 to 2.0.51. PR #2013 by @dependabot[bot].
- 👷 Update release workflows, fix gitmoji emoji used. PR #2019 by @tiangolo.
0.0.39
Features
Fixes
Docs
- 📝 Update docs badges: remove Publish badge, it doesn't give extra information. PR #2009 by @tiangolo.
- 📝 Update and simplify docs about help and management. PR #1978 by @tiangolo.
- 📝 Update docs about contributing, reference central docs. PR #1975 by @tiangolo.
- 📝 Update security policy. PR #1973 by @tiangolo.
- 📝 Update link syntax to minimal Markdown. PR #1800 by @tiangolo.
- 📝 Update admonitions, simplify and use defaults. PR #1915 by @tiangolo.
- 🔒️ Only allow team members to modify dependencies. PR #1914 by @svlandeg.
Internal
- 👷 Simplify pull request workflow triggers. PR #2016 by @tiangolo.
- 👷 Update issue-manager to 0.7.1. PR #2015 by @tiangolo.
- ⬆️ Update issue-manager to 0.7.0. PR #2014 by @tiangolo.
- 🔒️ Update zizmor workflow security checks. PR #2010 by @tiangolo.
- 👷 Fix alls-green test dependency. PR #2008 by @tiangolo.
- ⬆ Bump the python-packages group with 5 updates. PR #2006 by @dependabot[bot].
- ⬆ Bump https://github.com/crate-ci/typos from v1.47.1 to v1.47.2 in the pre-commit group. PR #2005 by @dependabot[bot].
- ⬆ Bump astral-sh/setup-uv from 8.1.0 to 8.2.0 in the github-actions group. PR #2004 by @dependabot[bot].
- ⬆ Bump the python-packages group with 3 updates. PR #2000 by @dependabot[bot].
- ⬆ Bump https://github.com/crate-ci/typos from v1.46.0 to v1.47.1 in the pre-commit group. PR #1999 by @dependabot[bot].
- ⬆ Bump the github-actions group with 2 updates. PR #1998 by @dependabot[bot].
- ⬆ Bump sqlalchemy from 2.0.49 to 2.0.50. PR #1992 by @dependabot[bot].
- ⬆ Bump the python-packages group across 1 directory with 9 updates. PR #1995 by @dependabot[bot].
- ⬆ Bump eps1lon/actions-label-merge-conflict from 3.0.3 to 3.1.0 in the github-actions group. PR #1993 by @dependabot[bot].
- ⬆️ Bump Pydantic to 2.13.4. PR #1985 by @YuriiMotov.
- 👷 Automate release preparation. PR #1988 by @tiangolo.
- 🔥 Remove old package stub slim, not used nor needed. PR #1987 by @tiangolo.
- ⬆ Bump the github-actions group with 2 updates. PR #1983 by @dependabot[bot].
- 👷 Configure Dependabot to group updates and update weekly. PR #1972 by @YuriiMotov.
- 🔥 Remove config files now in central GitHub repo. PR #1979 by @tiangolo.
- ⬆ Bump zizmorcore/zizmor-action from 0.5.3 to 0.5.5. PR #1974 by @dependabot[bot].
- 👷 Fix branch name in
guard-dependencies.yml. PR #1916 by @svlandeg. - ♻️ Migrate docs to Zensical. PR #1913 by @tiangolo.
- ⬆ Bump ruff from 0.15.12 to 0.15.13. PR #1910 by @dependabot[bot].
- 🔒️ Add zizmor and fix audit findings. PR #1871 by @YuriiMotov.
- ⬆ Bump ty from 0.0.34 to 0.0.35. PR #1904 by @dependabot[bot].
- ⬆ Bump actions/add-to-project from 1.0.2 to 2.0.0. PR #1900 by @dependabot[bot].
- ⬆ Bump actions/labeler from 6.0.1 to 6.1.0. PR #1902 by @dependabot[bot].
- ⬆ Bump pydantic-settings from 2.14.0 to 2.14.1. PR #1903 by @dependabot[bot].
- ⬆ Bump prek from 0.3.11 to 0.3.13. PR #1901 by @dependabot[bot].
- 👷 Add pre-commit for typos. PR #1899 by @tiangolo.
- ⬆ Bump ty from 0.0.32 to 0.0.34. PR #1898 by @dependabot[bot].
- ⬆ Bump typer from 0.25.0 to 0.25.1. PR #1896 by @dependabot[bot].
- ⬆ Bump prek from 0.3.10 to 0.3.11. PR #1892 by @dependabot[bot].
- ⬆ Bump typer from 0.24.2 to 0.25.0. PR #1893 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.11 to 0.15.12. PR #1888 by @dependabot[bot].
- ⬆ Bump fastapi from 0.136.0 to 0.136.1. PR #1887 by @dependabot[bot].
- ⬆ Bump typer from 0.24.1 to 0.24.2. PR #1883 by @dependabot[bot].
- ⬆ Bump prek from 0.3.9 to 0.3.10. PR #1881 by @dependabot[bot].
- ⬆ Bump ty from 0.0.31 to 0.0.32. PR #1876 by @dependabot[bot].
- ⬆ Bump pydantic-settings from 2.13.1 to 2.14.0. PR #1878 by @dependabot[bot].
- ⬆ Bump cloudflare/wrangler-action from 3.14.1 to 3.15.0. PR #1868 by @dependabot[bot].
- ⬆ Bump ty from 0.0.30 to 0.0.31. PR #1862 by @dependabot[bot].
- ⬆ Bump actions/cache from 5.0.4 to 5.0.5. PR #1865 by @dependabot[bot].
- ⬆ Bump actions/upload-artifact from 7.0.0 to 7.0.1. PR #1867 by @dependabot[bot].
- ⬆ Bump astral-sh/setup-uv from 7.6.0 to 8.1.0. PR #1866 by @dependabot[bot].
- ⬆ Bump fastapi from 0.135.3 to 0.136.0. PR #1869 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.10 to 0.15.11. PR #1870 by @dependabot[bot].
- 🔒 Pin GitHub actions by commit SHA. PR #1840 by @YuriiMotov.
- ⬆ Bump ty from 0.0.29 to 0.0.30. PR #1861 by @dependabot[bot].
- ⬆ Bump prek from 0.3.8 to 0.3.9. PR #1859 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.9 to 0.15.10. PR #1856 by @dependabot[bot].
- ⬆ Bump pytest from 9.0.2 to 9.0.3. PR #1855 by [@dependabot[bot]](https://github.com/apps/de...
0.0.38
Fixes
- 🐛 Fix type annotation in
SQLModel.__new__, avoid explicitly returningAny. PR #1846 by @carljm. - 🐛 Fix
tuple_return type annotation. PR #1639 by @kakeruzoku.
Docs
- ✏️ Fix typos in
contributing.md. PR #1842 by @GopalGB. - 🔥 Remove outdated Python 3.9 tutorial file. PR #1822 by @svlandeg.
- 📝 Fix ambiguous phrasing regarding
HeroPublicWithTeammodel. PR #1678 by @berkaykrc. - 🔨 Handle external links
target=_blankand CSS automatically in JS and CSS. PR #1799 by @tiangolo. - 📝 Document
.in_()method. PR #619 by @masylum. - 📝 Fix small typos in the documentation. PR #1641 by @svlandeg.
Internal
- 🔨 Add pre-commit hook to ensure latest release header has date. PR #1786 by @YuriiMotov.
- ⬆ Bump pillow from 12.1.1 to 12.2.0. PR #1845 by @dependabot[bot].
- ⬆ Bump fastapi from 0.135.2 to 0.135.3. PR #1844 by @dependabot[bot].
- ⬆ Bump prek from 0.3.6 to 0.3.8. PR #1829 by @dependabot[bot].
- ⬆ Bump pygithub from 2.8.1 to 2.9.0. PR #1827 by @dependabot[bot].
- ⬆ Bump fastapi from 0.135.1 to 0.135.2. PR #1828 by @dependabot[bot].
- ➕ Add a direct dependency on
typing-extensions. PR #1815 by @musicinmybrain. - ⬆ Bump mkdocs-material from 9.7.5 to 9.7.6. PR #1825 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.6 to 0.15.7. PR #1826 by @dependabot[bot].
- ⬆ Bump prek from 0.3.5 to 0.3.6. PR #1817 by @dependabot[bot].
- 📌 Update internal dependency limits. PR #1809 by @svlandeg.
- ⬆ Bump ruff from 0.15.5 to 0.15.6. PR #1814 by @dependabot[bot].
- ⬆ Bump cairosvg from 2.8.2 to 2.9.0. PR #1813 by @dependabot[bot].
- ⬆ Bump dorny/paths-filter from 3 to 4. PR #1812 by @dependabot[bot].
- ⬆ Bump black from 26.3.0 to 26.3.1. PR #1811 by @dependabot[bot].
- ⬆ Bump mkdocs-material from 9.7.4 to 9.7.5. PR #1808 by @dependabot[bot].
- ⬆ Bump prek from 0.3.4 to 0.3.5. PR #1807 by @dependabot[bot].
- ⬆ Bump black from 26.1.0 to 26.3.0. PR #1803 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.4 to 0.15.5. PR #1801 by @dependabot[bot].
- ⬆ Bump mkdocs-material from 9.7.3 to 9.7.4. PR #1797 by @dependabot[bot].
- ⬆ Bump sqlalchemy from 2.0.47 to 2.0.48. PR #1793 by @dependabot[bot].
- ⬆ Bump prek from 0.3.3 to 0.3.4. PR #1794 by @dependabot[bot].
- ⬆ Bump fastapi from 0.134.0 to 0.135.1. PR #1795 by @dependabot[bot].
- ⬆ Bump fastapi from 0.133.1 to 0.134.0. PR #1792 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.2 to 0.15.4. PR #1790 by @dependabot[bot].
- ⬆ Bump actions/download-artifact from 7 to 8. PR #1789 by @dependabot[bot].
- ⬆ Bump actions/upload-artifact from 6 to 7. PR #1788 by @dependabot[bot].
- ⬆ Bump fastapi from 0.133.0 to 0.133.1. PR #1787 by @dependabot[bot].
- ⬆ Bump mkdocs-material from 9.7.2 to 9.7.3. PR #1782 by @dependabot[bot].
- ⬆ Bump fastapi from 0.132.0 to 0.133.0. PR #1781 by @dependabot[bot].
- ⬆ Bump sqlalchemy from 2.0.46 to 2.0.47. PR #1783 by @dependabot[bot].
- ⬆ Bump pytest from 8.4.2 to 9.0.2. PR #1780 by @dependabot[bot].
- ⬆ Bump mkdocstrings[python] from 0.30.1 to 1.0.3. PR #1776 by @dependabot[bot].
- ⬆ Bump typer from 0.23.2 to 0.24.1. PR #1777 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.1 to 0.15.2. PR #1779 by @dependabot[bot].
- ⬆ Bump fastapi from 0.129.0 to 0.132.0. PR #1778 by @dependabot[bot].
- ⬆ Update all dependencies to use
griffelibinstead ofgriffe. PR #1775 by @svlandeg. - ⬆ Bump mkdocs-material from 9.7.1 to 9.7.2. PR #1764 by @dependabot[bot].
- ⬆ Bump pillow from 11.3.0 to 12.1.1. PR #1770 by @dependabot[bot].
- ⬆ Bump pydantic-settings from 2.12.0 to 2.13.1. PR #1771 by @dependabot[bot].
- ⬆ Bump fastapi from 0.128.8 to 0.129.0. PR #1769 by @dependabot[bot].
- ⬆ Bump black from 25.12.0 to 26.1.0. PR #1768 by @dependabot[bot].
0.0.37
0.0.36
0.0.35
Breaking Changes
Internal
- 🔨 Add script to remove Python 3.9 files, migrate to Python 3.10. PR #1767 by @tiangolo.
- ⬆ Bump prek from 0.3.2 to 0.3.3. PR #1761 by @dependabot[bot].
- ⬆ Bump typer from 0.23.1 to 0.23.2. PR #1760 by @dependabot[bot].
0.0.34
Internal
- 👷 Enable tests with lower and upper bound versions. PR #1735 by @tiangolo.
- ⬆ Bump ruff from 0.15.0 to 0.15.1. PR #1758 by @dependabot[bot].
- ⬆ Bump typer from 0.23.0 to 0.23.1. PR #1759 by @dependabot[bot].
- ⬆ Bump typer from 0.21.2 to 0.23.0. PR #1756 by @dependabot[bot].
- ⬆ Bump fastapi from 0.128.7 to 0.128.8. PR #1755 by @dependabot[bot].
0.0.33
Docs
- ✏️ Fix typos in inline comment in
expression.py. PR #1747 by @veeceey. - 📝 Fix async example in
session.execute()docstring & deprecation message. PR #1643 by @DanielLeviLucas. - 📝 Update
management-tasks.mdto be in line withmanagement-tasks.mdin FastAPI repo. PR #1743 by @YuriiMotov.
Internal
- 🔨 Update build script for
sqlmodel-slim. PR #1754 by @tiangolo. - ⬆ Bump fastapi from 0.128.6 to 0.128.7. PR #1751 by @dependabot[bot].
- ⬆ Bump typer from 0.21.1 to 0.21.2. PR #1752 by @dependabot[bot].
- 👷 Update build setup for
sqlmodel-slim, deprecate it, and make it only depend onsqlmodel. PR #1753 by @tiangolo. - ⬆ Bump fastapi from 0.128.3 to 0.128.6. PR #1750 by @dependabot[bot].
- ⬆ Bump fastapi from 0.128.1 to 0.128.3. PR #1746 by @dependabot[bot].
- ⬆ Bump prek from 0.3.1 to 0.3.2. PR #1745 by @dependabot[bot].
- ⬆ Bump fastapi from 0.128.0 to 0.128.1. PR #1742 by @dependabot[bot].
- ✅ Update
ValidationErrorschema in FastAPI-related tests to be compatible with FastAPI 0.128.1+. PR #1744 by @YuriiMotov. - ⬆ Bump ruff from 0.14.14 to 0.15.0. PR #1740 by @dependabot[bot].
- 👷 Add generate-readme to pre-commit. PR #1741 by @tiangolo.
- 👷 Run mypy by pre-commit. PR #1738 by @YuriiMotov.
- ⬆ Bump prek from 0.3.0 to 0.3.1. PR #1739 by @dependabot[bot].