Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 230 lines (192 sloc) 9.212 kb
260b4df Armin Ronacher Added changelog, restructured docs a bit.
authored
1 Flask Changelog
2 ===============
3
4 Here you can see the full list of changes between each Flask release.
5
5aabc40 Armin Ronacher Added changelog entry
authored
6 Version 0.7.1
7 -------------
8
9 Bugfix release, release date to be decided.
10
11 - Added missing future import that broke 2.5 compatibility.
12
16b101e Armin Ronacher HEAD is 0.7-dev
authored
13 Version 0.7
14 -----------
15
97c54fd Armin Ronacher Correct release date
authored
16 Released on June 28th 2011, codename Grappa
16b101e Armin Ronacher HEAD is 0.7-dev
authored
17
952967f Armin Ronacher In 0.7, make_default_options_response is a public API
authored
18 - Added :meth:`~flask.Flask.make_default_options_response`
19 which can be used by subclasses to alter the default
20 behaviour for `OPTIONS` responses.
faa1c71 Armin Ronacher Request local objects now fail properly with a RuntimeError. This fixes...
authored
21 - Unbound locals now raise a proper :exc:`RuntimeError` instead
22 of an :exc:`AttributeError`.
fda1467 Armin Ronacher Deprecated send_file etag support and mimetype guessing for file-like ob...
authored
23 - Mimetype guessing and etag support based on file objects is now
24 deprecated for :func:`flask.send_file` because it was unreliable.
25 Pass filenames instead or attach your own etags and provide a
26 proper mimetype by hand.
1d2a308 Armin Ronacher merged
authored
27 - Static file handling for modules now requires the name of the
28 static folder to be supplied explicitly. The previous autodetection
29 was not reliable and caused issues on Google's App Engine. Until
30 1.0 the old behaviour will continue to work but issue dependency
31 warnings.
32 - fixed a problem for Flask to run on jython.
8569dfe Armin Ronacher Added a PROPAGATE_EXCEPTIONS flag
authored
33 - added a `PROPAGATE_EXCEPTIONS` configuration variable that can be
34 used to flip the setting of exception propagation which previously
35 was linked to `DEBUG` alone and is now linked to either `DEBUG` or
36 `TESTING`.
99be2ec Armin Ronacher Flask no longer internally depends on rules being added through the add_...
authored
37 - Flask no longer internally depends on rules being added through the
38 `add_url_rule` function and can now also accept regular werkzeug
39 rules added to the url map.
785e94b Armin Ronacher Added changelog entry and entry into authors file
authored
40 - Added an `endpoint` method to the flask application object which
41 allows one to register a callback to an arbitrary endpoint with
42 a decorator.
0bf777e Armin Ronacher Do not use Date, use Last-Modified. This fixes #164
authored
43 - Use Last-Modified for static file sending instead of Date which
44 was incorrectly introduced in 0.6.
00c5b7a Armin Ronacher added create_jinja_loader
authored
45 - Added `create_jinja_loader` to override the loader creation process.
34a4947 Armin Ronacher Documented some changes in config handling.
authored
46 - Implemented a silent flag for `config.from_pyfile`.
04e70bd Matt Chisholm Add teardown_request decorator. Fixes issue #174
glyphobet authored
47 - Added `teardown_request` decorator, for functions that should run at the end
115d31d Armin Ronacher More documentation updates
authored
48 of a request regardless of whether an exception occurred. Also the behavior
49 for `after_request` was changed. It's now no longer executed when an exception
50 is raised. See :ref:`upgrading-to-new-teardown-handling`
fbd4886 Armin Ronacher Implemented flask.has_request_context()
authored
51 - Implemented :func:`flask.has_request_context`
0da56d7 Armin Ronacher deprecated init_jinja_globals
authored
52 - Deprecated `init_jinja_globals`. Override the
53 :meth:`~flask.Flask.create_jinja_environment` method instead to
54 achieve the same functionality.
1c47d8a Simon Sapin Fix a link in the changelog.
SimonSapin authored
55 - Added :func:`flask.safe_join`
2a81c8a Armin Ronacher Documented change
authored
56 - The automatic JSON request data unpacking now looks at the charset
57 mimetype parameter.
34e6933 Armin Ronacher Documented change in flashing
authored
58 - Don't modify the session on :func:`flask.get_flashed_messages` if there
59 are no messages in the session.
115d31d Armin Ronacher More documentation updates
authored
60 - `before_request` handlers are now able to abort requests with errors.
f5ec995 Armin Ronacher Added blueprint specific error handling
authored
61 - it is not possible to define user exception handlers. That way you can
62 provide custom error messages from a central hub for certain errors that
63 might occur during request processing (for instance database connection
64 errors, timeouts from remote resources etc.).
65 - Blueprints can provide blueprint specific error handlers.
ee001e1 Simon Sapin Add a link to pluggable views docs in the changelog.
SimonSapin authored
66 - Implemented generic :ref:`views` (class based views).
952967f Armin Ronacher In 0.7, make_default_options_response is a public API
authored
67
8a14a87 Armin Ronacher Added the upcoming bugfix release to the mainbranches CHANGES
authored
68 Version 0.6.1
69 -------------
70
4c76607 Armin Ronacher Released 0.6.1
authored
71 Bugfix release, released on December 31st 2010
16b101e Armin Ronacher HEAD is 0.7-dev
authored
72
dbf55de Armin Ronacher Fixed an issue where the default `OPTIONS` response was
authored
73 - Fixed an issue where the default `OPTIONS` response was
74 not exposing all valid methods in the `Allow` header.
a3a8439 Armin Ronacher normpath is now used before loading templates
authored
75 - Jinja2 template loading syntax now allows "./" in front of
76 a template load path. Previously this caused issues with
77 module setups.
6e3dd9b Armin Ronacher Added a changelog entry for #108
authored
78 - Fixed an issue where the subdomain setting for modules was
79 ignored for the static folder.
b92120b Armin Ronacher Documented security fix in changelog
authored
80 - Fixed a security problem that allowed clients to download arbitrary files
81 if the host server was a windows based operating system and the client
82 uses backslashes to escape the directory the files where exposed from.
dbf55de Armin Ronacher Fixed an issue where the default `OPTIONS` response was
authored
83
3f7ab17 Armin Ronacher HEAD is 0.6-dev
authored
84 Version 0.6
85 -----------
86
5cadd9d Armin Ronacher Picked codename for 0.6
authored
87 Released on July 27th 2010, codename Whisky
3f7ab17 Armin Ronacher HEAD is 0.6-dev
authored
88
d12d732 Armin Ronacher Reverse order of execution of post-request handlers. This fixes #82
authored
89 - after request functions are now called in reverse order of
90 registration.
5e1b103 Armin Ronacher Added support for automagic OPTIONS
authored
91 - OPTIONS is now automatically implemented by Flask unless the
ed517c7 Jason Davies Minor spelling fixes
jasondavies authored
92 application explicitly adds 'OPTIONS' as method to the URL rule.
5e1b103 Armin Ronacher Added support for automagic OPTIONS
authored
93 In this case no automatic OPTIONS handling kicks in.
ed16ae2 Armin Ronacher Always register URL rules. This fixes #81
authored
94 - static rules are now even in place if there is no static folder
95 for the module. This was implemented to aid GAE which will
96 remove the static folder if it's part of a mapping in the .yml
97 file.
aa3d839 Armin Ronacher Config is now available in templates, context processors no longer overr...
authored
98 - the :attr:`~flask.Flask.config` is now available in the templates
99 as `config`.
100 - context processors will no longer override values passed directly
101 to the render function.
b1790cc Armin Ronacher Added MAX_CONTENT_LENGTH config key
authored
102 - added the ability to limit the incoming request data with the
103 new ``MAX_CONTENT_LENGTH`` configuration value.
4aeb445 Armin Ronacher Documented change
authored
104 - the endpoint for the :meth:`flask.Module.add_url_rule` method
105 is now optional to be consistent with the function of the
106 same name on the application object.
6fc1492 Armin Ronacher Added make_response
authored
107 - added a :func:`flask.make_response` function that simplifies
108 creating response object instances in views.
e0712b4 Armin Ronacher Added support for signals
authored
109 - added signalling support based on blinker. This feature is currently
110 optional and supposed to be used by extensions and applications. If
111 you want to use it, make sure to have `blinker`_ installed.
ed517c7 Jason Davies Minor spelling fixes
jasondavies authored
112 - refactored the way URL adapters are created. This process is now
405d449 Armin Ronacher Documented more changes
authored
113 fully customizable with the :meth:`~flask.Flask.create_url_adapter`
114 method.
7680d52 Armin Ronacher Added support for subdomain bound modules
authored
115 - modules can now register for a subdomain instead of just an URL
116 prefix. This makes it possible to bind a whole module to a
117 configurable subdomain.
e0712b4 Armin Ronacher Added support for signals
authored
118
119 .. _blinker: http://pypi.python.org/pypi/blinker
d12d732 Armin Ronacher Reverse order of execution of post-request handlers. This fixes #82
authored
120
82b143f Armin Ronacher Changelog entry for 0.5.2
authored
121 Version 0.5.2
122 -------------
123
124 Bugfix Release, released on July 15th 2010
125
126 - fixed another issue with loading templates from directories when
127 modules were used.
128
596ae0c Armin Ronacher Updated changelog
authored
129 Version 0.5.1
130 -------------
131
132 Bugfix Release, released on July 6th 2010
133
0a93c55 Armin Ronacher Fixed a template lookup error
authored
134 - fixes an issue with template loading from directories when modules
135 where used.
596ae0c Armin Ronacher Updated changelog
authored
136
528ae04 Armin Ronacher HEAD is 0.5-dev
authored
137 Version 0.5
138 -----------
139
596ae0c Armin Ronacher Updated changelog
authored
140 Released on July 6th 2010, codename Calvados
528ae04 Armin Ronacher HEAD is 0.5-dev
authored
141
f195d92 Armin Ronacher Added proper subdomain support
authored
142 - fixed a bug with subdomains that was caused by the inability to
143 specify the server name. The server name can now be set with
60e143e Armin Ronacher Documented change regarding the session cookie domain policy in the CHAN...
authored
144 the `SERVER_NAME` config key. This key is now also used to set
145 the session cookie cross-subdomain wide.
7599046 Armin Ronacher Started working on refactoring Jinja integration
authored
146 - autoescaping is no longer active for all templates. Instead it
147 is only active for ``.html``, ``.htm``, ``.xml`` and ``.xhtml``.
148 Inside templates this behaviour can be changed with the
149 ``autoescape`` tag.
88d9315 Armin Ronacher We should now have the same public API as before
authored
150 - refactored Flask internally. It now consists of more than a
151 single file.
d0c6ad7 Armin Ronacher Added support for conditional responses to send_file
authored
152 - :func:`flask.send_file` now emits etags and has the ability to
153 do conditional responses builtin.
fedc06c Armin Ronacher dropped pkg_resources
authored
154 - (temporarily) dropped support for zipped applications. This was a
155 rarely used feature and led to some confusing behaviour.
f694456 Armin Ronacher Documented changes
authored
156 - added support for per-package template and static-file directories.
362cf49 Armin Ronacher Documented the create_jinja_loader removal
authored
157 - removed support for `create_jinja_loader` which is no longer used
158 in 0.5 due to the improved module support.
c34b03e Armin Ronacher Documented send_from_directory
authored
159 - added a helper function to expose files from any directory.
f195d92 Armin Ronacher Added proper subdomain support
authored
160
d29a976 Armin Ronacher HEAD is 0.4dev
authored
161 Version 0.4
162 -----------
163
7698c3f Armin Ronacher This will become 0.4
authored
164 Released on June 18th 2010, codename Rakia
d29a976 Armin Ronacher HEAD is 0.4dev
authored
165
50bca8c Armin Ronacher Updated AUTHORS file and added missing versionadded
authored
166 - added the ability to register application wide error handlers
167 from modules.
9373608 Armin Ronacher Documented changes in after_request handlers.
authored
168 - :meth:`~flask.Flask.after_request` handlers are now also invoked
169 if the request dies with an exception and an error handling page
170 kicks in.
bc00fd1 Armin Ronacher Added support for deferred context cleanup. test_client users can now ac...
authored
171 - test client has not the ability to preserve the request context
172 for a little longer. This can also be used to trigger custom
173 requests that do not pop the request stack for testing.
9983e84 Armin Ronacher Fixed after_request handlers being called twice in some cases and improv...
authored
174 - because the Python standard library caches loggers, the name of
175 the logger is configurable now to better support unittests.
f5fb457 Armin Ronacher Added TESTING flag. This fixes #58.
authored
176 - added `TESTING` switch that can activate unittesting helpers.
fe35105 Armin Ronacher Updated design decisions. This fixes #63
authored
177 - the logger switches to `DEBUG` mode now if debug is enabled.
50bca8c Armin Ronacher Updated AUTHORS file and added missing versionadded
authored
178
6cb0855 Armin Ronacher Fixed an error reporting bug with flask.Config.from_envvar
authored
179 Version 0.3.1
180 -------------
181
596ae0c Armin Ronacher Updated changelog
authored
182 Bugfix release, released on May 28th 2010
6cb0855 Armin Ronacher Fixed an error reporting bug with flask.Config.from_envvar
authored
183
184 - fixed a error reporting bug with :meth:`flask.Config.from_envvar`
dba42ae Armin Ronacher Added missing message
authored
185 - removed some unused code from flask
8e4bcaf Armin Ronacher Fixed build process
authored
186 - release does no longer include development leftover files (.git
187 folder for themes, built documentation in zip and pdf file and
188 some .pyc files)
6cb0855 Armin Ronacher Fixed an error reporting bug with flask.Config.from_envvar
authored
189
ce6e4cb Armin Ronacher 0.5 is 0.3 now, why skip numbers?
authored
190 Version 0.3
07581b2 Armin Ronacher HEAD is 0.5-dev
authored
191 -----------
192
7698c3f Armin Ronacher This will become 0.4
authored
193 Released on May 28th 2010, codename Schnaps
07581b2 Armin Ronacher HEAD is 0.5-dev
authored
194
35ed617 Armin Ronacher Added support for flashing categories.
authored
195 - added support for categories for flashed messages.
e7f67e1 Armin Ronacher Added logging support.
authored
196 - the application now configures a :class:`logging.Handler` and will
197 log request handling exceptions to that logger when not in debug
198 mode. This makes it possible to receive mails on server errors
199 for example.
ef0dc18 Armin Ronacher Added interactive Python docs, fixed part style.
authored
200 - added support for context binding that does not require the use of
201 the with statement for playing in the console.
202 - the request context is now available within the with statement making
203 it possible to further push the request context or pop it.
6913dc1 Armin Ronacher Added missing changelog entry
authored
204 - added support for configurations.
35ed617 Armin Ronacher Added support for flashing categories.
authored
205
260b4df Armin Ronacher Added changelog, restructured docs a bit.
authored
206 Version 0.2
207 -----------
208
7698c3f Armin Ronacher This will become 0.4
authored
209 Released on May 12th 2010, codename Jägermeister
260b4df Armin Ronacher Added changelog, restructured docs a bit.
authored
210
211 - various bugfixes
212 - integrated JSON support
213 - added :func:`~flask.get_template_attribute` helper function.
214 - :meth:`~flask.Flask.add_url_rule` can now also register a
215 view function.
b0ab127 Armin Ronacher Added logo with new slogan
authored
216 - refactored internal request dispatching.
9cf2ea2 Armin Ronacher Documented hostname change.
authored
217 - server listens on 127.0.0.1 by default now to fix issues with chrome.
75461c1 Armin Ronacher Added _external support to url_for
authored
218 - added external URL support.
2d87e9b Armin Ronacher Added support for send_file
authored
219 - added support for :func:`~flask.send_file`
b93ec14 Armin Ronacher Documented module changes in CHANGES
authored
220 - module support and internal request handling refactoring
221 to better support pluggable applications.
b0ab127 Armin Ronacher Added logo with new slogan
authored
222 - sessions can be set to be permanent now on a per-session basis.
223 - better error reporting on missing secret keys.
224 - added support for Google Appengine.
260b4df Armin Ronacher Added changelog, restructured docs a bit.
authored
225
226 Version 0.1
227 -----------
228
229 First public preview release.
Something went wrong with that request. Please try again.