- Views that accept POST but not GET will no longer crash.
- Add logging kwarg to FlumpBlueprint
- The name of the view as passed to flask can now be customized via
VIEW_NAME. This also allows us a single blueprint to contiain multiple flump views with the same RESOURCE_NAME.
- Set mimetype only if empty to support different content types.
- Add initial URL_MAPPING feature to support custom URL schemes for views.
- Make HTTP method classes inherit from
object, for better integration with python 2
- Refactor FlumpView construction (This is a massively breaking change.)
- Flump now supports running on python 2
- EntityData is now created in it's own function, making it easier to use flump
with models that don't expose
.id&.etagproperties. - The test directory is no longer included in the packages in setup.py
- Pagination links now keep any non-pagination query string parmaeters that are in the current request.
- Stopped redirecting to "canonical" URLs if an expected trailing slash was missing. URLs should now be matched regardless of whether they have a trailing slash or not.
- Include etags as part of entity
metasection. - Add current page and size to response
metasection for paginated responses.
- Handle endpoints without trailing slashes better.
- Add a default BadRequest handler.
- Fix issue with previous release change being reverted
- Don't try and parse JSON in default logger.
- Ensure
application/vnd.api+jsonmimetype works for POST/PATCH requests. Also allowapplication/jsonmimetype, and no specified mimetype.
- Increase default max_page_size to 100, because 20 is unreasonably small.
Note: This is a breaking change, but as we haven't released yet we aren't bumping the major version.
- Heavily refactor the API. See README & documentation for the new API.
- Trying to print an Immutable validator will no longer except (#14).
Note: This is a breaking change, but as we haven't released yet we aren't bumping the major version.
- Remove FlumpSchema and instead direct users to use a
marshmallow.Schema - Provide
update_entityandcreate_entitystubs on thePatchandPostmixins respectively.
- Fix immutable validator to not return the value as this would cause an issue if the value was
False. - Add Sphinx documentation
- Add Immutable validator
- Add GET MANY support
- Add basic pagination mixin
- Add PATCH support for updating entities
- Better Etag handling
- Allow endpoints to take arbitrary kwargs
- Rearrange HTTP methods to mixin classes so clients can decide which to expose
Minor fix to logging.
Minor fix to setup.py
Initial Release