Releases: athena-framework/validator
Releases · athena-framework/validator
v0.3.4
Changed
- Update minimum
crystal
version to~> 1.13.0
(#433) (@Blacksmoke16)
v0.3.3
Changed
- Integrate website into monorepo (#365) (@Blacksmoke16)
v0.3.2
Fixed
- Fix compiler error when using a composite constraint with a single member and no
of AVD::Constraint
(#292) (@Blacksmoke16)
v0.3.1
Changed
- Update some links in preparation for Athena Framework
0.18.0
(#261) (@Blacksmoke16)
Fixed
- Fix issue when using
AVD::Metadata::GetterMetadata
with methods that have parameters (#252) (@Blacksmoke16)
v0.3.0
Changed
- Breaking: update default
AVD::Constraints::Email::Mode
to be:html5
(#230) (@Blacksmoke16) - Refactor
AVD::Constraints::IP
to use new dedicatedSocket::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
, andAVD::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 matchingHTML
input field validation exactly (#231) (@Blacksmoke16)
Removed
- Breaking: remove
AVD::Constraints::Email::Mode::Loose
(#230) (@Blacksmoke16)
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 withinAVD::Constraints::Composite
(#229) (@Blacksmoke16)
v0.2.1
Added
- Add support for exclusive end support to
AVD::Constraints::Range
(#184) (@Blacksmoke16)
Changed
- Include allowed MIME types within
AVD::Constraints::Image
if they were customized (#183) (@Blacksmoke16) - Breaking: ensure parameter names defined on interfaces match the implementation (#188) (@Blacksmoke16)
Fixed
- Fix some file size factorization edge cases in
AVD::Constraints::File
(#182) (@Blacksmoke16) - Fix duplicating constraints due to Crystal generics bug (#192) (@Blacksmoke16)
v0.2.0
Added
- Add the AVD::Constraints::File constraint (#153) (@Blacksmoke16)
- Allow
AVD::Spec::MockValidator
to dynamically configure returned violations (#155, #157) (@Blacksmoke16) - Add the AVD::Constraints::Image constraint (#153) (@Blacksmoke16)
- Add getting started documentation to API docs (#172) (@Blacksmoke16)
Changed
- Breaking: make
AVD::ConstraintValidator
classes (#154) (@Blacksmoke16) - Breaking:
AVD::ExecutionContext
is no longer a generic type (#156) (@Blacksmoke16) - Update
assert_violation
to use a clearer failure message if no violations were found (#153) (@Blacksmoke16) - Update
AVD::Constraints::ISIN
to use the validator off the context versus an ivar (#155) (@Blacksmoke16) - Update minimum
crystal
version to~> 1.4.0
(#169) (@Blacksmoke16)
Removed
- Breaking: removed
AVD::Spec::MockValidator#violations=
(#155) (@Blacksmoke16)
Fixed
- Fix
AVD::Violation::ConstraintViolation
not comparing correctly (#153) (@Blacksmoke16) - Ensure only
Indexable
types can be used withAVD::Constraints::Unique
(#168) (@Blacksmoke16)
v0.1.7
Fixes
- Ensure callback constraint methods are not added as getters by @Blacksmoke16 in athena-framework/athena#132
Abstract validatable types
Fixes
- Abstract validatable types by @Blacksmoke16 in #16
Some fixes
Fixes
- Fix type restriction on validator factory by @Blacksmoke16 in #12
- Correctly link to validator section in external documentation by @Blacksmoke16 in #14