Flask-restless

Latest version: v0.17.0

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

Scan your dependencies

Page 3 of 5

0.12.1

~~~~~~~~~~~~~~

Released on December 1, 2013.

- :issue:`222`: on :http:method:`post` and :http:method:`patch` requests, recurse into
nested relations to get or create instances of related models.
- :issue:`246`: adds `pysqlite <https://pypi.python.org/pypi/pysqlite>`_ to test
requirements.
- :issue:`260`: return a single object when making a :http:method:`get` request to a
relation sub-URL.
- :issue:`264`: all methods now execute postprocessors after setting headers.
- :issue:`265`: convert strings to dates in related models when making
:http:method:`post` requests.

0.12.0

~~~~~~~~~~~~~~

Released on August 8, 2013.

- :issue:`188`: provides metadata as well as normal data in JSONP responses.
- :issue:`193`: allows :http:method:`delete` requests to related instances.
- :issue:`215`: removes Python 2.5 tests from Travis configuration.
- :issue:`216`: don't resolve Query objects until pagination function.
- :issue:`217`: adds missing indices in format string.
- :issue:`220`: fix bug when checking attributes on a hybrid property.
- :issue:`227`: allows client to request that the server use the current date
and/or time when setting the value of a field.
- :issue:`228` (as well as :issue:`212,218,231`): fixes issue due to a module
removed from Flask version 0.10.

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``.
- :issue:`180`: allow more expressive ``has`` and ``any`` searches.
- :issue:`195`: convert UUID objects to strings when converting an instance of a model
to a dictionary.
- :issue:`202`: allow setting hybrid properties with expressions and setters.
- :issue:`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.
- :issue:`204`, 205: allow parameters in ``Content-Type`` header.

0.10.1

~~~~~~~~~~~~~~

Released on May 8, 2013.

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

0.10.0

~~~~~~~~~~~~~~

Released on April 30, 2013.

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

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.