From 446065219c5e43a8116f5b06142de0c75c779618 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Sat, 2 Jul 2016 01:39:02 -0700 Subject: Update Windows installation instructions and related bits. - Use proper Windows commands and paths - Use doscon for Windows console lexer --- CHANGES.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 4fdd7bf2f..36a8d17ac 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -25,3 +25,5 @@ Deprecations Documentation Changes --------------------- +- Updated Windows installation instructions and related bits. + See: https://github.com/Pylons/pyramid/issues/2661 \ No newline at end of file -- cgit v1.2.3 From d0b37171ec7d63c973a50796263d8d96a58b4470 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Fri, 8 Jul 2016 00:50:18 -0700 Subject: Add change note for #2687 --- CHANGES.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 36a8d17ac..4c35b8bb2 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -19,6 +19,10 @@ Features Bug Fixes --------- +- Fixed bug in `pcreate` such that it now shows the correct view when a class + and `attr` is involved. + See: https://github.com/Pylons/pyramid/pull/2687 + Deprecations ------------ -- cgit v1.2.3 From 674f2b312481a970267ffd5168c707e7376f994b Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Tue, 12 Jul 2016 09:26:46 -0700 Subject: Correct change note --- CHANGES.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 4c35b8bb2..3e659ee9a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -19,7 +19,7 @@ Features Bug Fixes --------- -- Fixed bug in `pcreate` such that it now shows the correct view when a class +- Fixed bug in `proutes` such that it now shows the correct view when a class and `attr` is involved. See: https://github.com/Pylons/pyramid/pull/2687 -- cgit v1.2.3 From 45f8822009d66484de9d5dcedbbd5bc237baf7a0 Mon Sep 17 00:00:00 2001 From: Bert JW Regeer Date: Sat, 16 Jul 2016 20:13:48 -0600 Subject: Update CHANGES.txt for #2706 --- CHANGES.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 3e659ee9a..8cb4c602e 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -19,10 +19,15 @@ Features Bug Fixes --------- + - Fixed bug in `proutes` such that it now shows the correct view when a class and `attr` is involved. See: https://github.com/Pylons/pyramid/pull/2687 +- The JSON renderers now encode their result as UTF-8. The renderer helper + will now warn the user and encode the result as UTF-8 if a renderer returns a + text type and the response does not have a valid character set. See + https://github.com/Pylons/pyramid/pull/2706 Deprecations ------------ @@ -30,4 +35,4 @@ Deprecations Documentation Changes --------------------- - Updated Windows installation instructions and related bits. - See: https://github.com/Pylons/pyramid/issues/2661 \ No newline at end of file + See: https://github.com/Pylons/pyramid/issues/2661 -- cgit v1.2.3 From 693cb098a7bc8fbff5fb97c1ac031d0b6e397060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dariusz=20G=C3=B3recki?= Date: Thu, 11 Aug 2016 12:04:28 +0100 Subject: Add this feature to chenges & small improvement --- CHANGES.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 8cb4c602e..a614a4499 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -17,6 +17,11 @@ Backward Incompatibilities Features -------- +- The `_get_credentials` private method of `BasicAuthAuthenticationPolicy` + has been extracted into standalone function `extract_http_basic_credentials` + in `pyramid.authentication` module, this function extracts HTTP Basic + credentials from `request` object, and returns them as a named tuple. + Bug Fixes --------- -- cgit v1.2.3 From 23b7a2a8423a56928e99953bcc41ce281b1ae6be Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Tue, 16 Aug 2016 18:11:09 -0500 Subject: Fix #2744 by reverting #2706 This reverts commit c7d8f6515d4b154c4a4cf2cbaac9789fbcd19282. This reverts commit 0dcd259c0263c14e8c51d9e204c1419daffbd2ce. This reverts commit 412ed2e1988e2fd70d02e4176c9c9c7855b0093c. --- CHANGES.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 8cb4c602e..02e3271ce 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -24,11 +24,6 @@ Bug Fixes and `attr` is involved. See: https://github.com/Pylons/pyramid/pull/2687 -- The JSON renderers now encode their result as UTF-8. The renderer helper - will now warn the user and encode the result as UTF-8 if a renderer returns a - text type and the response does not have a valid character set. See - https://github.com/Pylons/pyramid/pull/2706 - Deprecations ------------ -- cgit v1.2.3 From ab0be8ab6c6001db7ca7644e4d34bbdcb49d70e2 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Wed, 31 Aug 2016 22:49:50 -0500 Subject: add changelog for #2714 --- CHANGES.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 02e3271ce..198dfaab5 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -24,6 +24,10 @@ Bug Fixes and `attr` is involved. See: https://github.com/Pylons/pyramid/pull/2687 +- Fix a ``FutureWarning`` in Python 3.5 when using ``re.split`` on the + ``format`` setting to the ``proutes`` script. + See https://github.com/Pylons/pyramid/pull/2714 + Deprecations ------------ -- cgit v1.2.3 From c8530bde0d2cd2f4d53c0ca6e45ac463dfef7397 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Wed, 31 Aug 2016 23:16:04 -0500 Subject: add changelog for #2715 --- CHANGES.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 198dfaab5..aa17f501b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -28,6 +28,14 @@ Bug Fixes ``format`` setting to the ``proutes`` script. See https://github.com/Pylons/pyramid/pull/2714 +- Fix a ``RuntimeWarning`` emitted by WebOb when using arbitrary objects + as the ``userid`` in the ``AuthTktAuthenticationPolicy``. This is now caught + by the policy and the object is serialized as a base64 string to avoid + the cryptic warning. Since the userid will be read back as a string on + subsequent requests a more useful warning is emitted encouraging you to + use a primitive type instead. + See https://github.com/Pylons/pyramid/pull/2715 + Deprecations ------------ -- cgit v1.2.3 From dd0a1589a3d6cbf4557ba4987fae48b715bf1714 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Wed, 31 Aug 2016 23:38:56 -0500 Subject: ref the pull request for #2615 in the changelog --- CHANGES.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index aa17f501b..f679f9993 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -14,6 +14,8 @@ Backward Incompatibilities To run your server as a daemon you should use a process manager instead of pserve. + See https://github.com/Pylons/pyramid/pull/2615 + Features -------- -- cgit v1.2.3 From 0295ae858cb18bc280c6ace76fda44b4154a085c Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Wed, 31 Aug 2016 23:46:45 -0500 Subject: rename the credentials class --- CHANGES.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index b485ae59e..8fd6a8a91 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -20,9 +20,9 @@ Features -------- - The `_get_credentials` private method of `BasicAuthAuthenticationPolicy` - has been extracted into standalone function `extract_http_basic_credentials` + has been extracted into standalone function ``extract_http_basic_credentials` in `pyramid.authentication` module, this function extracts HTTP Basic - credentials from `request` object, and returns them as a named tuple. + credentials from a ``request`` object, and returns them as a named tuple. Bug Fixes --------- -- cgit v1.2.3 From 44e0fca16dfa6e9e896a1dc254c85b79d2c8ae88 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Wed, 31 Aug 2016 23:53:13 -0500 Subject: reference pull request for #2662 --- CHANGES.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 8fd6a8a91..3eb23b9ec 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -23,6 +23,7 @@ Features has been extracted into standalone function ``extract_http_basic_credentials` in `pyramid.authentication` module, this function extracts HTTP Basic credentials from a ``request`` object, and returns them as a named tuple. + See https://github.com/Pylons/pyramid/pull/2662 Bug Fixes --------- -- cgit v1.2.3 From f6d001333354937c8e4798d5c9ba5a31fb5dd644 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sat, 3 Sep 2016 22:23:47 -0500 Subject: changelog for #2757 --- CHANGES.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 3eb23b9ec..e96b03ab1 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -25,6 +25,11 @@ Features credentials from a ``request`` object, and returns them as a named tuple. See https://github.com/Pylons/pyramid/pull/2662 +- Pyramid 1.4 silently dropped a feature of the configurator that has been + restored. It's again possible for action discriminators to conflict across + different action orders. + See https://github.com/Pylons/pyramid/pull/2757 + Bug Fixes --------- @@ -44,6 +49,17 @@ Bug Fixes use a primitive type instead. See https://github.com/Pylons/pyramid/pull/2715 +- Pyramid 1.6 introduced the ability for an action to invoke another action. + There was a bug in the way that ``config.add_view`` would interact with + custom view derivers introduced in Pyramid 1.7 because the view's + discriminator cannot be computed until view derivers and view predicates + have been created in earlier orders. Invoking an action from another action + would trigger an unrolling of the pipeline and would compute discriminators + before they were ready. The new behavior respects the ``order`` of the action + and ensures the discriminators are not computed until dependent actions + from previous orders have executed. + See https://github.com/Pylons/pyramid/pull/2757 + Deprecations ------------ -- cgit v1.2.3 From 10f34853225e18c1d57f95d2f9f52a496300498a Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sat, 3 Sep 2016 22:39:48 -0500 Subject: changelog for #2760 --- CHANGES.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index e96b03ab1..49613b242 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -30,6 +30,11 @@ Features different action orders. See https://github.com/Pylons/pyramid/pull/2757 +- ``pyramid.paster.bootstrap`` and its sibling ``pyramid.scripting.prepare`` + can now be used as context managers to automatically invoke the ``closer`` + and pop threadlocals off of the stack to prevent memory leaks. + See https://github.com/Pylons/pyramid/pull/2760 + Bug Fixes --------- -- cgit v1.2.3 From 4acd85dc98fb2a43eae54d2116cc4bf383157269 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Mon, 12 Sep 2016 21:24:26 -0500 Subject: changelog for #2764 --- CHANGES.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 49613b242..f17a04f92 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -71,4 +71,8 @@ Deprecations Documentation Changes --------------------- - Updated Windows installation instructions and related bits. - See: https://github.com/Pylons/pyramid/issues/2661 + See https://github.com/Pylons/pyramid/issues/2661 + +- Fix an inconsistency in the documentation between view predicates and + route predicates and highlight the differences in their APIs. + See https://github.com/Pylons/pyramid/pull/2764 -- cgit v1.2.3