2019-05-19 10:07:54 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-flask-sqlalchemy: updated to 2.4.0
Version 2.4.0
- Make engine configuration more flexible.
- Address SQLAlchemy 1.3 deprecations.
- get_or_404() and first_or_404() now accept a description
parameter to control the 404 message.
- Use time.perf_counter for Python 3 on Windows.
- Drop support for Python 2.6 and 3.3.
- Add an example of Flask's tutorial project, Flaskr, adapted for
Flask-SQLAlchemy.
|
2017-12-12 10:53:24 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-flaks-sqlalchemy: updated to 2.3.2
Version 2.3.2
- Don't mask the parent table for single-table inheritance models.
Version 2.3.1
- 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.
- Raise the correct error when a model has a table name but no primary key.
- Fix repr on models that don't have an identity because they have not been
flushed yet.
- Allow specifying a max_per_page limit for pagination, to avoid users
specifying high values in the request args.
- For paginate with error_out=False, the minimum value for page is
1 and per_page is 0.
Version 2.3.0
- 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.
- 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.
- 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.
- 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.
- Models have a default repr that shows the model name and primary key.
- 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.
|
2017-07-31 00:32:28 by Thomas Klausner | Files touched by this commit (229) |
Log message:
Switch github HOMEPAGEs to https.
|
2017-03-14 15:49:01 by Klaus Klein | Files touched by this commit (2) |
Log message:
Update py-flask-sqlalchemy to 2.2.
Version 2.2
-----------
Released on February 27, 2017, codename Dubnium
- 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`_)
.. _#328: https://github.com/mitsuhiko/flask-sqlalchemy/pull/328
.. _#364: https://github.com/mitsuhiko/flask-sqlalchemy/pull/364
.. _#373: https://github.com/mitsuhiko/flask-sqlalchemy/pull/373
.. _#409: https://github.com/mitsuhiko/flask-sqlalchemy/pull/409
.. _#443: https://github.com/mitsuhiko/flask-sqlalchemy/pull/443
.. _#460: https://github.com/mitsuhiko/flask-sqlalchemy/pull/460
.. _#461: https://github.com/mitsuhiko/flask-sqlalchemy/pull/461
.. _#467: https://github.com/mitsuhiko/flask-sqlalchemy/pull/467
|
2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356) |
Log message:
Switch to MASTER_SITES_PYPI.
|
2015-10-26 19:48:55 by Klaus Klein | Files touched by this commit (2) |
Log message:
Update py-flask-sqlalchemy to 2.1.
Version 2.1
-----------
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.
|
2014-12-31 14:57:34 by Thomas Klausner | Files touched by this commit (125) |
Log message:
Improve EGG_NAME default to work for packages with '-' in their name.
Remove now unnecessary overrides in various packages.
|
2014-10-23 16:42:06 by Klaus Klein | Files touched by this commit (2) |
Log message:
Update py-flask-sqlalchemy to 2.0.
Version 2.0
-----------
Released on August 29th 2014, codename Bohrium
- Changed how the builtin signals are subscribed to skip non
Flask-SQLAlchemy sessions. This will also fix the attribute error about
model changes not existing.
- Added a way to control how signals for model modifications are tracked.
- Made the ``SignallingSession`` a public interface and added a hook
for customizing session creation.
- If the ``bind`` parameter is given to the signalling session it will no
longer cause an error that a parameter is given twice.
- Added working table reflection support.
- Enabled autoflush by default.
- Consider ``SQLALCHEMY_COMMIT_ON_TEARDOWN`` harmful and remove from docs.
|
2013-08-04 15:47:10 by Klaus Klein | Files touched by this commit (3) |  |
Log message:
Update py-flask-sqlalchemy to 1.0.
Version 1.0
-----------
(Released on July 20th 2013, no codename)
- Added Python 3.3 support.
- Dropped 2.5 compatibility.
- Various bugfixes
- Changed versioning format to do major releases for each update now.
|
2013-01-09 20:02:44 by Klaus Klein | Files touched by this commit (7) |
Log message:
Sprinkle empty USE_LANGUAGES definitions in pure python packages
where missed at import time.
|