]>
git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/log
Sebastián Ramírez [Sun, 29 Oct 2023 08:00:58 +0000 (12:00 +0400)]
✅ Add test to ensure sa_type is not passed with sa_column
Sebastián Ramírez [Sun, 29 Oct 2023 08:00:37 +0000 (12:00 +0400)]
♻️ Refactor checking for sa_type
Sebastián Ramírez [Sun, 29 Oct 2023 07:55:17 +0000 (11:55 +0400)]
Merge branch 'main' into main
github-actions [Sun, 29 Oct 2023 07:25:17 +0000 (07:25 +0000)]
📝 Update release notes
Matthieu LAURENT [Sun, 29 Oct 2023 07:24:32 +0000 (08:24 +0100)]
🎨 Update inline source examples, hide `#` in annotations (from MkDocs Material) (#677)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Sat, 28 Oct 2023 13:55:56 +0000 (13:55 +0000)]
📝 Update release notes
Sebastián Ramírez [Sat, 28 Oct 2023 13:55:23 +0000 (17:55 +0400)]
✨ Do not allow invalid combinations of field parameters for columns and relationships, `sa_column` excludes `sa_column_args`, `primary_key`, `nullable`, etc. (#681)
* ♻️ Make sa_column exclusive, do not allow incompatible arguments, sa_column_args, primary_key, etc
* ✅ Add tests for new errors when incorrectly using sa_column
* ✅ Add tests for sa_column_args and sa_column_kwargs
* ♻️ Do not allow sa_relationship with sa_relationship_args or sa_relationship_kwargs
* ✅ Add tests for relationship errors
* ✅ Fix test for sa_column_args
Sebastián Ramírez [Thu, 26 Oct 2023 14:34:49 +0000 (18:34 +0400)]
🔖 Release version 0.0.10
github-actions [Thu, 26 Oct 2023 14:32:59 +0000 (14:32 +0000)]
📝 Update release notes
Sebastián Ramírez [Thu, 26 Oct 2023 14:32:26 +0000 (18:32 +0400)]
🔧 Adopt Ruff for formatting (#679)
github-actions [Thu, 26 Oct 2023 10:18:41 +0000 (10:18 +0000)]
📝 Update release notes
Daniil Fajnberg [Thu, 26 Oct 2023 10:18:05 +0000 (12:18 +0200)]
✨ Add support for all `Field` parameters from Pydantic `1.9.0` and above, make Pydantic `1.9.0` the minimum required version (#440)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sebastián Ramírez [Mon, 23 Oct 2023 21:01:18 +0000 (01:01 +0400)]
🔖 Release version 0.0.9
Sebastián Ramírez [Mon, 23 Oct 2023 20:59:49 +0000 (00:59 +0400)]
📝 Update release notes
github-actions [Mon, 23 Oct 2023 20:46:39 +0000 (20:46 +0000)]
📝 Update release notes
github-actions [Mon, 23 Oct 2023 20:46:26 +0000 (20:46 +0000)]
📝 Update release notes
Simon Weiß [Mon, 23 Oct 2023 20:46:05 +0000 (22:46 +0200)]
📝 Clarify description of in-memory SQLite database in `docs/tutorial/create-db-and-table.md` (#601)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
pre-commit-ci[bot] [Mon, 23 Oct 2023 20:45:45 +0000 (00:45 +0400)]
⬆ [pre-commit.ci] pre-commit autoupdate (#672)
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)
- [github.com/asottile/pyupgrade: v3.7.0 → v3.15.0](https://github.com/asottile/pyupgrade/compare/v3.7.0...v3.15.0)
- https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit
- [github.com/astral-sh/ruff-pre-commit: v0.0.275 → v0.1.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.275...v0.1.1)
- [github.com/psf/black: 23.3.0 → 23.10.0](https://github.com/psf/black/compare/23.3.0...23.10.0)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
github-actions [Mon, 23 Oct 2023 20:37:48 +0000 (20:37 +0000)]
📝 Update release notes
Sebastián Ramírez [Mon, 23 Oct 2023 20:37:07 +0000 (00:37 +0400)]
📝 Tweak wording in `docs/tutorial/fastapi/multiple-models.md` (#674)
Co-authored-by: Luis Benitez <lbenitez000@gmail.com>
github-actions [Mon, 23 Oct 2023 19:22:23 +0000 (19:22 +0000)]
📝 Update release notes
PookieBuns [Mon, 23 Oct 2023 19:21:38 +0000 (12:21 -0700)]
✏️ Fix contributing instructions to run tests, update script name (#634)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Mon, 23 Oct 2023 17:22:58 +0000 (17:22 +0000)]
📝 Update release notes
Abenezer Belachew [Mon, 23 Oct 2023 17:22:22 +0000 (11:22 -0600)]
📝 Update link to docs for intro to databases (#593)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Mon, 23 Oct 2023 17:06:30 +0000 (17:06 +0000)]
📝 Update release notes
dependabot[bot] [Mon, 23 Oct 2023 17:05:55 +0000 (21:05 +0400)]
⬆ Bump dawidd6/action-download-artifact from 2.24.2 to 2.28.0 (#660)
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2.24.2 to 2.28.0.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v2.24.2...v2.28.0)
---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
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>
github-actions [Mon, 23 Oct 2023 16:56:29 +0000 (16:56 +0000)]
📝 Update release notes
Jon Michaelchuck [Mon, 23 Oct 2023 16:55:53 +0000 (09:55 -0700)]
📝 Update docs, use `offset` in example with `limit` and `where` (#273)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Mon, 23 Oct 2023 16:29:36 +0000 (16:29 +0000)]
📝 Update release notes
Jerry Wu [Mon, 23 Oct 2023 16:28:51 +0000 (00:28 +0800)]
📝 Fix docs for Pydantic's fields using `le` (`lte` is invalid, use `le` ) (#207)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Mon, 23 Oct 2023 15:33:44 +0000 (15:33 +0000)]
📝 Update release notes
Sebastián Ramírez [Mon, 23 Oct 2023 15:33:08 +0000 (19:33 +0400)]
✅ Refactor OpenAPI FastAPI tests to simplify updating them later, this moves things around without changes (#671)
github-actions [Mon, 23 Oct 2023 15:32:48 +0000 (15:32 +0000)]
📝 Update release notes
dependabot[bot] [Mon, 23 Oct 2023 15:32:09 +0000 (19:32 +0400)]
⬆ Bump actions/checkout from 3 to 4 (#670)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/checkout
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>
github-actions [Mon, 23 Oct 2023 15:16:53 +0000 (15:16 +0000)]
📝 Update release notes
Michael Oliver [Mon, 23 Oct 2023 15:16:17 +0000 (16:16 +0100)]
🔧 Update mypy config, use `strict = true` instead of manual configs (#428)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Mon, 23 Oct 2023 14:58:52 +0000 (14:58 +0000)]
📝 Update release notes
Arseny Boykov [Mon, 23 Oct 2023 14:58:16 +0000 (17:58 +0300)]
🐛 Fix `AsyncSession` type annotations for `exec()` (#58)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Mon, 23 Oct 2023 13:59:53 +0000 (13:59 +0000)]
📝 Update release notes
Daniil Fajnberg [Mon, 23 Oct 2023 13:59:06 +0000 (13:59 +0000)]
🐛 Fix allowing using a `ForeignKey` directly, remove repeated column construction from `SQLModelMetaclass.__init__` and upgrade minimum SQLAlchemy to `>=1.4.36` (#443)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Mon, 23 Oct 2023 11:22:53 +0000 (11:22 +0000)]
📝 Update release notes
Sandro Tosi [Mon, 23 Oct 2023 11:22:10 +0000 (07:22 -0400)]
⬆️ Upgrade support for SQLAlchemy 1.4.49, update tests (#519)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
github-actions [Mon, 23 Oct 2023 09:40:31 +0000 (09:40 +0000)]
📝 Update release notes
Daniil Fajnberg [Mon, 23 Oct 2023 09:39:55 +0000 (09:39 +0000)]
⬆ Raise SQLAlchemy version requirement to at least `1.4.29` (related to #434) (#439)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Mon, 23 Oct 2023 09:23:24 +0000 (09:23 +0000)]
📝 Update release notes
Sebastián Ramírez [Mon, 23 Oct 2023 09:22:44 +0000 (13:22 +0400)]
🐛 Fix enum type checks ordering in `get_sqlalchemy_type` (#669)
Co-authored-by: Pierre Cheynier <p.cheynier@criteo.com>
github-actions [Mon, 23 Oct 2023 08:15:40 +0000 (08:15 +0000)]
📝 Update release notes
Sebastián Ramírez [Mon, 23 Oct 2023 08:15:05 +0000 (12:15 +0400)]
⬆️ Upgrade MkDocs Material (#668)
github-actions [Mon, 23 Oct 2023 08:12:08 +0000 (08:12 +0000)]
📝 Update release notes
Sebastián Ramírez [Mon, 23 Oct 2023 08:11:36 +0000 (12:11 +0400)]
🎨 Update docs format and references with pre-commit and Ruff (#667)
github-actions [Mon, 23 Oct 2023 07:47:04 +0000 (07:47 +0000)]
📝 Update release notes
Sebastián Ramírez [Mon, 23 Oct 2023 07:46:31 +0000 (11:46 +0400)]
🎨 Run pre-commit on all files and autoformat (#666)
github-actions [Mon, 23 Oct 2023 07:35:25 +0000 (07:35 +0000)]
📝 Update release notes
Sebastián Ramírez [Mon, 23 Oct 2023 07:34:50 +0000 (11:34 +0400)]
👷 Move to Ruff and add pre-commit (#661)
* 👷 Add pre-commit
* 🔧 Add pyproject.toml config for Ruff
* ➕ Replace isort, flake8, autoflake with Ruff
* 🔨 Update lint and format scripts
* 🎨 Format with Ruff
* 🔧 Update Poetry config
github-actions [Mon, 23 Oct 2023 06:43:04 +0000 (06:43 +0000)]
📝 Update release notes
David Danier [Mon, 23 Oct 2023 06:42:30 +0000 (08:42 +0200)]
✨ Raise a more clear error when a type is not valid (#425)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Sun, 22 Oct 2023 12:55:08 +0000 (12:55 +0000)]
📝 Update release notes
Matvey Fedoseev [Sun, 22 Oct 2023 12:54:36 +0000 (13:54 +0100)]
📝 Update outdated link in `docs/db-to-code.md` (#649)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Sun, 22 Oct 2023 12:51:20 +0000 (12:51 +0000)]
📝 Update release notes
Kian-Meng Ang [Sun, 22 Oct 2023 12:50:44 +0000 (20:50 +0800)]
✏️ Fix typos found with codespell (#520)
Found via `codespell -S *.svg,*.css,*.js,*.drawio -L pullrequest,sesion`
github-actions [Sun, 22 Oct 2023 12:47:27 +0000 (12:47 +0000)]
📝 Update release notes
Dipendra Raj Panta [Sun, 22 Oct 2023 12:46:52 +0000 (18:31 +0545)]
📝 Fix typos (duplication) in main page (#631)
* Update README.md
* Update index.md
github-actions [Sun, 22 Oct 2023 12:27:13 +0000 (12:27 +0000)]
📝 Update release notes
Ben Rapaport [Sun, 22 Oct 2023 12:26:37 +0000 (08:26 -0400)]
📝 Update release notes, add second author to PR (#429)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Sun, 22 Oct 2023 12:04:24 +0000 (12:04 +0000)]
📝 Update release notes
Jorge Alvarado [Sun, 22 Oct 2023 12:03:51 +0000 (09:03 -0300)]
📝 Update instructions about how to make a foreign key required in `docs/tutorial/relationship-attributes/define-relationships-attributes.md` (#474)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Sun, 22 Oct 2023 12:02:24 +0000 (12:02 +0000)]
📝 Update release notes
byrman [Sun, 22 Oct 2023 12:01:51 +0000 (14:01 +0200)]
🐛 Fix SQLAlchemy version 1.4.36 breaks SQLModel relationships (#315) (#461)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Sun, 22 Oct 2023 10:03:26 +0000 (10:03 +0000)]
📝 Update release notes
Sugato Ray [Sun, 22 Oct 2023 10:02:53 +0000 (05:02 -0500)]
🛠️ Add `CITATION.cff` file for academic citations (#13)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
github-actions [Tue, 1 Aug 2023 09:19:41 +0000 (09:19 +0000)]
📝 Update release notes
Sebastián Ramírez [Tue, 1 Aug 2023 09:18:53 +0000 (11:18 +0200)]
👷 Update docs deployments to Cloudflare (#630)
github-actions [Mon, 31 Jul 2023 19:53:00 +0000 (19:53 +0000)]
📝 Update release notes
github-actions [Mon, 31 Jul 2023 19:52:51 +0000 (19:52 +0000)]
📝 Update release notes
github-actions [Mon, 31 Jul 2023 19:48:54 +0000 (19:48 +0000)]
📝 Update release notes
Sebastián Ramírez [Mon, 31 Jul 2023 19:48:21 +0000 (21:48 +0200)]
👷 Update CI debug mode with Tmate (#629)
github-actions [Mon, 31 Jul 2023 19:39:15 +0000 (19:39 +0000)]
📝 Update release notes
Sebastián Ramírez [Mon, 31 Jul 2023 19:38:43 +0000 (21:38 +0200)]
👷 Update latest changes token (#616)
Sebastián Ramírez [Mon, 31 Jul 2023 15:15:43 +0000 (17:15 +0200)]
👷♂️ Upgrade CI for docs (#628)
Sebastián Ramírez [Sat, 29 Jul 2023 10:32:47 +0000 (12:32 +0200)]
🗑️ Deprecate Python 3.6 and upgrade Poetry and Poetry Version Plugin (#627)
github-actions [Tue, 21 Feb 2023 11:02:54 +0000 (11:02 +0000)]
📝 Update release notes
Sebastián Ramírez [Tue, 21 Feb 2023 11:02:18 +0000 (12:02 +0100)]
⬆️ Upgrade analytics (#558)
github-actions [Fri, 3 Feb 2023 17:53:01 +0000 (17:53 +0000)]
📝 Update release notes
Sebastián Ramírez [Fri, 3 Feb 2023 17:52:25 +0000 (18:52 +0100)]
📝 Update help SQLModel docs (#548)
github-actions [Tue, 31 Jan 2023 14:14:55 +0000 (14:14 +0000)]
📝 Update release notes
Sebastián Ramírez [Tue, 31 Jan 2023 14:14:16 +0000 (15:14 +0100)]
🔧 Update new issue chooser to point to GitHub Discussions (#546)
github-actions [Mon, 30 Jan 2023 10:50:32 +0000 (10:50 +0000)]
📝 Update release notes
Sebastián Ramírez [Mon, 30 Jan 2023 10:49:56 +0000 (11:49 +0100)]
🔧 Add template for GitHub Discussion questions and update issues template (#544)
Sebastián Ramírez [Fri, 16 Dec 2022 20:52:07 +0000 (00:52 +0400)]
Merge branch 'main' into main
github-actions [Fri, 16 Dec 2022 18:46:26 +0000 (18:46 +0000)]
📝 Update release notes
Sebastián Ramírez [Fri, 16 Dec 2022 18:45:51 +0000 (22:45 +0400)]
👷 Refactor CI artifact upload/download for docs previews (#514)
Maruo [Wed, 14 Dec 2022 14:58:43 +0000 (23:58 +0900)]
fix error in no Field Column
Maruo [Wed, 14 Dec 2022 14:57:57 +0000 (23:57 +0900)]
fix typo
Maruo [Wed, 23 Nov 2022 04:42:01 +0000 (13:42 +0900)]
Merge branch 'main' into main
github-actions [Sat, 12 Nov 2022 06:44:52 +0000 (06:44 +0000)]
📝 Update release notes
Colin Marquardt [Sat, 12 Nov 2022 06:44:19 +0000 (07:44 +0100)]
✏️ Fix typo in internal function name `get_sqlachemy_type()` (#496)
Corrected name is get_sqlalchemy_type().
github-actions [Sat, 12 Nov 2022 06:38:16 +0000 (06:38 +0000)]
📝 Update release notes
dependabot[bot] [Sat, 12 Nov 2022 06:37:34 +0000 (07:37 +0100)]
⬆ Bump actions/cache from 2 to 3 (#497)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions [Fri, 11 Nov 2022 17:30:42 +0000 (17:30 +0000)]
📝 Update release notes
David Brochart [Fri, 11 Nov 2022 17:30:09 +0000 (18:30 +0100)]
✏️ Fix typo in docs (#446)
* Fix typo
* Again
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>