Chris McDonough
2011-07-14 100a571ebbbe7b9f7143ac6015a1b870191683d5
forgot to change whatsnew
2 files modified
27 ■■■■ changed files
CHANGES.txt 12 ●●●● patch | view | raw | blame | history
docs/whatsnew-1.1.rst 15 ●●●●● patch | view | raw | blame | history
CHANGES.txt
@@ -9,12 +9,12 @@
  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.
  deprecated ``pyramid.view.static`` class.  ``pyramid.static.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
------------
docs/whatsnew-1.1.rst
@@ -251,6 +251,16 @@
  preprocessor to be specified as a Python callable or Python dotted name.
  See https://github.com/Pylons/pyramid/pull/183 for rationale.
- New API class: :class:`pyramid.static.static_view`.  This supersedes the
  (now deprecated) :class:`pyramid.view.static` class.
  :class:`pyramid.static.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
  :class:`pyramid.view.static`, and still is).
  :class:`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.
Backwards Incompatibilities
---------------------------
@@ -323,6 +333,11 @@
   and 2.6 show deprecation warnings by default, so this is unecessary there.
   All deprecation warnings are emitted to the console.
- The :class:`pyramid.view.static` class has been deprecated in favor of the
  newer :class:`pyramid.static.static_view` class.  A deprecation warning is
  raised when it is used.  You should replace it with a reference to
  :class:`pyramid.static.static_view` with the ``use_subpath=True`` argument.
- The ``paster pshell``, ``paster proutes``, and ``paster pviews`` commands
  now take a single argument in the form ``/path/to/config.ini#sectionname``
  rather than the previous 2-argument spelling ``/path/to/config.ini