Changelog
Here you can see the full list of changes between each Flask-Restless release.
Note
As of version 0.6, Flask-Restless supports both pure SQLAlchemy and
Flask-SQLAlchemy models. Before that, it supported only Elixir models.
Version 0.7.0
Released on October 9, 2012.
- Fixed issue #86:
allow specifying include and exclude for related models.
- Added exclude_columns keyword argument to APIManager.create_api().
- Fixed issue #101:
exclude in views._to_dict() function now correctly excludes
requested fields from the returned dictionary.
- Added working include and exclude functionality to the
views._to_dict() function.
- Fixed issue #98:
GET requests to the function evaluation endpoint should not
have a data payload.
- Added a total_pages mapping to the JSON response according to
pull request #93.
- Fixed issue #91:
correctly handle POST requests to nullable
DateTime columns.
- Fixed issue #83:
allow POST requests with one-to-one related instances.
- Fixed issue #79:
attempted to access attribute of None in constructor of
APIManager.
Version 0.6
Released on June 20, 2012.
- Added post_form_preprocessor keyword argument to
APIManager.create_api(); see issue #74.
- Fixed issue #77:
validation errors are now correctly handled on PATCH requests.
- 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 README to README.md
when running pip bundle foobar Flask-Restless.
- Separated API blueprint creation from registration, using
APIManager.create_api() and APIManager.create_api_blueprint().
- Added support for pure SQLAlchemy in addition to Flask-SQLAlchemy.
Version 0.5
Released on April 10, 2012.
- 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_columns keyword argument to
create_api() method 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.
Version 0.4
Released on March 29, 2012.
- 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_functions function out of the
flask_restless.search module and corrected documentation about how
function evaluation works.
- Added allow_functions keyword argument to
create_api().
- Fixed bug where we weren’t allowing PUT requests in
create_api().
- Added collection_name keyword argument to
create_api() to allow user provided names in
URLs.
- Added allow_patch_many keyword argument to
create_api() to allow enabling or disabling
the PATCH many functionality.
- Disable the PATCH many functionality by default.
Version 0.3
Released on March 4, 2012.
- Initial release in Flask extension format.