- #64: Fixed URL validator and checker to ensure that protocol is case insensitive.
- #63: Added a MIME type validator and checker.
- ENHANCEMENT: Added
missing_as_noneoption tocheckers.are_dicts_equivalent(). - ENHANCEMENT: Added
strict_typingoption tocheckers.are_equivalent().
- #59: Fixed URL and domain validation to fail properly on unsafe characters.
- #54: Fixed the incorrect raising of a
TypeErrorbyvalidators.url().
- #49: Added
timedelta()validator andis_timedelta()checker. - #50: Added Python 3.8 to the test matrix.
- #43: Modified how
__init__.pyreads version information. - #45: Fixed false-positives and false-negatives in iterable validation.
- #39: Removed artifact
print()statement in variable name validator. - #40: Fixed bug in
checkers.is_type()that would return false negatives when evaluating anabc.ABCMetaobject (an Abstract Base Classtype-equivalent object) as opposed to an instance that inherits fromabc.ABCMeta.
- #37: Added regex matching to variable name validation. Still checks compilation but first must pass regex validation.
- #34: Fixed case sensitivity bugs in URL validator.
- #32: Removed a print statement left over from debugging.
- #28 and #29: Fixed an error where special URLs (localhost) and special IPs (e.g. 10.1.1.1) failed when used with an explicit port or path.
- #25: Fixed an error where an underscore in a host name was not being properly recognized (h/t @mastak) when parsing URLs and domain names.
- #23: Fixed an error where URL / domain validators and checkers were (incorrectly) failing on valid special names (e.g. localhost, etc.) and special IPs (e.g. 10.1.1.1).
- #24: Fixed bug where checkers returned false-negatives when the underlying validator raised a SyntaxError.
- #21: Fixed validators.datetime() handling of timezone offsets to conform to ISO-8601.
- #18: Upgraded
requestsrequirement to 2.20.1 - #17: Added
validators.json()with support for JSON Schema validation. - #17: Added
checkers.is_json()with support for checking against JSON Schema. - Added Python 3.7 to the Travis CI Test Matrix.
- #14: Added
coerce_valueargument tovalidators.date(),validators.datetime(), andvalidators.time().
- #11: Removed legacy print statements.
- #13:
checkers.is_time(),checkers.is_date(), andcheckers.is_datetime()no longer return false positives
- Added
validators.domain()andcheckers.is_domain()support with unit tests. - #8: Added more verbose exceptions while retaining backwards-compatability with standard library exceptions.
- #6: Made it possible to disable validators by adding the validator name to the
VALIDATORS_DISABLEDenvironment variable. - #6: Made it possible to disable checkers by adding the checker name to the
CHECKERS_DISABLEDenvironment variable. - #6: Made it possible to force a validator or checker to run (even if disabled)
by passing it a
force_run = Truekeyword argument. - #5: Added
validators.readable()andcheckers.is_readable()support to validate whether a file (path) is readable. - #4: Added
validators.writeable()andcheckers.is_writeable()support to validate whether a file (path) is writeable. Only works on Linux, by design. - #9: Added
validators.executable()andcheckers.is_executable()support to validate whether a file is executable. Only works on Linux, by design.
- #7: Refactored
validators.email()to more-comprehensively validate email addresses in compliance with RFC 5322.
- #6: Added unit tests for disabling validators and checkers based on the
VALIDATORS_DISABLEDandCHECKERS_DISABLEDenvironment variables, with support for theforce_run = Trueoverride. - #7: Added more extensive email address cases to test compliance with RFC 5322.
- Added unit tests for
validators.domain()andcheckers.is_domain(). - #5: Added unit tests for
validators.readable()andcheckers.is_readable()that work on the Linux platform. Missing unit tests on Windows. - #4: Added unit tests for
validators.writeable()andcheckers.is_writeable(). - #9: Added unit tests for
validators.executable()andcheckers.is_executable().
- Added
CHANGES.rst. - #7: Added additional detail to
validators.email()documentation. - #8: Added detailed exception / error handling documentation.
- #8: Updated validator error documentation.
- #6: Added documentation on disabling validators and checkers.
- #5: Added documentation for
validators.readable()andcheckers.is_readable(). - #4: Added documentation for
validators.writeable()andcheckers.is_writeable(). - #9: Added documentation for
validators.executable()andcheckers.is_executable().
- First public release