summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-12-05 15:55:54 +0000
committerChris McDonough <chrism@agendaless.com>2008-12-05 15:55:54 +0000
commitd33f742c019afa8a5adfa889c0e02ad17b26bcf9 (patch)
tree9e9d0795a80a5d98eb36b4a94bd8ab45ffa652cb
parentea2b46c21bcefeb85d41fc707260c885516ce483 (diff)
downloadpyramid-d33f742c019afa8a5adfa889c0e02ad17b26bcf9.tar.gz
pyramid-d33f742c019afa8a5adfa889c0e02ad17b26bcf9.tar.bz2
pyramid-d33f742c019afa8a5adfa889c0e02ad17b26bcf9.zip
Prepare for 0.5.2.
-rw-r--r--CHANGES.txt11
-rw-r--r--docs/conf.py4
-rw-r--r--setup.py2
3 files changed, 12 insertions, 5 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 83126b062..07ad19439 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,11 +1,18 @@
-Next release
+0.5.2 (12/5/2008)
- The component registration handler for views (functions or class
instances) now observes component adaptation annotations (see
``zope.component.adaptedBy``) and uses them before the fallback
values for ``for_`` and ``request_type``. This change does not
affect existing code insomuch as the code does not rely on these
- defaults when an annotation is set on the view (unlikely).
+ defaults when an annotation is set on the view (unlikely). This
+ means that for a new-style class you can do
+ ``zope.component.adapts(ISomeContext, ISomeRequest)`` at class
+ scope or at module scope as a decorator to a bfg view function you
+ can do ``@zope.component.adapter(ISomeContext, ISomeRequest)``.
+ This differs from r.bfg.convention inasmuch as you still need to
+ put something in ZCML for the registrations to get done; it's only
+ the defaults that will change if these declarations exist.
- Strip all slashes from end and beginning of path in clean_path
within traversal machinery.
diff --git a/docs/conf.py b/docs/conf.py
index c3be8683f..e20f63eec 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -51,9 +51,9 @@ copyright = '2008, Agendaless Consulting'
# other places throughout the built documents.
#
# The short X.Y version.
-version = '0.5.1'
+version = '0.5.2'
# The full version, including alpha/beta/rc tags.
-release = '0.5.1'
+release = '0.5.2'
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
diff --git a/setup.py b/setup.py
index fcf932e69..5c9e7b17c 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@
#
##############################################################################
-__version__ = '0.5.1'
+__version__ = '0.5.2'
import os