Skip to content

Releases: danivek/json-api-serializer

v2.4.0

06 Apr 07:15
Compare
Choose a tag to compare

Features :

  • Serialization/deserialization hooks (#105) @javiertury
  • Add default title field on JSON API errors (#102)

Fixes :

  • Deserialise an included relationship with alternativeKey (#103)

v2.3.0

05 Feb 12:22
Compare
Choose a tag to compare

Features :

  • Override schema options (#96)

Fixes :

  • Merge relationships data if already in included (#99)

v2.2.2

05 Feb 12:24
Compare
Choose a tag to compare

Fixes :

  • update native get (#94)

v2.2.1

11 Oct 17:34
Compare
Choose a tag to compare

Fixes :

  • fix convertCase function not working with array of string (#93)

v2.2.0

09 Oct 15:52
Compare
Choose a tag to compare

Features :

  • Add excludeData flag to serialize and serializeAsync (#91 #92)

v2.1.1

03 Oct 13:52
Compare
Choose a tag to compare

Fixes :

  • fix: deserializing with unconvertCase option (#90)

v2.1.0

29 Aug 17:35
Compare
Choose a tag to compare

Features :

  • Not include relationship objects that only have an id (#78)
  • Added performance boost to convert case (#86 #84)

Fixes :

  • Not serialize relationships if no links, data, or meta are deduce (#41)
  • Fix relationships serialization not working with classes (#88)

v2.0.4

20 Aug 16:05
Compare
Choose a tag to compare

Fixes :

  • Fix default schema. Deserialization was broken for non 'default' schema (#85)

v2.0.3

20 Aug 10:32
Compare
Choose a tag to compare

Fixes :

  • Deserializing correct error, resolves #81 and minor JSDoc fixes (#82)
  • fixes issue serializing JS Date objects returns empty objects (#83)

v2.0.2

07 Aug 08:32
Compare
Choose a tag to compare

Fixes :

  • errors, typos on JSDoc (#79)
  • _convertCase issues (#77 #80)