From 835d4812d3b5e37c54325b992f66ba45714d56cb Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Mon, 6 Feb 2012 23:37:37 -0600 Subject: Modified match_param to accept a tuple. Fixes #425. --- CHANGES.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 7d20796e1..8bfdc6d66 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -10,6 +10,10 @@ Features - Internal: catch unhashable discriminators early (raise an error instead of allowing them to find their way into resolveConflicts). +- The `match_param` view predicate now accepts a string or a tuple. + This replaces the broken behavior of accepting a dict. See + https://github.com/Pylons/pyramid/issues/425 for more information. + Bug Fixes --------- @@ -21,6 +25,13 @@ Bug Fixes - The ``prequest`` script would fail when used against URLs which did not return HTML or text. See https://github.com/Pylons/pyramid/issues/381 +Backwards Incompatibilities +--------------------------- + +- The `match_param` view predicate no longer accepts a dict. This will + have no negative affect because the implementation was broken for + dict-based arguments. + Documentation ------------- -- cgit v1.2.3