All Versions
10
Latest Version
Avg Release Cycle
90 days
Latest Release
1317 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