Skip to content

Latest commit

 

History

History
169 lines (101 loc) · 8.46 KB

CHANGELOG.md

File metadata and controls

169 lines (101 loc) · 8.46 KB

Changelog

0.3.4 - 2024-07-31

Changed

  • Update minimum crystal version to ~> 1.13.0 (#433) (George Dietrich)

0.3.3 - 2024-04-09

Changed

  • Integrate website into monorepo (#365) (George Dietrich)

0.3.2 - 2023-10-09

Fixed

  • Fix compiler error when using a composite constraint with a single member and no of AVD::Constraint (#292) (George Dietrich)

0.3.1 - 2023-02-18

Changed

  • Update some links in preparation for Athena Framework 0.18.0 (#261) (George Dietrich)

Fixed

  • Fix issue when using AVD::Metadata::GetterMetadata with methods that have parameters (#252) (George Dietrich)

0.3.0 - 2023-01-07

Changed

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

Added

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

Removed

  • Breaking: remove AVD::Constraints::Email::Mode::Loose (#230) (George Dietrich)

Fixed

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

0.2.1 - 2022-09-05

Added

  • Add support for exclusive end support to AVD::Constraints::Range (#184) (George Dietrich)

Changed

  • Include allowed MIME types within AVD::Constraints::Image if they were customized (#183) (George Dietrich)
  • Breaking: ensure parameter names defined on interfaces match the implementation (#188) (George Dietrich)

Fixed

  • Fix some file size factorization edge cases in AVD::Constraints::File (#182) (George Dietrich)
  • Fix duplicating constraints due to Crystal generics bug (#192) (George Dietrich)

0.2.0 - 2022-05-14

Added

Changed

  • Breaking: make AVD::ConstraintValidator classes (#154) (George Dietrich)
  • Breaking: AVD::ExecutionContext is no longer a generic type (#156) (George Dietrich)
  • Update assert_violation to use a clearer failure message if no violations were found (#153) (George Dietrich)
  • Update AVD::Constraints::ISIN to use the validator off the context versus an ivar (#155) (George Dietrich)
  • Update minimum crystal version to ~> 1.4.0 (#169) (George Dietrich)

Removed

  • Breaking: removed AVD::Spec::MockValidator#violations= (#155) (George Dietrich)

Fixed

  • Fix AVD::Violation::ConstraintViolation not comparing correctly (#153) (George Dietrich)
  • Ensure only Indexable types can be used with AVD::Constraints::Unique (#168) (George Dietrich)

0.1.7 - 2021-12-27

First release a part of the monorepo.

Fixed

  • Fix callback constraint methods being incorrectly added as getters (#132) (George Dietrich)

0.1.6 - 2021-12-13

Fixed

  • Fix AVD::Validatable not working when included into parent types (#16) (George Dietrich)

0.1.5 - 2021-10-30

Added

  • Add VERSION constant to Athena::Validator namespace (#12) (George Dietrich)

Fixed

  • Fix incorrect type restriction on validator factory (#12) (George Dietrich)
  • Fix incorrect link within the docs (#14) (George Dietrich)

0.1.4 - 2021-01-30

Changed

0.1.3 - 2020-12-07

Changed

  • Update crystal version to allow version greater than 1.0.0 (#9) (George Dietrich

0.1.2 - 2020-11-25

Added

Changed

  • Allow setting violations directly on mock validators (#7) (George Dietrich)

0.1.1 - 2020-11-08

Fixed

  • Fix compiler error due to less strict abstract def implementations (#6) (George Dietrich)

0.1.0 - 2020-10-17

Initial release.