diff options
| author | Chris McDonough <chrism@plope.com> | 2012-11-14 14:24:33 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-11-14 14:24:33 -0500 |
| commit | 6313e0dd97e22b8c897293cd8d5f2f145637f49f (patch) | |
| tree | 03006b197b63358eb65bfaa8bacaec614b6ec7d0 /CHANGES.txt | |
| parent | 01c76b8bf509bbad41336d00d832241e7e02aa9e (diff) | |
| parent | 3ae2a829c17ebe3dd1a2db547d9ad4cb39feb8cb (diff) | |
| download | pyramid-6313e0dd97e22b8c897293cd8d5f2f145637f49f.tar.gz pyramid-6313e0dd97e22b8c897293cd8d5f2f145637f49f.tar.bz2 pyramid-6313e0dd97e22b8c897293cd8d5f2f145637f49f.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 45 |
1 files changed, 29 insertions, 16 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index e40312c34..9f5ce064f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,12 +1,13 @@ -Next release -============ +1.4a4 (2012-11-14) +================== Features -------- - ``pyramid.authentication.AuthTktAuthenticationPolicy`` has been updated to support newer hashing algorithms such as ``sha512``. Existing applications - should consider updating if possible. + should consider updating if possible for improved security over the default + md5 hashing. - Added an ``effective_principals`` route and view predicate. @@ -21,18 +22,11 @@ Features - Slightly better debug logging from ``pyramid.authentication.RepozeWho1AuthenticationPolicy``. -- ``pyramid.security.view_execution_permitted`` used to return `True` if no +- ``pyramid.security.view_execution_permitted`` used to return ``True`` if no view could be found. It now raises a ``TypeError`` exception in that case, as it doesn't make sense to assert that a nonexistent view is execution-permitted. See https://github.com/Pylons/pyramid/issues/299. -- Get rid of shady monkeypatching of ``pyramid.request.Request`` and - ``pyramid.response.Response`` done within the ``__init__.py`` of Pyramid. - Webob no longer relies on this being done. Instead, the ResponseClass - attribute of the Pyramid Request class is assigned to the Pyramid response - class; that's enough to satisfy WebOb and behave as it did before with the - monkeypatching. - - Allow a ``_depth`` argument to ``pyramid.view.view_config``, which will permit limited composition reuse of the decorator by other software that wants to provide custom decorators that are much like view_config. @@ -61,14 +55,26 @@ Bug Fixes ``physical_path`` predicate implementations; instead of raising an exception, return False. +- ``pyramid.view.render_view`` was not functioning properly under Python 3.x + due to a byte/unicode discrepancy. See + http://github.com/Pylons/pyramid/issues/721 + Deprecations ------------ -- ``pyramid.authentication.AuthTktAuthenticationPolicy`` will emit a warning - if an application is using the policy without explicitly setting the - ``hashalg``. This is because the default is "md5" which is considered - insecure. If you really want "md5" then you must specify it explicitly to - get rid of the warning. +- ``pyramid.authentication.AuthTktAuthenticationPolicy`` will emit a warning if + an application is using the policy without explicitly passing a ``hashalg`` + argument. This is because the default is "md5" which is considered + theoretically subject to collision attacks. If you really want "md5" then you + must specify it explicitly to get rid of the warning. + +Documentation +------------- + +- All of the tutorials that use + ``pyramid.authentication.AuthTktAuthenticationPolicy`` now explicitly pass + ``sha512`` as a ``hashalg`` argument. + Internals --------- @@ -81,6 +87,13 @@ Internals because that package should never be imported from non-Pyramid code. TopologicalSorter is still not an API, but may become one. +- Get rid of shady monkeypatching of ``pyramid.request.Request`` and + ``pyramid.response.Response`` done within the ``__init__.py`` of Pyramid. + Webob no longer relies on this being done. Instead, the ResponseClass + attribute of the Pyramid Request class is assigned to the Pyramid response + class; that's enough to satisfy WebOb and behave as it did before with the + monkeypatching. + 1.4a3 (2012-10-26) ================== |
