Skip to content

Releases: jgarber623/sinatra-param

v4.0.1

08 Dec 02:58
c871ce0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.0.0...v4.0.1

v4.0.0

02 May 14:02
v4.0.0
ab13686
Compare
Choose a tag to compare
  • Minimum supported Ruby version is now 2.6.
  • Ruby 3 now supported!

v3.4.0

05 Jan 22:48
Compare
Choose a tag to compare
  • Dependency updates

v3.3.0

20 Jan 16:15
Compare
Choose a tag to compare
  • Update development dependencies
  • Expand supported Ruby versions to include 2.7

v3.2.0

19 Aug 00:22
Compare
Choose a tag to compare
  • Update development dependencies
  • Update activesupport to 6.0.0

v3.1.1

02 Aug 21:41
Compare
Choose a tag to compare
  • Miscellaneous development dependency updates

v3.1.0

26 Apr 02:24
Compare
Choose a tag to compare
  • Add Sinatra::Param::Error class and subclass other exceptions

v3.0.0

18 Apr 19:58
Compare
Choose a tag to compare

This (rather significant) release refactors the gem code and…

  • Changes developer implementation from helpers Sinatra::Param to register Sinatra::Param
  • Automatically sets raise_sinatra_param_exceptions to false unless developer specifies value
  • Adds match, minlength, and maxlength` parameter validations
  • :hash parameter values, when coerced, return Hashes with symbol'ed keys

Most of the updates in this release are under-the-hood cleanup and reorganization. The README is updated to reflect all the latest and greatest changes.

v2.5.0

13 Apr 23:11
Compare
Choose a tag to compare
  • Adds support for custom error messages using the message: '' option
  • Reverts required parameter validation prioritization

v2.4.3

13 Apr 15:48
Compare
Choose a tag to compare
  • Use load order as a stronger means of specifying validation application order
  • Surface parameter name in Coercion and Validation error messages
  • Clarify error messages in README