Unreleased
- Fixed bug during testing in delete_relationship where returned resource was missing data key
- Fixed bug during testing in patch_resource where field check was failing
2016-04-32
- Fixed bug with relationship not being found during resource patch.
2016-03-20
- Fixed missing jsonapi_permissions attribute when patching relationships.
- Fixed AttributeError on GET related of a NoneType.
- Fixed where meta was now always being injected into non-204 responses.
2016-02-27
- Fixed session being flushed error during POST to collection.
2016-01-21
- Fixed bug where the wrong map was being checked when creating new resource
- Fixed content-length bug when DELETE is provided for resources
2016-01-20
- BREAKING: Keys and types are now dasherized instead of underscored to fit assumptions of spec implementation
- BREAKING: Relationships are now lazy by default. Using the include query parameter will trigger an eager load.
- Added links to relationships
2015-10-05
- Removed hard dependency on Flask, as suggested by @bladams in pull request #10
- Fixed autoflush on collection post as proposed by @emilecaron in issue #13
- Fixed issues when encountering integer IDs #11
- Made API Type Name overridable. #9
2015-09-22
- Removed an artifact from debugging. Sorry about that to anybody who was confused!
2015-09-20
- BREAKING: Implements #8 where
__jsonapi_type__
is replaced with__jsonapi_type_override__
. This can break previous configurations where__jsonapi_type__
was used to override the generated type. To fix breaks, just change it to__jsonapi_type_override__
and it should work better. Thank you, @angelosarto for your contribution on this.
2015-09-20
- Fixed issue where not providing a relationships key would cause a POST or PATCH request to fail
2015-09-20
- Fixes compatibility with Sentry when running unit tests. 204 errors still need content.
2015-09-20
- Fixed issue where incomplete models get committed to multiple relationships before they earn redeeming attributes
2015-09-19
- Fixed issue where local columns for relationships were still appearing in responses
2015-09-19
- Fixed reference before assignment error
I apologize for rapid fire updates, but this is being developed alongside another project so it's trying to keep up with the main project.
2015-09-19
- Fixed error when TypeError is raised in descriptors
2015-09-19
- Permissions and actions can now be provided as sets.
- Fixed problem where users think libraries don't update often enough by pushing out 4th update on a single date
2015-09-19
- JSONAPIEncoder is now replaceable in the flask extension
2015-09-19
- Trailing slashes are now optional. Idea based on change by @emilecaron.
2015-09-19
- Fixed subset comparison that prevented setting relationships when all relationships were used
2015-09-18
- Fixed api_key error. My fault, killed pytest too early.
2015-09-18
- Added wrapping/chaining of handlers via a simple decorator
2015-09-17
- Merged #7 by @angelosarto. Fixed type of related items returned in relationships.
2015-09-16
- Fixes Python 2.7 compatibility
2015-09-16
- Fixed #6 where flask may conflict with flask package on Python 2.7.
2015-08-29
- BREAKING Replaced dict params with api_type, obj_id, and rel_key
2015-08-24
- BREAKING Complete rewrite for JSON API 1.0 compatibility
- CHANGED Switching to Semantic Versioning
2014-07-31
- Changed
to_serialize
inJSONAPI.serialize
from expecting a list or collection to also expecting a query. - Added
get_api_key
inJSONAPI
that generates the key for the main requested resource. - Added
fields
,sort
, andinclude
toJSONAPI.serialize
. - BREAKING Changed
jsonapi_*
properties to have more uniform names. - Fixed
as_relationship
where columns weren't being set as local_columns due to SQLAlchemy-JSONAPI's developer's mistake. - Fixed converters where it would return a KeyError.
- Added
jsonapi_can_view()
toJSONAPIMixin
.
2014-07-20
- Added
JSONAPI
,JSONAPIMixin
, andas_relationship