]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/log
thirdparty/fastapi/sqlmodel.git
2 weeks ago🎨 [pre-commit.ci] Auto format from pre-commit.com hooks consolidate-tests 1409/head
pre-commit-ci[bot] [Fri, 20 Jun 2025 13:15:46 +0000 (13:15 +0000)] 
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

2 weeks agoChore: Apply comment and import cleanup to consolidated tests
google-labs-jules[bot] [Fri, 20 Jun 2025 13:11:05 +0000 (13:11 +0000)] 
Chore: Apply comment and import cleanup to consolidated tests

This commit applies minor cleanups to the previously consolidated test files. The primary goal of this session was to address your feedback regarding the removal of unnecessary comments and ensuring the correct use of `from types import ModuleType`.

**Summary of Actions during this cleanup session:**

1.  **Plan Re-evaluation:** After the initial consolidation work, I created a new plan to systematically review all changed files in batches.
2.  **Batch Processing:** I went through the following batches of consolidated test files:
    *   Batch 1: `tests/test_advanced` and `tests/test_tutorial/test_code_structure`
    *   Batch 2: `tests/test_tutorial/test_connect`
    *   Batch 3: `tests/test_tutorial/test_create_db_and_table`
    *   Batch 4: `tests/test_tutorial/test_fastapi/test_app_testing` and `.../test_delete`
    *   Batch 5: `.../test_limit_and_offset` and `.../test_multiple_models`
    *   Batch 6: `.../test_read_one` and `.../test_relationships`
    *   Batch 7: `.../test_response_model` and `.../test_session_with_dependency`
    *   Batch 8 (partially): `.../test_teams/test_tutorial001.py` was processed. `.../test_simple_hero_api/test_tutorial001.py` was identified as missed before this submission.
3.  **Cleanup Operations:** For each file in the processed batches:
    *   I checked for and removed superfluous comments (e.g., commented-out code that was no longer relevant, self-explanatory comments). Many files were already quite clean.
    *   I ensured `from types import ModuleType` was added if `ModuleType` was used as a type hint for a function parameter (typically the `module` fixture).
    *   I corrected type hints from `type` to `types.ModuleType` where applicable.
4.  **Testing Limitations:** Throughout this cleanup session, I encountered an error indicating "The command affected too many files in the repo". This prevented me from verifying that the cleanups did not introduce regressions. The changes are based on visual inspection and targeted modifications.

**Unfinished Work:**
*   The cleanup for `tests/test_tutorial/test_fastapi/test_simple_hero_api/test_tutorial001.py` was missed in Batch 8.
*   Batches 9 through 19 of the cleanup plan, covering the remaining FastAPI subdirectories, and the general `test_insert`, `test_limit_and_offset`, `test_many_to_many`, `test_one`, `test_relationship_attributes`, and `test_where` directories, were not started.

This submission includes the cleanups made up to the partial completion of Batch 8. Further cleanup and full verification are still pending.

2 weeks ago🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
pre-commit-ci[bot] [Fri, 20 Jun 2025 12:49:14 +0000 (12:49 +0000)] 
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

2 weeks agoJules was unable to complete the task in time. Please review the work done so far...
google-labs-jules[bot] [Fri, 20 Jun 2025 12:49:05 +0000 (12:49 +0000)] 
Jules was unable to complete the task in time. Please review the work done so far and provide feedback for Jules to continue.

2 weeks ago🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
pre-commit-ci[bot] [Fri, 20 Jun 2025 07:22:42 +0000 (07:22 +0000)] 
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

2 weeks agoRefactor: Consolidate versioned tests for docs examples (Final Attempt)
google-labs-jules[bot] [Fri, 20 Jun 2025 07:22:35 +0000 (07:22 +0000)] 
Refactor: Consolidate versioned tests for docs examples (Final Attempt)

This commit represents the completed code modifications for consolidating multiple version-specific test files (for Python 3.8, 3.9, 3.10) into single test files for nearly all documentation examples.

**Summary of Actions:**

1.  **Comprehensive File Identification:** I identified all test files in `tests/test_advanced` and `tests/test_tutorial` that followed the pattern of version-specific suffixes (e.g., `_py39.py`, `_py310.py`) for consolidation.

2.  **Consolidation Implementation:**
    *   My primary strategy involved modifying the base test file (e.g., `test_example.py`).
    *   I introduced a `pytest` fixture, typically named `module`. This fixture is parametrized to load the base version of the example code and its Python version-specific variants from the `docs_src` directory using `importlib.import_module`.
    *   I applied `needs_py39` and `needs_py310` marks from `tests.conftest` to the relevant parameters to control test execution based on the Python version.
    *   I updated test functions to use this `module` fixture. For FastAPI examples, this included careful adaptation of `session` and `client` fixtures to use the parametrized module's `app` and `engine`, ensuring proper database setup (in-memory SQLite, table creation) and module reloading with `clear_sqlmodel` for isolation.
    *   I used the `print_mock` fixture for tests verifying console output. Other tests used `sqlalchemy.inspect` or API response assertions.
    *   I incorporated your feedback regarding the use of `from types import ModuleType` for type hints and removal of unnecessary comments into later consolidations.
    *   I deleted redundant version-specific test files after their logic was merged.

3.  **Skipped File:** I did not consolidate `tests/test_tutorial/test_insert/test_tutorial002.py` due to persistent `ImportError`/`AttributeError` issues when trying to access a dependent `Team` model from another tutorial's source file within the pytest fixture. Multiple approaches to resolve this failed, suggesting a complex interaction with module loading or metadata in the test environment for this specific case.

4.  **Testing Limitations (CRITICAL):**
    *   While I often ran tests for individual files or smaller directories successfully after consolidation, a persistent "The command affected too many files in the repo" error plagued testing of larger directories and the entire project.
    *   This environment constraint ultimately **prevented me from executing the full test suite** after all code modifications were complete. Dependency installation (`pip install -r requirements.txt`) also failed due to this limit in the final stages.
    *   **Therefore, the submitted code, while structurally complete according to my plan, is NOT FULLY TESTED.** There is a risk that consolidations in the later-processed, larger directories might contain unfound issues.

**Conclusion:**

The code refactoring to consolidate tests is (almost entirely) complete. However, due to critical environment limitations preventing full test suite verification, this submission should be reviewed with caution. Further testing in an unrestricted environment is highly recommended.

2 weeks ago🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
pre-commit-ci[bot] [Thu, 19 Jun 2025 21:21:30 +0000 (21:21 +0000)] 
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

2 weeks agoRefactor: Consolidate versioned tests for docs examples
google-labs-jules[bot] [Thu, 19 Jun 2025 21:19:49 +0000 (21:19 +0000)] 
Refactor: Consolidate versioned tests for docs examples

This commit consolidates multiple version-specific test files (for Python 3.8, 3.9, 3.10) into single test files for a significant portion of the documentation examples.

**Summary of Changes:**

The primary goal was to have one test file per example, using pytest parametrization to handle different Python versions of the source documentation files. I achieved this by:

1.  **Identifying Groups:** Scanned `tests/test_advanced` and `tests/test_tutorial` to find sets of test files like `test_example.py`, `test_example_py39.py`, `test_example_py310.py`.

2.  **Consolidation Strategy:**
    *   Chose the base file (e.g., `test_example.py`) as the consolidated file.
    *   Introduced a `pytest` fixture (usually named `module` or `modules`) within the consolidated file.
    *   This fixture is parametrized with the base name of the example and its versioned counterparts (e.g., "tutorial001", "tutorial001_py39", "tutorial001_py310").
    *   Used `importlib.import_module()` within the fixture to load the correct example code from `docs_src/` based on the pytest parameter.
    *   Applied `needs_py39` and `needs_py310` marks (from `tests.conftest`) to the relevant parameters to ensure tests are skipped on incompatible Python versions.
    *   Modified test functions to accept this new fixture.
    *   For tests involving FastAPI, adapted existing `session` and `client` fixtures (or created new ones) to correctly use the parametrized `module` for setting up the test environment (in-memory SQLite engine, creating tables, and configuring the `TestClient` with the correct app instance). This often involved reloading the module and ensuring `SQLModel.metadata` was cleared between parametrized runs using the `clear_sqlmodel` fixture.
    *   For tests that check printed output, the `print_mock` fixture was used. For others, assertions were based on database state (via `sqlalchemy.inspect`) or API responses.
    *   Deleted the now-redundant version-specific test files.

**Examples Consolidated So Far:**

*   **Advanced:**
    *   `decimal/tutorial001`
    *   `uuid/tutorial001`
    *   `uuid/tutorial002`
*   **Tutorial - Code Structure:**
    *   `code_structure/tutorial002`
*   **Tutorial - Connect:**
    *   `connect/create_connected_tables/tutorial001`
    *   `connect/delete/tutorial001`
    *   `connect/insert/tutorial001`
    *   `connect/select/tutorial003`, `tutorial004`, `tutorial005`
    *   `connect/update/tutorial001`
*   **Tutorial - Create DB and Table:**
    *   `create_db_and_table/tutorial001`, `tutorial002`, `tutorial003`
*   **Tutorial - FastAPI:**
    *   `fastapi/app_testing/tutorial001_tests_main` (refactored from subprocess)
    *   `fastapi/delete/tutorial001`
    *   `fastapi/limit_and_offset/tutorial001`
    *   `fastapi/multiple_models/tutorial001`, `tutorial002`
    *   `fastapi/read_one/tutorial001`
    *   `fastapi/relationships/tutorial001`
    *   `fastapi/response_model/tutorial001`
    *   `fastapi/session_with_dependency/tutorial001`
    *   `fastapi/simple_hero_api/tutorial001`
    *   `fastapi/teams/tutorial001`

This work is part of an effort to simplify the test suite structure.
The next steps would involve continuing this consolidation for the remaining examples. I also received feedback to remove extra comments and consistently use `from types import ModuleType` for type hinting, which I will apply in future work.

2 weeks ago📝 Update release notes
github-actions [Thu, 19 Jun 2025 16:19:42 +0000 (16:19 +0000)] 
📝 Update release notes

[skip ci]

2 weeks ago✅ Simplify tests for `tests/test_tutorial/test_code_structure/test_tutorial001.py...
Sebastián Ramírez [Thu, 19 Jun 2025 16:19:22 +0000 (18:19 +0200)] 
✅ Simplify tests for `tests/test_tutorial/test_code_structure/test_tutorial001.py`, one test file for multiple variants (#1408)

2 weeks ago📝 Update release notes
github-actions [Thu, 19 Jun 2025 14:29:48 +0000 (14:29 +0000)] 
📝 Update release notes

[skip ci]

2 weeks ago✅ Simplify tests setup, one test file for multiple source variants (#1407)
Sebastián Ramírez [Thu, 19 Jun 2025 14:29:32 +0000 (16:29 +0200)] 
✅ Simplify tests setup, one test file for multiple source variants (#1407)

2 weeks ago📝 Update release notes
github-actions [Thu, 19 Jun 2025 13:23:47 +0000 (13:23 +0000)] 
📝 Update release notes

[skip ci]

2 weeks ago✅ Refactor tests to use autouse `clear_sqlmodel` (#1406)
Sebastián Ramírez [Thu, 19 Jun 2025 13:23:26 +0000 (15:23 +0200)] 
✅ Refactor tests to use autouse `clear_sqlmodel` (#1406)

3 weeks ago📝 Update release notes
github-actions [Wed, 11 Jun 2025 21:26:35 +0000 (21:26 +0000)] 
📝 Update release notes

[skip ci]

3 weeks ago📝 Update release notes
github-actions [Wed, 11 Jun 2025 21:26:22 +0000 (21:26 +0000)] 
📝 Update release notes

[skip ci]

3 weeks ago📝 Update release notes
github-actions [Wed, 11 Jun 2025 21:26:21 +0000 (21:26 +0000)] 
📝 Update release notes

[skip ci]

3 weeks ago📝 Update release notes
github-actions [Wed, 11 Jun 2025 21:26:11 +0000 (21:26 +0000)] 
📝 Update release notes

[skip ci]

3 weeks ago⬆ Bump mkdocs-material from 9.5.18 to 9.6.14 (#1378)
dependabot[bot] [Wed, 11 Jun 2025 21:26:01 +0000 (23:26 +0200)] 
⬆ Bump mkdocs-material from 9.5.18 to 9.6.14 (#1378)

Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.18 to 9.6.14.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.18...9.6.14)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-version: 9.6.14
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 weeks ago⬆ Bump cairosvg from 2.7.1 to 2.8.2 (#1383)
dependabot[bot] [Wed, 11 Jun 2025 21:25:48 +0000 (23:25 +0200)] 
⬆ Bump cairosvg from 2.7.1 to 2.8.2 (#1383)

Bumps [cairosvg](https://github.com/Kozea/CairoSVG) from 2.7.1 to 2.8.2.
- [Release notes](https://github.com/Kozea/CairoSVG/releases)
- [Changelog](https://github.com/Kozea/CairoSVG/blob/main/NEWS.rst)
- [Commits](https://github.com/Kozea/CairoSVG/compare/2.7.1...2.8.2)

---
updated-dependencies:
- dependency-name: cairosvg
  dependency-version: 2.8.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 weeks ago⬆ Bump typer from 0.15.3 to 0.16.0 (#1393)
dependabot[bot] [Wed, 11 Jun 2025 21:25:39 +0000 (23:25 +0200)] 
⬆ Bump typer from 0.15.3 to 0.16.0 (#1393)

Bumps [typer](https://github.com/fastapi/typer) from 0.15.3 to 0.16.0.
- [Release notes](https://github.com/fastapi/typer/releases)
- [Changelog](https://github.com/fastapi/typer/blob/master/docs/release-notes.md)
- [Commits](https://github.com/fastapi/typer/compare/0.15.3...0.16.0)

---
updated-dependencies:
- dependency-name: typer
  dependency-version: 0.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 weeks ago⬆ Bump ruff from 0.11.7 to 0.11.13 (#1397)
dependabot[bot] [Wed, 11 Jun 2025 21:25:30 +0000 (23:25 +0200)] 
⬆ Bump ruff from 0.11.7 to 0.11.13 (#1397)

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.7 to 0.11.13.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.11.7...0.11.13)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.11.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 weeks ago📝 Update release notes 1366/head
github-actions [Thu, 22 May 2025 09:28:09 +0000 (09:28 +0000)] 
📝 Update release notes

[skip ci]

6 weeks ago🔧 Remove Google Analytics (#1386)
Sebastián Ramírez [Thu, 22 May 2025 09:27:34 +0000 (11:27 +0200)] 
🔧 Remove Google Analytics (#1386)

8 weeks ago📝 Update release notes
github-actions [Sun, 11 May 2025 17:13:55 +0000 (17:13 +0000)] 
📝 Update release notes

[skip ci]

8 weeks ago🍱 Update SVG files, a single file per diagram, sans-serif fonts (#1373)
Sebastián Ramírez [Sun, 11 May 2025 17:13:38 +0000 (19:13 +0200)] 
🍱 Update SVG files, a single file per diagram, sans-serif fonts (#1373)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2 months ago📝 Update release notes
github-actions [Tue, 6 May 2025 08:11:19 +0000 (08:11 +0000)] 
📝 Update release notes

[skip ci]

2 months ago📝 Grammar tweak in `docs/tutorial/insert.md` (#1368)
Brett Cannon [Tue, 6 May 2025 08:10:34 +0000 (01:10 -0700)] 
📝 Grammar tweak in `docs/tutorial/insert.md` (#1368)

2 months ago📝 Update release notes
github-actions [Tue, 6 May 2025 08:09:32 +0000 (08:09 +0000)] 
📝 Update release notes

[skip ci]

2 months ago📝 Update release notes
github-actions [Tue, 6 May 2025 08:09:12 +0000 (08:09 +0000)] 
📝 Update release notes

[skip ci]

2 months ago📝 Update release notes
github-actions [Tue, 6 May 2025 08:08:49 +0000 (08:08 +0000)] 
📝 Update release notes

[skip ci]

2 months ago📝 Update `docs/tutorial/fastapi/relationships.md` (#1365)
砂糖橘 [Tue, 6 May 2025 08:08:46 +0000 (16:08 +0800)] 
📝 Update `docs/tutorial/fastapi/relationships.md` (#1365)

2 months ago📝 Update release notes
github-actions [Tue, 6 May 2025 08:08:23 +0000 (08:08 +0000)] 
📝 Update release notes

[skip ci]

2 months ago📝 Update release notes
github-actions [Tue, 6 May 2025 08:08:16 +0000 (08:08 +0000)] 
📝 Update release notes

[skip ci]

2 months ago⬆ Bump mkdocs-macros-plugin from 1.0.5 to 1.3.7 (#1354)
dependabot[bot] [Tue, 6 May 2025 08:07:21 +0000 (10:07 +0200)] 
⬆ Bump mkdocs-macros-plugin from 1.0.5 to 1.3.7 (#1354)

Bumps [mkdocs-macros-plugin](https://github.com/fralau/mkdocs_macros_plugin) from 1.0.5 to 1.3.7.
- [Release notes](https://github.com/fralau/mkdocs_macros_plugin/releases)
- [Changelog](https://github.com/fralau/mkdocs-macros-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fralau/mkdocs_macros_plugin/compare/v1.0.5...v1.3.7)

---
updated-dependencies:
- dependency-name: mkdocs-macros-plugin
  dependency-version: 1.3.7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago⬆ Bump griffe-typingdoc from 0.2.5 to 0.2.8 (#1359)
dependabot[bot] [Tue, 6 May 2025 08:07:09 +0000 (10:07 +0200)] 
⬆ Bump griffe-typingdoc from 0.2.5 to 0.2.8 (#1359)

Bumps [griffe-typingdoc](https://github.com/mkdocstrings/griffe-typingdoc) from 0.2.5 to 0.2.8.
- [Release notes](https://github.com/mkdocstrings/griffe-typingdoc/releases)
- [Changelog](https://github.com/mkdocstrings/griffe-typingdoc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/griffe-typingdoc/compare/0.2.5...0.2.8)

---
updated-dependencies:
- dependency-name: griffe-typingdoc
  dependency-version: 0.2.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago📝 Update release notes
github-actions [Tue, 6 May 2025 08:06:58 +0000 (08:06 +0000)] 
📝 Update release notes

[skip ci]

2 months ago⬆ Update pre-commit requirement from <4.0.0,>=2.17.0 to >=2.17.0,<5.0.0 (#1360)
dependabot[bot] [Tue, 6 May 2025 08:06:56 +0000 (10:06 +0200)] 
⬆ Update pre-commit requirement from <4.0.0,>=2.17.0 to >=2.17.0,<5.0.0 (#1360)

Updates the requirements on [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.17.0...v4.2.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-version: 4.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago⬆ Bump pillow from 11.0.0 to 11.2.1 (#1361)
dependabot[bot] [Tue, 6 May 2025 08:06:44 +0000 (10:06 +0200)] 
⬆ Bump pillow from 11.0.0 to 11.2.1 (#1361)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 11.0.0 to 11.2.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/11.0.0...11.2.1)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 11.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago⬆ [pre-commit.ci] pre-commit autoupdate (#1367)
pre-commit-ci[bot] [Tue, 6 May 2025 08:06:24 +0000 (10:06 +0200)] 
⬆ [pre-commit.ci] pre-commit autoupdate (#1367)

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.7 → v0.11.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.7...v0.11.8)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2 months ago📝 Update release notes
github-actions [Fri, 2 May 2025 21:52:01 +0000 (21:52 +0000)] 
📝 Update release notes

[skip ci]

2 months ago✏️ Tweak the grammar in `docs/learn/index.md` (#1363)
Brett Cannon [Fri, 2 May 2025 21:51:40 +0000 (14:51 -0700)] 
✏️ Tweak the grammar in `docs/learn/index.md` (#1363)

2 months ago📝 Update release notes
github-actions [Wed, 30 Apr 2025 15:02:27 +0000 (15:02 +0000)] 
📝 Update release notes

[skip ci]

2 months ago⬆ Bump ruff from 0.9.6 to 0.11.7 (#1355)
dependabot[bot] [Wed, 30 Apr 2025 15:01:33 +0000 (17:01 +0200)] 
⬆ Bump ruff from 0.9.6 to 0.11.7 (#1355)

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.9.6 to 0.11.7.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.9.6...0.11.7)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.11.7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago📝 Update release notes
github-actions [Wed, 30 Apr 2025 15:01:19 +0000 (15:01 +0000)] 
📝 Update release notes

[skip ci]

2 months ago📝 Update release notes
github-actions [Wed, 30 Apr 2025 15:00:54 +0000 (15:00 +0000)] 
📝 Update release notes

[skip ci]

2 months ago⬆ [pre-commit.ci] pre-commit autoupdate (#1353)
pre-commit-ci[bot] [Wed, 30 Apr 2025 15:00:50 +0000 (17:00 +0200)] 
⬆ [pre-commit.ci] pre-commit autoupdate (#1353)

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.6 → v0.11.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.6...v0.11.7)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2 months ago📝 Update release notes
github-actions [Wed, 30 Apr 2025 15:00:32 +0000 (15:00 +0000)] 
📝 Update release notes

[skip ci]

2 months ago⬆ Bump typing-extensions from 4.12.2 to 4.13.2 (#1356)
dependabot[bot] [Wed, 30 Apr 2025 15:00:30 +0000 (17:00 +0200)] 
⬆ Bump typing-extensions from 4.12.2 to 4.13.2 (#1356)

Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.12.2 to 4.13.2.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.12.2...4.13.2)

---
updated-dependencies:
- dependency-name: typing-extensions
  dependency-version: 4.13.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago⬆ Bump typer from 0.15.2 to 0.15.3 (#1357)
dependabot[bot] [Wed, 30 Apr 2025 15:00:13 +0000 (17:00 +0200)] 
⬆ Bump typer from 0.15.2 to 0.15.3 (#1357)

Bumps [typer](https://github.com/fastapi/typer) from 0.15.2 to 0.15.3.
- [Release notes](https://github.com/fastapi/typer/releases)
- [Changelog](https://github.com/fastapi/typer/blob/master/docs/release-notes.md)
- [Commits](https://github.com/fastapi/typer/compare/0.15.2...0.15.3)

---
updated-dependencies:
- dependency-name: typer
  dependency-version: 0.15.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago📝 Update release notes
github-actions [Mon, 28 Apr 2025 09:05:41 +0000 (09:05 +0000)] 
📝 Update release notes

[skip ci]

2 months ago⬆ [pre-commit.ci] pre-commit autoupdate (#1339)
pre-commit-ci[bot] [Mon, 28 Apr 2025 09:05:00 +0000 (11:05 +0200)] 
⬆ [pre-commit.ci] pre-commit autoupdate (#1339)

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.2 → v0.11.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.2...v0.11.6)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
2 months ago📝 Update release notes
github-actions [Sun, 27 Apr 2025 18:59:53 +0000 (18:59 +0000)] 
📝 Update release notes

[skip ci]

2 months ago⬆ Bump typer from 0.12.3 to 0.15.2 (#1325)
dependabot[bot] [Sun, 27 Apr 2025 18:59:37 +0000 (18:59 +0000)] 
⬆ Bump typer from 0.12.3 to 0.15.2 (#1325)

Bumps [typer](https://github.com/fastapi/typer) from 0.12.3 to 0.15.2.
- [Release notes](https://github.com/fastapi/typer/releases)
- [Changelog](https://github.com/fastapi/typer/blob/master/docs/release-notes.md)
- [Commits](https://github.com/fastapi/typer/compare/0.12.3...0.15.2)

---
updated-dependencies:
- dependency-name: typer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2 months ago📝 Update release notes
github-actions [Sun, 27 Apr 2025 18:54:00 +0000 (18:54 +0000)] 
📝 Update release notes

[skip ci]

2 months ago📝 Update all docs references to `Optional` to use the new syntax in Python 3.10,...
Sebastián Ramírez [Sun, 27 Apr 2025 18:53:37 +0000 (20:53 +0200)] 
📝 Update all docs references to `Optional` to use the new syntax in Python 3.10, e.g. `int | None` (#1351)

2 months ago📝 Update release notes
github-actions [Sun, 27 Apr 2025 13:20:16 +0000 (13:20 +0000)] 
📝 Update release notes

[skip ci]

2 months ago📝 Update install and usage with FastAPI CLI in FastAPI tutorial (#1350)
Sebastián Ramírez [Sun, 27 Apr 2025 13:19:59 +0000 (15:19 +0200)] 
📝 Update install and usage with FastAPI CLI in FastAPI tutorial (#1350)

2 months ago📝 Update release notes
github-actions [Sun, 27 Apr 2025 13:02:59 +0000 (13:02 +0000)] 
📝 Update release notes

[skip ci]

2 months ago📝 Update FastAPI tutorial docs to use the new `model.sqlmodel_update()` instead of...
Joel Pérez Izquierdo [Sun, 27 Apr 2025 13:02:41 +0000 (14:02 +0100)] 
📝 Update FastAPI tutorial docs to use the new `model.sqlmodel_update()` instead of old `setattr()` (#1117)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2 months ago📝 Update release notes
github-actions [Sun, 27 Apr 2025 11:47:52 +0000 (11:47 +0000)] 
📝 Update release notes

[skip ci]

2 months ago⬆ Bump httpx from 0.24.1 to 0.28.1 (#1238)
dependabot[bot] [Sun, 27 Apr 2025 11:47:36 +0000 (11:47 +0000)] 
⬆ Bump httpx from 0.24.1 to 0.28.1 (#1238)

Bumps [httpx](https://github.com/encode/httpx) from 0.24.1 to 0.28.1.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/httpx/compare/0.24.1...0.28.1)

---
updated-dependencies:
- dependency-name: httpx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago📝 Update release notes
github-actions [Sun, 27 Apr 2025 11:46:54 +0000 (11:46 +0000)] 
📝 Update release notes

[skip ci]

2 months ago⬆ Bump astral-sh/setup-uv from 5 to 6 (#1348)
dependabot[bot] [Sun, 27 Apr 2025 11:46:30 +0000 (11:46 +0000)] 
⬆ Bump astral-sh/setup-uv from 5 to 6 (#1348)

Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 5 to 6.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](https://github.com/astral-sh/setup-uv/compare/v5...v6)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago📝 Update release notes
github-actions [Sun, 27 Apr 2025 11:36:49 +0000 (11:36 +0000)] 
📝 Update release notes

[skip ci]

2 months ago⬆ Update pytest requirement from <8.0.0,>=7.0.1 to >=7.0.1,<9.0.0 (#1022)
dependabot[bot] [Sun, 27 Apr 2025 11:36:32 +0000 (13:36 +0200)] 
⬆ Update pytest requirement from <8.0.0,>=7.0.1 to >=7.0.1,<9.0.0 (#1022)

Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.0.1...8.2.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago📝 Update release notes
github-actions [Sun, 27 Apr 2025 11:32:06 +0000 (11:32 +0000)] 
📝 Update release notes

[skip ci]

2 months ago♻️ Update `tests/test_select_gen.py`, pass environment variables, needed for NixOS...
Peder Bergebakken Sundt [Sun, 27 Apr 2025 11:31:49 +0000 (13:31 +0200)] 
♻️ Update `tests/test_select_gen.py`, pass environment variables, needed for NixOS nixpkgs (#969)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2 months ago📝 Update release notes
github-actions [Sat, 26 Apr 2025 19:04:30 +0000 (19:04 +0000)] 
📝 Update release notes

[skip ci]

2 months ago💚 Fix linting in CI (#1340)
Sofie Van Landeghem [Sat, 26 Apr 2025 19:04:09 +0000 (21:04 +0200)] 
💚 Fix linting in CI (#1340)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
3 months ago📝 Update release notes
github-actions [Mon, 31 Mar 2025 08:56:10 +0000 (08:56 +0000)] 
📝 Update release notes

[skip ci]

3 months ago⬆ [pre-commit.ci] pre-commit autoupdate (#1327)
pre-commit-ci[bot] [Mon, 31 Mar 2025 08:55:50 +0000 (10:55 +0200)] 
⬆ [pre-commit.ci] pre-commit autoupdate (#1327)

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.0 → v0.11.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.0...v0.11.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
3 months ago📝 Update release notes
github-actions [Mon, 31 Mar 2025 08:55:41 +0000 (08:55 +0000)] 
📝 Update release notes

[skip ci]

3 months ago✏️ Update `docs/virtual-environments.md` (#1321)
sylvain hellin [Mon, 31 Mar 2025 08:55:22 +0000 (10:55 +0200)] 
✏️ Update `docs/virtual-environments.md` (#1321)

3 months ago📝 Update release notes
github-actions [Tue, 18 Mar 2025 07:23:16 +0000 (07:23 +0000)] 
📝 Update release notes

[skip ci]

3 months ago⬆ Bump jinja2 from 3.1.4 to 3.1.6 (#1317)
dependabot[bot] [Tue, 18 Mar 2025 07:22:57 +0000 (08:22 +0100)] 
⬆ Bump jinja2 from 3.1.4 to 3.1.6 (#1317)

Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago📝 Update release notes
github-actions [Tue, 18 Mar 2025 07:22:45 +0000 (07:22 +0000)] 
📝 Update release notes

[skip ci]

3 months ago⬆ [pre-commit.ci] pre-commit autoupdate (#1319)
pre-commit-ci[bot] [Tue, 18 Mar 2025 07:22:27 +0000 (08:22 +0100)] 
⬆ [pre-commit.ci] pre-commit autoupdate (#1319)

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.9 → v0.11.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.9...v0.11.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
3 months ago📝 Update release notes
github-actions [Sun, 16 Mar 2025 20:32:27 +0000 (20:32 +0000)] 
📝 Update release notes

[skip ci]

3 months ago⬆️ Drop support for Python 3.7, require Python 3.8 or above (#1316)
Sofie Van Landeghem [Sun, 16 Mar 2025 20:32:07 +0000 (21:32 +0100)] 
⬆️ Drop support for Python 3.7, require Python 3.8 or above (#1316)

4 months ago🔖 Release version 0.0.24 0.0.24
Sebastián Ramírez [Fri, 7 Mar 2025 05:40:27 +0000 (06:40 +0100)] 
🔖 Release version 0.0.24

4 months ago📝 Update release notes
github-actions [Fri, 7 Mar 2025 03:26:57 +0000 (03:26 +0000)] 
📝 Update release notes

[skip ci]

4 months ago⬆ [pre-commit.ci] pre-commit autoupdate (#1114)
pre-commit-ci[bot] [Fri, 7 Mar 2025 03:26:23 +0000 (03:26 +0000)] 
⬆ [pre-commit.ci] pre-commit autoupdate (#1114)

* ⬆ [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0)
- [github.com/astral-sh/ruff-pre-commit: v0.6.5 → v0.9.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.5...v0.9.9)

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
4 months ago📝 Update release notes
github-actions [Fri, 7 Mar 2025 03:22:03 +0000 (03:22 +0000)] 
📝 Update release notes

[skip ci]

4 months ago⬆ Bump ruff from 0.6.2 to 0.9.6 (#1294)
dependabot[bot] [Fri, 7 Mar 2025 03:21:45 +0000 (04:21 +0100)] 
⬆ Bump ruff from 0.6.2 to 0.9.6 (#1294)

* ⬆ Bump ruff from 0.6.2 to 0.9.6

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.2 to 0.9.6.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.2...0.9.6)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
* format with ruff 0.9.6

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

* also bump in pre-commit config

* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: svlandeg <sofie.vanlandeghem@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
4 months ago📝 Update release notes
github-actions [Thu, 6 Mar 2025 18:59:00 +0000 (18:59 +0000)] 
📝 Update release notes

[skip ci]

4 months ago⬆️ Add support for Python 3.13 (#1289)
Sofie Van Landeghem [Thu, 6 Mar 2025 18:58:40 +0000 (19:58 +0100)] 
⬆️ Add support for Python 3.13 (#1289)

4 months ago🔖 Release version 0.0.23 0.0.23
Sebastián Ramírez [Fri, 28 Feb 2025 16:54:40 +0000 (17:54 +0100)] 
🔖 Release version 0.0.23

4 months ago📝 Update release notes
github-actions [Fri, 28 Feb 2025 14:23:55 +0000 (14:23 +0000)] 
📝 Update release notes

[skip ci]

4 months ago🩺 Take the GH badge only from pushes to the `main` branch (#1291)
Sofie Van Landeghem [Fri, 28 Feb 2025 14:22:27 +0000 (15:22 +0100)] 
🩺 Take the GH badge only from pushes to the `main` branch (#1291)

4 months ago📝 Update release notes
github-actions [Fri, 28 Feb 2025 14:04:48 +0000 (14:04 +0000)] 
📝 Update release notes

[skip ci]

4 months ago🐛 Fix type annotation in `Field` constructor (#1304)
Alan Bogarin [Fri, 28 Feb 2025 14:04:27 +0000 (11:04 -0300)] 
🐛 Fix type annotation in `Field` constructor (#1304)

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
4 months ago📝 Update release notes
github-actions [Fri, 28 Feb 2025 14:01:34 +0000 (14:01 +0000)] 
📝 Update release notes

[skip ci]

4 months ago🐛 Fix Pydantic version check for version 2.10.x onwards (#1255)
Andrey Siunov [Fri, 28 Feb 2025 14:01:13 +0000 (06:01 -0800)] 
🐛 Fix Pydantic version check for version 2.10.x onwards (#1255)

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
4 months ago📝 Update release notes
github-actions [Fri, 28 Feb 2025 13:59:12 +0000 (13:59 +0000)] 
📝 Update release notes

[skip ci]

4 months ago📝 Update documentation to refer to `list` instead of `List` (#1147)
bubbletroubles [Fri, 28 Feb 2025 13:58:52 +0000 (00:58 +1100)] 
📝 Update documentation to refer to `list` instead of `List` (#1147)

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: svlandeg <svlandeg@github.com>
4 months ago📝 Update release notes
github-actions [Mon, 24 Feb 2025 10:23:21 +0000 (10:23 +0000)] 
📝 Update release notes

[skip ci]

4 months ago⬆ Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 (#1277)
dependabot[bot] [Mon, 24 Feb 2025 10:22:59 +0000 (11:22 +0100)] 
⬆ Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 (#1277)

Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.12.3 to 1.12.4.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.3...v1.12.4)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
4 months ago📝 Update release notes
github-actions [Mon, 24 Feb 2025 09:18:56 +0000 (09:18 +0000)] 
📝 Update release notes

[skip ci]

4 months ago💚 Fix CI test suite for Python 3.7 (#1309)
Sofie Van Landeghem [Mon, 24 Feb 2025 09:18:24 +0000 (10:18 +0100)] 
💚 Fix CI test suite for Python 3.7 (#1309)