Skip to content

v1.2.0

Compare
Choose a tag to compare
@brandonc brandonc released this 15 Nov 21:14
· 31 commits to main since this release
360ddf0

This release includes a number of feature enhancement:

  • Include upstream improvements (google/jsonapi) (#7)
  • Unmarshal Links type to 'links' annotated struct fields (#10)
  • Add unmarshaling of interface attribute (#11)
  • Allow attributes to be marshalled for relations (#12) Any relations with non-zero attributes and non-zero primary field will now be marshaled with those attributes included (instead of just id and type), for the purposes of nested resource creation. This is not a 1.0 compliant feature, but influenced by the same behavior in the now-pending 1.1 specification.
  • Polymorphic relationships may now be encoded and decoded using a new field tag "polyrelation" (#13)