Flask-restless-zx

Latest version: v0.20.0

Safety actively analyzes 666166 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.11.0

--------------

Released on May 18, 2013.

- Requests that require a body but don't have ``Content-Type:
application/json`` will cause a :http:statuscode:`415` response.
- Responses now have ``Content-Type: application/json``.
- 180: allow more expressive ``has`` and ``any`` searches.
- 195: convert UUID objects to strings when converting an instance of a model
to a dictionary.
- 202: allow setting hybrid properties with expressions and setters.
- 203: adds the ``include_methods`` keyword argument to
:meth:`APIManager.create_api`, which allows JSON responses to include the
result of calling arbitrary methods of instances of models.
- 204, 205: allow parameters in ``Content-Type`` header.

0.10.1

--------------

Released on May 8, 2013.

- 115: change ``assertEqual()`` methods to ``assert`` statements in tests.
- 184, 186: Switch to `nose <http://nose.readthedocs.org>`_ for testing.
- 197: documents technique for adding filters in processors when there are
none initially.

0.10.0

--------------

Released on April 30, 2013.

- 2: adds basic :http:method:`get` access to one level of relationship depth
for models.
- 113: interpret empty strings for date fields as ``None`` objects.
- 115: use Python's built-in assert statements for testing
- 128: allow disjunctions when filtering search queries.
- 130: documentation and examples now more clearly show search examples.
- 135: added support for hybrid properties.
- 139: remove custom code for authentication in favor of user-defined pre- and
postprocessors (this supercedes the fix from 154).
- 141: relax requirement for version of `python-dateutil
<http://labix.org/python-dateutil>`_ to be not equal to 2.0 if using Python
version 2.6 or 2.7.
- 146: preprocessors now really execute before other code.
- 148: adds support for SQLAlchemy `association proxies <http://docs.sqlalchemy.org/en/latest/orm/extensions/associationproxy.html>`_.
- 154 (*this fix is irrelevant due to 139*): authentication function now may
raise an exception instead of just returning a Boolean.
- 157: :http:method:`post` requests now receive a response containing all
fields of the created instance.
- 162: allow pre- and postprocessors to indicate that no change has occurred.
- 164, 172, and 173: :http:method:`patch` requests update fields on related
instances.
- 165: fixed bug in automatic exposing of URLs for related instances.
- 170: respond with correct HTTP status codes when a query for a single
instance results in none or multiple instances.
- 174: allow dynamically loaded relationships for automatically exposed URLs
of related instances.
- 176: get model attribute instead of column name when getting name of primary
key.
- 182: allow :http:method:`post` requests that set hybrid properties.
- 152: adds some basic server-side logging for exceptions raised by views.

0.9.3

-------------

Released on February 4, 2013.

- Fixes incompatibility with Python 2.5 try/except syntax.
- 116: handle requests which raise :exc:`~sqlalchemy.exc.IntegrityError`.

0.9.2

-------------

Released on February 4, 2013.

- 82, 134, 136: added request pre- and postprocessors.
- 120: adds support for JSON-P callbacks in :http:method:`get` requests.

0.9.1

-------------

Released on January 17, 2013.

- 126: fix documentation build failure due to bug in a dependency.
- 127: added "ilike" query operator.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.