Permalink
Browse files

Changelog for 0.3

  • Loading branch information...
SimonSapin committed Jul 3, 2012
1 parent 9777324 commit 8f2b85705b348b8ca7f1a9b18d47cd19047b29e6
Showing with 28 additions and 9 deletions.
  1. +1 −1 docs/conf.py
  2. +22 −6 docs/index.rst
  3. +4 −1 flask_flatpages/__init__.py
  4. +1 −1 setup.py
View
@@ -51,7 +51,7 @@
#
# The short X.Y version.
#version = '0.1'
-version = '0.2'
+version = '0.3'
# The full version, including alpha/beta/rc tags.
#release = '0.1dev'
release = version
View
@@ -43,7 +43,7 @@ after configuring the application::
pages = FlatPages(app)
you can also pass the Flask application object later, by calling
-:meth:`.FlatPages.init_app`.::
+:meth:`~.FlatPages.init_app`::
pages = FlatPages()
@@ -161,7 +161,7 @@ API
.. module:: flask_flatpages
.. autoclass:: FlatPages
- :members: get, get_or_404, __iter__, reload
+ :members: init_app, get, get_or_404, __iter__, reload
Example usage::
@@ -217,12 +217,28 @@ API
Changelog
---------
-Version 0.2, released on 2011-06-02
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Version 0.3
+~~~~~~~~~~~
+
+Released on 2012-07-03
+
+* Add :meth:`.FlatPages.init_app`
+* Do not use namespace packages anymore: rename the package from
+ ``flaskext.flatpages`` to ``flask_flatpages``
+* Add configuration files for testing with tox and Travis.
+
+
+Version 0.2
+~~~~~~~~~~~
+
+Released on 2011-06-02
Bugfix and cosmetic release. Tests are now installed alongside the code.
-Version 0.1, released on 2011-02-06
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Version 0.1
+~~~~~~~~~~~
+
+Released on 2011-02-06.
First public release.
@@ -102,8 +102,10 @@ class FlatPages(object):
"""
A collections of :class:`Page` objects.
- :param app: your application
+ :param app: your application. Can be omited if you call
+ :meth:`init_app` later.
:type app: Flask instance
+
"""
def __init__(self, app=None):
@@ -120,6 +122,7 @@ def init_app(self, app):
:param app: your application
:type app: Flask instance
+
"""
app.config.setdefault('FLATPAGES_ROOT', 'pages')
View
@@ -22,7 +22,7 @@
setup(
name='Flask-FlatPages',
- version='0.2', # also change this in docs/conf.py
+ version='0.3', # also change this in docs/conf.py
url='https://github.com/SimonSapin/Flask-FlatPages',
license='BSD',
author='Simon Sapin',

0 comments on commit 8f2b857

Please sign in to comment.