From 1761c559d7938e04a31e6f2622f3fee86a37fe9f Mon Sep 17 00:00:00 2001 From: Maxim Kulkin Date: Thu, 11 Aug 2016 18:47:27 -0700 Subject: [PATCH] Bump version to 0.2 and add changelog --- CHANGELOG.rst | 15 +++++++++++++++ docs/changelog.rst | 3 +++ docs/conf.py | 4 ++-- docs/index.rst | 2 ++ lollipop/__init__.py | 2 +- 5 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 CHANGELOG.rst create mode 100644 docs/changelog.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst new file mode 100644 index 0000000..e802a77 --- /dev/null +++ b/CHANGELOG.rst @@ -0,0 +1,15 @@ +Changelog +--------- + +0.2 (2016-08-11) +++++++++++++++++++ + +* Added object schema inheritance: objects can inherit fields from other objects. +* Added support for customizing error messages in Fields. +* Changed ConstantField to validate value to be the same on load. +* Added OneOf type to express polymorphic types or type alternatives. + +0.1 (2016-07-28) +++++++++++++++++ + +* Initial release. diff --git a/docs/changelog.rst b/docs/changelog.rst new file mode 100644 index 0000000..76888fe --- /dev/null +++ b/docs/changelog.rst @@ -0,0 +1,3 @@ +.. _changelog: + +.. include:: ../CHANGELOG.rst diff --git a/docs/conf.py b/docs/conf.py index 36082f6..033a395 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -66,9 +66,9 @@ # built documents. # # The short X.Y version. -version = u'0.1' +version = u'0.2' # The full version, including alpha/beta/rc tags. -release = u'0.1' +release = u'0.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/index.rst b/docs/index.rst index a1703e1..856dcdb 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -4,6 +4,8 @@ lollipop: object serialization and validation ********************************************* +Release version |version|. (:ref:`Changelog `) + Guide ===== diff --git a/lollipop/__init__.py b/lollipop/__init__.py index db8b987..c0e95b4 100644 --- a/lollipop/__init__.py +++ b/lollipop/__init__.py @@ -1,2 +1,2 @@ -__version__ = '0.1' +__version__ = '0.2' __author__ = 'Maxim Kulkin'