Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brought implementaton up to date with Django trunk
- Added inverseMatch option for RegexValidator - Backwards-incompatible change: now takes a kwargs object - Added whitelisting of schemes to URLValidator - Now takes a kwargs object - Added whitelisting of domains to EmailValidator - Backwards-incompatible change: now takes a kwargs object - Email parts are now validated individually - Backwards-incompatible change: removed the pre-configured URLValidator instance, validateURL - Some linting cleanup - Added more tests from the Django test suite
- Loading branch information
Showing
5 changed files
with
264 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,35 @@ | ||
0.1.0 | ||
===== | ||
|
||
* **Backwards-incompatible change** -- RegexValidator and EmailValidator now | ||
take a configuration object as their only argument, rather than individual | ||
configuration arguments. | ||
|
||
* **Backwards-incompatible change** -- removed the pre-configured URLValidator | ||
instance, validateURL. | ||
|
||
* Added an inverseMatch option for RegexValidator. | ||
|
||
* Added a whitelist option for EmailValidator, for specifying whitelisted | ||
domains. | ||
|
||
* Added a schemes option for URLValidator, which now takes a onfiguration object | ||
argument. | ||
|
||
0.0.3 / 2012-06-29 | ||
================== | ||
|
||
* Updated to isomorph 0.2 | ||
* Updated to isomorph 0.2. | ||
|
||
0.0.2 / 2012-03-08 | ||
================== | ||
|
||
* Fixed overwriting of url module variable after validating an IDNA domain | ||
* Fixed overwriting of url module variable after validating an IDNA domain. | ||
|
||
0.0.1 / 2012-03-08 | ||
================== | ||
|
||
* Added validateURL, since URLValidator no longer takes configuration params | ||
* Extracted validators from `newforms`_ for reuse across projects | ||
* Added validateURL, since URLValidator no longer takes configuration params. | ||
* Extracted validators from `newforms`_ for reuse across projects. | ||
|
||
.. _`newforms`: https://github.com/insin/newforms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.