Commit graph

3 commits

Author SHA1 Message Date
rodent
1b4b72aff2 v0.13.3
Date: 	2016-02-17
Bugfixes

    Permit changing existing value on a ToOneField to None. (Closes #1449)

v0.13.2
Date: 	2016-02-14
Bugfixes

    Fix in Resource.save_related: related_obj can be empty in patch requests (introduced in #1378). (Fixes #1436)

    Fixed bug that prevented fitlering on related resources. apply_filters hook now used in obj_get. (Fixes #1435, Fixes #1443)

    Use build_filters in obj_get. (Fixes #1444)

    Updated DjangoAuthorization to disallow read unless a user has change permission. (#1407, PR #1409)

    Authorization classes now handle usernames containing spaces. Closes #966.

    Cleaned up old, unneeded code. (closes PR #1433)
            Reuse Django test Client.patch(). (@SeanHayes, closes #1442)
            Just a typo fix in the testing docs (by @bezidejni, closes #810)
            Removed references to patterns() (by @SeanHayes, closes #1437)
            Removed deprecated methods Resource.apply_authorization_limits and Authorization.apply_limits from code and documentation. (by @SeanHayes, closes #1383, #1045, #1284, #837)
            Updates docs/cookbook.rst to make sure it's clear which url to import. (by @yuvadm, closes #716)
            Updated docs/tutorial.rst. Without "null=True, blank=True" parameters in Slugfield, expecting "automatic slug generation" in save method is pointless. (by @orges, closes #753)
            Cleaned up Riak docs. (by @SeanHayes, closes #275)
            Include import statement for trailing_slash. (by @ljosa, closes #770)
            Fix docs: Meta.filtering is actually a dict. (by @georgedorn, closes #807)
            Fix load data command. (by @blite, closes #357, #358)

    Related schemas no longer raise error when not URL accessible. (Fixes PR #1439)

    Avoid modifying Field instances during request/response cycle. (closes #1415)

    Removing the Manager dependency in ToManyField.dehydrate(). (Closes #537)

v0.13.1
Date: 	2016-01-25
Bugfixes

    Prevent muting non-tastypie's exceptions (#1297, PR #1404)
    Gracefully handle UnsupportFormat exception (#1154, PR #1417)
    Add related schema urls (#782, PR #1309)
    Repr value must be str in Py2 (#1421, PR #1422)
    Fixed assertHttpAccepted (PR #1416)

v0.13.0
Date: 	2016-01-12

Dropped Django 1.5-1.6 support, added Django 1.9.
Bugfixes

    Various performance improvements (#1330, #1335, #1337, #1363)
    More descriptive error messages (#1201)
    Throttled requests now include Retry-After header. (#1204)
    In DecimalField.hydrate, catch decimal.InvalidOperation and raise ApiFieldError (#862)
    Add 'primary_key' Field To Schema (#1141)
    ContentTypes: Remove 'return' in __init__; remove redundant parentheses (#1090)
    Allow callable strings for ToOneField.attribute (#1193)
    Ensure Tastypie doesn't return extra data it received (#1169)
    In DecimalField.hydrate, catch decimal.InvalidOperation and raise ApiFieldError (#862)
    Fixed tastypie's losing received microseconds. (#1126)
    Data leakage fix (#1203)
    Ignore extra related data (#1336)
    Suppress Content-Type header on HTTP 204 (see #111) (#1054)
    Allow creation of related resources that have an 'items' related_name (supercedes #1000) (#1340)
    Serializers: remove unimplemented to_html/from_html (#1343)
    If GEOS is not installed then exclude geos related calls. (#1348)
    Fixed Resource.deserialize() to honor format parameter (#1354 #1356, #1358)
    Raise ValueError when trying to register a Resource class instead of a Resource instance. (#1361)
    Fix hydrating/saving of related resources. (#1363)
    Use Tastypie DateField for DateField on the model. (SHA: b248e7f)
    ApiFieldError on empty non-null field (#1208)
    Full schema (all schemas in a single request) (#1207)
    Added verbose_name to API schema. (#1370)
    Fixes Reverse One to One Relationships (Replaces #568) (#1378)
    Fixed "GIS importerror vs improperlyconfigured" (#1384)
    Fixed bug which occurs when detail_uri_name field has a default value (Issue #1323) (#1387)
    Fixed disabling cache using timeout=0, fixes #1213, #1212 (#1399)
    Removed Django 1.5-1.6 support, added 1.9 support. (#1400)
    stop using django.conf.urls.patterns (#1402)
    Fix for saving related items when resource_uri is provided but other unique data is not. (#1394) (#1410)


v0.12.2
Date: 	2015-07-16

Dropped Python 2.6 support, added Django 1.8.
Bugfixes

    Dropped support for Python 2.6
    Added support for Django 1.8
    Fix stale data caused by prefetch_related cache (SHA: b78661d)
2017-01-12 01:13:12 +00:00
rodent
81a1308f99 v0.12.0
=======

This release adds official support for both Django 1.7, as well as
several bugfixes.

.. warning::

  If you were previously relying on importing the ``User`` model from
  ``tastypie.compat``, this import will no longer work correctly. This was
  removed due to the way app-loading works in Django 1.7 & no great solution
  for dodging this issue exists.

  If you were using either of::

    from tastypie.compat import User
    from tastypie.compat import username_field

  Please update your code as follows::

    from tastypie.compat import get_user_model
    from tastypie.compat import get_username_field


Bugfixes
--------

* Drastic reworking of the test suite. (SHA: 95f57f7)
* Fixed Travis to run Python 3.4 tests. (SHA: 7af528c)
* Fixed a bug where URLs would be incorrectly handled if the ``api_name`` &
  ``resource_name`` were the same. (SHA: fd55aa3)
* Fixed a test requirement for PyYAML. (SHA: b4f6531)
* Added support for Django 1.7. (SHA: 7881bb6)
* Documentation updates:

    * Fixed header in ``tools.rst``. (SHA: f8af772)
    * Fixed header in ``resources.rst``. (SHA: 9508cbf)
2014-11-09 21:57:00 +00:00
rodent
291ba91122 Import py27-django-tastypie-0.11.1 as www/py-django-tastypie.
A flexible & capable API layer for Django.

Creating delicious APIs for Django apps since 2010.
2014-06-02 05:12:35 +00:00