Skip to content

2.3.1

Compare
Choose a tag to compare
@davidism davidism released this 04 Oct 22:04
be45a9b

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)