Skip to content

Bump dry-validation from 1.5.0 to 1.5.4

George Koltsov requested to merge dependabot-bundler-dry-validation-1.5.4 into master

Bumps dry-validation from 1.5.0 to 1.5.4.

Release notes

Sourced from dry-validation's releases.

v1.5.4

Added

  • You can now pass any key or a path to the rule's key? helper (see #664 for more info) (@alassek)

Fixed

  • Full messages work correctly with rule failures now (issue #661 fixed via #662) (@stind)
  • Providing a custom message template for array errors works correctly (issue #663 fixed via #665) (@tadeusz-niemiec)

Compare v1.5.3...v1.5.4

v1.5.3

Added

  • You can now access current value's index via rule(:foo).each do |index:| (issue #606 done via #657) (@mrbongiolo)

Fixed

  • Using .each(:foo) works as expected when there are errors related to other keys (issue #659 fixed via #660) (@solnic)

Changed

  • Result#error? is now a public API and it takes into consideration both schema and rule errors (issue #655 fixed via #656) (@PragTob)

Compare v1.5.2...v1.5.3

v1.5.2

Fixed

v1.5.1

Fixed

  • dry-monads no longer required for the :hints extension (@schokomarie)
  • Using full: true option works as expected with custom rule messages (issue #618 fixed via #651) (@sirfilip)
  • Using locale: ... option works as expected with hints (issue #589 fixed via #652) (@sirfilip)

Compare v1.5.0...v1.5.1

Changelog

Sourced from dry-validation's changelog.

1.5.4 2020-08-21

Added

  • You can now pass any key or a path to the rule's key? helper (see #664 for more info) (@alassek)

Fixed

  • Full messages work correctly with rule failures now (issue #661 fixed via #662) (@stind)
  • Providing a custom message template for array errors works correctly (issue #663 fixed via #665) (@tadeusz-niemiec)

Compare v1.5.3...v1.5.4

1.5.3 2020-07-27

Added

  • You can now access current value's index via rule(:foo).each do |index:| (issue #606 done via #657) (@mrbongiolo)

Fixed

  • Using .each(:foo) works as expected when there are errors related to other keys (issue #659 fixed via #660) (@solnic)

Changed

  • Result#error? is now a public API and it takes into consideration both schema and rule errors (issue #655 fixed via #656) (@PragTob)

Compare v1.5.2...v1.5.3

1.5.2 2020-07-14

Fixed

  • key? predicate in rules no longer crashes when the rule path points to a non-existent array value (issue #653 fixed via #654) (@solnic)

Compare v1.5.1...v1.5.2

1.5.1 2020-06-18

Fixed

  • dry-monads no longer required for the :hints extension (@schokomarie)
  • Using full: true option works as expected with custom rule messages (issue #618 fixed via #651) (@sirfilip)
  • Using locale: ... option works as expected with hints (issue #589 fixed via 652) (@sirfilip)
... (truncated)
Commits
  • 18b918f [devtools] sync
  • c685e74 Bump dry-validation to 1.5.4
  • a148336 Update changelog.yml
  • 60ff132 [docsite] filled(:integer) => value(:integer)
  • 8f63c44 Merge pull request #664 from alassek/evaluator-key
  • 8bd15fb [devtools] sync
  • 617801b [devtools] update changelog.yml from f9df1b97cf0d0072414fbf3fb3596a95dc7a7042
  • f9df1b9 Merge pull request #665 from tadeusz-niemiec/master
  • 0df4e1c Support per-key custom errors for array paths
  • fff4800 Evaluator#key? forwards key name argument
  • Additional commits viewable in compare view

Merge request reports

Loading