All Versions
7
Latest Version
Avg Release Cycle
82 days
Latest Release
1167 days ago

Changelog History

  • v2.2.0 Changes

    March 11, 2021

    โž• Added

    • ๐Ÿ‘ Proper error is raised on unsupported includes (#125)

    ๐Ÿ”„ Changed

    • ๐Ÿ“š Documentation updates (#137 #139 #143 #146)

    ๐Ÿ›  Fixed

    • Empty relationships are no longer added to serialized doc (#116)
    • ๐Ÿ’Ž Ruby v3 compatibility (#160)
  • v2.1.0 Changes

    August 30, 2020

    โž• Added

    • Optional meta field to relationships (#99 #100)
    • ๐Ÿ‘Œ Support for params on cache keys (#117)

    ๐Ÿ”„ Changed

    • ๐ŸŽ Performance instrumentation (#110 #39)
    • ๐Ÿ‘Œ Improved collection detection (#112)

    ๐Ÿ›  Fixed

    • Ensure caching correctly incorporates fieldset information into the cache key to prevent incorrect fieldset caching (#90)
    • ๐ŸŽ Performance optimizations for nested includes (#103)
  • v2.0.0 Changes

    June 22, 2020

    The project was renamed to jsonapi-serializer! (#94)

    ๐Ÿ”„ Changed

    • โœ‚ Remove ObjectSerializer#serialized_json (#91)
  • v1.7.2 Changes

    May 18, 2020

    ๐Ÿ›  Fixed

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

    May 01, 2020

    ๐Ÿ›  Fixed

    • ObjectSerializer#serialized_json accepts arguments for to_json (#80)
  • v1.7.0 Changes

    April 29, 2020

    โž• 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)
  • v1.6.0 Changes

    November 04, 2019

    โž• 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)