All Versions
10
Latest Version
Avg Release Cycle
90 days
Latest Release
1761 days ago

Changelog History

  • v2.5.0 Changes

    June 23, 2019

    โž• Added

    • ๐Ÿ”ฆ Expose type property for API errors
    • Expanded associations are now eager-loaded automatically
    • ๐Ÿ‘ Calling macros whose support classes are undefined will now raise a MissingSkillError

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed computation of classes for nested operations
  • v2.4.0 Changes

    June 09, 2018

    โž• Added

    • Implemented Boolean scope
    • โž• Added support for additional policy context via policy.context

    ๐Ÿ›  Fixed

    • โž• Added support for different capitalizations of API namespace
    • ๐Ÿ›  Fixed an issue where each filter would override the previous one
  • v2.3.0 Changes

    February 28, 2018

    โž• Added

    • โž• Added support for Kaminari in Pagination macro

    ๐Ÿ”„ Changed

    • โฌ‡๏ธ Dropped runtime dependency on will_paginate

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed constant loading in Ruby 2.5
  • v2.2.0 Changes

    February 14, 2018

    โž• Added

    • โž• Added ability to order by an association column
    • Implemented the action option for the Policy macro
    • Implemented the Where filter
    • Implemented the Scope filter

    ๐Ÿ”„ Changed

    • Pipetrees have been normalized to use strings and no exclamation marks
    • ๐Ÿšš Move macros to Pragma::Macro namespace and provide BC-compatibility
    • ๐Ÿ— Default name of Contract::Build steps is now contract.[name].build
    • 0๏ธโƒฃ Default name of Contract::Persist steps is now contract.[name].[method]

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed handling of validation errors in Contract::Validate
    • ๐Ÿ›  Fixed handling of validation errors in Contract::Persist
  • v2.1.1 Changes

    January 15, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed root-level model class computation
  • v2.1.0 Changes

    January 15, 2018

    โž• Added

    • Implemented expand.limit and expand.enabled
    • Implemented the Ordering macro
    • Implemented the Filtering macro

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed automatic lookup of nested model classes
  • v2.0.0 Changes

    September 27, 2017

    ๐Ÿš€ First Pragma 2 release.

    ๐Ÿš€ [Unreleased]: https://github.com/pragmarb/pragma/compare/v2.5.0...HEAD

  • v1.2.6

    June 08, 2017
  • v1.2.5

    June 07, 2017
  • v1.2.4

    April 01, 2017