Flask-restless

Latest version: v0.17.0

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

Scan your dependencies

Page 4 of 5

0.9.2

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

Released on February 4, 2013.

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

0.9.1

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

Released on January 17, 2013.

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

0.9.0

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

Released on January 16, 2013.

- Removed ability to provide a :class:`~sqlalchemy.orm.session.Session` class
when initializing :class:`.APIManager`; provide an instance of the class
instead.
- Changes some dynamically loaded relationships used for testing and in
examples to be many-to-one instead of the incorrect one-to-many. Versions of
SQLAlchemy after 0.8.0b2 raise an exception when the latter is used.
- :issue:`105`: added ability to set a list of related model instances on a model.
- :issue:`107`: server responds with an error code when a :http:method:`patch` or
:http:method:`post` request specifies a field which does not exist on the
model.
- :issue:`108`: dynamically loaded relationships should now be rendered
correctly by the :func:`!views._to_dict` function regardless of whether they
are a list or a single object.
- :issue:`109`: use `sphinxcontrib-issuetracker`_ to render links to GitHub issues in
documentation.
- :issue:`110`: enable ``results_per_page`` query parameter for clients, and
added ``max_results_per_page`` keyword argument to
:meth:`.APIManager.create_api`.
- :issue:`114`: fix bug where string representations of integers were converted to
integers.
- :issue:`117`: allow adding related instances on :http:method:`patch` requests for
one-to-one relationships.
- :issue:`123`: :http:method:`patch` requests to instances which do not exist result in
a :http:statuscode:`404` response.

.. _sphinxcontrib-issuetracker: https://sphinxcontrib-issuetracker.readthedocs.org/en/latest

0.8.0

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

Released on November 19, 2012.

- :issue:`94`: :func:`!views._to_dict` should return a single object instead of
a list when resolving dynamically loaded many-to-one relationships.
- :issue:`104`: added ``num_results`` key to paginated JSON responses.

0.7.0

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

Released on October 9, 2012.

- Added working ``include`` and ``exclude`` functionality to the
:func:`!views._to_dict` function.
- Added ``exclude_columns`` keyword argument to :meth:`.APIManager.create_api`.
- :issue:`79`: attempted to access attribute of ``None`` in constructor of
:class:`.APIManager`.
- :issue:`83`: allow :http:method:`post` requests with one-to-one related instances.
- :issue:`86`: allow specifying include and exclude for related models.
- :issue:`91`: correctly handle :http:method:`post` requests to nullable
:class:`~sqlalchemy.types.DateTime` columns.
- :issue:`93`: Added a ``total_pages`` mapping to the JSON response.
- :issue:`98`: :http:method:`get` requests to the function evaluation endpoint should
not have a data payload.
- :issue:`101`: ``exclude`` in :func:`!views._to_dict` function now correctly
excludes requested fields from the returned dictionary.

0.6

~~~~~~~~~~~

Released on June 20, 2012.

- Added support for accessing model instances via arbitrary primary keys,
instead of requiring an integer column named ``id``.
- Added example which uses curl as a client.
- Added support for pagination of responses.
- Fixed issue due to symbolic link from :file:`README` to :file:`README.md`
when running ``pip bundle foobar Flask-Restless``.
- Separated API blueprint creation from registration, using
:meth:`.APIManager.create_api` and :meth:`.APIManager.create_api_blueprint`.
- Added support for pure SQLAlchemy in addition to Flask-SQLAlchemy.
- :issue:`74`: Added ``post_form_preprocessor`` keyword argument to
:meth:`.APIManager.create_api`.
- :issue:`77`: validation errors are now correctly handled on :http:method:`PATCH`
requests.

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.