- Your contribution here.
- The gem now forces API response to have a JSONAPI compliant format, even for objects that are not being serialized via a
JSONAPI::Serializer - You can now customize the
metaandlinksproperties of your response at rendering time, without having to rely on your serializers (check README.md for more information) - Changed the response's data structure when the object is a heterogeneous collection (a list of objects of different classes), to make it JSONAPI compliant.
- Fixed a defect that was causing empty hashes to be rendered as empty arrays
- renamed gem from
grape_fast_jsonapitogrape-jsonapi - Changed dependency from fast_jsonapi to jsonapi-serializer
- Deprecated
Grape::Formatter::FastJsonapiandGrape::FastJsonapi::Parserin favor toGrape::Formatter::JsonapiandGrape::Jsonapi::Parser. Will be removed in v1.1 - Fixed bugs due to breaking changes caused by the switch
- Added and configured Rubocop
- Security updates
- #14 and #21 - Fixes to swagger parser: Respect
:keysetting, fix column type rendering, allow adding to schema - @vincentvanbush and @nathanvda
- #18 - Revert to model_name instead of class-name - @dblommesteijn
Note : This PR fixes a bug when serializing a ActiveRecord::Relation instance, the formatter was looking for a formatter ActiveRecord::RelationSerializer serializer that doesn't exist, insteafd of looking for the serializer corresponding to its model name.
- Security updates
- Reverted v0.2.2 and bumped
loofahusingdependabot- @EmCousin.
- Fixed low severity vulnerabiliy issue with
loofahdependency - @EmCousin.
- #5: Provide custom Grape Swagger parser for fast_jsonapi object serializers, as well as unit test coverage - @EmCousin
- #6 - Fix to make the parser compatible with latest version of fast_jsonapi (1.5 at date) - @rromanchuk.
- Initial public release - @EmCousin.