Skip to content

v0.3.0

Compare
Choose a tag to compare
@Blacksmoke16 Blacksmoke16 released this 07 Jan 17:01
· 23 commits to master since this release
v0.3.0

Changed

  • Breaking: update default AVD::Constraints::Email::Mode to be :html5 (#230) (@Blacksmoke16)
  • Refactor AVD::Constraints::IP to use new dedicated Socket::IPAddress methods (#205) (@Blacksmoke16)
  • Update minimum crystal version to ~> 1.6 (#205) (@Blacksmoke16)

Added

  • Add AVD::Constraints::Collection (#229) (@Blacksmoke16)
  • Add AVD::Constraints::Existence, AVD::Constraints::Required, and AVD::Constraints::Optional for use with the collection constraint (#229) (@Blacksmoke16)
  • Add AVD::Spec::ConstraintValidatorTestCase#expect_validate_value_at to more easily handle validation of nested constraints (#229) (@Blacksmoke16)
  • Add AVD::Constraints::Email::Mode::HTML5_ALLOW_NO_TLD that allows matching HTML input field validation exactly (#231) (@Blacksmoke16)

Removed

Fixed

  • Breaking: fix spelling of AVD::Constraints::ISSN#require_hyphen parameter (#222) (@Blacksmoke16)
  • Fix property path display issue with Enumerable objects (#229) (@Blacksmoke16)
  • Fix AVD::Constraints::Valid constraints incorrectly being allowed within AVD::Constraints::Composite (#229) (@Blacksmoke16)