diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-09-23 10:51:52 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-09-23 10:51:52 +0000 |
| commit | 391afe80244035e5294b085fdc4324c56cc5f1ca (patch) | |
| tree | 1852fdd152054e2a13d9e94c7a4f7ecce34dddcc /CHANGES.txt | |
| parent | eb9fbf5f24b5e41cadd1eac8ca970ba819ecb6a5 (diff) | |
| download | pyramid-391afe80244035e5294b085fdc4324c56cc5f1ca.tar.gz pyramid-391afe80244035e5294b085fdc4324c56cc5f1ca.tar.bz2 pyramid-391afe80244035e5294b085fdc4324c56cc5f1ca.zip | |
- Speed up ``repoze.bfg.traversal.model_path``.
- Speed up ``repoze.bfg.traversal.model_path_tuple`` slightly.
- Speed up ``repoze.bfg.traversal.traverse`` slightly.
- In 0.8a7, the return value expected from an object implementing
``ITraverserFactory`` was changed from a sequence of values to a
dictionary containing the keys ``context``, ``view_name``,
``subpath``, ``traversed``, ``virtual_root``, ``virtual_root_path``,
and ``root``. Until now, old-style traversers which returned a
sequence have continued to work but have generated a deprecation
warning. In this release, traversers which return a sequence
instead of a dictionary will no longer work.
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 8e8a901f1..96f5a8355 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,8 +9,11 @@ Features - Speed up ``repoze.bfg.encode.urlencode`` (nee' ``repoze.bfg.url.urlencode``) slightly. -- Speed up ``repoze.bfg.traversal.model_path`` and - ``repoze.bfg.traversal.model_path_tuple`` slightly. +- Speed up ``repoze.bfg.traversal.model_path``. + +- Speed up ``repoze.bfg.traversal.model_path_tuple`` slightly. + +- Speed up ``repoze.bfg.traversal.traverse`` slightly. Internal -------- @@ -30,13 +33,22 @@ Backwards Incompatibilities The replacement diverges from the stdlib implementation and the previous ``repoze.bfg.url`` url implementation inasmuch as its - ``doseq`` argument is a decoy: it always behaves in the + ``doseq`` argument is now a decoy: it always behaves in the ``doseq=True`` way (which is the only sane behavior) for speed purposes. The old import location (``repoze.bfg.url.urlencode``) still functions and has not been deprecated. +- In 0.8a7, the return value expected from an object implementing + ``ITraverserFactory`` was changed from a sequence of values to a + dictionary containing the keys ``context``, ``view_name``, + ``subpath``, ``traversed``, ``virtual_root``, ``virtual_root_path``, + and ``root``. Until now, old-style traversers which returned a + sequence have continued to work but have generated a deprecation + warning. In this release, traversers which return a sequence + instead of a dictionary will no longer work. + 1.1a4 (2009-09-23) ================== |
