Skip to content

Latest commit

 

History

History
62 lines (36 loc) · 3.33 KB

CHANGELOG.md

File metadata and controls

62 lines (36 loc) · 3.33 KB

Changelog

v1.0.2 (next)

  • Your contribution here.

v1.0.1 (January 25, 2022)

#32 - @EmCousin

  • 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 meta and links properties 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

v1.0.0 (November 21, 2020)

#14 - @EmCousin

  • renamed gem from grape_fast_jsonapi to grape-jsonapi
  • Changed dependency from fast_jsonapi to jsonapi-serializer
  • Deprecated Grape::Formatter::FastJsonapi and Grape::FastJsonapi::Parser in favor to Grape::Formatter::Jsonapi and Grape::Jsonapi::Parser. Will be removed in v1.1
  • Fixed bugs due to breaking changes caused by the switch
  • Added and configured Rubocop
  • Security updates

v0.2.6 (June 20, 2020)

v0.2.5 (January 23, 2020)

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

v0.2.4 (December 16, 2019)

  • #15 - Handle serializers which don't have any attributes - @vesan

v0.2.3 (December 12, 2019)

  • Reverted v0.2.2 and bumped loofah using dependabot - @EmCousin.

v0.2.2 (December 12, 2019)

  • Fixed low severity vulnerabiliy issue with loofah dependency - @EmCousin.

v0.2.1 (September 18, 2019)

  • #12 - Removed call to rails and fixed a potential security issue - @EmCousin.

v0.2.0 (February 8, 2019)

  • #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.

v0.1.0