Releases: monade/paramoid
Releases · monade/paramoid
v2.0.0
Added
- Support for Ruby 3.4
- Support for Rails 8.0
transformer
option to param, that allows to transform the value received from a parameter before assigning it to the sanitized hash.default
now 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]
array
andgroup
are not identical anymore.array
will accepts an array of values, whilegroup
will accept a single hash. - [BREAKING] internal, removed to_defaults, replacing it with apply_defaults!