Recent Releases of flask-sqlalchemy

flask-sqlalchemy -

This is a quick extra change to 3.1.0 which was released earlier today. It deprecates the __version__ attribute, to be removed in 3.2. Pallets projects in general are doing this to encourage feature detection or using the standard importlib.metadata.version(name) instead.

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/3.1.x/changes/#version-3-1-1
  • Milestone: https://github.com/pallets-eco/flask-sqlalchemy/milestone/19?closed=1

- Python
Published by github-actions[bot] over 2 years ago

flask-sqlalchemy -

This is a feature release, which includes new features and removes previously deprecated code. The 3.1.x branch is now the supported bug fix branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades.

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/3.1.x/changes/#version-3-1-0
  • Milestone: https://github.com/pallets-eco/flask-sqlalchemy/milestone/15?closed=1

- Python
Published by github-actions[bot] over 2 years ago

flask-sqlalchemy -

This is a fix release for the 3.0.x feature release. It fixes a pagination issue and improves typing.

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/3.0.x/changes/#version-3-0-5
  • Milestone: https://github.com/pallets-eco/flask-sqlalchemy/milestone/18

- Python
Published by github-actions[bot] over 2 years ago

flask-sqlalchemy -

This is a fix release for the 3.0.x feature release. It updates some typing related issues.

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/3.0.x/changes/#version-3-0-4

- Python
Published by github-actions[bot] over 2 years ago

flask-sqlalchemy -

An SLSA provenance file for the build is available to download from the GitHub release page.

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/3.0.x/changes/#version-3-0-3
  • Milestone: https://github.com/pallets-eco/flask-sqlalchemy/milestone/17?closed=1

- Python
Published by github-actions[bot] about 3 years ago

flask-sqlalchemy -

This is a fix release for the 3.0.x feature release. It updates compatibility with SQLAlchemy 2.0 beta 1.

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/3.0.x/changes/#version-3-0-2
  • Milestone: https://github.com/pallets-eco/flask-sqlalchemy/milestone/16?closed=1

- Python
Published by davidism over 3 years ago

flask-sqlalchemy -

This is a fix release for the 3.0.x feature release.

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/3.0.x/changes/#version-3-0-1
  • Milestone: https://github.com/pallets-eco/flask-sqlalchemy/milestone/14?closed=1

- Python
Published by davidism over 3 years ago

flask-sqlalchemy -

This is a feature release, which includes new features and removes previously deprecated code. The 3.0.x branch is now the supported bug fix branch, the 2.x branch will become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades.

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/3.0.x/changes/#version-3-0-0
  • Milestone: https://github.com/pallets-eco/flask-sqlalchemy/milestone/2?closed=1

- Python
Published by davidism over 3 years ago

flask-sqlalchemy -

This is a prerelease to preview the changes in 3.0, the next feature release. Prereleases are an opportunity to test and update your projects early before the final release.

pip install -U --pre Flask-SQLAlchemy

There were significant changes in https://github.com/pallets-eco/flask-sqlalchemy/pull/1087, see the changelog for a full list. Many of those changes will raise deprecation warnings, but it was not feasible to implement warnings for some things.

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/latest/changes/#version-3-0-0
  • Milestone: https://github.com/pallets-eco/flask-sqlalchemy/milestone/2?closed=1

- Python
Published by davidism over 3 years ago

flask-sqlalchemy -

This is a prerelease to preview the changes in 3.0, the next feature release. Prereleases are an opportunity to test and update your projects early before the final release.

pip install -U --pre Flask-SQLAlchemy

There were significant changes in https://github.com/pallets-eco/flask-sqlalchemy/pull/1087, see the changelog for a full list. Many of those changes will raise deprecation warnings, but it was not feasible to implement warnings for some things.

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/latest/changes/#version-3-0-0
  • Milestone: https://github.com/pallets-eco/flask-sqlalchemy/milestone/2?closed=1

- Python
Published by davidism over 3 years ago

flask-sqlalchemy -

Fixed compatibility with SQLAlchemy 1.4 and Python 2.7.

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/2.x/changelog/#version-2-5-1

- Python
Published by davidism almost 5 years ago

flask-sqlalchemy -

Fixed compatibility with SQLAlchemy 1.4.

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/2.x/changelog/#version-2-5-0

- Python
Published by davidism almost 5 years ago

flask-sqlalchemy -

Fixes an issue with CPython 3.8.4.

  • Changelog: https://flask-sqlalchemy.palletsprojects.com/en/2.x/changelog/#version-2-4-4

- Python
Published by davidism over 5 years ago

flask-sqlalchemy - 2.4.3

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/2.x/changelog/#version-2-4-3

- Python
Published by davidism over 5 years ago

flask-sqlalchemy - 2.4.2

  • Changes: https://flask-sqlalchemy.palletsprojects.com/en/2.x/changelog/#version-2-4-2

- Python
Published by davidism over 5 years ago

flask-sqlalchemy -

- Python
Published by davidism over 6 years ago

flask-sqlalchemy -

- Python
Published by davidism over 6 years ago

flask-sqlalchemy - 2.3.2

Install or upgrade

Install from PyPI with pip:

pip install -U Flask-SQLAlchemy

Changelog

  • Don't mask the parent table for single-table inheritance models. (#561)

- Python
Published by davidism over 8 years ago

flask-sqlalchemy -

Install or upgrade

Install from PyPI with pip:

pip install -U Flask-SQLAlchemy

Changelog

  • If a model has a table name that matches an existing table in the metadata, use that table. Fixes a regression where reflected tables were not picked up by models. (#551)
  • Raise the correct error when a model has a table name but no primary key. (#556)
  • Fix repr on models that don't have an identity because they have not been flushed yet. (#555)
  • Allow specifying a max_per_page limit for pagination, to avoid users specifying high values in the request args. (#542)
  • For paginate with error_out=False, the minimum value for page is 1 and per_page is 0. (#558)

- Python
Published by davidism over 8 years ago

flask-sqlalchemy -

Install or upgrade

Install from PyPI with pip:

pip install -U Flask-SQLAlchemy

Changelog

  • Multiple bugs with __tablename__ generation are fixed. Names will be generated for models that define a primary key, but not for single-table inheritance subclasses. Names will not override a declared_attr. PrimaryKeyConstraint is detected. (#541)
  • Passing an existing declarative_base() as model_class to SQLAlchemy.__init__ will use this as the base class instead of creating one. This allows customizing the metaclass used to construct the base. (#546)
  • The undocumented DeclarativeMeta internals that the extension uses for binds and table name generation have been refactored to work as mixins. Documentation is added about how to create a custom metaclass that does not do table name generation. (#546)
  • Model and metaclass code has been moved to a new models module. _BoundDeclarativeMeta is renamed to DefaultMeta; the old name will be removed in 3.0. (#546)
  • Models have a default repr that shows the model name and primary key. (#530)
  • Fixed a bug where using init_app would cause connectors to always use the current_app rather than the app they were created for. This caused issues when multiple apps were registered with the extension. (#547)

- Python
Published by davidism over 8 years ago

flask-sqlalchemy - Dubnium

Install or upgrade

Install from PyPI with pip:

pip install -U Flask-SQLAlchemy

Changelog

  • Minimum SQLAlchemy version is 0.8 due to use of sqlalchemy.inspect.
  • Added support for custom query_class and model_class as args to the SQLAlchemy constructor. (#328)
  • Allow listening to SQLAlchemy events on db.session. (#364)
  • Allow __bind_key__ on abstract models. (#373)
  • Allow SQLALCHEMY_ECHO to be a string. (#409)
  • Warn when SQLALCHEMY_DATABASE_URI is not set. (#443)
  • Don't let pagination generate invalid page numbers. (#460)
  • Drop support of Flask < 0.10. This means the db session is always tied to the app context and its teardown event. (#461)
  • Tablename generation logic no longer accesses class properties unless they are declared_attr. (#467)

- Python
Published by davidism almost 9 years ago

flask-sqlalchemy - Caesium

Released on October 23rd 2015, codename Caesium - Table names are automatically generated in more cases, including subclassing mixins and abstract models. - Allow using a custom MetaData object. - Add support for binds parameter to session.

- Python
Published by immunda over 10 years ago