summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-07-14 01:13:27 -0400
committerChris McDonough <chrism@plope.com>2011-07-14 01:13:27 -0400
commit56d0fe4a9f97daa4d5fd0c28ea83c6ef32856b3d (patch)
treef418d3e08c694cea857ae6a27fc2c8fc9815d5f0 /CHANGES.txt
parentae4c577d12a16396b45515e81415b2b16f8e93e8 (diff)
downloadpyramid-56d0fe4a9f97daa4d5fd0c28ea83c6ef32856b3d.tar.gz
pyramid-56d0fe4a9f97daa4d5fd0c28ea83c6ef32856b3d.tar.bz2
pyramid-56d0fe4a9f97daa4d5fd0c28ea83c6ef32856b3d.zip
- New API class: ``pyramid.static.static_view``. This supersedes the
deprecated ``pyramid.view.static`` class. ``pyramid.satic.static_view`` by default serves up documents as the result of the request's ``path_info``, attribute rather than it's ``subpath`` attribute (the inverse was true of ``pyramid.view.static``, and still is). ``pyramid.static.static_view`` exposes a ``use_subpath`` flag for use when you don't want the static view to behave like the older deprecated version. - The ``pyramid.view.static`` class has been deprecated in favor of the newer ``pyramid.static.static_view`` class. A deprecation warning is raised when it is used. You should replace it with a reference to ``pyramid.static.static_view`` with the ``use_subpath=True`` argument.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index cd9f42dd9..d898c5ca6 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -8,6 +8,22 @@ Features
rendererinfo to clear out old registry on a rescan. See
https://github.com/Pylons/pyramid/pull/234.
+- New API class: ``pyramid.static.static_view``. This supersedes the
+ deprecated ``pyramid.view.static`` class. ``pyramid.satic.static_view`` by
+ default serves up documents as the result of the request's ``path_info``,
+ attribute rather than it's ``subpath`` attribute (the inverse was true of
+ ``pyramid.view.static``, and still is). ``pyramid.static.static_view``
+ exposes a ``use_subpath`` flag for use when you don't want the static view
+ to behave like the older deprecated version.
+
+Deprecations
+------------
+
+- The ``pyramid.view.static`` class has been deprecated in favor of the newer
+ ``pyramid.static.static_view`` class. A deprecation warning is raised when
+ it is used. You should replace it with a reference to
+ ``pyramid.static.static_view`` with the ``use_subpath=True`` argument.
+
1.1b2 (2011-07-13)
==================