You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/release-notes.md
+49-37Lines changed: 49 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,21 @@
2
2
3
3
## Latest Changes
4
4
5
+
### Internal
6
+
7
+
* ⬆ Bump ruff from 0.15.7 to 0.15.9. PR [#1847](https://github.com/fastapi/sqlmodel/pull/1847) by [@dependabot[bot]](https://github.com/apps/dependabot).
8
+
* ⬆ Bump mypy from 1.19.1 to 1.20.0. PR [#1843](https://github.com/fastapi/sqlmodel/pull/1843) by [@dependabot[bot]](https://github.com/apps/dependabot).
9
+
10
+
## 0.0.38 (2026-04-02)
11
+
5
12
### Fixes
6
13
14
+
* 🐛 Fix type annotation in `SQLModel.__new__`, avoid explicitly returning `Any`. PR [#1846](https://github.com/fastapi/sqlmodel/pull/1846) by [@carljm](https://github.com/carljm).
7
15
* 🐛 Fix `tuple_` return type annotation. PR [#1639](https://github.com/fastapi/sqlmodel/pull/1639) by [@kakeruzoku](https://github.com/kakeruzoku).
8
16
9
17
### Docs
10
18
19
+
* ✏️ Fix typos in `contributing.md`. PR [#1842](https://github.com/fastapi/sqlmodel/pull/1842) by [@GopalGB](https://github.com/GopalGB).
* 🔨 Handle external links `target=_blank` and CSS automatically in JS and CSS. PR [#1799](https://github.com/fastapi/sqlmodel/pull/1799) by [@tiangolo](https://github.com/tiangolo).
@@ -16,6 +25,9 @@
16
25
17
26
### Internal
18
27
28
+
* 🔨 Add pre-commit hook to ensure latest release header has date. PR [#1786](https://github.com/fastapi/sqlmodel/pull/1786) by [@YuriiMotov](https://github.com/YuriiMotov).
29
+
* ⬆ Bump pillow from 12.1.1 to 12.2.0. PR [#1845](https://github.com/fastapi/sqlmodel/pull/1845) by [@dependabot[bot]](https://github.com/apps/dependabot).
30
+
* ⬆ Bump fastapi from 0.135.2 to 0.135.3. PR [#1844](https://github.com/fastapi/sqlmodel/pull/1844) by [@dependabot[bot]](https://github.com/apps/dependabot).
19
31
* ⬆ Bump prek from 0.3.6 to 0.3.8. PR [#1829](https://github.com/fastapi/sqlmodel/pull/1829) by [@dependabot[bot]](https://github.com/apps/dependabot).
20
32
* ⬆ Bump pygithub from 2.8.1 to 2.9.0. PR [#1827](https://github.com/fastapi/sqlmodel/pull/1827) by [@dependabot[bot]](https://github.com/apps/dependabot).
21
33
* ⬆ Bump fastapi from 0.135.1 to 0.135.2. PR [#1828](https://github.com/fastapi/sqlmodel/pull/1828) by [@dependabot[bot]](https://github.com/apps/dependabot).
@@ -56,19 +68,19 @@
56
68
* ⬆ Bump fastapi from 0.128.8 to 0.129.0. PR [#1769](https://github.com/fastapi/sqlmodel/pull/1769) by [@dependabot[bot]](https://github.com/apps/dependabot).
57
69
* ⬆ Bump black from 25.12.0 to 26.1.0. PR [#1768](https://github.com/fastapi/sqlmodel/pull/1768) by [@dependabot[bot]](https://github.com/apps/dependabot).
58
70
59
-
## 0.0.37
71
+
## 0.0.37 (2026-02-21)
60
72
61
73
### Internal
62
74
63
75
* 👷 Fix build CI to not attempt to build `sqlmodel-slim`. PR [#1773](https://github.com/fastapi/sqlmodel/pull/1773) by [@tiangolo](https://github.com/tiangolo).
64
76
65
-
## 0.0.36
77
+
## 0.0.36 (2026-02-21)
66
78
67
79
### Internal
68
80
69
81
* ➖ Drop support for `sqlmodel-slim`, no more versions will be released, use only `sqmodel`. PR [#1772](https://github.com/fastapi/sqlmodel/pull/1772) by [@tiangolo](https://github.com/tiangolo).
70
82
71
-
## 0.0.35
83
+
## 0.0.35 (2026-02-20)
72
84
73
85
### Breaking Changes
74
86
@@ -80,7 +92,7 @@
80
92
* ⬆ Bump prek from 0.3.2 to 0.3.3. PR [#1761](https://github.com/fastapi/sqlmodel/pull/1761) by [@dependabot[bot]](https://github.com/apps/dependabot).
81
93
* ⬆ Bump typer from 0.23.1 to 0.23.2. PR [#1760](https://github.com/fastapi/sqlmodel/pull/1760) by [@dependabot[bot]](https://github.com/apps/dependabot).
82
94
83
-
## 0.0.34
95
+
## 0.0.34 (2026-02-16)
84
96
85
97
### Internal
86
98
@@ -90,7 +102,7 @@
90
102
* ⬆ Bump typer from 0.21.2 to 0.23.0. PR [#1756](https://github.com/fastapi/sqlmodel/pull/1756) by [@dependabot[bot]](https://github.com/apps/dependabot).
91
103
* ⬆ Bump fastapi from 0.128.7 to 0.128.8. PR [#1755](https://github.com/fastapi/sqlmodel/pull/1755) by [@dependabot[bot]](https://github.com/apps/dependabot).
92
104
93
-
## 0.0.33
105
+
## 0.0.33 (2026-02-11)
94
106
95
107
### Docs
96
108
@@ -114,7 +126,7 @@
114
126
* 👷 Run mypy by pre-commit. PR [#1738](https://github.com/fastapi/sqlmodel/pull/1738) by [@YuriiMotov](https://github.com/YuriiMotov).
115
127
* ⬆ Bump prek from 0.3.0 to 0.3.1. PR [#1739](https://github.com/fastapi/sqlmodel/pull/1739) by [@dependabot[bot]](https://github.com/apps/dependabot).
116
128
117
-
## 0.0.32
129
+
## 0.0.32 (2026-02-01)
118
130
119
131
### Fixes
120
132
@@ -145,7 +157,7 @@
145
157
* ⬆ Update fastapi requirement from >=0.103.2,<0.126.0 to >=0.103.2,<0.129.0. PR [#1703](https://github.com/fastapi/sqlmodel/pull/1703) by [@dependabot[bot]](https://github.com/apps/dependabot).
146
158
* ✅ Update tests, remove conditionals for Pydantic v1. PR [#1702](https://github.com/fastapi/sqlmodel/pull/1702) by [@tiangolo](https://github.com/tiangolo).
147
159
148
-
## 0.0.31
160
+
## 0.0.31 (2025-12-28)
149
161
150
162
### Breaking Changes
151
163
@@ -158,7 +170,7 @@
158
170
* ⬆ Bump typer from 0.20.1 to 0.21.0. PR [#1694](https://github.com/fastapi/sqlmodel/pull/1694) by [@dependabot[bot]](https://github.com/apps/dependabot).
159
171
* 📌 Relax `prek` version pin to `>=0.2.24,<1.0.0`. PR [#1698](https://github.com/fastapi/sqlmodel/pull/1698) by [@YuriiMotov](https://github.com/YuriiMotov).
160
172
161
-
## 0.0.30
173
+
## 0.0.30 (2025-12-26)
162
174
163
175
### Breaking Changes
164
176
@@ -183,13 +195,13 @@
183
195
* ⬆ Bump typer from 0.20.0 to 0.20.1. PR [#1685](https://github.com/fastapi/sqlmodel/pull/1685) by [@dependabot[bot]](https://github.com/apps/dependabot).
184
196
* ⬆ Bump ruff from 0.14.8 to 0.14.10. PR [#1681](https://github.com/fastapi/sqlmodel/pull/1681) by [@dependabot[bot]](https://github.com/apps/dependabot).
185
197
186
-
## 0.0.29
198
+
## 0.0.29 (2025-12-23)
187
199
188
200
### Fixes
189
201
190
202
* 🐛 Fix `alias` support for Pydantic v2. PR [#1577](https://github.com/fastapi/sqlmodel/pull/1577) by [@ravishan16](https://github.com/ravishan16).
191
203
192
-
## 0.0.28
204
+
## 0.0.28 (2025-12-23)
193
205
194
206
### Fixes
195
207
@@ -240,13 +252,13 @@
240
252
* ⬆ Bump typer from 0.19.2 to 0.20.0. PR [#1612](https://github.com/fastapi/sqlmodel/pull/1612) by [@dependabot[bot]](https://github.com/apps/dependabot).
241
253
* ✅ Remove unused type ignores since SQLAlchemy 2.0.44. PR [#1613](https://github.com/fastapi/sqlmodel/pull/1613) by [@svlandeg](https://github.com/svlandeg).
242
254
243
-
## 0.0.27
255
+
## 0.0.27 (2025-10-08)
244
256
245
257
### Upgrades
246
258
247
259
* ⬆️ Add support for Python 3.14. PR [#1578](https://github.com/fastapi/sqlmodel/pull/1578) by [@svlandeg](https://github.com/svlandeg).
248
260
249
-
## 0.0.26
261
+
## 0.0.26 (2025-10-08)
250
262
251
263
### Fixes
252
264
@@ -272,7 +284,7 @@
272
284
* ⬆ Bump ruff from 0.13.0 to 0.13.2. PR [#1576](https://github.com/fastapi/sqlmodel/pull/1576) by [@dependabot[bot]](https://github.com/apps/dependabot).
273
285
* 💚 Fix CI test suite for Windows and MacOS. PR [#1307](https://github.com/fastapi/sqlmodel/pull/1307) by [@svlandeg](https://github.com/svlandeg).
274
286
275
-
## 0.0.25
287
+
## 0.0.25 (2025-09-17)
276
288
277
289
### Features
278
290
@@ -360,7 +372,7 @@
360
372
* ⬆ Bump jinja2 from 3.1.4 to 3.1.6. PR [#1317](https://github.com/fastapi/sqlmodel/pull/1317) by [@dependabot[bot]](https://github.com/apps/dependabot).
361
373
* ⬆ [pre-commit.ci] pre-commit autoupdate. PR [#1319](https://github.com/fastapi/sqlmodel/pull/1319) by [@pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
362
374
363
-
## 0.0.24
375
+
## 0.0.24 (2025-03-07)
364
376
365
377
### Upgrades
366
378
@@ -371,7 +383,7 @@
371
383
* ⬆ [pre-commit.ci] pre-commit autoupdate. PR [#1114](https://github.com/fastapi/sqlmodel/pull/1114) by [@pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
372
384
* ⬆ Bump ruff from 0.6.2 to 0.9.6. PR [#1294](https://github.com/fastapi/sqlmodel/pull/1294) by [@dependabot[bot]](https://github.com/apps/dependabot).
373
385
374
-
## 0.0.23
386
+
## 0.0.23 (2025-02-28)
375
387
376
388
### Fixes
377
389
@@ -429,7 +441,7 @@
429
441
* 💚 Set `include-hidden-files` to `True` when using the `upload-artifact` GH action. PR [#1098](https://github.com/fastapi/sqlmodel/pull/1098) by [@svlandeg](https://github.com/svlandeg).
430
442
* ⬆ [pre-commit.ci] pre-commit autoupdate. PR [#1088](https://github.com/fastapi/sqlmodel/pull/1088) by [@pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
* ♻️ Refactor Deploy Docs GitHub Action to be a script and update token preparing for org. PR [#1039](https://github.com/tiangolo/sqlmodel/pull/1039) by [@tiangolo](https://github.com/tiangolo).
477
489
478
-
## 0.0.21
490
+
## 0.0.21 (2024-07-21)
479
491
480
492
### Features
481
493
@@ -495,7 +507,7 @@
495
507
* ⬆ Bump mkdocstrings[python] from 0.23.0 to 0.25.1. PR [#927](https://github.com/tiangolo/sqlmodel/pull/927) by [@dependabot[bot]](https://github.com/apps/dependabot).
496
508
* ⬆ Bump dorny/paths-filter from 2 to 3. PR [#972](https://github.com/tiangolo/sqlmodel/pull/972) by [@dependabot[bot]](https://github.com/apps/dependabot).
497
509
498
-
## 0.0.20
510
+
## 0.0.20 (2024-07-17)
499
511
500
512
### Features
501
513
@@ -516,7 +528,7 @@
516
528
* ⬆ [pre-commit.ci] pre-commit autoupdate. PR [#979](https://github.com/tiangolo/sqlmodel/pull/979) by [@pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
517
529
* 🔨 Update docs Termynal scripts to not include line nums for local dev. PR [#1018](https://github.com/tiangolo/sqlmodel/pull/1018) by [@tiangolo](https://github.com/tiangolo).
518
530
519
-
## 0.0.19
531
+
## 0.0.19 (2024-06-04)
520
532
521
533
### Fixes
522
534
@@ -543,7 +555,7 @@
543
555
* 👷 Update GitHub Actions to download and upload artifacts. PR [#936](https://github.com/tiangolo/sqlmodel/pull/936) by [@tiangolo](https://github.com/tiangolo).
544
556
* 👷 Tweak CI for test-redistribute, add needed env vars for slim. PR [#929](https://github.com/tiangolo/sqlmodel/pull/929) by [@tiangolo](https://github.com/tiangolo).
545
557
546
-
## 0.0.18
558
+
## 0.0.18 (2024-04-30)
547
559
548
560
### Internal
549
561
@@ -553,7 +565,7 @@ In the future SQLModel will include the standard default recommended packages, a
553
565
554
566
* 🔧 Re-enable MkDocs Material Social plugin. PR [#915](https://github.com/tiangolo/sqlmodel/pull/915) by [@tiangolo](https://github.com/tiangolo).
555
567
556
-
## 0.0.17
568
+
## 0.0.17 (2024-04-29)
557
569
558
570
### Refactors
559
571
@@ -574,15 +586,15 @@ In the future SQLModel will include the standard default recommended packages, a
574
586
* ⬆️ Upgrade Ruff version and configs. PR [#859](https://github.com/tiangolo/sqlmodel/pull/859) by [@tiangolo](https://github.com/tiangolo).
575
587
* 🔥 Remove Jina QA Bot as it has been discontinued. PR [#840](https://github.com/tiangolo/sqlmodel/pull/840) by [@tiangolo](https://github.com/tiangolo).
576
588
577
-
## 0.0.16
589
+
## 0.0.16 (2024-02-17)
578
590
579
591
### Features
580
592
581
593
* ✨ Add new method `.sqlmodel_update()` to update models in place, including an `update` parameter for extra data. And fix implementation for the (now documented) `update` parameter for `.model_validate()`. PR [#804](https://github.com/tiangolo/sqlmodel/pull/804) by [@tiangolo](https://github.com/tiangolo).
582
594
* Updated docs: [Update Data with FastAPI](https://sqlmodel.tiangolo.com/tutorial/fastapi/update/).
583
595
* New docs: [Update with Extra Data (Hashed Passwords) with FastAPI](https://sqlmodel.tiangolo.com/tutorial/fastapi/update-extra-data/).
584
596
585
-
## 0.0.15
597
+
## 0.0.15 (2024-02-17)
586
598
587
599
### Fixes
588
600
@@ -593,13 +605,13 @@ In the future SQLModel will include the standard default recommended packages, a
593
605
* ⬆ Bump tiangolo/issue-manager from 0.4.0 to 0.4.1. PR [#775](https://github.com/tiangolo/sqlmodel/pull/775) by [@dependabot[bot]](https://github.com/apps/dependabot).
594
606
* 👷 Fix GitHub Actions build docs filter paths for GitHub workflows. PR [#738](https://github.com/tiangolo/sqlmodel/pull/738) by [@tiangolo](https://github.com/tiangolo).
595
607
596
-
## 0.0.14
608
+
## 0.0.14 (2023-12-04)
597
609
598
610
### Features
599
611
600
612
* ✨ Add support for Pydantic v2 (while keeping support for v1 if v2 is not available). PR [#722](https://github.com/tiangolo/sqlmodel/pull/722) by [@tiangolo](https://github.com/tiangolo) including initial work in PR [#699](https://github.com/tiangolo/sqlmodel/pull/699) by [@AntonDeMeester](https://github.com/AntonDeMeester).
601
613
602
-
## 0.0.13
614
+
## 0.0.13 (2023-12-04)
603
615
604
616
### Fixes
605
617
@@ -629,7 +641,7 @@ In the future SQLModel will include the standard default recommended packages, a
629
641
* 🔧 Show line numbers in docs during local development. PR [#714](https://github.com/tiangolo/sqlmodel/pull/714) by [@tiangolo](https://github.com/tiangolo).
630
642
* 📝 Update details syntax with new pymdown extensions format. PR [#713](https://github.com/tiangolo/sqlmodel/pull/713) by [@tiangolo](https://github.com/tiangolo).
631
643
632
-
## 0.0.12
644
+
## 0.0.12 (2023-11-18)
633
645
634
646
### Features
635
647
@@ -640,7 +652,7 @@ In the future SQLModel will include the standard default recommended packages, a
640
652
* ⬆ [pre-commit.ci] pre-commit autoupdate. PR [#686](https://github.com/tiangolo/sqlmodel/pull/686) by [@pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
641
653
* 👷 Upgrade latest-changes GitHub Action. PR [#693](https://github.com/tiangolo/sqlmodel/pull/693) by [@tiangolo](https://github.com/tiangolo).
642
654
643
-
## 0.0.11
655
+
## 0.0.11 (2023-10-29)
644
656
645
657
### Features
646
658
@@ -660,7 +672,7 @@ In the future SQLModel will include the standard default recommended packages, a
660
672
* ⬆ Update black requirement from ^22.10.0 to >=22.10,<24.0. PR [#664](https://github.com/tiangolo/sqlmodel/pull/664) by [@dependabot[bot]](https://github.com/apps/dependabot).
661
673
* 👷 Update CI to build MkDocs Insiders only when the secrets are available, for Dependabot. PR [#683](https://github.com/tiangolo/sqlmodel/pull/683) by [@tiangolo](https://github.com/tiangolo).
662
674
663
-
## 0.0.10
675
+
## 0.0.10 (2023-10-26)
664
676
665
677
### Features
666
678
@@ -670,7 +682,7 @@ In the future SQLModel will include the standard default recommended packages, a
670
682
671
683
* 🔧 Adopt Ruff for formatting. PR [#679](https://github.com/tiangolo/sqlmodel/pull/679) by [@tiangolo](https://github.com/tiangolo).
672
684
673
-
## 0.0.9
685
+
## 0.0.9 (2023-10-23)
674
686
675
687
### Breaking Changes
676
688
@@ -748,7 +760,7 @@ In the future SQLModel will include the standard default recommended packages, a
748
760
* ⬆ Bump dawidd6/action-download-artifact from 2.9.0 to 2.24.0. PR [#470](https://github.com/tiangolo/sqlmodel/pull/470) by [@dependabot[bot]](https://github.com/apps/dependabot).
749
761
* 👷 Update Dependabot config. PR [#484](https://github.com/tiangolo/sqlmodel/pull/484) by [@tiangolo](https://github.com/tiangolo).
750
762
751
-
## 0.0.8
763
+
## 0.0.8 (2022-08-30)
752
764
753
765
### Fixes
754
766
@@ -760,7 +772,7 @@ In the future SQLModel will include the standard default recommended packages, a
760
772
* 📝 Adjust and clarify docs for `docs/tutorial/create-db-and-table.md`. PR [#426](https://github.com/tiangolo/sqlmodel/pull/426) by [@tiangolo](https://github.com/tiangolo).
761
773
* ✏ Fix typo in `docs/tutorial/connect/remove-data-connections.md`. PR [#421](https://github.com/tiangolo/sqlmodel/pull/421) by [@VerdantFox](https://github.com/VerdantFox).
762
774
763
-
## 0.0.7
775
+
## 0.0.7 (2022-08-28)
764
776
765
777
### Features
766
778
@@ -824,7 +836,7 @@ In the future SQLModel will include the standard default recommended packages, a
824
836
* 🔧 Upgrade MkDocs Material and update configs. PR [#217](https://github.com/tiangolo/sqlmodel/pull/217) by [@tiangolo](https://github.com/tiangolo).
825
837
* ⬆ Upgrade mypy, fix type annotations. PR [#218](https://github.com/tiangolo/sqlmodel/pull/218) by [@tiangolo](https://github.com/tiangolo).
826
838
827
-
## 0.0.6
839
+
## 0.0.6 (2021-12-28)
828
840
829
841
### Breaking Changes
830
842
@@ -895,7 +907,7 @@ Here's the new, extensive documentation explaining indexes and how to use them:
895
907
* ✏ Fix typo in `docs/tutorial/automatic-id-none-refresh.md`. PR [#14](https://github.com/tiangolo/sqlmodel/pull/14) by [@leynier](https://github.com/leynier).
896
908
* ✏ Fix typos in `docs/tutorial/index.md` and `docs/databases.md`. PR [#5](https://github.com/tiangolo/sqlmodel/pull/5) by [@sebastianmarines](https://github.com/sebastianmarines).
897
909
898
-
## 0.0.5
910
+
## 0.0.5 (2021-12-13)
899
911
900
912
### Features
901
913
@@ -913,19 +925,19 @@ Here's the new, extensive documentation explaining indexes and how to use them:
913
925
* 🔧 Add MkDocs Material social cards. PR [#90](https://github.com/tiangolo/sqlmodel/pull/90) by [@tiangolo](https://github.com/tiangolo).
914
926
* ✨ Update type annotations and upgrade mypy. PR [#173](https://github.com/tiangolo/sqlmodel/pull/173) by [@tiangolo](https://github.com/tiangolo).
915
927
916
-
## 0.0.4
928
+
## 0.0.4 (2021-08-25)
917
929
918
930
* 🎨 Fix type detection of select results in PyCharm. PR [#15](https://github.com/tiangolo/sqlmodel/pull/15) by [@tiangolo](https://github.com/tiangolo).
919
931
920
-
## 0.0.3
932
+
## 0.0.3 (2021-08-24)
921
933
922
934
* ⬆️ Update and relax specification range for `sqlalchemy-stubs`. PR [#4](https://github.com/tiangolo/sqlmodel/pull/4) by [@tiangolo](https://github.com/tiangolo).
923
935
924
-
## 0.0.2
936
+
## 0.0.2 (2021-08-24)
925
937
926
938
* This includes several small bug fixes detected during the first CI runs.
927
939
* 💚 Fix CI installs and tests. PR [#2](https://github.com/tiangolo/sqlmodel/pull/2) by [@tiangolo](https://github.com/tiangolo).
0 commit comments