1.0 -> 0.11 in the docs
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Armin Ronacher · committed by Armin Ronacher · parent 1df426a · Browse files · 7 files·+21 added−11 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
7 files+21 added−11 removed
- other:+21 added−11 removed
Provenance
- Commit
f9ea3fe- Tree
4f1ba2f- Author
Armin Ronacher <armin.ronacher@active-4.com>- Committer
Armin Ronacher <armin.ronacher@active-4.com>- Parent
1df426a
7 files changed+21 added−11 removed
modified:docs/api.rst+1 added-1 removed
287 unmodified lines288 289 It's now also possible to use the ``in`` operator on it to see if an290 attribute is defined and it yields all keys on iteration.291 292- As of 1.0 you can use :meth:`pop` and :meth:`setdefault` in the same292+ As of 0.11 you can use :meth:`pop` and :meth:`setdefault` in the same293 way you would use them on a dictionary.294 295 This is a proxy. See :ref:`notes-on-proxies` for more information.296 601 unmodified linesmodified:docs/cli.rst+1 added-1 removed
5 unmodified lines6 .. versionadded:: 0.117 8 .. currentmodule:: flask9 10-One of the nice new features in Flask 1.0 is the built-in integration of10+One of the nice new features in Flask 0.11 is the built-in integration of11 the `click <http://click.pocoo.org/>`_ command line interface. This12 enables a wide range of new features for the Flask ecosystem and your own13 applications.14 202 unmodified linesmodified:docs/errorhandling.rst+1 added-1 removed
129 unmodified lines130 -----------------131 132 Even if you get mails, you probably also want to log warnings. It's a133 good idea to keep as much information around that might be required to134-debug a problem. By default as of Flask 1.0, errors are logged to your134+debug a problem. By default as of Flask 0.11, errors are logged to your135 webserver's log automatically. Warnings however are not. Please note136 that Flask itself will not issue any warnings in the core system, so it's137 your responsibility to warn in the code if something seems odd.138 215 unmodified linesmodified:docs/extensiondev.rst+2 added-2 removed
406 unmodified lines407 Flask 0.8 introduced a redirect import system as a compatibility aid for app408 developers: Importing ``flask.ext.foo`` would try ``flask_foo`` and409 ``flaskext.foo`` in that order.410 411-As of Flask 1.0, most Flask extensions have transitioned to the new naming412-schema. The ``flask.ext.foo`` compatibility alias is still in Flask 1.0 but is411+As of Flask 0.11, most Flask extensions have transitioned to the new naming412+schema. The ``flask.ext.foo`` compatibility alias is still in Flask 0.11 but is413 now deprecated -- you should use ``flask_foo``.414 415 416 .. _OAuth extension: http://pythonhosted.org/Flask-OAuth/2 unmodified linesmodified:docs/server.rst+1 added-1 removed
3 unmodified lines4 ==================5 6 .. currentmodule:: flask7 8-Starting with Flask 1.0 there are multiple built-in ways to run a8+Starting with Flask 0.11 there are multiple built-in ways to run a9 development server. The best one is the :command:`flask` command line utility10 but you can also continue using the :meth:`Flask.run` method.11 12 Command Line40 unmodified linesmodified:docs/shell.rst+1 added-1 removed
27 unmodified lines28 29 Command Line Interface30 ----------------------31 32-Starting with Flask 1.0 the recommended way to work with the shell is the32+Starting with Flask 0.11 the recommended way to work with the shell is the33 ``flask shell`` command which does a lot of this automatically for you.34 For instance the shell is automatically initialized with a loaded35 application context.36 67 unmodified linesmodified:docs/upgrading.rst+14 added-4 removed
19 unmodified lines20 $ easy_install -U Flask21 22 .. _upgrading-to-10:23 24-Version 1.025------------24+Version 0.1125+------------26 27+0.11 is an odd release in the Flask release cycle because it was supposed28+to be the 1.0 release. However because there was such a long lead time up29+to the release we decided to push out a 0.11 release first with some30+changes removed to make the transition easier. If you have been tracking31+the master branch which was 1.0 you might see some unexpected changes.32+33+In case you did track the master branch you will notice that `flask --app`34+is removed now. You need to use the environment variable to specify an35+application.36+37 Debugging38 `````````39 30-Flask 1.0 removed the ``debug_log_format`` attribute from Flask40+Flask 0.11 removed the ``debug_log_format`` attribute from Flask41 applications. Instead the new ``LOGGER_HANDLER_POLICY`` configuration can42 be used to disable the default log handlers and custom log handlers can be43 set up.44 170 unmodified lines215 before, you should catch them with :exc:`RuntimeError` now.216 217 Additionally the :func:`~flask.send_file` function is now issuing218 deprecation warnings if you depend on functionality that will be removed209-in Flask 1.0. Previously it was possible to use etags and mimetypes219+in Flask 0.11. Previously it was possible to use etags and mimetypes220 when file objects were passed. This was unreliable and caused issues221 for a few setups. If you get a deprecation warning, make sure to222 update your application to work with either filenames there or disable223 etag attaching and attach them yourself.211 unmodified lines