From 65dcf305794feffb1da33c15b5af8d4964580d72 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Nov 2008 02:21:37 +0000 Subject: - Fix ModelGraphTraverser; don't try to change the ``__name__`` or ``__parent__`` of an object that claims it implements ILocation during traversal even if the ``__name__`` or ``__parent__`` of the object traversed does not match the name used in the traversal step or the or the traversal parent . Rationale: it was insane to do so. This bug was only found due to a misconfiguration in an application that mistakenly had intermediate persistent non-ILocation objects; traversal was causing a persistent write on every request under this setup. - ``repoze.bfg.location.locate`` now unconditionally sets ``__name__`` and ``__parent__`` on objects which provide ILocation (it previously only set them conditionally if they didn't match attributes already present on the object via equality). Prep for 0.5.0. --- CHANGES.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 33c924c2a..7e8cacdab 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,20 @@ +0.5.0 (11/18/2008) + + - Fix ModelGraphTraverser; don't try to change the ``__name__`` or + ``__parent__`` of an object that claims it implements ILocation + during traversal even if the ``__name__`` or ``__parent__`` of the + object traversed does not match the name used in the traversal + step or the or the traversal parent . Rationale: it was insane to + do so. This bug was only found due to a misconfiguration in an + application that mistakenly had intermediate persistent + non-ILocation objects; traversal was causing a persistent write on + every request under this setup. + + - ``repoze.bfg.location.locate`` now unconditionally sets + ``__name__`` and ``__parent__`` on objects which provide ILocation + (it previously only set them conditionally if they didn't match + attributes already present on the object via equality). + 0.4.9 (11/17/2008) - Add chameleon text template API (chameleon ${name} renderings -- cgit v1.2.3