File: v2.0.2.rst

package info (click to toggle)
python-restless 2.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 608 kB
  • sloc: python: 2,124; makefile: 148
file content (36 lines) | stat: -rw-r--r-- 1,348 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
restless v2.0.2
===============

:date: 2016-11-14

This release makes some long-needed changes on error handling for ``Resource``
and its subclasses, plus support for both Django >= 1.9 and Tornado >= 4.0 and
allowing alphanumeric PKs on all supported frameworks.


Features
--------

* Allowed PKs with dashes and alphanumeric digits. (SHA: e52333b)
* Reworked test suite so that it uses ``tox`` for simultaneously testing on
  CPython and PyPy, both 2.x and 3.x (SHA: 2035e21, SHA: 9ca0e8c, SHA: 3915980
  & SHA: a1d2d96)
* Reworked ``Resource`` so that it throws a ``NotImplementedError`` instead of
  returning an ``HttpResponse`` from Django. (SHA: 27859c8)
* Added several ``HttpError`` subclasses. (SHA: e2aff93)
* Changed ``Resource`` so that it allows any serializable object on the response
  body. (SHA: 1e3522b & SHA: b70a492)


Bugfixes
--------

* Changed ``JSONSerializer`` to throw a ``BadRequest`` upon a serialization
  error. (SHA: 8471463)
* Updated ``DjangoResource`` to use lists instead of the deprecated
  ``django.conf.urls.patterns`` object. (SHA: f166e4d & SHA: f94c500)
* Fixed ``FieldsPreparer`` behavior when parsing objects with a custom
  ``__getattr__``. (SHA: 665ef31)
* Applied Debian's fix to Tornado tests for version 4.0.0 onwards. (SHA: 372e00a)
* Skips tests for all unavailable frameworks. (SHA: 8b81b17)