All Versions
10
Latest Version
Avg Release Cycle
90 days
Latest Release
1907 days ago
Changelog History
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
- ๐ฆ Expose
-
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
- Implemented
-
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
- โ Added support for Kaminari in
-
v2.2.0 Changes
February 14, 2018โ Added
- โ Added ability to order by an association column
- Implemented the
action
option for thePolicy
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 nowcontract.[name].build
- 0๏ธโฃ Default name of
Contract::Persist
steps is nowcontract.[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
andexpand.enabled
- Implemented the
Ordering
macro - Implemented the
Filtering
macro
๐ Fixed
- ๐ Fixed automatic lookup of nested model classes
- Implemented
-
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