Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented May 17, 2019

Bumps flask-sqlalchemy from 2.1 to 2.4.0.

Release notes

Sourced from flask-sqlalchemy's releases.

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)

2.3.1

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)

2.3.0

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.
... (truncated)
Changelog

Sourced from flask-sqlalchemy's changelog.

Version 2.4.0

Released 2019-04-24

  • Make engine configuration more flexible. (684)
  • Address SQLAlchemy 1.3 deprecations. (684)
  • get_or_404() and first_or_404() now accept a description parameter to control the 404 message. (636)
  • Use time.perf_counter for Python 3 on Windows. (638)
  • Drop support for Python 2.6 and 3.3. (687)
  • Add an example of Flask's tutorial project, Flaskr, adapted for Flask-SQLAlchemy. (720)

Version 2.3.3

Fix "AttributeError: 'NoneType' object has no attribute 'info'", when using polymorphic models. (#651)

Version 2.3.2

Released 2017-10-11

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

Version 2.3.1

Released 2017-10-05

  • 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)

Version 2.3.0

Released 2017-09-28

  • 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)

Version 2.2

... (truncated)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@codecov
Copy link

codecov bot commented May 17, 2019

Codecov Report

Merging #5919 into development will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           development    #5919   +/-   ##
============================================
  Coverage        66.48%   66.48%           
============================================
  Files              286      286           
  Lines            13931    13931           
============================================
  Hits              9262     9262           
  Misses            4669     4669

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac6fd48...da7cff7. Read the comment docs.

@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/flask-sqlalchemy-2.4.0 branch 2 times, most recently from 95d9bfa to 75f96d0 Compare May 18, 2019 06:14
@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/flask-sqlalchemy-2.4.0 branch from 75f96d0 to da7cff7 Compare May 18, 2019 06:20
@iamareebjamal iamareebjamal merged commit 8afca99 into development May 18, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/pip/flask-sqlalchemy-2.4.0 branch May 18, 2019 08:10
mrsaicharan1 pushed a commit to mrsaicharan1/open-event-server that referenced this pull request May 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants