Releases: fastapi/sqlmodel
Releases · fastapi/sqlmodel
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.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].
0.0.32
Fixes
Refactors
Docs
- 📝 Add contribution instructions about LLM generated code and comments and automated tools for PRs. PR #1712 by @alejsdev.
- 🐛 Fix copy button in
custom.js. PR #1711 by @alejsdev. - 📝 Remove duplicated word in
read-relationships.md. PR #1705 by @stefmolin.
Internal
- ⬆ Bump ruff from 0.14.13 to 0.14.14. PR #1721 by @dependabot[bot].
- ⬆ Bump prek from 0.2.30 to 0.3.0. PR #1720 by @dependabot[bot].
- 🔧 Ensure that an edit to
uv.lockgets theinternallabel. PR #1719 by @svlandeg. - ⬆ Bump sqlalchemy from 2.0.45 to 2.0.46. PR #1717 by @dependabot[bot].
- ⬆ Bump typer from 0.21.0 to 0.21.1. PR #1715 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.10 to 0.14.13. PR #1714 by @dependabot[bot].
- ⬆ Bump prek from 0.2.25 to 0.2.30. PR #1716 by @dependabot[bot].
- ⬆️ Update FastAPI version pin to
>=0.103.2in tests. PR #1709 by @YuriiMotov. - 📌 Pin development Python version to 3.10, for
deploy_docs_status.py. PR #1707 by @tiangolo. - ⬆️ Migrate to uv. PR #1688 by @DoctorJohn.
- ⬆ Update fastapi requirement from >=0.103.2,<0.126.0 to >=0.103.2,<0.129.0. PR #1703 by @dependabot[bot].
- ✅ Update tests, remove conditionals for Pydantic v1. PR #1702 by @tiangolo.
0.0.31
Breaking Changes
Internal
- ⬆ Bump dirty-equals from 0.9.0 to 0.11. PR #1649 by @dependabot[bot].
- ⬆ Bump mkdocs-material from 9.7.0 to 9.7.1. PR #1690 by @dependabot[bot].
- ⬆ Bump typer from 0.20.1 to 0.21.0. PR #1694 by @dependabot[bot].
- 📌 Relax
prekversion pin to>=0.2.24,<1.0.0. PR #1698 by @YuriiMotov.
0.0.30
Breaking Changes
Docs
Internal
- 🔧 Update pre-commit, generate select on pre-commit, use local Ruff. PR #1697 by @tiangolo.
- ⬆ Bump actions/checkout from 5 to 6. PR #1692 by @dependabot[bot].
- 👷 Add pre-commit workflow. PR #1684 by @YuriiMotov.
- ✅ Simplify tests for code examples, one test file for multiple variants. PR #1664 by @YuriiMotov.
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1677 by @pre-commit-ci[bot].
- ⬆ Bump actions/download-artifact from 6 to 7. PR #1676 by @dependabot[bot].
- ⬆ Bump actions/cache from 4 to 5. PR #1673 by @dependabot[bot].
- ⬆ Bump markdown-include-variants from 0.0.5 to 0.0.8. PR #1674 by @dependabot[bot].
- ⬆ Bump actions/upload-artifact from 5 to 6. PR #1675 by @dependabot[bot].
- ⬆ Bump mypy from 1.18.2 to 1.19.1. PR #1679 by @dependabot[bot].
- ⬆ Bump typer from 0.20.0 to 0.20.1. PR #1685 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.8 to 0.14.10. PR #1681 by @dependabot[bot].
0.0.29
0.0.28
Fixes
- 🐛 Fix
RuntimeError: dictionary changed size during iterationinsqlmodel_update(). PR #997 by @BartSchuurmans.
Docs
- 💅 Update CSS to explicitly use emoji font. PR #1658 by @tiangolo.
- 📝 Update link to JetBrains Python survey in
features.md. PR #1627 by @sparkiegeek. - 📝 Fix broken links in docs. PR #1601 by @YuriiMotov.
Internal
- 📌 Pin FastAPI in tests to 0.125.0 while dropping support for Python 3.8. PR #1689 by @tiangolo.
- 👷 Configure coverage, error on main tests, don't wait for Smokeshow. PR #1683 by @YuriiMotov.
- 👷 Run Smokeshow always, even on test failures. PR #1682 by @YuriiMotov.
- ⬆ Bump ruff from 0.14.6 to 0.14.8. PR #1667 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1662 by @pre-commit-ci[bot].
- ⬆ Bump actions/checkout from 5 to 6. PR #1656 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.5 to 0.14.6. PR #1652 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1655 by @pre-commit-ci[bot].
- ⬆ Bump actions/checkout from 5 to 6. PR #1651 by @dependabot[bot].
- 💄 Use font Fira Code to fix display of Rich panels in docs in Windows. PR #1653 by @tiangolo.
- 👷 Upgrade
latest-changesGitHub Action and pinactions/checkout@v5. PR #1654 by @svlandeg. - 🔧 Upgrade Material for MkDocs and remove insiders. PR #1650 by @tiangolo.
- ⬆ Bump mkdocs-material from 9.6.23 to 9.7.0. PR #1645 by @dependabot[bot].
- ⬆ Bump mkdocs-macros-plugin from 1.4.1 to 1.5.0. PR #1647 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.4 to 0.14.5. PR #1646 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1648 by @pre-commit-ci[bot].
- ⬆ Bump ruff from 0.14.3 to 0.14.4. PR #1640 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1642 by @pre-commit-ci[bot].
- ⬆ Bump mkdocs-material from 9.6.22 to 9.6.23. PR #1637 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.2 to 0.14.3. PR #1633 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1636 by @pre-commit-ci[bot].
- ⬆ Bump mkdocs-macros-plugin from 1.4.0 to 1.4.1. PR #1626 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.1 to 0.14.2. PR #1616 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1625 by @pre-commit-ci[bot].
- 🔧 Add PEP-639 license metadata. PR #1624 by @svlandeg.
- ⬆ Bump griffe-typingdoc from 0.2.9 to 0.3.0. PR #1615 by @dependabot[bot].
- ⬆ Bump actions/upload-artifact from 4 to 5. PR #1620 by @dependabot[bot].
- ⬆ Bump actions/download-artifact from 5 to 6. PR #1621 by @dependabot[bot].
- ⬆ Bump ruff from 0.14.0 to 0.14.1. PR #1614 by @dependabot[bot].
- ⬆ Bump ruff from 0.13.2 to 0.14.0. PR #1592 by @dependabot[bot].
- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1605 by @pre-commit-ci[bot].
- ⬆ Bump astral-sh/setup-uv from 6 to 7. PR #1593 by @dependabot[bot].
- ⬆ Bump mkdocs-material from 9.6.21 to 9.6.22. PR #1608 by @dependabot[bot].
- 🔧 Configure reminder for
waitinglabel inissue-manager. PR #1609 by @YuriiMotov. - ⬆ Bump typer from 0.19.2 to 0.20.0. PR #1612 by @dependabot[bot].
- ✅ Remove unused type ignores since SQLAlchemy 2.0.44. PR #1613 by @svlandeg.