Flask-sqlalchemy-compat

Latest version: v0.2.2

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

Scan your dependencies

Page 1 of 2

0.2.2

:wrench: Fix

1. Fix: Correct typos in the docstrings.

0.2.1

:wrench: Fix

1. Fix: Remove unwanted printed information.
2. Fix: Fix the typos in the docstrings.
3. Fix: Correct the `usage.py` where the instance path and the engine options are not configured properly.
4. Fix: `utilities.clone_method` and `utilities.clone_function` does not provide correct signature in run time. Correct the signature manually.

:floppy_disk: Change

1. Adjust the project information. This change is mainly targeted for adding the documentation link.

0.2.0

:mega: New

1. Make `backends.fsa` and `backends.fsa_lite` protected by `backends.proxy`. The other parts of this project will access backends module by this newly added `proxy`. This change allows users to deliberately change `proxy` for testing purposes. For example, the users can disable `flask-sqlalchemy` by setting `proxy.fsa = None` even if the package is already installed.
2. Provide two new methods `get_flask_sqlalchemy_proxy_ver(...)` and `get_flask_sqlalchemy_lite_proxy_ver(...)`. In run time, they are totally the same as `get_flask_sqlalchemy(...)` and `get_flask_sqlalchemy_lite(...)`, respectively. The only difference is that the returned values of `_proxy_ver(...)` are notated by the the proxy classes like `SQLAlchemyProxy`. Users can use these methods to check the compatibility with the falling back version via the static type checker.
3. Add three examples (demos): `examples.app_fsqla`, `examples.app_fsqla_lite`, `usage`.
4. Add unit tests and the corresponding configurations.
5. Add the GitHub workflow for running the unit tests.

:wrench: Fix

1. Fix: When the module is reloaded, accessing the `SQLAlchemyProxy().Model.query` may cause `RuntimeError`. Now, this error has been catched.
2. Fix: Prevent `flake8` from raising `F722` when working with older python versions (`Python<3.10`).

:floppy_disk: Change

1. Update the metadata of the package. The chages are made for adjusting the new optional dependencies and tests.
2. Update the project information for preparing to upload a new PyPI release.

0.1.3

:wrench: Fix

1. Fix: Previously, running `db.init_app(...)` outside the app context will fail if `db` is provided by the proxy class. Now, the `init_app` can be used without limitations.

:floppy_disk: Change

1. Adjust the readme file to make the examples consistent with the `db.init_app` behavior in the new version.

0.1.2

:wrench: Fix

1. Fix: Adjust the dependency versions to make the requirements satisfy the usage in `Python=3.13`.

0.1.1

:wrench: Fix

1. Fix: Stabilize the backend import when using `Python=3.7`, where the compatible backend will provide an version that would not be overridden by other installations.
2. Fix: Correct the package information. The package should be zip-safe and does not include extra data.
3. Fix: Correct some out-of-date information in the readme file.
4. Fix: Make some type hint excluded from the run time to improve the stability.
5. Fix: Adjust the dependency versions to match the requirements specified in `flask-sqlalchemy-lite`.

:floppy_disk: Change

1. Add more files to the exclude list of `black`.

Page 1 of 2

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.