Skip to content

Releases: jsonapi-serializer/jsonapi-serializer

Release v1.7.3

Choose a tag to compare

@stas stas released this 22 Jun 14:11
v1.7.3
e9f6ee7

Release an intermediary version with the warning to migrate.

v1.7.2

Choose a tag to compare

@kpheasey kpheasey released this 18 May 15:22

Fixed

  • Relationship#record_type_for does not assign static record type for polymorphic relationships (#83)

v1.7.1

Choose a tag to compare

@kpheasey kpheasey released this 01 May 13:07
b64a0ce

Fixed

  • ObjectSerializer#serialized_json accepts arguments for to_json (#80)

Release v1.7.0

Choose a tag to compare

@stas stas released this 29 Apr 13:39
v1.7.0

Added

  • Serializer option support for procs (#32)
  • JSON serialization API method is now implementable (#44)

Changed

  • Support for polymorphic id_method_name (#17)
  • Relationships support for &:proc syntax (#58)
  • Conditional support for procs (#59)
  • Attribute support for procs (#67)
  • Refactor caching support (#52)
  • is_collection? is safer for objects (#18)

Removed

  • serialized_json is now deprecated (#44)

Release v1.6.0

Choose a tag to compare

@kpheasey kpheasey released this 04 Nov 22:40

Added

  • Allow relationship links to be delcared as a method (#2)
  • Test against Ruby 2.6 (#1)
  • Include data key when lazy-loaded relationships are included (#10)
  • Conditional links #15
  • Include params on set_id block #16

Changed

  • Optimize SerializationCore.get_included_records calculates remaining_items only once (#4)
  • Optimize SerializtionCore.parse_include_item by mapping in place (#5)
  • Define ObjectSerializer.set_key_transform mapping as a constant (#7)
  • Optimize SerializtionCore.remaining_items by taking from original array (#9)
  • Optimize ObjectSerializer.deep_symbolize by using each_with_object instead of Hash[map] (#6)