Skip to content
This repository
Newer
Older
100644 213 lines (179 sloc) 8.545 kb
260b4dfe »
2010-04-20 Added changelog, restructured docs a bit.
1 Flask Changelog
2 ===============
3
4 Here you can see the full list of changes between each Flask release.
5
16b101ed »
2010-07-27 HEAD is 0.7-dev
6 Version 0.7
7 -----------
8
9 Release date to be announced, codename to be selected
10
952967fc »
2010-07-28 In 0.7, make_default_options_response is a public API
11 - Added :meth:`~flask.Flask.make_default_options_response`
12 which can be used by subclasses to alter the default
13 behaviour for `OPTIONS` responses.
faa1c71e »
2010-08-07 Request local objects now fail properly with a RuntimeError. This fixes
14 - Unbound locals now raise a proper :exc:`RuntimeError` instead
15 of an :exc:`AttributeError`.
fda14678 »
2010-08-07 Deprecated send_file etag support and mimetype guessing for file-like…
16 - Mimetype guessing and etag support based on file objects is now
17 deprecated for :func:`flask.send_file` because it was unreliable.
18 Pass filenames instead or attach your own etags and provide a
19 proper mimetype by hand.
1d2a308c »
2010-10-19 merged
20 - Static file handling for modules now requires the name of the
21 static folder to be supplied explicitly. The previous autodetection
22 was not reliable and caused issues on Google's App Engine. Until
23 1.0 the old behaviour will continue to work but issue dependency
24 warnings.
25 - fixed a problem for Flask to run on jython.
8569dfee »
2010-11-29 Added a PROPAGATE_EXCEPTIONS flag
26 - added a `PROPAGATE_EXCEPTIONS` configuration variable that can be
27 used to flip the setting of exception propagation which previously
28 was linked to `DEBUG` alone and is now linked to either `DEBUG` or
29 `TESTING`.
99be2ec0 »
2011-01-16 Flask no longer internally depends on rules being added through the a…
30 - Flask no longer internally depends on rules being added through the
31 `add_url_rule` function and can now also accept regular werkzeug
32 rules added to the url map.
785e94bf »
2011-01-24 Added changelog entry and entry into authors file
33 - Added an `endpoint` method to the flask application object which
34 allows one to register a callback to an arbitrary endpoint with
35 a decorator.
0bf777ed »
2011-02-05 Do not use Date, use Last-Modified. This fixes #164
36 - Use Last-Modified for static file sending instead of Date which
37 was incorrectly introduced in 0.6.
00c5b7a9 »
2011-02-21 added create_jinja_loader
38 - Added `create_jinja_loader` to override the loader creation process.
34a49471 »
2011-03-14 Documented some changes in config handling.
39 - Implemented a silent flag for `config.from_pyfile`.
04e70bd5 » glyphobet
2011-03-14 Add teardown_request decorator. Fixes issue #174
40 - Added `teardown_request` decorator, for functions that should run at the end
115d31dd »
2011-05-27 More documentation updates
41 of a request regardless of whether an exception occurred. Also the behavior
42 for `after_request` was changed. It's now no longer executed when an exception
43 is raised. See :ref:`upgrading-to-new-teardown-handling`
fbd48867 »
2011-03-14 Implemented flask.has_request_context()
44 - Implemented :func:`flask.has_request_context`
3c7b5a68 »
2011-04-18 Changelog entry
45 - Added :func:`safe_join`
2a81c8a8 »
2011-05-24 Documented change
46 - The automatic JSON request data unpacking now looks at the charset
47 mimetype parameter.
34e69338 »
2011-05-24 Documented change in flashing
48 - Don't modify the session on :func:`flask.get_flashed_messages` if there
49 are no messages in the session.
115d31dd »
2011-05-27 More documentation updates
50 - `before_request` handlers are now able to abort requests with errors.
952967fc »
2010-07-28 In 0.7, make_default_options_response is a public API
51
8a14a875 »
2010-07-28 Added the upcoming bugfix release to the mainbranches CHANGES
52 Version 0.6.1
53 -------------
54
4c766075 »
2010-12-31 Released 0.6.1
55 Bugfix release, released on December 31st 2010
16b101ed »
2010-07-27 HEAD is 0.7-dev
56
dbf55de7 »
2010-07-28 Fixed an issue where the default `OPTIONS` response was
57 - Fixed an issue where the default `OPTIONS` response was
58 not exposing all valid methods in the `Allow` header.
a3a84399 »
2010-08-09 normpath is now used before loading templates
59 - Jinja2 template loading syntax now allows "./" in front of
60 a template load path. Previously this caused issues with
61 module setups.
6e3dd9b3 »
2010-08-20 Added a changelog entry for #108
62 - Fixed an issue where the subdomain setting for modules was
63 ignored for the static folder.
b92120b1 »
2010-12-23 Documented security fix in changelog
64 - Fixed a security problem that allowed clients to download arbitrary files
65 if the host server was a windows based operating system and the client
66 uses backslashes to escape the directory the files where exposed from.
dbf55de7 »
2010-07-28 Fixed an issue where the default `OPTIONS` response was
67
3f7ab179 »
2010-07-06 HEAD is 0.6-dev
68 Version 0.6
69 -----------
70
5cadd9d3 »
2010-07-27 Picked codename for 0.6
71 Released on July 27th 2010, codename Whisky
3f7ab179 »
2010-07-06 HEAD is 0.6-dev
72
d12d7326 »
2010-07-12 Reverse order of execution of post-request handlers. This fixes #82
73 - after request functions are now called in reverse order of
74 registration.
5e1b1030 »
2010-07-12 Added support for automagic OPTIONS
75 - OPTIONS is now automatically implemented by Flask unless the
ed517c72 » jasondavies
2010-11-13 Minor spelling fixes
76 application explicitly adds 'OPTIONS' as method to the URL rule.
5e1b1030 »
2010-07-12 Added support for automagic OPTIONS
77 In this case no automatic OPTIONS handling kicks in.
ed16ae21 »
2010-07-13 Always register URL rules. This fixes #81
78 - static rules are now even in place if there is no static folder
79 for the module. This was implemented to aid GAE which will
80 remove the static folder if it's part of a mapping in the .yml
81 file.
aa3d8398 »
2010-07-13 Config is now available in templates, context processors no longer ov…
82 - the :attr:`~flask.Flask.config` is now available in the templates
83 as `config`.
84 - context processors will no longer override values passed directly
85 to the render function.
b1790cca »
2010-07-14 Added MAX_CONTENT_LENGTH config key
86 - added the ability to limit the incoming request data with the
87 new ``MAX_CONTENT_LENGTH`` configuration value.
4aeb4456 »
2010-07-15 Documented change
88 - the endpoint for the :meth:`flask.Module.add_url_rule` method
89 is now optional to be consistent with the function of the
90 same name on the application object.
6fc14923 »
2010-07-17 Added make_response
91 - added a :func:`flask.make_response` function that simplifies
92 creating response object instances in views.
e0712b47 »
2010-07-17 Added support for signals
93 - added signalling support based on blinker. This feature is currently
94 optional and supposed to be used by extensions and applications. If
95 you want to use it, make sure to have `blinker`_ installed.
ed517c72 » jasondavies
2010-11-13 Minor spelling fixes
96 - refactored the way URL adapters are created. This process is now
405d4492 »
2010-07-17 Documented more changes
97 fully customizable with the :meth:`~flask.Flask.create_url_adapter`
98 method.
7680d52f »
2010-07-23 Added support for subdomain bound modules
99 - modules can now register for a subdomain instead of just an URL
100 prefix. This makes it possible to bind a whole module to a
101 configurable subdomain.
e0712b47 »
2010-07-17 Added support for signals
102
103 .. _blinker: http://pypi.python.org/pypi/blinker
d12d7326 »
2010-07-12 Reverse order of execution of post-request handlers. This fixes #82
104
82b143f9 »
2010-07-15 Changelog entry for 0.5.2
105 Version 0.5.2
106 -------------
107
108 Bugfix Release, released on July 15th 2010
109
110 - fixed another issue with loading templates from directories when
111 modules were used.
112
596ae0ce »
2010-07-06 Updated changelog
113 Version 0.5.1
114 -------------
115
116 Bugfix Release, released on July 6th 2010
117
0a93c552 »
2010-07-06 Fixed a template lookup error
118 - fixes an issue with template loading from directories when modules
119 where used.
596ae0ce »
2010-07-06 Updated changelog
120
528ae04b »
2010-06-18 HEAD is 0.5-dev
121 Version 0.5
122 -----------
123
596ae0ce »
2010-07-06 Updated changelog
124 Released on July 6th 2010, codename Calvados
528ae04b »
2010-06-18 HEAD is 0.5-dev
125
f195d924 »
2010-06-29 Added proper subdomain support
126 - fixed a bug with subdomains that was caused by the inability to
127 specify the server name. The server name can now be set with
60e143ec »
2010-07-06 Documented change regarding the session cookie domain policy in the C…
128 the `SERVER_NAME` config key. This key is now also used to set
129 the session cookie cross-subdomain wide.
7599046d »
2010-07-04 Started working on refactoring Jinja integration
130 - autoescaping is no longer active for all templates. Instead it
131 is only active for ``.html``, ``.htm``, ``.xml`` and ``.xhtml``.
132 Inside templates this behaviour can be changed with the
133 ``autoescape`` tag.
88d9315d »
2010-07-04 We should now have the same public API as before
134 - refactored Flask internally. It now consists of more than a
135 single file.
d0c6ad7d »
2010-07-04 Added support for conditional responses to send_file
136 - :func:`flask.send_file` now emits etags and has the ability to
137 do conditional responses builtin.
fedc06c2 »
2010-07-04 dropped pkg_resources
138 - (temporarily) dropped support for zipped applications. This was a
139 rarely used feature and led to some confusing behaviour.
f694456f »
2010-07-04 Documented changes
140 - added support for per-package template and static-file directories.
362cf493 »
2010-07-04 Documented the create_jinja_loader removal
141 - removed support for `create_jinja_loader` which is no longer used
142 in 0.5 due to the improved module support.
c34b03e9 »
2010-07-05 Documented send_from_directory
143 - added a helper function to expose files from any directory.
f195d924 »
2010-06-29 Added proper subdomain support
144
d29a9765 »
2010-05-28 HEAD is 0.4dev
145 Version 0.4
146 -----------
147
7698c3fd »
2010-06-18 This will become 0.4
148 Released on June 18th 2010, codename Rakia
d29a9765 »
2010-05-28 HEAD is 0.4dev
149
50bca8c2 »
2010-05-31 Updated AUTHORS file and added missing versionadded
150 - added the ability to register application wide error handlers
151 from modules.
93736087 »
2010-06-02 Documented changes in after_request handlers.
152 - :meth:`~flask.Flask.after_request` handlers are now also invoked
153 if the request dies with an exception and an error handling page
154 kicks in.
bc00fd1e »
2010-06-03 Added support for deferred context cleanup. test_client users can now…
155 - test client has not the ability to preserve the request context
156 for a little longer. This can also be used to trigger custom
157 requests that do not pop the request stack for testing.
9983e847 »
2010-06-03 Fixed after_request handlers being called twice in some cases and imp…
158 - because the Python standard library caches loggers, the name of
159 the logger is configurable now to better support unittests.
f5fb4576 »
2010-06-07 Added TESTING flag. This fixes #58.
160 - added `TESTING` switch that can activate unittesting helpers.
fe35105b »
2010-06-18 Updated design decisions. This fixes #63
161 - the logger switches to `DEBUG` mode now if debug is enabled.
50bca8c2 »
2010-05-31 Updated AUTHORS file and added missing versionadded
162
6cb0855e »
2010-05-28 Fixed an error reporting bug with flask.Config.from_envvar
163 Version 0.3.1
164 -------------
165
596ae0ce »
2010-07-06 Updated changelog
166 Bugfix release, released on May 28th 2010
6cb0855e »
2010-05-28 Fixed an error reporting bug with flask.Config.from_envvar
167
168 - fixed a error reporting bug with :meth:`flask.Config.from_envvar`
dba42ae9 »
2010-05-28 Added missing message
169 - removed some unused code from flask
8e4bcaf5 »
2010-05-28 Fixed build process
170 - release does no longer include development leftover files (.git
171 folder for themes, built documentation in zip and pdf file and
172 some .pyc files)
6cb0855e »
2010-05-28 Fixed an error reporting bug with flask.Config.from_envvar
173
ce6e4cbd »
2010-05-28 0.5 is 0.3 now, why skip numbers?
174 Version 0.3
07581b24 »
2010-05-12 HEAD is 0.5-dev
175 -----------
176
7698c3fd »
2010-06-18 This will become 0.4
177 Released on May 28th 2010, codename Schnaps
07581b24 »
2010-05-12 HEAD is 0.5-dev
178
35ed617f »
2010-05-17 Added support for flashing categories.
179 - added support for categories for flashed messages.
e7f67e13 »
2010-05-17 Added logging support.
180 - the application now configures a :class:`logging.Handler` and will
181 log request handling exceptions to that logger when not in debug
182 mode. This makes it possible to receive mails on server errors
183 for example.
ef0dc180 »
2010-05-24 Added interactive Python docs, fixed part style.
184 - added support for context binding that does not require the use of
185 the with statement for playing in the console.
186 - the request context is now available within the with statement making
187 it possible to further push the request context or pop it.
6913dc17 »
2010-05-28 Added missing changelog entry
188 - added support for configurations.
35ed617f »
2010-05-17 Added support for flashing categories.
189
260b4dfe »
2010-04-20 Added changelog, restructured docs a bit.
190 Version 0.2
191 -----------
192
7698c3fd »
2010-06-18 This will become 0.4
193 Released on May 12th 2010, codename Jägermeister
260b4dfe »
2010-04-20 Added changelog, restructured docs a bit.
194
195 - various bugfixes
196 - integrated JSON support
197 - added :func:`~flask.get_template_attribute` helper function.
198 - :meth:`~flask.Flask.add_url_rule` can now also register a
199 view function.
b0ab1270 »
2010-05-12 Added logo with new slogan
200 - refactored internal request dispatching.
9cf2ea2a »
2010-04-20 Documented hostname change.
201 - server listens on 127.0.0.1 by default now to fix issues with chrome.
75461c14 »
2010-05-02 Added _external support to url_for
202 - added external URL support.
2d87e9bc »
2010-05-10 Added support for send_file
203 - added support for :func:`~flask.send_file`
b93ec146 »
2010-05-04 Documented module changes in CHANGES
204 - module support and internal request handling refactoring
205 to better support pluggable applications.
b0ab1270 »
2010-05-12 Added logo with new slogan
206 - sessions can be set to be permanent now on a per-session basis.
207 - better error reporting on missing secret keys.
208 - added support for Google Appengine.
260b4dfe »
2010-04-20 Added changelog, restructured docs a bit.
209
210 Version 0.1
211 -----------
212
213 First public preview release.
Something went wrong with that request. Please try again.