Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

Scheduled monthly dependency update for October #40

Merged
merged 1 commit into from
Oct 3, 2017

Conversation

pyup-bot
Copy link
Contributor

@pyup-bot pyup-bot commented Oct 1, 2017

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

Flask-SQLAlchemy 2.2 » 2.3.0 PyPI | Changelog | Repo | Docs

Changelogs

Flask-SQLAlchemy 2.2 -> 2.3.0

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

That's it for now!

Happy merging! 🤖

@b-reich b-reich merged commit 886942f into develop Oct 3, 2017
@b-reich b-reich deleted the pyup-scheduled-update-10-01-2017 branch October 3, 2017 09:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants