From 7b8d650f15720283893bd214368cf5d97a6af7ce Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 15 Nov 2010 03:55:48 -0500 Subject: - Internal: Chameleon template renderers now accept two arguments: ``path`` and ``lookup``. ``Lookup`` will be an instance of a lookup class which supplies (late-bound) arguments for debug, reload, and translate. Any third-party renderers which use (the non-API) function ``pyramid.renderers.template_renderer_factory`` will need to adjust their implementations to obey the new callback argument list. This change was to kill off inappropriate use of threadlocals. --- CHANGES.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index e7c42d659..b9f6a69c7 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -68,6 +68,14 @@ Behavior Differences a ``registry`` attribute on the ZCML context (kill off use of threadlocals). +- Internal: Chameleon template renderers now accept two arguments: ``path`` + and ``lookup``. ``Lookup`` will be an instance of a lookup class which + supplies (late-bound) arguments for debug, reload, and translate. Any + third-party renderers which use (the non-API) function + ``pyramid.renderers.template_renderer_factory`` will need to adjust their + implementations to obey the new callback argument list. This change was to + kill off inappropriate use of threadlocals. + 1.0a2 (2010-11-09) ================== -- cgit v1.2.3 From 9e2e1cfa5d7b00b952b79a628347a89d2263f777 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 15 Nov 2010 22:52:46 -0500 Subject: add convenience static_url method to request --- CHANGES.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index b9f6a69c7..f1e55ffce 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -13,9 +13,9 @@ Features - New API method: ``pyramid.settings.asbool``. -- New API methods for ``pyramid.request.Request``: ``model_url`` and - ``route_url``. These are simple passthroughs for their respective - functions in ``pyramid.url``. +- New API methods for ``pyramid.request.Request``: ``model_url``, + ``route_url``, and ``static_url``. These are simple passthroughs for their + respective functions in ``pyramid.url``. - The ``settings`` object which used to be available only when ``request.settings.get_settings`` was called is now available as -- cgit v1.2.3 From ae60bafb11bcf3a85a8ed3c78b8fc57961e8c3b6 Mon Sep 17 00:00:00 2001 From: Ben Bangert Date: Tue, 16 Nov 2010 10:46:23 -0800 Subject: - Added Mako TemplateLookup settings for ``mako.error_handler``, ``mako.default_filters``, and ``mako.imports``. --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index f1e55ffce..e8595d6fc 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,9 @@ Next release Features -------- +- Added Mako TemplateLookup settings for ``mako.error_handler``, + ``mako.default_filters``, and ``mako.imports``. + - Normalized all paster templates: each now uses the name ``main`` to represent the function that returns a WSGI application, each now uses WebError, each now has roughly the same shape of development.ini style. -- cgit v1.2.3 From 3fa99493e9ba3d1dc05d8e917ee2f1bc1b6ed14e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 16 Nov 2010 15:51:22 -0500 Subject: prep for 1.0a3 --- CHANGES.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index e8595d6fc..942720112 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,5 +1,5 @@ -Next release -============ +1.0a3 (2010-11-16) +================== Features -------- -- cgit v1.2.3 From 745a613c164c3129113508afbf7ea5dedcdbcadb Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 16 Nov 2010 15:58:04 -0500 Subject: back to development --- CHANGES.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 942720112..7dee3f99d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,7 @@ +Next release +============ + + 1.0a3 (2010-11-16) ================== -- cgit v1.2.3 From 111a6fbae020f99c206b97459920908baad604cd Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 16 Nov 2010 18:17:54 -0500 Subject: - Add deprecation warnings to import of ``pyramid.chameleon_text`` and ``pyramid.chameleon_zpt`` of ``get_renderer``, ``get_template``, ``render_template``, and ``render_template_to_response``. --- CHANGES.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 7dee3f99d..f25d0e83f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,13 @@ Next release ============ +Bug Fixes +--------- + +- Add deprecation warnings to import of ``pyramid.chameleon_text`` and + ``pyramid.chameleon_zpt`` of ``get_renderer``, ``get_template``, + ``render_template``, and ``render_template_to_response``. + 1.0a3 (2010-11-16) ================== -- cgit v1.2.3 From b68aadc3867a95a6376bb2157cc93210eb62a104 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 16 Nov 2010 20:31:04 -0500 Subject: - The ``pyramid.settings.get_settings`` API is now deprecated. Use ``pyramid.threadlocals.get_registry().settings`` instead or use the ``settings`` attribute of the registry available from the request (``request.registry.settings``). --- CHANGES.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index f25d0e83f..d132b4e71 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -8,6 +8,13 @@ Bug Fixes ``pyramid.chameleon_zpt`` of ``get_renderer``, ``get_template``, ``render_template``, and ``render_template_to_response``. +Deprecations +------------ + +- The ``pyramid.settings.get_settings`` API is now deprecated. Use + ``pyramid.threadlocals.get_registry().settings`` instead or use the + ``settings`` attribute of the registry available from the request + (``request.registry.settings``). 1.0a3 (2010-11-16) ================== -- cgit v1.2.3 From 34f44d844ffe75738046a154202a6faf4d5dfc38 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 16 Nov 2010 20:50:28 -0500 Subject: - Add deprecation warning for import of ``pyramid.zcml.zcml_configure`` and ``pyramid.zcml.file_configure``. - The ``pyramid.testing.zcml_configure`` API has been removed. It had been advertised as removed since 1.2a1, but hadn't actually been. --- CHANGES.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index d132b4e71..28637c1a7 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -8,6 +8,15 @@ Bug Fixes ``pyramid.chameleon_zpt`` of ``get_renderer``, ``get_template``, ``render_template``, and ``render_template_to_response``. +- Add deprecation warning for import of ``pyramid.zcml.zcml_configure`` and + ``pyramid.zcml.file_configure``. + +Backwards Incompatibilities +--------------------------- + +- The ``pyramid.testing.zcml_configure`` API has been removed. It had been + advertised as removed since 1.2a1, but hadn't actually been. + Deprecations ------------ -- cgit v1.2.3 From 84df816470b6745c628c177c99dee9fa844812c4 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 16 Nov 2010 20:51:56 -0500 Subject: point at correct location of get_current_registry --- CHANGES.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 28637c1a7..2737e6893 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -21,7 +21,7 @@ Deprecations ------------ - The ``pyramid.settings.get_settings`` API is now deprecated. Use - ``pyramid.threadlocals.get_registry().settings`` instead or use the + ``pyramid.threadlocals.get_current_registry().settings`` instead or use the ``settings`` attribute of the registry available from the request (``request.registry.settings``). -- cgit v1.2.3 From 1e00f3a5f3a1ae01999f99d412a35ec46abc827c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 17 Nov 2010 00:33:42 -0500 Subject: - The ``pyramid_alchemy`` paster template had a typo, preventing an import from working. --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 2737e6893..c775bd422 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -11,6 +11,9 @@ Bug Fixes - Add deprecation warning for import of ``pyramid.zcml.zcml_configure`` and ``pyramid.zcml.file_configure``. +- The ``pyramid_alchemy`` paster template had a typo, preventing an import + from working. + Backwards Incompatibilities --------------------------- -- cgit v1.2.3 From cb96e27f0a4c0bf730c5dfdd5eb7c0c8420e3c7d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 17 Nov 2010 17:26:20 -0500 Subject: - Removed ``zodbsessions`` tutorial chapter. It's still useful, but we now have a SessionFactory abstraction which competes with it, and maintaining documentation on both ways to do it is a distraction. --- CHANGES.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index c775bd422..7f1390186 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -28,6 +28,13 @@ Deprecations ``settings`` attribute of the registry available from the request (``request.registry.settings``). +Documentation +------------- + +- Removed ``zodbsessions`` tutorial chapter. It's still useful, but we now + have a SessionFactory abstraction which competes with it, and maintaining + documentation on both ways to do it is a distraction. + 1.0a3 (2010-11-16) ================== -- cgit v1.2.3 From dbaa08e18d1bf50264faabb6e7dfce12f2c0ea71 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 17 Nov 2010 18:11:48 -0500 Subject: - Replace Twill with WebTest in internal integration tests (avoid deprecation warnings generated by Twill). --- CHANGES.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 7f1390186..fd0cead61 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -35,6 +35,12 @@ Documentation have a SessionFactory abstraction which competes with it, and maintaining documentation on both ways to do it is a distraction. +Internal +-------- + +- Replace Twill with WebTest in internal integration tests (avoid deprecation + warnings generated by Twill). + 1.0a3 (2010-11-16) ================== -- cgit v1.2.3 From 2c9d148493aaa977c69e77072466685a3367ad0b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 17 Nov 2010 18:48:42 -0500 Subject: - Add a ``pyramid.url.route_path`` API, allowing folks to generate relative URLs. Calling ``route_path`` is the same as calling ``pyramid.url.route_url`` with the argument ``_app_url`` equal to the empty string. - Add a ``pyramid.request.Request.route_path`` API. This is a convenience method of the request which calls ``pyramid.url.route_url``. --- CHANGES.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index fd0cead61..604f28cf4 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,17 @@ Next release ============ +Features +-------- + +- Add a ``pyramid.url.route_path`` API, allowing folks to generate relative + URLs. Calling ``route_path`` is the same as calling + ``pyramid.url.route_url`` with the argument ``_app_url`` equal to the empty + string. + +- Add a ``pyramid.request.Request.route_path`` API. This is a convenience + method of the request which calls ``pyramid.url.route_url``. + Bug Fixes --------- -- cgit v1.2.3 From 85ee02b24caf0bf6b491b5ecf7ad84c29ca8c75c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 18 Nov 2010 04:21:22 -0500 Subject: - Make test suite pass on Jython (requires PasteScript trunk, presumably to be 1.7.4). --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 604f28cf4..14b2c569d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -12,6 +12,9 @@ Features - Add a ``pyramid.request.Request.route_path`` API. This is a convenience method of the request which calls ``pyramid.url.route_url``. +- Make test suite pass on Jython (requires PasteScript trunk, presumably to + be 1.7.4). + Bug Fixes --------- -- cgit v1.2.3 From a66593d25e77f1a0e749f5590b45498bbaa66755 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 18 Nov 2010 16:56:05 -0500 Subject: - Fix apparent failures when calling ``pyramid.traversal.find_model(root, path)`` or ``pyramid.traversal.traverse(path)`` when ``path`` is (erroneously) a Unicode object. The user is meant to pass these APIs a string object, never a Unicode object. In practice, however, users indeed pass Unicode. Because the string that is passed must be ASCII encodeable, now, if they pass a Unicode object, its data is eagerly converted to an ASCII string rather than being passed along to downstream code as a convenience to the user and to prevent puzzling second-order failures from cropping up (all failures will occur within ``pyramid.traversal.traverse`` rather than later down the line as the result of calling ``traversal_path``). --- CHANGES.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 14b2c569d..0720034b2 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -28,6 +28,18 @@ Bug Fixes - The ``pyramid_alchemy`` paster template had a typo, preventing an import from working. +- Fix apparent failures when calling ``pyramid.traversal.find_model(root, + path)`` or ``pyramid.traversal.traverse(path)`` when ``path`` is + (erroneously) a Unicode object. The user is meant to pass these APIs a + string object, never a Unicode object. In practice, however, users indeed + pass Unicode. Because the string that is passed must be ASCII encodeable, + now, if they pass a Unicode object, its data is eagerly converted to an + ASCII string rather than being passed along to downstream code as a + convenience to the user and to prevent puzzling second-order failures from + cropping up (all failures will occur within ``pyramid.traversal.traverse`` + rather than later down the line as the result of calling + ``traversal_path``). + Backwards Incompatibilities --------------------------- -- cgit v1.2.3 From e84116c068f45c68752f89062fa545dd40acd63f Mon Sep 17 00:00:00 2001 From: Ben Bangert Date: Thu, 18 Nov 2010 14:13:02 -0800 Subject: - URL Dispatch now allows for replacement markers to be located anywhere in the pattern, instead of immediately following a ``/``. - Added ``marker_pattern`` option to ``add_route`` to supply a dict of regular expressions to be used for markers in the pattern instead of the default regular expression that matched everything except a ``/``. --- CHANGES.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 604f28cf4..b418565fa 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,11 @@ Next release Features -------- +- URL Dispatch now allows for replacement markers to be located anywhere + in the pattern, instead of immediately following a ``/``. +- Added ``marker_pattern`` option to ``add_route`` to supply a dict of + regular expressions to be used for markers in the pattern instead of the + default regular expression that matched everything except a ``/``. - Add a ``pyramid.url.route_path`` API, allowing folks to generate relative URLs. Calling ``route_path`` is the same as calling ``pyramid.url.route_url`` with the argument ``_app_url`` equal to the empty -- cgit v1.2.3 From 47c9f884f72e6902c3b789ab9c4c08a6fabcfc6a Mon Sep 17 00:00:00 2001 From: Ben Bangert Date: Thu, 18 Nov 2010 14:13:33 -0800 Subject: Gardening. --- CHANGES.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 4d51b89f5..dbd774086 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -6,9 +6,11 @@ Features - URL Dispatch now allows for replacement markers to be located anywhere in the pattern, instead of immediately following a ``/``. + - Added ``marker_pattern`` option to ``add_route`` to supply a dict of regular expressions to be used for markers in the pattern instead of the default regular expression that matched everything except a ``/``. + - Add a ``pyramid.url.route_path`` API, allowing folks to generate relative URLs. Calling ``route_path`` is the same as calling ``pyramid.url.route_url`` with the argument ``_app_url`` equal to the empty -- cgit v1.2.3 From 29b7aabcb7b50024ead27cb5ff9cb47757ffe462 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 18 Nov 2010 22:26:41 -0500 Subject: - Make test suite pass on PyPy (Chameleon doesn't work). --- CHANGES.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index dbd774086..c1e89734d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -22,6 +22,8 @@ Features - Make test suite pass on Jython (requires PasteScript trunk, presumably to be 1.7.4). +- Make test suite pass on PyPy (Chameleon doesn't work). + Bug Fixes --------- -- cgit v1.2.3 From 4018adea20ee73cfeeaebb69e95e4b00dd5cf22e Mon Sep 17 00:00:00 2001 From: Ben Bangert Date: Thu, 18 Nov 2010 20:38:25 -0800 Subject: - URL Dispatch now uses the form ``{marker}`` to denote a replace marker in the route pattern instead of ``:marker``. The old syntax is still backwards compatible and accepted. The new format allows a regular expression for that marker location to be used instead of the default ``[^/]+``, for example ``{marker:\d+}`` is now valid to require the marker to be digits. --- CHANGES.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index dbd774086..8aff366a6 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -7,9 +7,11 @@ Features - URL Dispatch now allows for replacement markers to be located anywhere in the pattern, instead of immediately following a ``/``. -- Added ``marker_pattern`` option to ``add_route`` to supply a dict of - regular expressions to be used for markers in the pattern instead of the - default regular expression that matched everything except a ``/``. +- URL Dispatch now uses the form ``{marker}`` to denote a replace marker in + the route pattern instead of ``:marker``. The old syntax is still backwards + compatible and accepted. The new format allows a regular expression for that + marker location to be used instead of the default ``[^/]+``, for example + ``{marker:\d+}`` is now valid to require the marker to be digits. - Add a ``pyramid.url.route_path`` API, allowing folks to generate relative URLs. Calling ``route_path`` is the same as calling -- cgit v1.2.3 From 614f00c88733b5248922e2b610c96f7c8c3ff57c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 19 Nov 2010 22:28:50 -0500 Subject: - Remove calls to config.begin()/config.end() from startup config code in tutorials and paster templates (no longer required). --- CHANGES.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index ed68770fd..692e3cc35 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -26,6 +26,16 @@ Features - Make test suite pass on PyPy (Chameleon doesn't work). +- Surrounding application configuration with ``config.begin()`` and + ``config.end()`` is no longer necessary. All paster templates have been + changed to no longer call these functions. + +Documentation +------------- + +- SQLAlchemy+URLDispatch and ZODB+Traversal tutorials have been updated to + not call ``config.begin()`` or ``config.end()``. + Bug Fixes --------- -- cgit v1.2.3 From 35ce2adb609bfb3db346bc8cc937d13a0d2dddcd Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 20 Nov 2010 13:52:03 -0500 Subject: - Fix configurator to not convert ``ImportError`` to ``ConfigurationError`` if the import that failed was unrelated to the import requested via a dotted name when resolving dotted names (such as view dotted names). --- CHANGES.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 692e3cc35..aee0fae2f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -30,6 +30,10 @@ Features ``config.end()`` is no longer necessary. All paster templates have been changed to no longer call these functions. +- Fix configurator to not convert ``ImportError`` to ``ConfigurationError`` + if the import that failed was unrelated to the import requested via a + dotted name when resolving dotted names (such as view dotted names). + Documentation ------------- -- cgit v1.2.3 From 7eb4adc19acd98c10fa7d5f4f63b6ed1fe82b234 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 00:37:42 -0500 Subject: prep for 1.0a4 --- CHANGES.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index aee0fae2f..84b103e65 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,5 +1,5 @@ -Next release -============ +1.0a4 (2010-11-21) +================== Features -------- @@ -8,10 +8,11 @@ Features in the pattern, instead of immediately following a ``/``. - URL Dispatch now uses the form ``{marker}`` to denote a replace marker in - the route pattern instead of ``:marker``. The old syntax is still backwards - compatible and accepted. The new format allows a regular expression for that - marker location to be used instead of the default ``[^/]+``, for example - ``{marker:\d+}`` is now valid to require the marker to be digits. + the route pattern instead of ``:marker``. The old colon-style marker syntax + is still accepted for backwards compatibility. The new format allows a + regular expression for that marker location to be used instead of the + default ``[^/]+``, for example ``{marker:\d+}`` is now valid to require the + marker to be digits. - Add a ``pyramid.url.route_path`` API, allowing folks to generate relative URLs. Calling ``route_path`` is the same as calling @@ -62,7 +63,7 @@ Bug Fixes ASCII string rather than being passed along to downstream code as a convenience to the user and to prevent puzzling second-order failures from cropping up (all failures will occur within ``pyramid.traversal.traverse`` - rather than later down the line as the result of calling + rather than later down the line as the result of calling e.g. ``traversal_path``). Backwards Incompatibilities -- cgit v1.2.3 From 406259adbe413b91d2629471d0d8be584f0abd7c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 00:39:22 -0500 Subject: note bfg qualification to version numer --- CHANGES.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 84b103e65..0f74b1616 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -70,7 +70,7 @@ Backwards Incompatibilities --------------------------- - The ``pyramid.testing.zcml_configure`` API has been removed. It had been - advertised as removed since 1.2a1, but hadn't actually been. + advertised as removed since repoze.bfg 1.2a1, but hadn't actually been. Deprecations ------------ -- cgit v1.2.3 From aedc211bd5a9b9bef4aae8a3b3f0986fe4263463 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 00:44:56 -0500 Subject: back to development --- CHANGES.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 0f74b1616..8540a518c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,7 @@ +Next release +============ + + 1.0a4 (2010-11-21) ================== -- cgit v1.2.3 From 2197ff06b492b7d1acf29df426c0fccd6d5dc98e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 02:05:50 -0500 Subject: - "Sample Applications" section of docs changed to note existence of Cluegun, Shootout and Virginia sample applications, ported from their repoze.bfg origin packages. --- CHANGES.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 8540a518c..33e87a7c8 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,13 @@ Next release ============ +Documentation +------------- + +- "Sample Applications" section of docs changed to note existence of Cluegun, + Shootout and Virginia sample applications, ported from their repoze.bfg + origin packages. + 1.0a4 (2010-11-21) ================== -- cgit v1.2.3 From b44b9302f7a89de5444177137a3c915756d1ce0b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 13:36:07 -0500 Subject: - The ``pyramid_routesalchemy`` paster template's unit tests failed (``AssertionError: 'SomeProject' != 'someproject'``). This is fixed. --- CHANGES.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 33e87a7c8..36b610e10 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,12 @@ Next release ============ +Bug Fixes +--------- + +- The ``pyramid_routesalchemy`` paster template's unit tests failed + (``AssertionError: 'SomeProject' != 'someproject'``). This is fixed. + Documentation ------------- -- cgit v1.2.3 From 957f614be664cb3b2015c39e2ac3441b7fda2f1b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 17:08:02 -0500 Subject: - Add logging configuration to all paster templates. - ``pyramid_alchemy``, ``pyramid_routesalchemy``, and ``pylons_sqla`` paster templates now use idiomatic SQLAlchemy configuration in their respective ``.ini`` files and Python code. --- CHANGES.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 36b610e10..a4481edb3 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,15 @@ Next release ============ +Features +-------- + +- Add logging configuration to all paster templates. + +- ``pyramid_alchemy``, ``pyramid_routesalchemy``, and ``pylons_sqla`` paster + templates now use idiomatic SQLAlchemy configuration in their respective + ``.ini`` files and Python code. + Bug Fixes --------- -- cgit v1.2.3 From d0e2f661e07d43188435b25aec0577dfbd50cfb0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 17:46:14 -0500 Subject: - SQLAlchemy+URLDispatch tutorial updated to integrate changes to ``pyramid_routesalchemy`` template. --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index a4481edb3..9fa66ce1f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -23,6 +23,9 @@ Documentation Shootout and Virginia sample applications, ported from their repoze.bfg origin packages. +- SQLAlchemy+URLDispatch tutorial updated to integrate changes to + ``pyramid_routesalchemy`` template. + 1.0a4 (2010-11-21) ================== -- cgit v1.2.3 From e269038f5328f80edaa7cceb73b8a176204ecc63 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 18:15:43 -0500 Subject: - Add ``pyramid.interfaces.ITemplateRenderer`` interface to Interfaces API chapter (has ``implementation()`` method, required to be used when getting at Chameleon macros). --- CHANGES.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 9fa66ce1f..9d9a9ee5a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -26,6 +26,10 @@ Documentation - SQLAlchemy+URLDispatch tutorial updated to integrate changes to ``pyramid_routesalchemy`` template. +- Add ``pyramid.interfaces.ITemplateRenderer`` interface to Interfaces API + chapter (has ``implementation()`` method, required to be used when getting + at Chameleon macros). + 1.0a4 (2010-11-21) ================== -- cgit v1.2.3 From 76e48bbbde9891aa98205d4f9fd8c47d15a7f0eb Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 21 Nov 2010 21:48:00 -0500 Subject: - Make default renderer work (renderer factory registered with no name, which is active for every view unless the view names a specific renderer). --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 9d9a9ee5a..ee36776c7 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -16,6 +16,9 @@ Bug Fixes - The ``pyramid_routesalchemy`` paster template's unit tests failed (``AssertionError: 'SomeProject' != 'someproject'``). This is fixed. +- Make default renderer work (renderer factory registered with no name, which + is active for every view unless the view names a specific renderer). + Documentation ------------- -- cgit v1.2.3 From c5f5572a5320ed0ddfc54ee4b03933b6280c9032 Mon Sep 17 00:00:00 2001 From: Chris Rossi Date: Mon, 22 Nov 2010 14:35:16 -0500 Subject: pyramid.testig.DummyRequest now has a class variable, query_string, + which defaults to the empty string. --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index ee36776c7..2ea0ac448 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -10,6 +10,9 @@ Features templates now use idiomatic SQLAlchemy configuration in their respective ``.ini`` files and Python code. +- ``pyramid.testig.DummyRequest`` now has a class variable, ``query_string``, + which defaults to the empty string. + Bug Fixes --------- -- cgit v1.2.3 From e880a42099f1e3df1bd628058ba9e3a38a5ef0c8 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 24 Nov 2010 03:15:22 -0500 Subject: - Add support for json on GAE by catching NotImplementedError and importing simplejson from django.utils. --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 2ea0ac448..b8c3a847f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -13,6 +13,9 @@ Features - ``pyramid.testig.DummyRequest`` now has a class variable, ``query_string``, which defaults to the empty string. +- Add support for json on GAE by catching NotImplementedError and importing + simplejson from django.utils. + Bug Fixes --------- -- cgit v1.2.3 From a9f17c8b3a7fc935b70e87f2a1fb8728deb16f85 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 24 Nov 2010 18:42:35 -0500 Subject: - The Mako renderer did not properly turn the ``mako.imports``, ``mako.default_filters``, and ``mako.imports`` settings into lists. - The Mako renderer did not properly convert the ``mako.error_handler`` setting from a dotted name to a callable. - The Mako renderer now accepts a resource specification for ``mako.module_directory``. --- CHANGES.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index b8c3a847f..547a7254a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -16,6 +16,9 @@ Features - Add support for json on GAE by catching NotImplementedError and importing simplejson from django.utils. +- The Mako renderer now accepts a resource specification for + ``mako.module_directory``. + Bug Fixes --------- @@ -25,6 +28,12 @@ Bug Fixes - Make default renderer work (renderer factory registered with no name, which is active for every view unless the view names a specific renderer). +- The Mako renderer did not properly turn the ``mako.imports``, + ``mako.default_filters``, and ``mako.imports`` settings into lists. + +- The Mako renderer did not properly convert the ``mako.error_handler`` + setting from a dotted name to a callable. + Documentation ------------- -- cgit v1.2.3 From 0cb7acf94d429a6019871308469a98bafecac923 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 24 Nov 2010 18:50:30 -0500 Subject: typo fix --- CHANGES.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 547a7254a..3c6b8e010 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -10,8 +10,8 @@ Features templates now use idiomatic SQLAlchemy configuration in their respective ``.ini`` files and Python code. -- ``pyramid.testig.DummyRequest`` now has a class variable, ``query_string``, - which defaults to the empty string. +- ``pyramid.testing.DummyRequest`` now has a class variable, + ``query_string``, which defaults to the empty string. - Add support for json on GAE by catching NotImplementedError and importing simplejson from django.utils. -- cgit v1.2.3 From 81e648ffded9caa9480c0053c11a0bc15afbc39a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 24 Nov 2010 23:07:58 -0500 Subject: - New boolean Mako settings variable ``mako.strict_undefined``. See `Mako Context Variables `_ for its meaning. - Depend on Mako 0.3.6+ (we now require the ``strict_undefined`` feature). --- CHANGES.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 3c6b8e010..1675ab9fc 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -19,6 +19,16 @@ Features - The Mako renderer now accepts a resource specification for ``mako.module_directory``. +- New boolean Mako settings variable ``mako.strict_undefined``. See `Mako + Context Variables + `_ for + its meaning. + +Dependencies +------------ + +- Depend on Mako 0.3.6+ (we now require the ``strict_undefined`` feature). + Bug Fixes --------- -- cgit v1.2.3