Skip to content

Releases: nicolasblanco/rails_param

v1.3.1

07 Jul 08:17
15d3cc8
Compare
Choose a tag to compare

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

Full Changelog: v1.3.0...v1.3.1

v1.3.0

21 Jan 17:48
9e864c8
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.2.0...v1.3.0

v1.2.0

16 Dec 19:21
26035bc
Compare
Choose a tag to compare

What's Changed

  • Added parameter context support to be able to report error location by @crevete in #85

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

26 Nov 14:22
d8cd215
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: v1.0.2...v1.1.0

v1.0.2

26 Oct 20:26
33c1c18
Compare
Choose a tag to compare

Fixes regression in optional Array behaviour (#78) @ClaytonPassmore

v1.0.1

28 Sep 08:46
e4f3dee
Compare
Choose a tag to compare

Fixes

v1.0.0

27 Sep 17:12
e7b0e85
Compare
Choose a tag to compare

🎉 🎉 🎉

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

rails_param 0.11.2

15 May 14:42
0a9212d
Compare
Choose a tag to compare

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

29 Dec 17:06
8235f1b
Compare
Choose a tag to compare

Fixes:

  • Check param's presence before transforming its value (#60, @kmathesw)

Documentation:

Misc:

rails_param 0.11.0

24 Sep 15:04
207b5c8
Compare
Choose a tag to compare

Fixes:

  • Replace deprecated BigDecimal.new() with BigDecimal() (#50)
  • Support 'blank' for ActionController::Parameters (#52)
  • Fixes TypeError being raised instead of InvalidParameterError. (#54)
  • Fixes "undefined method split" being raised instead of InvalidParameterError. (#55)
  • Fixes an issue causing default block to override provided value. (#51)

New Features:

  • Add support for custom validation (#53)