Releases: monade/paramoid
Releases · monade/paramoid
v2.0.0
Added
- Support for Ruby 3.4
- Support for Rails 8.0
transformeroption to param, that allows to transform the value received from a parameter before assigning it to the sanitized hash.defaultnow works also with nested structures.
Removed
- Support for Ruby 2.7
- Support for Rails 5
Changed
- [BREAKING] All methods can now be called without ! (param, params, default, etc...)
- [BREAKING]
arrayandgroupare not identical anymore.arraywill accepts an array of values, whilegroupwill accept a single hash. - [BREAKING] internal, removed to_defaults, replacing it with apply_defaults!