0.3.4 - 2024-07-31
- Update minimum
crystal
version to~> 1.13.0
(#433) (George Dietrich)
0.3.3 - 2024-04-09
- Integrate website into monorepo (#365) (George Dietrich)
0.3.2 - 2023-10-09
- 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
- Update some links in preparation for Athena Framework
0.18.0
(#261) (George Dietrich)
- Fix issue when using
AVD::Metadata::GetterMetadata
with methods that have parameters (#252) (George Dietrich)
0.3.0 - 2023-01-07
- Breaking: update default
AVD::Constraints::Email::Mode
to be:html5
(#230) (George Dietrich) - Refactor
AVD::Constraints::IP
to use new dedicatedSocket::IPAddress
methods (#205) (George Dietrich) - Update minimum
crystal
version to~> 1.6
(#205) (George Dietrich)
- Add
AVD::Constraints::Collection
(#229) (George Dietrich) - Add
AVD::Constraints::Existence
,AVD::Constraints::Required
, andAVD::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 matchingHTML
input field validation exactly (#231) (George Dietrich)
- Breaking: remove
AVD::Constraints::Email::Mode::Loose
(#230) (George Dietrich)
- 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 withinAVD::Constraints::Composite
(#229) (George Dietrich)
0.2.1 - 2022-09-05
- Add support for exclusive end support to
AVD::Constraints::Range
(#184) (George Dietrich)
- 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)
- 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
- Add the AVD::Constraints::File constraint (#153) (George Dietrich)
- Allow
AVD::Spec::MockValidator
to dynamically configure returned violations (#155, #157) (George Dietrich) - Add the AVD::Constraints::Image constraint (#153) (George Dietrich)
- Add getting started documentation to API docs (#172) (George Dietrich)
- 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)
- Breaking: removed
AVD::Spec::MockValidator#violations=
(#155) (George Dietrich)
- Fix
AVD::Violation::ConstraintViolation
not comparing correctly (#153) (George Dietrich) - Ensure only
Indexable
types can be used withAVD::Constraints::Unique
(#168) (George Dietrich)
0.1.7 - 2021-12-27
First release a part of the monorepo.
- Fix callback constraint methods being incorrectly added as getters (#132) (George Dietrich)
0.1.6 - 2021-12-13
- Fix
AVD::Validatable
not working when included into parent types (#16) (George Dietrich)
0.1.5 - 2021-10-30
- Add
VERSION
constant toAthena::Validator
namespace (#12) (George Dietrich)
- 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
0.1.3 - 2020-12-07
- Update
crystal
version to allow version greater than1.0.0
(#9) (George Dietrich
0.1.2 - 2020-11-25
- Add the AVD::Constraints::Choice constraint (#7) (George Dietrich)
- Allow setting violations directly on mock validators (#7) (George Dietrich)
0.1.1 - 2020-11-08
- Fix compiler error due to less strict
abstract def
implementations (#6) (George Dietrich)
0.1.0 - 2020-10-17
Initial release.