From ce7d88d2c334c91c4ac331b21aa5c74b6df105d9 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Fri, 15 Jan 2016 21:51:00 -0600 Subject: [PATCH] update changelog to reflect non-bw-incompat change --- CHANGES.rst | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 43b91b5..8173d04 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,11 +1,15 @@ unreleased ========== -- We implicitly assign the schema type to MappingSchema, SequenceSchema, and - TupleSchema with types of Mapping, Sequence, and Tuple explicitly. This is - a minor backwards incompatibility, because we no longer allow any of those - schema variants to accept the implied type as a first argument. - i.e. MappingSchema(Mapping()) will no longer work. +Bug Fixes +--------- + +- Fix a bug in which ``MappingSchema``, ``SequenceSchema`` and + ``TupleSchema`` would always treat the first arg as the schema type. This + meant that it would fail if passed any nodes to the constructor despite + the default type being implied by the name. It is now possible to do + ``MappingSchema(child1, child2, ...)`` instead of + ``MappingSchema(Mapping(), child1, child2)``. 1.1 (2016-01-15) ================