diff --git a/pom.xml b/pom.xml index 88e5a001e..27466028e 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ org.apache.commons commons-parent - 78 + 79-SNAPSHOT commons-validator @@ -76,7 +76,7 @@ jira - http://issues.apache.org/jira/browse/VALIDATOR + https://issues.apache.org/jira/browse/VALIDATOR diff --git a/src/changes/changes.xml b/src/changes/changes.xml index c2b05205c..5c0341911 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -40,9 +40,9 @@ and commit The type attribute can be add,update,fix,remove. --> - + xsi:schemaLocation="http://maven.apache.org/changes/2.0.0 https://maven.apache.org/xsd/changes-2.0.0.xsd"> Release Notes @@ -534,7 +534,7 @@ http://commons.apache.org/validator/dependencies.html Make TLD list configurable; both generic and country-code now support addition and removal - + Email Validator : .school domain is being rejected Add Unit test to show it has been fixed @@ -543,7 +543,7 @@ http://commons.apache.org/validator/dependencies.html 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. - Drop the Javascript code entirely + Drop the Javascript code entirely Local part of the email address should not be longer than 64 bytes @@ -779,8 +779,8 @@ http://commons.apache.org/validator/dependencies.html EmailValidator allows control characters (ASCII 0-31 and 127). - - + + JavaScript Causes HTML Page to Contain Illegal HTML. @@ -825,7 +825,7 @@ http://commons.apache.org/validator/dependencies.html Change JavaScript validators to cater for disabled being undefined (an issue in Netscape 4.7). - + 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 @@ -834,7 +834,7 @@ http://commons.apache.org/validator/dependencies.html Integer, Long, Float, Double, BigInteger, BigDecimal, Currency and Percent.

See - Routines Package Javadocs

+ Routines Package Javadocs

]]>
Deprecate ValidatorResult's getActionMap() and add getActions() @@ -854,8 +854,8 @@ http://commons.apache.org/validator/dependencies.html Change JavaScript validators so that they don't fail when the field is not present on the form. - - + + Fix min/max length validation for different line endings. @@ -876,16 +876,16 @@ http://commons.apache.org/validator/dependencies.html Re-factor JavaScript error handling into a common method and only set focus on fields which are not 'hidden' type or hidden by CSS. - - - - + + + + - + here - for more details. + for more details.]]> Reverse change for to Credit Card Validator for visa card blue in France. @@ -900,7 +900,7 @@ http://commons.apache.org/validator/dependencies.html Added ISBNValidator for validating book numbers. - + Commons BeanUtils 1.7.0, Commons Digester 1.6 @@ -908,7 +908,7 @@ http://commons.apache.org/validator/dependencies.html Remove dependency on Commons Collections (BeanUtils 1.7.0 has removed its dependency on Collections by including the - few Collections classes required in its distribution). + few Collections classes required in its distribution).]]> Add support for min or max numeric values. @@ -929,10 +929,10 @@ http://commons.apache.org/validator/dependencies.html Deprecated all FastHashMap usage and provided protected get methods that return generic Maps to be used by subclasses. - + 21282 - + Fixes 21282]]> + More informative Exception message when validation method not found. @@ -943,24 +943,24 @@ http://commons.apache.org/validator/dependencies.html EmailValidator allows apostrophes in domain name. - + 35127 - and 32760 + and 32760]]> Validation fails when "name" attribute in form not specified. - - + + UrlValidator fails http://www.google.com. Email: inexisting dashes and TLD erroneously accepted. - - + + Float validator can't validate the string with several dot. @@ -979,8 +979,8 @@ http://commons.apache.org/validator/dependencies.html Locale validation doesn't validate all fields. - - + + XML file included into validation.xml via entity reference not found. @@ -1041,284 +1041,5 @@ http://commons.apache.org/validator/dependencies.html Fixed javascript email domain length limited to 2 or 3 chars. - - - - Javascript validation doesn't work if a form field is - called "name". - - - Allow multiple forms to be on the same page by - generating a unique variable name based on form name. - Fixes 17667 - - - Validate file extensions for file uploads. - - - Add Support for hidden fields in javascript - validations. - - - 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. - - - Added a more flexible card validation system that doesn't - require CreditCardValidator to support every brand of - credit card. - - - Throw RuntimeException if clone fails instead of InternalError. - - - Added Flags.clear(). - - - - - - Add javadoc to javascript, and use - jsdoc to process it. - - - Ignore validation criteria when field is disabled for all field types. - - - Add required check for single checkbox. - - - Let max/min length also cover passwords fields. Don't use - these for checking login pages, only when the user is - modifying the password. - - - Added Field.getArgs(String) to make it easier to retrieve - all of the Args for a given validator. - - - Modify javascript to honor datapattern option. - - - Add ability of required to handle checkboxes, radio, select-one, - and select-multiple field types. - - - Add ability to use required condition on array types like checkboxes. - - - - - - Move Digester rule configuration to XML file and remove - ValidatorResourcesInitializer. ValidatorResources now - knows how to initialize itself. - - - Clean up scopes of methods and variables. - - - Make Arg system more flexible to allow any number of - args in a message. - - - Validate validation.xml files while initializing a Validator - to alert developers to configuration errors. - - - Refactored GenericValidator methods into reusable - objects. These include: CreditCardValidator, EmailValidator, - DateValidator, and UrlValidator. - - -

Backwards Incompatible Changes

-
    -
  • - <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. -
  • -
-
- -

Deprecated items; see the javadoc for details and replacements.

-
    -
  • - The <arg0-3> elements have been replaced with a single <arg> element - with a new position attribute. Setting position to 0 is the equivalent - of an <arg0> element. -
  • -
  • - Arg.getResource() -
  • -
  • - CreditCardValidator.isValidPrefix() -
  • -
  • - Field.ARG_DEFAULT -
  • -
  • - Field.hDependencies -
  • -
  • - Field.hArg0 - Field.hArg3 -
  • -
  • - Field.addArg0() - Field.addArg3() -
  • -
  • - Field.getArg0() - Field.getArg3() -
  • -
  • - Field.addVarParam() -
  • -
  • - Field.process() -
  • -
  • - Field.processMessageComponents() -
  • -
  • - Field.getDependencies() -
  • -
  • - Form.getFieldMap() -
  • -
  • - Form.process() -
  • -
  • - FormSet.addConstant() -
  • -
  • - FormSet.addConstantParam() -
  • -
  • - FormSet.getForm(Object) -
  • -
  • - FormSet.process() -
  • -
  • - GenericValidator.REGEXP_DELIM -
  • -
  • - GenericValidator.validateCreditCardLuhnCheck() -
  • -
  • - GenericValidator.validateCreditCardPrefixCheck() -
  • -
  • - GenericValidator.getDelimittedRegExp() -
  • -
  • - Validator.BEAN_KEY -
  • -
  • - Validator.VALIDATOR_ACTION_KEY -
  • -
  • - Validator.FIELD_KEY -
  • -
  • - Validator.VALIDATOR_KEY -
  • -
  • - Validator.LOCALE_KEY -
  • -
  • - Validator.hResources -
  • -
  • - Validator.addResource() -
  • -
  • - Validator.getResource() -
  • -
  • - ValidatorAction.process() -
  • -
  • - ValidatorAction.getDependencies() -
  • -
  • - ValidatorResources.put() -
  • -
  • - ValidatorResources.addConstant() -
  • -
  • - ValidatorResources.addConstantParam() -
  • -
  • - ValidatorResources.get() -
  • -
  • - ValidatorResources.processForms() -
  • -
  • - ValidatorResourcesInitializer -
  • -
  • - ValidatorResult.getValid() -
  • -
  • - ValidatorResults.empty() -
  • -
  • - ValidatorResults.get() -
  • -
  • - ValidatorResults.properties() -
  • -
  • - ValidatorUtil -
  • -
-
-
- - - - GenericValidaor.isEmail bug. - - - NPE in Validator.java after upgrading to Struts 1.1b3. - - - i18n issue, variant not being picked up by Validator. - - - isEmail accepts Umlauts and other non-ASCII characters. - - - Email address validation incorrectly accepts commas. - - - unknown host when loading app. - - - - - - Serialization problem with org.apache.commons.validator.ValidatorResult$ResultStatus. - - - ValidatorResources.get-method not working properly. - - - - - - First Release. - - - diff --git a/src/site/site.xml b/src/site/site.xml index 0b65f7e9d..eefcdf623 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -15,20 +15,18 @@ See the License for the specific language governing permissions and limitations under the License. --> - - - Commons Validator - /images/logo.png - /index.html + + - + @@ -48,4 +46,4 @@ - +