Skip to content

Releases: toastdriven/restless

2.2.0

04 Aug 20:58
49b579d
Compare
Choose a tag to compare
  • Add pagination in the DjangoResource [#114]
  • Add support for Python 3.7+, drop EOL 3.7-3.5 [#116][#127]

2.1.1

01 Jun 19:08
0accfd0
Compare
Choose a tag to compare

Bug Fixes

  • Fixed issue caused by trying to import six on setup.py file

2.1.0

01 Jun 15:55
2ddc34e
Compare
Choose a tag to compare

Features

  • Added SubPreparer and CollectionSubPreparer classes to make easier to nest responses
  • Hability of using callables in preparers (as soon as they don't have args)

Changes

  • Dropped Itty support :(
  • Proper HTTP status messages
  • Added support to Django 1.9 to 1.11 (dropped support to Django <= 1.7)
  • Proper wrapping for decorators

2.0.4

22 May 18:08
c68ff65
Compare
Choose a tag to compare

Added support to Django 1.9, 1.10 and 1.11

2.0.3

21 Nov 17:38
Compare
Choose a tag to compare

This release adds a change which was in restkiss v2.0.2 but got lost in the backporting process - sorry, everybody!

Features

  • Changed all Resource subclasses so that a 204 No Content response sends
    text/plain on Content-Type. (SHA: 116da9f & SHA: b10be61)

2.0.2

14 Nov 16:28
Compare
Choose a tag to compare

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)