Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 2.47 KB

CHANGELOG.md

File metadata and controls

65 lines (49 loc) · 2.47 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[1.5.0] 2021-11-28

  • [Feat] Add nil handler
  • [Feat] Implement layout feature
  • [Improve] if option now works with Symbol
  • [Improve] Add an alias for serialize
  • [Improve] Deprecation warning now printed with caller

[1.4.0] 2021-06-30

  • [Feat] Add a config method to set encoder directly
  • [Feat] Implement meta method and option for metadata
  • [Feat] Add root_key option to Resource#serialize
  • [Feat] Enable setting key for collection with root_key
  • [Feat] Add Resource.root_key and Resource.root_key!
  • [Feat] Alba.serialize now infers resource class
  • [Deprecated] Resource.key and Resource.key! are deprecated

[1.3.0] 2021-05-31

[1.2.0] 2021-05-09

[1.1.0] - 2021-04-23

  • [Feat] Implement circular associations control [71e1543]
  • [Feat] Support :oj_rails backend [76e519e]

[1.0.1] - 2021-04-15

  • [Fix] Don't cache resource class for Alba.serialize [9ed5253]
  • [Improve] Warn when ActiveSupport or Oj are absent [d3ab3eb]
  • [Fix] Delete unreachable to_hash method on Association [1ba1f90]
  • [Fix] Stringify key before transforming [b4eb79e]
  • [Misc] Support Ruby 2.5.0 and above, not 2.5.7 and above [43f1d17]
  • [Fix] Remove accidentally added p debug [5d0324b]

[1.0.0] - 2021-04-07

This is the first major release of Alba and it includes so many features. To see all the features you can have a look at README.