From 766522cb587850f643f3bb6cb011735ae6a98510 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 2 Oct 2011 01:06:22 +0200 Subject: [PATCH 1/2] Prepare for an 0.8.1 release --- CHANGES | 5 +++++ flask/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index e1a3733a..ba50d0d9 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,11 @@ Flask Changelog Here you can see the full list of changes between each Flask release. +Version 0.8.1 +------------- + +Bugfix release, release date to be decided + Version 0.8 ----------- diff --git a/flask/__init__.py b/flask/__init__.py index 73019aa8..04d7d1f2 100644 --- a/flask/__init__.py +++ b/flask/__init__.py @@ -10,7 +10,7 @@ :license: BSD, see LICENSE for more details. """ -__version__ = '0.8' +__version__ = '0.8.1-dev' # utilities we import from Werkzeug and Jinja2 that are unused # in the module but are exported as public interface. diff --git a/setup.py b/setup.py index 4e221bd9..af36a8bb 100644 --- a/setup.py +++ b/setup.py @@ -77,7 +77,7 @@ class run_audit(Command): setup( name='Flask', - version='0.8', + version='0.8.1-dev', url='http://github.com/mitsuhiko/flask/', license='BSD', author='Armin Ronacher', From 0dd9dc37b6618b8091c2a0f849f5f3143dc6eafc Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 2 Oct 2011 01:08:54 +0200 Subject: [PATCH 2/2] Fixed an issue with an unused module for Python 2.5 (flask.session) --- CHANGES | 4 ++++ flask/session.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index ba50d0d9..7640ac21 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,10 @@ Version 0.8.1 Bugfix release, release date to be decided +- Fixed an issue with the undocumented `flask.session` module to not + work properly on Python 2.5. It should not be used but did cause + some problems for package managers. + Version 0.8 ----------- diff --git a/flask/session.py b/flask/session.py index 4d4d2cd6..1a43fdc1 100644 --- a/flask/session.py +++ b/flask/session.py @@ -13,7 +13,7 @@ from warnings import warn warn(DeprecationWarning('please use flask.sessions instead')) -from .sessions import * +from .sessions import SecureCookieSession, NullSession Session = SecureCookieSession _NullSession = NullSession