Releases: nicolasblanco/rails_param
v1.3.1
What's Changed
Fixes
- Fix transform with default value by @1075461847 in #93
- Added missing parameter name to InvalidParameterError when coercion validation fails by @crevete in #98
Misc
- Improve CI matrix and bundler management by @iMacTia in #89
- Improve CI: Rails matrix in action file by @iMacTia in #94
- Update actions/checkout to v3 and switch to ruby/setup-ruby to eliminate warnings by @petergoldstein in #95
New Contributors
- @1075461847 made their first contribution in #93
- @petergoldstein made their first contribution in #95
Full Changelog: v1.3.0...v1.3.1
v1.3.0
What's Changed
- Keep only necessary rails gem dependencies by @alexeyschepin in #88
New Contributors
- @alexeyschepin made their first contribution in #88
Full Changelog: v1.2.0...v1.3.0
v1.2.0
v1.1.0
What's Changed
- Fix handling explicit nil values by @ccdredzik in #82
NOTE that #82 reverts a change unintentionally introduced in v1.0 that was causing explicit nil values not being accepted correctly.
This is effectively a breaking change compared to the past couple releases, but it should be considered a regression bug fix (hence why the minor bump).
New Contributors
- @ccdredzik made their first contribution in #82
Full Changelog: v1.0.2...v1.1.0
v1.0.2
Fixes regression in optional Array behaviour (#78) @ClaytonPassmore
v1.0.1
Fixes
- Fix required parameter regression (#75, @ClaytonPassmore)
- Fix regression in required validator (#77, @ClaytonPassmore)
v1.0.0
🎉 🎉 🎉
Checkout the upgrading guide.
An extensive refactor (#62, @ifellinaholeonce) was done on the codebase in order to make it more extensible, maintainable and improve code coverage.
Changes
- Change gem namespace to
RailsParam::
. WasRailsParam::Param::
🪓 - Bug that involved nested arrays was fixed by the refactor (#70 . @ClaytonPassmore)
- Add support for Ruby 3.0 (#71, @ifellinaholeonce)
- Drop support for EOL Ruby and Rails versions (#73, @ifellinaholeonce)
rails_param 0.11.2
This release have no new fixes or features and is identical to 0.11.1.
It is simply used to test the Rubygems publish GitHub Action.
rails_param 0.11.1
rails_param 0.11.0
Fixes:
- Replace deprecated BigDecimal.new() with BigDecimal() (#50)
- Support 'blank' for ActionController::Parameters (#52)
- Fixes
TypeError
being raised instead ofInvalidParameterError
. (#54) - Fixes "undefined method
split
" being raised instead ofInvalidParameterError
. (#55) - Fixes an issue causing default block to override provided value. (#51)
New Features:
- Add support for custom validation (#53)