All notable changes to this project will be documented in this file, in reverse chronological order by release.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #30 adds tooling to ensure that the Hostname TLD list stays up-to-date as changes are pushed for the repository.
- Nothing.
- Nothing.
- #17 and #29 provide more test coverage, and fix a number of edge cases, primarily in validator option verifications.
- #26 fixes tests for
StaticValidator
such that they make correct assertions now. In doing so, we determined that it was possible to pass an indexed array of options, which could lead to unexpected results, often leading to false positives when validating. To correct this situation,StaticValidator::execute()
now raises anInvalidArgumentException
when an indexed array is detected for the$options
argument. - #35 modifies the
NotEmpty
validator to no longer treat the float0.0
as an empty value for purposes of validation. - #25 fixes the
Date
validator to check againstDateTimeImmutable
and notDateTimeInterface
(as PHP has restrictions currently on how the latter can be used).
- #8 adds a "strict" configuration option; when enabled (the default), the length of the address is checked to ensure it follows the specification.
- Nothing.
- Nothing.