diff options
| author | Chris McDonough <chrism@plope.com> | 2012-03-29 04:21:30 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-03-29 04:21:30 -0400 |
| commit | de797c4cefb03f16cfe3505c85d94c0af24eb066 (patch) | |
| tree | 226eca892311341011e5cdcaf5e4861e65e9d6ae /CHANGES.txt | |
| parent | ba60524b56a639ecad42f85b63af2120d9d96cdc (diff) | |
| download | pyramid-de797c4cefb03f16cfe3505c85d94c0af24eb066.tar.gz pyramid-de797c4cefb03f16cfe3505c85d94c0af24eb066.tar.bz2 pyramid-de797c4cefb03f16cfe3505c85d94c0af24eb066.zip | |
- Coverage and docs updates for custom JSON class.
- Fork point: master now represents a future 1.4 release.
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 859dc7b74..0714f6940 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,22 +1,13 @@ Next release ============ -Bug Fixes ---------- +Features +-------- -- Add ``REMOTE_ADDR`` to the ``prequest`` WSGI environ dict for benefit of - the debug toolbar, which effectively requires it to be present to work - properly. - -- When an asset specification was used as a Mako ``renderer=`` argument and a - ``mako.modules_directory`` was specified, Pyramid would fail to render the - template and instead would raise an error when attempting to write the file - to the modules directory. Example symptom: ``WindowsError: [Error 267] The - directory name is invalid: - 'c:\\docume~1\\chrism\\locals~1\\temp\\tmp9jtjix\\pyramid.tests:fixtures'``. - We now replace the colon in the Mako module filename with a dollar sign, so - it can work on Windows. See https://github.com/Pylons/pyramid/issues/512 - for more information. +- Custom objects can be made easily JSON-serializable in Pyramid by defining + a ``__json__`` method on the object's class. This method should return + values natively serializable by ``json.dumps`` (such as ints, lists, + dictionaries, strings, and so forth). 1.3 (2012-03-21) ================ |
