Releases: jfinkels/flask-restless
Releases · jfinkels/flask-restless
0.7.0
- Added working
includeandexcludefunctionality to the
views._to_dictfunction. - Added
exclude_columnskeyword argument toAPIManager.create_api. - #79: attempted to access attribute of
Nonein constructor of
APIManager. - #83: allow
POSTrequests with one-to-one related instances. - #86: allow specifying include and exclude for related models.
- #91: correctly handle
POSTrequests to nullable
sqlalchemy.DateTimecolumns. - #93: Added a
total_pagesmapping to the JSON response. - #98:
GETrequests to the function evaluation endpoint should
not have a data payload. - #101:
excludeinviews._to_dictfunction now correctly excludes
requested fields from the returned dictionary.
0.6
- Added support for accessing model instances via arbitrary primary keys,
instead of requiring an integer column namedid. - Added example which uses curl as a client.
- Added support for pagination of responses.
- Fixed issue due to symbolic link from
READMEtoREADME.md
when runningpip bundle foobar Flask-Restless. - Separated API blueprint creation from registration, using
APIManager.create_apiandAPIManager.create_api_blueprint. - Added support for pure SQLAlchemy in addition to Flask-SQLAlchemy.
- #74: Added
post_form_preprocessorkeyword argument to
APIManager.create_api. - #77: validation errors are now correctly handled on
PATCH
requests.
0.5
- Dual-licensed under GNU AGPLv3+ and 3-clause BSD license.
- Added capturing of exceptions raised during field validation.
- Added
examples/separate_endpoints.py, showing how to create separate
API endpoints for a single model. - Added
include_columnskeyword argument to
flask_restless.APIManager.create_apimethod to allow users to
specify which columns of the model are exposed in the API. - Replaced Elixir with Flask-SQLAlchemy. Flask-Restless now only supports
Flask-SQLAlchemy.
0.4
- Added Python 2.5 and Python 2.6 support.
- Allow users to specify which HTTP methods for a particular API will require
authentication and how that authentication will take place. - Created base classes for test cases.
- Moved the
evaluate_functionsfunction out of the
flask_restless.searchmodule and corrected documentation about how
function evaluation works. - Added
allow_functionskeyword argument to
flask_restless.APIManager.create_api. - Fixed bug where we weren't allowing PUT requests in
flask.ext.restless.manager.APIManager.create_api. - Added
collection_namekeyword argument to
flask_restless.APIManager.create_apito allow user provided names in
URLs. - Added
allow_patch_manykeyword argument to
flask_restless.APIManager.create_apito allow enabling or disabling
the PATCH many functionality. - Disable the PATCH many functionality by default.