Skip to content

Releases: dry-rb/dry-validation

v1.0.0.alpha2

05 Mar 11:17
v1.0.0.alpha2
2033708
Compare
Choose a tag to compare
v1.0.0.alpha2 Pre-release
Pre-release

The first round of bug fixes. Thanks for testing <3!

Fixed

  • Errors with nested messages are correctly built (flash-gordon)
  • Messages for nested keys are correctly resolved (solnic)
  • A message for a nested key is resolved when it's defined under errors.rule.%{key} too, but a message under nested key will override it (solnic)

Changed

  • When a message template is not found a more meaningful error is raised that includes both rule identifier and key path (solnic)

Compare v1.0.0.alpha1...v1.0.0.alpha2

v1.0.0.alpha1

05 Mar 11:16
v1.0.0.alpha1
a4b0ca8
Compare
Choose a tag to compare
v1.0.0.alpha1 Pre-release
Pre-release

Complete rewrite on top of dry-schema.

Added

  • [BREAKING] Dry::Validation::Contract as a replacement for validation schemas (solnic)
  • [BREAKING] New rule DSL with an improved API for setting error messages (solnic)

Compare v0.13.0...v1.0.0.alpha1

v0.12.3

29 Jan 15:31
v0.12.3
187fff0
Compare
Choose a tag to compare

v0.12.3 2019-01-29

Changed

  • [internal] dyr-logic was pinned to ~> 0.4.2 (flash-gordon)

Compare v0.12.2...v0.12.3

v0.12.2

29 Jan 15:03
Compare
Choose a tag to compare

v0.12.2 2018-08-29

Fixed

  • Use correct key names for rule messages when using i18n (jozzi05)

Compare v0.12.1...v0.12.2

v0.12.1

05 Jul 22:16
v0.12.1
5ae8a8e
Compare
Choose a tag to compare

v0.12.1 2018-07-06

Fixed

  • [internal] fixed deprecation warnings (flash-gordon)

v0.12.0

31 May 08:58
v0.12.0
391fc44
Compare
Choose a tag to compare

v0.12.0 2018-05-31

Changed

  • Code updated to work with dry-types 0.13.1 and dry-struct 0.5.0, these are now minimal supported versions (flash-gordon)
  • [BREAKING] Form was renamed to Params to be consistent with the latest changes from dry-types. You can require 'dry/validation/compat/form' to use the previous names but it will be removed in the next version (flash-gordon)

Compare v0.11.1...v0.12.0

v0.11.0

30 Jun 21:49
Compare
Choose a tag to compare

Changed

  • [internal] input processor compilers have been updated to work with new dry-types' AST (GustavoCaso)