Fastapi-sqla

Latest version: v3.4.6

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 11

3.1.1

Not secure
Fix

* fix: publish failed because of pytest-watch - DIA-65344 (115) ([`4dc9710`](https://github.com/dialoguemd/fastapi-sqla/commit/4dc971022fb2d92cbb83a4d56d718d673afbfe93))

Unknown

* 3.1.1

Version generated by python-semantic-release [ci skip] ([`bf34a93`](https://github.com/dialoguemd/fastapi-sqla/commit/bf34a93c2f56229189790bcc29e00e745724cec0))

3.1.0

Chore

* chore(deps): update circleci orbs (112)

Co-authored-by: Renovate Bot <renovatewhitesourcesoftware.com> ([`9ffd1a1`](https://github.com/dialoguemd/fastapi-sqla/commit/9ffd1a13cebf4991cf31c05dadab75f55d76f588))

* chore(deps): update postgres docker tag to v14.10 (110)

Co-authored-by: Renovate Bot <renovatewhitesourcesoftware.com> ([`fab16de`](https://github.com/dialoguemd/fastapi-sqla/commit/fab16de6770393a0cbc25056661ec418803190e3))

Feature

* feat: Add support for SQLModel - DIA-65344 (114)

Problem

* FastAPI-SQLA is not compatible with [SQLModel](https://sqlmodel.tiangolo.com/).

Solution

* Instantiate an SQLModel session if sqlmodel can be imported.
* SQLAlchemy&39;s `sessionmaker` expect a `class_` argument and because
SQLModel&39;s Session inherits from SQLAlchemy&39;s Session, it just works.

Also:
* Move `fastapi_sqla.models.Base` to `fastapi_sqla.sqla`: It is not a
model but the SQLAlchemy declarative base. ([`cd535b2`](https://github.com/dialoguemd/fastapi-sqla/commit/cd535b2d3cd3148afab121b873bac304dab12d86))

Unknown

* 3.1.0

Version generated by python-semantic-release [ci skip] ([`afd12ab`](https://github.com/dialoguemd/fastapi-sqla/commit/afd12abdcbbd756ba677243740cfd42f75c1918e))

3.0.2

Not secure
Fix

* fix: pytest plugin event-loop deprecation warning (111) ([`19b2c87`](https://github.com/dialoguemd/fastapi-sqla/commit/19b2c87404aeb60f8a0ba0667f064a24749ffba2))

Unknown

* 3.0.2

Version generated by python-semantic-release [ci skip] ([`7836600`](https://github.com/dialoguemd/fastapi-sqla/commit/7836600d79abadf4da6dcdecb758ca79f1965fbc))

3.0.1

Not secure
Chore

* chore(deps): update circleci orbs (109)

Co-authored-by: Renovate Bot <renovatewhitesourcesoftware.com> ([`5bbc073`](https://github.com/dialoguemd/fastapi-sqla/commit/5bbc07322445654b623e7d03306386e767358af5))

Fix

* fix(pytest_plugin): dont_patch_engines marker writes to db - DIA-61984 (108) ([`8f76222`](https://github.com/dialoguemd/fastapi-sqla/commit/8f76222976728fe2fa33a2508c36797e1f6eda24))

Unknown

* 3.0.1

Version generated by python-semantic-release [ci skip] ([`70003f2`](https://github.com/dialoguemd/fastapi-sqla/commit/70003f2d6a33a9890a2b92f6fb0679aff36d9baf))

3.0.0

Not secure
Breaking

* feat: support multiple sessions - DIA-61984 (105)

Introduce support for multiple sessions running in parallel.

BREAKING CHANGE: Drop support for python versions lower than 3.9

BREAKING CHANGE: Remove support for configuring a separate async session with async_sqlalchemy_url.

The supported way is now to use an async dialect in the default connection string, or use another session with the proper format.

BREAKING CHANGE: The Session, AsyncSession, Paginate and AsyncPaginate dependencies are now using the Annotated form recommended by FastAPI since version 0.95.0.

Change the usage of the dependencies like:

Before:

session: Session = Depends()

After:

session: Session ([`ffe58ee`](https://github.com/dialoguemd/fastapi-sqla/commit/ffe58eead6b63dc6b8fde5c6edf52f7c792b0618))

Unknown

* 3.0.0

Version generated by python-semantic-release [ci skip] ([`5f256b5`](https://github.com/dialoguemd/fastapi-sqla/commit/5f256b5f94421316ddb5cdb0b6ef11ee455f79fa))

2.10.1

Not secure
Fix

* fix: async middleware is equivalent to sync middleware - DIA-61984 (107) ([`c2d73f6`](https://github.com/dialoguemd/fastapi-sqla/commit/c2d73f63039ef14593fa617f4d8fbe185d48c937))

Unknown

* 2.10.1

Version generated by python-semantic-release [ci skip] ([`3897fd3`](https://github.com/dialoguemd/fastapi-sqla/commit/3897fd3578ce55670196bdd9c58ff3aaa2230816))

Page 3 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.