Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update flask-sqlalchemy to 2.3.0 #1285

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Contributor

There's a new version of Flask-SQLAlchemy available.
You are currently using 2.2. I have updated it to 2.3.0

These links might come in handy: PyPI | Changelog | Repo | Docs

Changelog

2.3.0


Released on September 28, 2017

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

.. _530: pallets-eco/flask-sqlalchemy#530
.. _541: pallets-eco/flask-sqlalchemy#541
.. _546: pallets-eco/flask-sqlalchemy#546
.. _547: pallets-eco/flask-sqlalchemy#547

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

@ghost
Copy link

ghost commented Sep 28, 2017

Can one of the admins verify this patch?

@@ -5,7 +5,7 @@ Flask-Bcrypt==0.7.1
Flask-Marshmallow==0.8.0
Flask-Migrate==2.1.1
Flask-Script==2.0.5
Flask-SQLAlchemy==2.2
Flask-SQLAlchemy==2.3.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ghost
Copy link

ghost commented Oct 2, 2017

Can one of the admins verify this patch?

@pyup-bot
Copy link
Contributor Author

pyup-bot commented Oct 4, 2017

Closing this in favor of #1296

@pyup-bot pyup-bot closed this Oct 4, 2017
@quis quis deleted the pyup-update-flask-sqlalchemy-2.2-to-2.3.0 branch October 4, 2017 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants