Release Notes
Release History
Version |
Date |
Description |
1.10.0 |
2025-07-06 |
This is a maintenance and bug fix release; requires Java 8. |
1.9.0 |
2024-05-25 |
This is a maintenance and bug fix release; requires Java 8. |
1.8.0 |
2023-12-02 |
Maintenance and bug fix release. |
1.7 |
2020-08-07 |
This is primarily a maintenance release. All projects are encouraged to update to this release of Apache Commons Validator. Commons Validator requires Java 7 or later. Main enhancements ================= * CreditCard validation specification by numeric range * DomainValidator instances can be created with instance overrides * DomainValidator supports overrides of LOCAL TLDs IMPORTANT NOTES =============== BREAKING CHANGES: * Now requires Java 7 * Java 9 changed the way Locales are handled. This affects the output from some Date-related methods, and may cause some tests to break. DEPENDENCIES ============ * Updates Apache Commons BeanUtils dependency from 1.9.2 to 1.9.4. This picks up BEANUTILS-482: Update commons-collections from 3.2.1 to 3.2.2 (CVE-2015-4852). For the current list of dependencies, please see http://commons.apache.org/validator/dependencies.html |
1.6 |
2017-02-21 |
This is primarily a maintenance release. All projects are encouraged to update to this release of Apache Commons Validator. Commons Validator requires Java 1.6 or later. Main enhancements ================= * Modulus Ten Check Digit Implementation * Generic CreditCard validation (syntax and checkdigit only; does not check IIN) * CreditCard validation specification by numeric range IMPORTANT NOTES =============== BREAKING CHANGES: * NONE. DEPENDENCIES ============ The dependencies for Validator have not changed since the 1.4 release. For the current list of dependencies, please see http://commons.apache.org/validator/dependencies.html |
1.5.1 |
2016-04-30 |
This is a maintenance release. All projects are encouraged to update to this release of Apache Commons Validator. Commons Validator requires Java 1.6 or later. IMPORTANT NOTES =============== BREAKING CHANGES: * NONE. DEPENDENCIES ============ The dependencies for Validator have not changed since the 1.4 release. For the current list of dependencies, please see http://commons.apache.org/validator/dependencies.html |
1.5.0 |
2015-11-24 |
This is a maintenance release. All projects are encouraged to update to this release of Apache Commons Validator. Commons Validator requires Java 1.6 or later. IMPORTANT NOTES =============== BREAKING CHANGES: * NONE. DEPENDENCIES ============ The dependencies for Validator have not changed since the 1.4 release. For the current list of dependencies, please see http://commons.apache.org/validator/dependencies.html |
1.4.1 |
2014-01-13 |
1.4 Maintenance release |
1.4.0 |
2012-02-03 |
JDK 1.4 (minimum) |
1.3.1 |
2006-11-28 |
1.3 Maintenance Release. |
1.3.0 |
2006-03-24 |
1.3 Release - New 'routines' package plus Bug fixes for 1.2.0 |
1.2.0 |
2005-11-15 |
1.2 Release - see http://wiki.apache.org/commons/ValidatorVersion120 |
1.1.4 |
2004-11-12 |
1.1 Maintenance Release. |
1.1.3 |
2004-08-25 |
1.1 Release |
1.1.2 (alpha) |
2004-04-03 |
1.1 Alpha |
1.1.1 (alpha) |
2003-12-15 |
1.1 Alpha |
1.1.0 (alpha) |
2003-08-26 |
1.1 Alpha |
1.0.2 |
2003-04-17 |
1.0 Maintenance Release |
1.0.1 |
2002-12-16 |
1.0 Maintenance Release |
1.0 |
2002-11-01 |
1.0 Release |
Release 1.10.0 – 2025-07-06
Type |
Changes |
By |
 |
Add IBANValidator/IBANCheckDigit to package documentation. |
sjaranowski |
 |
Locale-dependent tests: calculate expected results as output varies between JVMs. |
sebb |
 |
Locale default tests: ensure original is restored on failure. |
sebb |
 |
Fix order of actual and expected parameters in assertEquals() #246. Thanks to Johannes Weberhofer. |
ggregory |
 |
InetAddressValidator does not need its instance variable, so uses a touch less memory. Thanks to Johannes Weberhofer. |
ggregory |
 |
Pick up maven-antrun-plugin version from parent POM org.apache:apache. Thanks to Gary Gregory. |
ggregory |
 |
Deprecate GenericTypeValidator.GenericTypeValidator(). Thanks to Gary Gregory. |
ggregory |
 |
Deprecate GenericValidator.GenericValidator(). Thanks to Gary Gregory. |
ggregory |
 |
Deprecate ValidatorUtils.ValidatorUtils(). Thanks to Gary Gregory. |
ggregory |
 |
Deprecate Validator protected instance variable access for getter methods. Thanks to Gary Gregory. |
ggregory |
 |
Remove '-nouses' directive from maven-bundle-plugin. OSGi package imports now state 'uses' definitions for package imports, this doesn't affect JPMS (from org.apache.commons:commons-parent:80). Thanks to Gary Gregory. |
ggregory |
 |
Shared primitive variable "clientValidation" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.validator.Field] At Field.java:[line 758] AT_STALE_THREAD_WRITE_OF_PRIMITIVE. Thanks to Gary Gregory, SpotBugs. |
ggregory |
 |
Shared primitive variable "fieldOrder" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.validator.Field] At Field.java:[line 785] AT_STALE_THREAD_WRITE_OF_PRIMITIVE. Thanks to Gary Gregory, SpotBugs. |
ggregory |
 |
Shared primitive variable "page" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.validator.Field] At Field.java:[line 818] AT_STALE_THREAD_WRITE_OF_PRIMITIVE. Thanks to Gary Gregory, SpotBugs. |
ggregory |
 |
Shared primitive variable "merged" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.validator.FormSet] At FormSet.java:[line 302] AT_STALE_THREAD_WRITE_OF_PRIMITIVE. Thanks to Gary Gregory, SpotBugs. |
ggregory |
 |
Pick up exec-maven-plugin version from parent POM. Thanks to Gary Gregory. |
ggregory |
 |
Use a Calendar constant instead of a magic number in tests. Make the code understandable without comment. Thanks to Dávid Szigecsán. |
ggregory |
 |
Add org.apache.commons.validator.routines.IBANValidator.validate(String). Fixes VALIDATOR-497. Thanks to Slawomir Jaranowski. |
sjaranowski |
 |
DomainValidatorTest: added Maven profile to simplify execution. |
sebb |
 |
IBANValidator: Add Honduras from the IBAN registry Release 99 – Dec 2024. |
sebb |
 |
Improve IBANValidatorTest by using registry from SWIFT. Thanks to Slawomir Jaranowski. |
sjaranowski |
 |
IBANValidator: Add Yemen. Fixes VALIDATOR-495. Thanks to Slawomir Jaranowski. |
sebb |
 |
Add IBANValidator.Validator.getIbanLength(). Thanks to Leonard Wicke, Gary Gregory. |
ggregory |
 |
Add Validator.getFieldName(). Thanks to nullwli, Gary Gregory. |
ggregory |
 |
Add Validator.getParameters(). Thanks to nullwli, Gary Gregory. |
ggregory |
 |
Add Validator.getResources(). Thanks to nullwli, Gary Gregory. |
ggregory |
 |
Bump org.apache.commons:commons-parent from 78 to 85, fix changes.xml format for new plugin version Thanks to Slawomir Jaranowski, Gary Gregory. |
sjaranowski |
 |
Bump org.apache.commons:commons-parent from 70 to 78 #231, #245, #253, #256, #262, #267, #272, #278. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
DomainValidator: Changes from 2025061000, Last Updated Tue Jun 10 07:07:01 2025 UTC. |
sebb |
 |
IBANValidatorTest: parameterize SWIFT registry version; update to v99 |
sebb |
 |
Bump commons-logging:commons-logging from 1.3.2 to 1.3.5 #238, #254. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump org.apache.commons:commons-lang3 from 3.15.0 to 3.17.0 #248, #257. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump org.apache.commons:commons-csv from 1.11.0 to 1.14.0 #264. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump org.codehaus.mojo:exec-maven-plugin from 1.2.1 to 3.5.0 #305. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump commons-beanutils:commons-beanutils from 1.9.4 to 1.11.0. Thanks to Gary Gregory. |
ggregory |
Release 1.9.0 – 2024-05-25
Type |
Changes |
By |
 |
IBANValidator: #209 - add Falkland Islands, Mongolia, Nicaragua, Oman, Somalia Thanks to homebeaver. |
sebb |
 |
ISINValidator: Add 9 additional exception country code #129. Thanks to ashoknan2, Gary Gregory. |
ggregory |
 |
ISINValidator: Add all codes from ISO 3166-1 alpha-2 except unassigned code elements. Thanks to Gary Gregory. |
ggregory |
 |
Add validator CASNumberCheckDigit for Chemical Registry CAS Numbers and ECNumberCheckDigit #217. Thanks to homebeaver, Gary Gregory. |
ggregory |
 |
Add PMD check to default Maven goal. Thanks to Gary Gregory. |
ggregory |
 |
ValidatorUtils.copyFastHashMap is broken. Fixes VALIDATOR-492. Thanks to Tobias Wildgruber, Gary Gregory. |
ggregory |
 |
DomainValidator: Changes from Version 2024040200, Apr 2 07:07:02 2024 UTC. Thanks to Sebb. |
ggregory |
 |
Fix PMD UnnecessaryFullyQualifiedName. Thanks to Gary GRegory. |
ggregory |
 |
Bump org.apache.commons:commons-parent from 65 to 70 #201. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump commons-logging:commons-logging from 1.3.0 to 1.3.4 #199, #221. Thanks to Dependabot. |
ggregory |
 |
Bump org.apache.commons:commons-csv from 1.10.0 to 1.11.0 #214. Thanks to Dependabot. |
ggregory |
 |
Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.15.0 #241. Thanks to Dependabot. |
ggregory |
Release 1.8.0 – 2023-12-02
Type |
Changes |
By |
 |
Update Javadoc for InetAddressValidator isValid #76 Thanks to Gennaro Napolitano. |
ggregory |
 |
Fix typo in /routines/package-summary.html #79. Fixes VALIDATOR-479. Thanks to Gyoo. |
ggregory |
 |
Use JUnit 5 assertThrows() #92, #93, #94, #95. Thanks to John Patrick. |
ggregory |
 |
[StepSecurity] ci: Harden GitHub Actions #136. Thanks to step-security-bot, Gary Gregory. |
ggregory |
 |
Javadoc typos #144. Thanks to Andrés Torres. |
ggregory |
 |
Precompile regular expression in InetAddressValidator.isValidInet6Address(String). Thanks to Gary Gregory. |
ggregory |
 |
Fix SpotBugs [ERROR] Medium: Class org.apache.commons.validator.routines.CreditCardValidator$1 defines non-transient non-serializable instance field ccr [org.apache.commons.validator.routines.CreditCardValidator$1] In CreditCardValidator.java SE_BAD_FIELD. Thanks to Gary Gregory. |
ggregory |
 |
Fix SpotBugs [ERROR] High: Class org.apache.commons.validator.ValidatorAction defines non-transient non-serializable instance field validationMethod [org.apache.commons.validator.ValidatorAction] In ValidatorAction.java SE_BAD_FIELD. Thanks to Gary Gregory. |
ggregory |
 |
Fix SpotBugs [ERROR] High: Found reliance on default encoding in org.apache.commons.validator.ValidatorAction.readJavascriptFile(String): new java.io.InputStreamReader(InputStream) [org.apache.commons.validator.ValidatorAction] At ValidatorAction.java:[line 428] DM_DEFAULT_ENCODING. Thanks to Gary Gregory. |
ggregory |
 |
Fix SpotBugs [ERROR] Medium: Inconsistent synchronization of org.apache.commons.validator.ValidatorAction.jsFunction; locked 62% of time [org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.ValidatorAction] Unsynchronized access at ValidatorAction.java:[line 340]Unsynchronized access at ValidatorAction.java:[line 358]Synchronized access at ValidatorAction.java:[line 393]Synchronized access at ValidatorAction.java:[line 394]Synchronized access at ValidatorAction.java:[line 459]Synchronized access at ValidatorAction.java:[line 461]Synchronized access at ValidatorAction.java:[line 462] IS2_INCONSISTENT_SYNC. Thanks to Gary Gregory. |
ggregory |
 |
Port tests to JUnit 5. Exception: DomainValidatorStartupTest. Thanks to Gary Gregory. |
ggregory |
 |
Use singletons in org.apache.commons.validator.CreditCardValidator. Thanks to Gary Gregory. |
ggregory |
 |
Add github/codeql-action. Thanks to Dependabot, Gary Gregory. |
ggregory |
![]() |
Add IBAN validators for LY – Libya, SD, BI, #67. Fixes VALIDATOR-477. Thanks to sebb, homebeaver. |
sebb |
 |
Add new countries to IBAN list: DJ, RU #88. Fixes VALIDATOR-486. Thanks to tatiana-scda, Gary Gregory. |
ggregory |
 |
Add IBANValidator.Validator.getRegexValidator(). Thanks to Arnaud Fournier, Gary Gregory. |
ggregory |
 |
Add RegexValidator.getPatterns(). Thanks to Arnaud Fournier, Gary Gregory. |
ggregory |
 |
Add country codes listed as other countries and territories in the IBAN registry for Finland: AX. Thanks to Gary Gregory, rossmills3, sebbASF. |
ggregory |
 |
Add country codes listed as other countries and territories in the IBAN registry for France: GF, GP, MQ, RE, PF, TF, YT, NC, BL, MF, PM, WF. Thanks to Gary Gregory, rossmills3, sebbASF. |
ggregory |
 |
Add country codes listed as other countries and territories in the IBAN registry for United Kingdom: IM, JE, GG. Thanks to Gary Gregory, rossmills3, sebbASF. |
ggregory |
 |
Add ValidatorAction.setClassName(String) and deprecate setClassname(String). Thanks to Gary Gregory. |
ggregory |
 |
Remove FindBugs, SpotBugs is in use #87. Thanks to John Patrick, Gary Gregory. |
ggregory |
 |
Bump Java from 7 to 8. Thanks to Gary Gregory. |
ggregory |
 |
Bump actions/cache from 2 to 3.0.11 #71, #84. #90, #91. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump actions/checkout from 2.3.1 to 3.0.2, #38, #47, #70. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump actions/setup-java from 1.4.0 to 3.6.0 #42, #72, #98. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump actions/upload-artifact from 3.1.0 to 3.1.1 #96. Thanks to Dependabot. |
ggregory |
 |
Bump junit from 4.13 to 5.9.1 Vintage #44. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump maven-pmd-plugin from 3.13.0 to 3.19.0 #69, #77, #80, #81. Thanks to Dependabot. |
ggregory |
 |
Bump commons-parent from 52 to 65 #83, #107, #111, #132. Thanks to Gary Gregory, Dependabot. |
ggregory |
 |
Bump japicmp-maven-plugin from 0.15.3 to 0.15.7. Thanks to Gary Gregory. |
ggregory |
 |
Bump maven-antrun-plugin from 3.0.0 to 3.1.0 #74. Thanks to Dependabot. |
ggregory |
 |
Bump commons-csv from 1.6 to 1.10.0 #118. Thanks to Gary Gregory, Dependabot. |
ggregory |
 |
Bump japicmp-maven-plugin from 0.15.7 to 0.16.0. Thanks to Gary Gregory. |
ggregory |
 |
Bump commons-logging:commons-logging from 1.2 to 1.3.0. Thanks to Gary Gregory. |
ggregory |
Release 1.7 – 2020-08-07
Type |
Changes |
By |
 |
Drop Clirr and Cobertura in favour of JApiCmp and JaCoCo |
sebb |
 |
DomainValidator should allow local overrides. Fixes VALIDATOR-474. |
sebb |
 |
Allow Email- and UrlValidator to use specified DomainValidator. Fixes VALIDATOR-473. |
sebb |
 |
Accept Discover cards of 17 digits long that start with 6011. Fixes VALIDATOR-403. Thanks to Tanya. |
sebb |
 |
DISCOVER Card Validation Patterns. Fixes VALIDATOR-408. Thanks to Raj Vaida. |
sebb |
 |
UrlValidator should not be more lax than java.net.URI. Fixes VALIDATOR-472. |
sebb |
 |
URLValidator should check for illegal Hex characters. Fixes VALIDATOR-283. Thanks to RC Johnson. |
sebb |
 |
Inet6Address may also contain a scope id. Fixes VALIDATOR-445. Thanks to devson. |
sebb |
 |
Validation of URL containing IPv4-mapped IPv6 address. Fixes VALIDATOR-452. Thanks to devson. |
sebb |
 |
Allow DomainValidator overrides at run-time. Fixes VALIDATOR-471. |
sebb |
 |
IBANValidator fails for El Salvador
Add definition. Fixes VALIDATOR-438. Thanks to Simon Marti. |
sebb |
 |
IANA TLD lists: Updated to Version 2020073100, Last Updated Fri Jul 31 07:07:01 2020 UTC |
sebb |
 |
Add ISINValidator. Fixes VALIDATOR-423. |
sebb |
 |
Update commons digester to 2.1. Fixes VALIDATOR-428. Thanks to Matthew Zavislak. |
pschumacher |
 |
Field does not synchronize iteration on synchronized list. Fixes VALIDATOR-434. Thanks to emopers. |
kinow |
 |
Update Apache Commons BeanUtils dependency from 1.9.2 to 1.9.3.
This picks up BEANUTILS-482: Update commons-collections from 3.2.1 to 3.2.2 (CVE-2015-4852). Fixes VALIDATOR-437. |
ggregory |
 |
Update Apache Commons BeanUtils dependency from 1.9.3 to 1.9.4
This picks up BEANUTILS-520: Mitigate CVE-2014-0114. Fixes VALIDATOR-460. Thanks to Jeff Schram. |
ggregory |
 |
Add IBAN validator for VA – Vatican City State. Fixes VALIDATOR-455. Thanks to Eugen Hanussek. |
sebb |
 |
Generic .gmbh top level domain is considered invalid. Fixes VALIDATOR-461. Thanks to Nils Reischmann. |
sebb |
 |
LongValidator: numbers bigger than the maxvalue are Valid. Fixes VALIDATOR-444. Thanks to Martin Scholz. |
sebb |
 |
CreditCardValidator default ctor disagrees with Javadoc. Fixes VALIDATOR-416. |
sebb |
 |
ISSN Validator extract ISSN from EAN-13. Fixes VALIDATOR-446. Thanks to Alex. |
sebb |
 |
URL validator fails if path starts with double slash and has underscores. Fixes VALIDATOR-467. Thanks to Ivan Larionov. |
sebb |
 |
UrlValidator says "file://bad ^ domain.com/label/test" is valid. Fixes VALIDATOR-464. Thanks to Sebastian Choina. |
sebb |
 |
Leading and trailing spaces in EmailValidator should not be valid. Fixes VALIDATOR-449. Thanks to Frederic Boutin. |
sebb |
 |
EMailValidator: Addresses with leading spaces must not be accepted. Fixes VALIDATOR-302. Thanks to Guido Zockoll. |
sebb |
 |
DomainValidator.getTLDArray does not synch mutable arrays. Fixes VALIDATOR-468. |
sebb |
Release 1.6 – 2017-02-21
Type |
Changes |
By |
 |
Query params validator shouldn't accept whitespaces. Fixes VALIDATOR-420. Thanks to Marcin Gasior. |
sebb |
 |
Invalid IPv6 addresses that are IPv4-mapped pass InetAddressValidator validation. Fixes VALIDATOR-419. Thanks to Denis Iskhakov. |
sebb |
 |
UrlValidatorTest: testIsValid() does not run all tests. Fixes VALIDATOR-418. Thanks to Robert McGuigan. |
britter |
 |
Simplify building new CreditCard validators. Fixes VALIDATOR-415. |
sebb |
 |
Generic CreditCard validation. Fixes VALIDATOR-413. |
sebb |
 |
CodeValidator unconditionally trim()s the input string - document the behavior. Fixes VALIDATOR-379. |
sebb |
 |
Userinfo without colon should be valid in UrlValidator. Fixes VALIDATOR-387. Thanks to Shumpei Akai. |
sebb |
 |
General Modulus Ten Check Digit Implementation. Fixes VALIDATOR-394. Thanks to Niall Pemberton. |
sebb |
 |
UrlValidator accepts ports above max limit of 16-bit unsigned integer. Fixes VALIDATOR-411. |
sebb |
 |
IANA TLD lists: Updated to Version 2017020400, Last Updated Sat Feb 4 07:07:01 2017 UTC |
sebb |
 |
Update to version 73 of SWIFT IBAN list: added BY (Belarus) and IQ (Iraq); fixed Santa Lucia format |
sebb |
 |
Generic .shop top level domain is considered invalid. Fixes VALIDATOR-407. |
sebb |
 |
IBANValidator - Costa Rica entry has been updated in SWIFT docs. Fixes VALIDATOR-405. |
sebb |
 |
IBANValidator fails for Seychelles and Ukraine. Fixes VALIDATOR-401. |
britter |
 |
UrlValidator.isValid throws exception for FILEURLs
Fixed code so it handles URLs with no authority field. Fixes VALIDATOR-391. Thanks to Mark E. Scott, Jr. & Jason Loomis. |
sebb |
Release 1.5.1 – 2016-04-30
Type |
Changes |
By |
 |
Mastercard Series 2 BIN ranges (active from October 2016) added to CreditCardValidator
To disable the new ranges, use option MASTERCARD_PRE_OCT2016 or validator MASTERCARD_VALIDATOR_PRE_OCT2016. Fixes VALIDATOR-392. Thanks to Tim Deboer. |
sebb |
 |
org.apache.commons.validator.routines.DomainValidator.ArrayType is not public. Fixes VALIDATOR-386. Thanks to Auke van Leeuwen. |
sebb |
 |
EmailValidator does not catch invalid email address like [email protected]. Fixes VALIDATOR-359. Thanks to Dora Kinghorn. |
sebb |
 |
EmailValidator does not support escaped quotes in a quoted string. Fixes VALIDATOR-384. Thanks to Kris Babic. |
sebb |
 |
DomainValidator - allow access to internal arrays. Fixes VALIDATOR-351. |
sebb |
 |
Updated to TLD list Version 2016042500, Last Updated Mon Apr 25 07:07:01 2016 UTC |
sebb |
Release 1.5.0 – 2015-11-24
Type |
Changes |
By |
 |
Email Validator does not support quoted/escaped character in the local part of the email address. Fixes VALIDATOR-364. Thanks to teo bran. |
sebb |
 |
Update commons-collections from 3.2.1 to 3.2.2. Fixes VALIDATOR-381. |
ggregory |
 |
UrlValidator rejects path having two or more successive dots. Fixes VALIDATOR-363. |
sebb |
 |
IBANCheckDigit.isValid() returns True for some invalid IBANs. Fixes VALIDATOR-330. |
sebb |
 |
UrlValidator does not allow for optional port digits. Fixes VALIDATOR-380. |
sebb |
 |
IIBANCheckDigit.calculate does not enforce initial checksum value
Checkdigit field is now unconditionally set to "00" to ensure correct generation. Fixes VALIDATOR-332. |
sebb |
 |
UrlValidator does not allow for optional userinfo in the authority. Fixes VALIDATOR-353. |
sebb |
 |
ISSN validator and converter to EAN-13. Fixes VALIDATOR-321. |
sebb |
 |
Improve IBAN validation with format checks. Fixes VALIDATOR-325. |
sebb |
 |
DateValidatorTest.testCompare() fails with GMT-12. Fixes VALIDATOR-369. |
sebb |
 |
Validate 19 digit VPay (VISA). Fixes VALIDATOR-372. |
sebb |
 |
UrlValidator fails on IPv6 URL. Fixes VALIDATOR-375. |
sebb |
 |
UrlValidator rejects new gTLDs with more than 4 characters
Added unit test to show that this has been fixed. Fixes VALIDATOR-361. |
sebb |
 |
Make TLD list configurable;
both generic and country-code now support addition and removal. Fixes VALIDATOR-341. |
sebb |
 |
Email Validator : .school domain is being rejected
Add Unit test to show it has been fixed. Fixes VALIDATOR-374. |
- |
 |
Revert EmailValidator to handle top level domains to the behavior prior to VALIDATOR-273. Allow an optional
behavior to allow the behavior VALIDATOR-273 implemented. Note that this is a behavioral change for users
of version 1.4.1, but not for anyone upgrading from a release prior to that. Fixes VALIDATOR-376. |
rgoers |
 |
Drop the Javascript code entirely. Fixes VALIDATOR-371. |
- |
 |
Local part of the email address should not be longer than 64 bytes. Fixes VALIDATOR-362. Thanks to Teo Bran. |
britter |
 |
IDN.toASCII drops trailing dot in Java 6 & 7. Fixes VALIDATOR-356. |
sebb |
 |
Update to Java 6. Fixes VALIDATOR-355. |
britter |
Release 1.4.1 – 2014-01-13
Type |
Changes |
By |
 |
URLValidator returns false for http://example.rocks. Fixes VALIDATOR-342. Thanks to Donal Murtagh. |
sebb |
 |
UrlValidator rejects url with Unicode characters in domain label or TLD. Fixes VALIDATOR-235. Thanks to Brian Preuß. |
sebb |
 |
URLValidator fails validating domain names with a trailing period, which are valid. Fixes VALIDATOR-339. Thanks to Alex Blume. |
sebb |
 |
DomainValidator accepts labels longer than 63 chars and domain name lengths exceeding 255 chars. Fixes VALIDATOR-306. Thanks to Jukka Timonen. |
sebb |
 |
TLD tables should be pre-sorted. Fixes VALIDATOR-349. |
sebb |
 |
Create new url validation using rfc3986 and IDN - added new test. Fixes VALIDATOR-290. Thanks to Alexander Rytov. |
sebb |
 |
Should "x.root" validate as a domain name?
Removed "root" from TLD list.
Also "um" and "yu" as they are currently "Not assigned". Fixes VALIDATOR-350. |
sebb |
 |
Logical errors in util.Flags affecting check of multiple flags as well as flag 64. Fixes VALIDATOR-308. Thanks to Til Boerner. |
sebb |
 |
AbstractCheckDigit class does not fully test invalid strings
Fix up the testCalculateInvalid() invalid method to allow for
either invalid checksum or syntax (CheckDigitException) error
when testing the entries in the invalid array. Fixes VALIDATOR-344. |
sebb |
 |
Punycode url is not valid
Top-level domain regex matching was wrong; did not allow embedded "-" as per RFC2396. Fixes VALIDATOR-297. |
sebb |
 |
UrlValidator: isValidAuthority() returning true when supplied authority validator fails. Fixes VALIDATOR-334. |
sebb |
 |
UrlValidator does not validate uppercase URL schemes. Fixes VALIDATOR-309. Thanks to Rashid Rashidov. |
sebb |
 |
Doc URL update for broken link. Fixes VALIDATOR-343. Thanks to Sam Cooley. |
sebb |
 |
SedolCheckDigit fails to reject invalid (non-numeric) check digits. Fixes VALIDATOR-346. |
sebb |
 |
ISINCheckDigit fails to reject invalid (non-numeric) check digits. Fixes VALIDATOR-345. |
sebb |
 |
CUSIPCheckDigit thinks invalid CUSIP is valid. Fixes VALIDATOR-336. |
sebb |
 |
Update TLD list to latest version (Version 2014123000). Fixes VALIDATOR-348. |
sebb |
 |
toLowerCase() method is Locale-sensitive and should not be used
Fixed 4 instances in DomainValidator. Fixes VALIDATOR-347. |
sebb |
 |
isValid checks if the given address is only IPV4 address and not IPV6. Fixes VALIDATOR-307. |
adrianc |
 |
Deprecate the JS part of commons validator. Fixes VALIDATOR-337. Thanks to Ben Ripkens. |
britter |
 |
DomainValidator uses an O(n) method where an O(1) would be more appropriate. Fixes VALIDATOR-266. Thanks to Bruce Collie. |
britter |
 |
EmailValidator does not support mailboxes at TLDs. Fixes VALIDATOR-273. Thanks to Chris Lee. |
britter |
 |
DomainValidator missing sTLD - "xxx". Fixes VALIDATOR-317. Thanks to Arūnas Bendoraitis. |
britter |
 |
Missing sx tld. Fixes VALIDATOR-327. Thanks to Arūnas Bendoraitis. |
britter |
 |
Some TLDs are missing from DomainValidator. Fixes VALIDATOR-305. Thanks to Arūnas Bendoraitis. |
britter |
 |
IBANCheckDigitTest.createInvalidCodes(String[] codes) uses wrong values. Fixes VALIDATOR-331. |
sebb |
Release 1.4.0 – 2012-02-03
Type |
Changes |
By |
 |
CheckStyle and FindBug Issues - inner classes and key sets. Fixes VALIDATOR-301. Thanks to Jacob Zwiers. |
simonetripodi |
 |
Email validation fails with dash or hyphen at end of local address. Fixes VALIDATOR-293. Thanks to Will Glass-Husain. |
nick |
 |
@localhost and @localhost.localdomain email addresses aren't correctly detected as valid. Fixes VALIDATOR-292. |
nick |
 |
UrlValidator.isValid does not properly validate *.travel domains. Fixes VALIDATOR-289. Thanks to GM. |
nick |
 |
UrlValidator does not validate URL with simple domains (eg: http://hostname ). Fixes VALIDATOR-288. Thanks to feroze daud. |
niallp |
 |
isValid method for EmailValidator should return false for domain with special characters only. Fixes VALIDATOR-286. |
nick |
 |
formatDate(String value, Locale locale) in GenericTypeValidator uses DateFormat.SHORT instead of DateFormat.DEFAULT. Fixes VALIDATOR-282. |
nick |
 |
isValidURL call returns false for file scheme/protocol when URL is correct. Fixes VALIDATOR-276. |
nick |
 |
gmail testing addresses do not validate. Fixes VALIDATOR-271. Thanks to Ralf Hauser. |
nick |
 |
EmailValidator.isValid(String) follows RFC822 but violates RFC1034. Fixes VALIDATOR-275. Thanks to Adam Gordon. |
niallp |
 |
Performance improvement of DomainValidator by change the regular expression. Fixes VALIDATOR-252. Thanks to Makoto Uchino. |
bspeakmon |
 |
url with brackets is not validated thru URLvalidator class. Fixes VALIDATOR-251. Thanks to Meenal Gupta. |
niallp |
 |
Banking CheckDigit implementations: ABA, CUSIP, IBAN, ISIN and Sedol. Fixes VALIDATOR-250. |
niallp |
 |
Add Diners card validation to CreditCardValidator. Fixes VALIDATOR-249. |
niallp |
 |
Add an option to allow 'localhost' as a valid hostname part in the URL. Fixes VALIDATOR-248. Thanks to Sergey Nebolsin. |
bspeakmon |
 |
Move CreditCardValidator to routines package and refactor to use new CodeValidator. Fixes VALIDATOR-247. Thanks to bspeakmon. |
niallp |
 |
Move EmailValidator to routines package. Fixes VALIDATOR-242. |
bspeakmon |
 |
New InetAdress Validator implementation. Fixes VALIDATOR-241. Thanks to niallp. |
bspeakmon |
 |
Support the 65 prefix for Discover Card. Fixes VALIDATOR-240. Thanks to Webb Morris. |
niallp |
 |
Create 1.4 DTD. Fixes VALIDATOR-234. Thanks to Paul Benedict. |
niallp |
 |
Switch to using Version 0.4.3 of the Dojo Compressor from the maven repo. Fixes VALIDATOR-233. Thanks to Paul Benedict. |
niallp |
 |
Add script attribute to control script generation. Fixes VALIDATOR-232. Thanks to Paul Benedict. |
bspeakmon |
 |
clirr Report - EmailValidator.isValidIpAddress() argument type change. Fixes VALIDATOR-300. Thanks to Jacob Zwiers. |
nick |
 |
Null-Stream input to ValidatorResources leads to MalformedURLExceptions. Fixes VALIDATOR-226. Thanks to Lian Ort. |
niallp |
 |
validatorUtilities.js - replace colon characters in the function name (JSF/Shale). Fixes VALIDATOR-224. Thanks to Hasan Turksoy. |
niallp |
 |
Move the trim() function from validateRequired.js to validateUtilities.js. Fixes VALIDATOR-223. Thanks to Hasan Turksoy. |
niallp |
 |
EmailValidator fails with ArrayIndexOutOfBoundsException on domain names longer than 10 segments. Fixes VALIDATOR-220. Thanks to Adam Gordon. |
niallp |
 |
UrlValidator fail when path contains "(" / ")". Fixes VALIDATOR-218. Thanks to Stephen Chu. |
bspeakmon |
 |
UrlValidator rejects top-level domains (TLDs) with more than 4 characters. Fixes VALIDATOR-216. Thanks to Kenji Matsuoka. |
bspeakmon |
 |
New generic CodeValidator that validates format, length and Check Digit for a code. Fixes VALIDATOR-215. |
niallp |
 |
New Regular Expression validator using JDK 1.4's Regex. Fixes VALIDATOR-214. |
niallp |
 |
Factor out Check Digit logic into separate implementations. Fixes VALIDATOR-213. |
niallp |
 |
Upgrade to Digester 1.8. Fixes VALIDATOR-211. |
niallp |
 |
Refactor UrlValidator - especially the line 370-ish. Fixes VALIDATOR-203. Thanks to bayard. |
bspeakmon |
 |
Copy remaining Validation Routines to the new routines package. Fixes VALIDATOR-197. |
niallp |
 |
Removing ORO dep. from GenericValidator. Fixes VALIDATOR-193. Thanks to Matthias Wessendorf. |
bspeakmon |
 |
Adding ISBNValidator to GenericValidator. Fixes VALIDATOR-192. Thanks to Matthias Wessendorf. |
niallp |
 |
Remove the dependency on Jakarta ORO (move to JDK 1.4 regular expression support). Fixes VALIDATOR-191. Thanks to Matthias Wessendorf. |
niallp |
 |
Extend ISBN validator to support smooth transition to ISBN-13 / EAN-13 standard. Fixes VALIDATOR-188. Thanks to Gabriel Belingueres. |
niallp |
 |
JDK 1.4 - change minimum dependency for validator to be JDK 1.4 (was 1.3). Primary reason
for this is to use JDK 1.4+ built in regular expression support and remove the dependency
on Jakarta ORO. |
niallp |
Release 1.3.1 – 2006-11-28
Type |
Changes |
By |
 |
Dependencies for Validator 1.3.1 are unchanged since the 1.3.0 release.
Jakarta ORO has now been marked as an optional dependency
in the project.xml as it is only required by the Email, URL and Regular Expression validations. |
niallp |
 |
JavaScript function jcv_isFieldPresent() causes error in IE5 using "undefined". Fixes VALIDATOR-208. Thanks to Leo Asanov. |
niallp |
 |
EmailValidator allows control characters (ASCII 0-31 and 127). Fixes VALIDATOR-190. Thanks to Cott, Gabriel Belingueres. |
niallp |
 |
JavaScript Causes HTML Page to Contain Illegal HTML. Fixes VALIDATOR-210. Thanks to Neil Sherman. |
niallp |
 |
Additional constructor for ValidatorResources that takes URL["> instead of String[">. Fixes VALIDATOR-209. Thanks to Craig McClanahan. |
niallp |
 |
Fix loading of Digester rules for custom ValidatorResources implementations. Fixes VALIDATOR-195. Thanks to Vijay Pandey. |
niallp |
 |
Validator incorrectly storing itself under the FORM_PARAM key rather than
the Form. Fixes VALIDATOR-19. Thanks to Masahiro Honda. |
niallp |
 |
Urlvalidator returns false for a valid URL containing an underscore. Fixes VALIDATOR-204. Thanks to Ben. |
bayard |
 |
Urlvalidator fails with an ArrayIndexOutOfBoundsException. Fixes VALIDATOR-202. Thanks to Ben. |
bayard |
 |
The ant build.xml doesn't include validator_1_1_3.dtd in the jar. Fixes VALIDATOR-199. Thanks to Tim Mulligan. |
niallp |
 |
Example does not compile using ant build script. Fixes VALIDATOR-198. Thanks to Matthias Fischer. |
niallp |
 |
Validating indexed properties fails when null. Fixes VALIDATOR-189. Thanks to Thomas Bailey. |
niallp |
 |
Fix a thread safety issue in parameter initialization. Fixes VALIDATOR-89. Thanks to Takayuki Kaneko. |
martinc |
Release 1.3.0 – 2006-03-24
Type |
Changes |
By |
 |
ValidatorResult only contains last run dependency for the field. Fixes VALIDATOR-49. Thanks to bart vandendriessche. |
niallp |
 |
Validator argument - resource="false" ignored for arg0 - arg3. Fixes VALIDATOR-20. Thanks to Rostislav Palivoda. |
niallp |
 |
Change JavaScript validators to cater for disabled being undefined (an issue in Netscape 4.7). Fixes VALIDATOR-60. Thanks to Yugandhar. |
niallp |
 |
<p>Add new routines package containing standard validations - first
step in the process of clearly separating standard validation
functions which can be used independently, from the framework
aspect of Commons Validator.</p>
<p>New validators added for Date, Time, Calendar, Byte, Short,
Integer, Long, Float, Double, BigInteger, BigDecimal,
Currency and Percent.</p>
<p>See <a href="apidocs/org/apache/commons/validator/routines/package-summary.html">
Routines Package Javadocs</a></p> |
niallp |
 |
Deprecate ValidatorResult's getActionMap() and add getActions()
method to provide an Iterator of the set of action names. Fixes VALIDATOR-30. |
niallp |
 |
Use the Dojo/Rhino JavaScript compressor to created compressed
versions of the static JavaScript files. Additionally create single
file distros of all the static JavaScript in un-compressed and compressed
format. See Dojo/Rhino Compressor. Fixes VALIDATOR-142. Thanks to Michael Rush. |
niallp |
 |
Prefix remaining JavaScript utility methods with "jcv_" to reduce
the likelihood of clashes with other libraries - validator still
needs to be properly namespaced (as per Bug 38184). |
niallp |
 |
Change JavaScript validators so that they don't fail when the
field is not present on the form. Fixes VALIDATOR-163. Thanks to Andrew Berridge, Paul Benedict. |
niallp |
 |
Fix min/max length validation for different line endings. Fixes VALIDATOR-25. Thanks to Alan Olmanson. |
niallp |
 |
Fix email validator to not allow spaces at the end of the user
component or start of the domain component. Fixes VALIDATOR-50. Thanks to Stephanie Codron. |
niallp |
 |
Added validator_1_3_0.dtd and changed form rules so that a minimum
of one field is no longer required (i.e. changed (field+) to (field*)
for a form). Fixes VALIDATOR-77. Thanks to Neale. |
niallp |
 |
Resolve issue in JavaScript validation when the prototype library
is used. Fixes VALIDATOR-109. Thanks to Philippe Mouawad. |
niallp |
 |
Re-factor JavaScript error handling into a common method and only
set focus on fields which are not 'hidden' type or hidden by CSS. Fixes VALIDATOR-97, VALIDATOR-81. Thanks to Matt Bathje, Paul Benedict. |
niallp |
 |
Remove static Log instances to avoid problems if deployed via a shared
classloader in a container. See
<a href="http://wiki.apache.org/commons/Logging/StaticLog">here</a>
for more details. |
niallp |
 |
Reverse change for to Credit Card Validator for visa card blue in France. Fixes VALIDATOR-39. |
niallp |
 |
Fix JavaScript validation for Internet Explorer 5.0. Fixes VALIDATOR-18. Thanks to Kristian L. Petersen. |
niallp |
Release 1.2.0 – 2005-11-15
Type |
Changes |
By |
 |
Added ISBNValidator for validating book numbers. Fixes VALIDATOR-145. |
dgraham |
 |
Upgrade dependency versions to
<a href="http://commons.apache.org/beanutils/">Commons BeanUtils</a> 1.7.0,
<a href="http://commons.apache.org/digester/">Commons Digester</a> 1.6
and <a href="http://commons.apache.org/logging/">Commons Logging</a> 1.0.4.
Remove dependency on
<a href="http://commons.apache.org/beanutils/">Commons Collections</a>
(BeanUtils 1.7.0 has removed its dependency on Collections by including the
few Collections classes required in its distribution). |
dgraham |
 |
Add support for min or max numeric values. Fixes VALIDATOR-135. |
husted |
 |
Allow validators to register errors for multiple fields. Fixes VALIDATOR-137. |
husted |
 |
Fixed EmailValidator failing on valid email addresses. Fixes VALIDATOR-85. |
husted |
 |
Allow forms to inherit validation rules from other forms. Fixes VALIDATOR-132. |
rleland |
 |
Remove the need to specify an Arguement's position. Fixes VALIDATOR-166. |
niallp |
 |
Deprecated all FastHashMap usage and provided protected get
methods that return generic Maps to be used by subclasses. Fixes VALIDATOR-185. |
dgraham |
 |
Handling of float and double should use the locale object.
Fixes <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=21282">21282</a>. Fixes VALIDATOR-124. |
mrdon |
 |
More informative Exception message when validation method not found. Fixes VALIDATOR-181. |
mrdon |
 |
Client-side required validation inconsistent with server-side. Fixes VALIDATOR-148. |
mrdon |
 |
EmailValidator allows apostrophes in domain name. Fixes VALIDATOR-101. |
mrdon |
 |
Changing the strategy for locating form name/id, now use a common utility
function which works in both IE and Firefox.
Fixes <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35127">35127</a>
and <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35127">32760</a> |
mrdon |
 |
Validation fails when "name" attribute in form not specified. Fixes VALIDATOR-73, VALIDATOR-80. |
mrdon |
 |
UrlValidator fails http://www.google.com. Fixes VALIDATOR-27. |
mrdon |
 |
Email: inexisting dashes and TLD erroneously accepted. Fixes VALIDATOR-44, VALIDATOR-114. |
mrdon |
 |
Float validator can't validate the string with several dot. Fixes VALIDATOR-1. |
mrdon |
 |
CreditValidator does not handle Visa correctly. Fixes VALIDATOR-39. |
mrdon |
 |
datePattern not supported by JavaScript. Fixes VALIDATOR-32. |
mrdon |
 |
validateRequired on a single radio button. Fixes VALIDATOR-6. |
mrdon |
 |
Field.validate() cannot be invoked from user-defined code. Fixes VALIDATOR-158. |
mrdon |
 |
Locale validation doesn't validate all fields. Fixes VALIDATOR-61, VALIDATOR-179. |
mrdon |
 |
XML file included into validation.xml via entity reference not found. Fixes VALIDATOR-161. |
mrdon |
 |
Update maven build to Include DTDs and xdocs in the source distribution. Fixes VALIDATOR-117. |
niallp |
 |
Remove logging of exceptions when the Date validation fails (correctly) with
an invalid date. |
niallp |
 |
Add version 1.1.3 of the DTD from the VALIDATOR_1_1_2_BRANCH and change
digester rules so that the old arg0-arg3 values are not ignored for
versions of the DTD prior to 1.2.0. |
niallp |
 |
Add 'resource' and 'bundle' elements to the 1.2.0 DTD. Fixes VALIDATOR-108. |
niallp |
 |
Provide access to the result object in ValidatorResult. Fixes VALIDATOR-172. |
niallp |
 |
Validation breaks on multiple validation.xml (eg. with Struts 1.3). Fixes VALIDATOR-75. |
niallp |
 |
GenericTypeValidator does not accept negative Floats/Doubles. Fixes VALIDATOR-86. |
niallp |
 |
correct UrlValidator Javadoc. Fixes VALIDATOR-48. |
niallp |
 |
Search the locale 'hierarchy' of formsets for a Form. Fixes VALIDATOR-3. |
niallp |
 |
Int validation in Java and Javascript have different semantics. Fixes VALIDATOR-59. |
niallp |
 |
Javascript Validation currently uses unsupported DOM method getAttributeNode(). Fixes VALIDATOR-33. |
niallp |
Release 1.1.4 – 2004-11-12
Type |
Changes |
By |
 |
Added getMessage(key) and getMessages() methods to Field. Fixes VALIDATOR-175. |
niallp |
 |
Added resource property (including getter/setter) to Msg to support
the 'resource' attribute specified in the DTD. |
niallp |
Release 1.1.3 – 2004-08-25
Type |
Changes |
By |
 |
Fixed javascript file reading in Java WebStart environment. Fixes VALIDATOR-16. |
dgraham |
 |
Fixed javascript email domain length limited to 2 or 3 chars. Fixes VALIDATOR-54. |
mrdon |
Release 1.1.2 (alpha) – 2004-04-03
Type |
Changes |
By |
 |
Javascript validation doesn't work if a form field is
called "name". Fixes VALIDATOR-24. |
rleland |
 |
Allow multiple forms to be on the same page by
generating a unique variable name based on form name.
Fixes <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=17667">17667</a> |
rleland |
 |
Validate file extensions for file uploads. Fixes VALIDATOR-152. |
rleland |
 |
Add Support for hidden fields in javascript
validations. Fixes VALIDATOR-183. |
rleland |
 |
The framework will convert checked exceptions into
ValidatorExceptions so any ValidatorException thrown out
of the framework indicates a 'system' exception that
stops validation processing. If a pluggable validation
method throws a ValidatorException it will be rethrown
and passed out of the framework. Any other exception from
a pluggable validation method is still considered a validation
failure rather than a system exception to maintain backwards
compatibility. Fixes VALIDATOR-14. |
dgraham |
 |
Added a more flexible card validation system that doesn't
require CreditCardValidator to support every brand of
credit card. Fixes VALIDATOR-174. |
dgraham |
 |
Throw RuntimeException if clone fails instead of InternalError. |
dgraham |
 |
Added Flags.clear(). |
dgraham |
Release 1.1.1 (alpha) – 2003-12-15
Type |
Changes |
By |
 |
Add javadoc to javascript, and use
<a href="http://jsdoc.sf.net"> jsdoc</a> to process it. |
rleland |
 |
Ignore validation criteria when field is disabled for all field types. |
rleland |
 |
Add required check for single checkbox. |
rleland |
 |
Let max/min length also cover passwords fields. Don't use
these for checking login pages, only when the user is
modifying the password. |
rleland |
 |
Added Field.getArgs(String) to make it easier to retrieve
all of the Args for a given validator. |
dgraham |
 |
Modify javascript to honor datapattern option. |
rleland |
 |
Add ability of required to handle checkboxes, radio, select-one,
and select-multiple field types. |
rleland |
 |
Add ability to use required condition on array types like checkboxes. |
rleland |
Release 1.1.0 (alpha) – 2003-08-26
Type |
Changes |
By |
 |
Move Digester rule configuration to XML file and remove
ValidatorResourcesInitializer. ValidatorResources now
knows how to initialize itself. |
dgraham |
 |
Clean up scopes of methods and variables. |
dgraham |
 |
Make Arg system more flexible to allow any number of
args in a message. |
dgraham |
 |
Validate validation.xml files while initializing a Validator
to alert developers to configuration errors. |
dgraham |
 |
Refactored <code>GenericValidator</code> methods into reusable
objects. These include: CreditCardValidator, EmailValidator,
DateValidator, and UrlValidator. |
dgraham |
 |
<p><strong>Backwards Incompatible Changes</strong></p>
<ul>
<li>
<msg>'s name and key attributes are now required. The Validator code was
enforcing this constraint so now it's formally defined in the DTD.
</li>
</ul> |
dgraham |
 |
<p>Deprecated items; see the javadoc for details and replacements.</p>
<ul>
<li>
The <arg0-3> elements have been replaced with a single <arg> element
with a new <code>position</code> attribute. Setting position to 0 is the equivalent
of an <arg0> element.
</li>
<li>
<code>Arg.getResource()</code>
</li>
<li>
<code>CreditCardValidator.isValidPrefix()</code>
</li>
<li>
<code>Field.ARG_DEFAULT</code>
</li>
<li>
<code>Field.hDependencies</code>
</li>
<li>
<code>Field.hArg0 - Field.hArg3</code>
</li>
<li>
<code>Field.addArg0() - Field.addArg3()</code>
</li>
<li>
<code>Field.getArg0() - Field.getArg3()</code>
</li>
<li>
<code>Field.addVarParam()</code>
</li>
<li>
<code>Field.process()</code>
</li>
<li>
<code>Field.processMessageComponents()</code>
</li>
<li>
<code>Field.getDependencies()</code>
</li>
<li>
<code>Form.getFieldMap()</code>
</li>
<li>
<code>Form.process()</code>
</li>
<li>
<code>FormSet.addConstant()</code>
</li>
<li>
<code>FormSet.addConstantParam()</code>
</li>
<li>
<code>FormSet.getForm(Object)</code>
</li>
<li>
<code>FormSet.process()</code>
</li>
<li>
<code>GenericValidator.REGEXP_DELIM</code>
</li>
<li>
<code>GenericValidator.validateCreditCardLuhnCheck()</code>
</li>
<li>
<code>GenericValidator.validateCreditCardPrefixCheck()</code>
</li>
<li>
<code>GenericValidator.getDelimittedRegExp()</code>
</li>
<li>
<code>Validator.BEAN_KEY</code>
</li>
<li>
<code>Validator.VALIDATOR_ACTION_KEY</code>
</li>
<li>
<code>Validator.FIELD_KEY</code>
</li>
<li>
<code>Validator.VALIDATOR_KEY</code>
</li>
<li>
<code>Validator.LOCALE_KEY</code>
</li>
<li>
<code>Validator.hResources</code>
</li>
<li>
<code>Validator.addResource()</code>
</li>
<li>
<code>Validator.getResource()</code>
</li>
<li>
<code>ValidatorAction.process()</code>
</li>
<li>
<code>ValidatorAction.getDependencies()</code>
</li>
<li>
<code>ValidatorResources.put()</code>
</li>
<li>
<code>ValidatorResources.addConstant()</code>
</li>
<li>
<code>ValidatorResources.addConstantParam()</code>
</li>
<li>
<code>ValidatorResources.get()</code>
</li>
<li>
<code>ValidatorResources.processForms()</code>
</li>
<li>
<code>ValidatorResourcesInitializer</code>
</li>
<li>
<code>ValidatorResult.getValid()</code>
</li>
<li>
<code>ValidatorResults.empty()</code>
</li>
<li>
<code>ValidatorResults.get()</code>
</li>
<li>
<code>ValidatorResults.properties()</code>
</li>
<li>
<code>ValidatorUtil</code>
</li>
</ul> |
dgraham |
Release 1.0.2 – 2003-04-17
Type |
Changes |
By |
 |
GenericValidaor.isEmail bug. Fixes VALIDATOR-93. Thanks to Scott Clasen. |
turner |
 |
NPE in Validator.java after upgrading to Struts 1.1b3. Fixes VALIDATOR-94. Thanks to Jeremy Tan. |
dgraham |
 |
i18n issue, variant not being picked up by Validator. Fixes VALIDATOR-62. Thanks to Jeremy Tan. |
turner |
 |
isEmail accepts Umlauts and other non-ASCII characters. Fixes VALIDATOR-53. Thanks to Thomas Jacob. |
turner |
 |
Email address validation incorrectly accepts commas. Fixes VALIDATOR-104. Thanks to Erik Hatcher. |
dgraham |
 |
unknown host when loading app. Fixes VALIDATOR-36. Thanks to Didier Romelot. |
dgraham |
Release 1.0.1 – 2002-12-16
Type |
Changes |
By |
 |
Serialization problem with org.apache.commons.validator.ValidatorResult$ResultStatus. Fixes VALIDATOR-84. Thanks to Pierre Chardin. |
martinc |
 |
ValidatorResources.get-method not working properly. Fixes VALIDATOR-68. Thanks to Bjorn-H. Moritz. |
turner |
Release 1.0 – 2002-11-01
Type |
Changes |
By |
 |
First Release. |
- |
|