Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 5.24 KB

CHANGELOG.md

File metadata and controls

74 lines (54 loc) · 5.24 KB

0.4.6 (Next)

  • #114: Added 'only' option that selects which attributes should be returned - @estevaoam.
  • Your contribution here.

0.4.5 (2015-03-10)

0.4.4 (2014-08-17)

  • #85: Added present_collection to indicate that an Entity presents an entire Collection - @dspaeth-faber.
  • #85: Hashes can now be passed as object to be presented and the Hash keys can be referenced by expose - @dspaeth-faber.

0.4.3 (2014-06-12)

0.4.2 (2014-04-03)

0.4.1 (2014-02-13)

0.4.0 (2014-01-27)

  • Ruby 1.8.x is no longer supported - @dblock.
  • #36: Enforcing Ruby style guidelines via Rubocop - @dblock.
  • #7: Added serializable option to represent - @mbleigh.
  • #18: Added safe option to expose, will not raise error for a missing attribute - @fixme.
  • #16: Added using option to expose SYMBOL BLOCK - @fahchen.
  • #24: Return documentation with as param considered - @drakula2k.
  • #27: Properly serialize hashes - @clintonb.
  • #28: Look for method on entity before calling it on the object - @MichaelXavier.
  • #33: Support proper merging of nested conditionals - @wyattisimo.
  • #43: Call procs in context of entity instance - @joelvh.
  • #47: Support nested exposures - @wyattisimo.
  • #46, #50: Added support for specifying the presenter class in using in string format - @larryzhao.
  • #51: Raise ArgumentError if an unknown option is used with expose - @aj0strow.
  • #51: Alias :with to :using, consistently with the Grape api endpoints - @aj0strow.

0.3.0 (2013-03-29)

  • #9: Added with_options for block-level exposure setting - @SegFaultAX.
  • The instance.entity method now optionally accepts options - @mbleigh.
  • You can pass symbols to :if and :unless to simply check for truthiness/falsiness of the specified options key - @mbleigh.

0.2.0 (2013-01-11)

  • Moved the namespace back to Grape::Entity to preserve compatibility with Grape - @dblock.

0.1.0 (2013-01-11)