diff --git a/CHANGES.txt b/CHANGES.txt index a37a274..293ed5b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,8 +1,14 @@ Changes ======= -Next release ------------- +0.7.0 +----- + +A release centered around normalizing the treatment of default and +missing values. + +Bug Fixes +~~~~~~~~~ - Allow ``colander.Regex`` validator to accept a pattern object instead of just a string. @@ -17,6 +23,9 @@ Next release - Raise a ``TypeError`` when bogus keyword arguments are passed to ``colander.SchemaNode``. +Backwards Incompatiblities / New Features +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - ``missing`` constructor arg to SchemaNode: signifies *deserialization* default, disambiguated from ``default`` which acted as both serialization and deserialization default previously. @@ -29,7 +38,7 @@ Next release instead). - New concept: ``colander.null`` input to serialization and - deserialization. Use of ``colander.null` normalizes serialization + deserialization. Use of ``colander.null`` normalizes serialization and deserialization default handling. Changes necessitated / made possible by ``colander.null`` addition: @@ -92,7 +101,7 @@ Next release older behavior back. This is in support of Deform. - The default ``err_template`` value attached to the ``colander.Date`` - and ``colander.Datetime` types was changed. It is now simply + and ``colander.Datetime`` types was changed. It is now simply ``Invalid date`` instead of ``_('${val} cannot be parsed as an iso8601 date: ${err}')``. This is in support of Deform. diff --git a/docs/changes.rst b/docs/changes.rst new file mode 100644 index 0000000..abb1f10 --- /dev/null +++ b/docs/changes.rst @@ -0,0 +1 @@ +.. include:: ../CHANGES.txt diff --git a/docs/conf.py b/docs/conf.py index 2109e4b..44dad9c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -52,7 +52,7 @@ copyright = '2010, Repoze Developers ' # other places throughout the built documents. # # The short X.Y version. -version = '0.6.2' +version = '0.7.0' # The full version, including alpha/beta/rc tags. release = version diff --git a/docs/index.rst b/docs/index.rst index 35655b6..0f29c43 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -59,6 +59,7 @@ internationalizable. interfaces.rst api.rst glossary.rst + changes.rst Indices and tables ------------------ diff --git a/setup.py b/setup.py index 019bd4f..c58a347 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() requires = ['iso8601', 'translationstring'] setup(name='colander', - version='0.6.2', + version='0.7.0', description=('A simple schema-based serialization and deserialization ' 'library'), long_description=README + '\n\n' + CHANGES,