forked from pallets-eco/flask-sqlalchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
117 lines (85 loc) · 3.08 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
Changelog
=========
Here you can see the full list of changes between each Flask-SQLAlchemy
release.
Version 3.0
-----------
In development, codename Dubnium
- Added support for custom ``query_class`` and ``model_class`` as args
to the ``SQLAlchemy`` constructor.
- Fix minimum SQLAlchemy version requirement (0.8 or above), due to use
of ``sqlalchemy.inspect``.
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.
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.
Version 1.0
-----------
Released on July 20th 2013, codename Aurum
- Added Python 3.3 support.
- Dropped 2.5 compatibility.
- Various bugfixes
- Changed versioning format to do major releases for each update now.
Version 0.16
------------
- New distribution format (flask_sqlalchemy)
- Added support for Flask 0.9 specifics.
Version 0.15
------------
- Added session support for multiple databases
Version 0.14
------------
- Make relative sqlite paths relative to the application root.
Version 0.13
------------
- Fixed an issue with Flask-SQLAlchemy not selecting the correct binds.
Version 0.12
------------
- Added support for multiple databases.
- Expose Flask-SQLAlchemy's BaseQuery as `db.Query`.
- Set default query_class for `db.relation`, `db.relationship`, and
`db.dynamic_loader` to Flask-SQLAlchemy's BaseQuery.
- Improved compatibility with Flask 0.7.
Version 0.11
------------
- Fixed a bug introduced in 0.10 with alternative table constructors.
Version 0.10
------------
- Added support for signals.
- Table names are now automatically set from the class name unless
overriden.
- Model.query now always works for applications directly passed to
the SQLAlchemy constructor. Furthermore the property now raises
an RuntimeError instead of being None.
- added session options to constructor.
- fixed a broken `__repr__`
- `db.Table` is now a factor function that creates table objects.
This makes it possible to omit the metadata.
Version 0.9
-----------
- applied changes to pass the Flask extension approval process.
Version 0.8
-----------
- added a few configuration keys for creating connections.
- automatically activate connection recycling for MySQL connections.
- added support for the Flask testing mode.
Version 0.7
-----------
- Initial public release