diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 88b6a948a..b9611932c 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -43,7 +43,7 @@ Changes * Bump org.apache.commons:commons-csv from 1.10.0 to 1.11.0 #214. Thanks to Dependabot. -Historical list of changes: http://commons.apache.org/proper/commons-validator/changes-report.html +Historical list of changes: http://commons.apache.org/proper/commons-validator/changes.html Enjoy! -Apache Commons Validator team @@ -117,7 +117,7 @@ Removed * Remove FindBugs, SpotBugs is in use #87. Thanks to John Patrick, Gary Gregory. -Historical list of changes: http://commons.apache.org/proper/commons-validator/changes-report.html +Historical list of changes: http://commons.apache.org/proper/commons-validator/changes.html Enjoy! -Apache Commons Validator team @@ -214,7 +214,7 @@ Changes * VALIDATOR-428: Update commons digester to 2.1 Thanks to Matthew Zavislak. -Historical list of changes: http://commons.apache.org/proper/commons-validator/changes-report.html +Historical list of changes: http://commons.apache.org/proper/commons-validator/changes.html Enjoy! - The Apache Commons Validator team diff --git a/pom.xml b/pom.xml index 5b8c8b9fa..0d64af422 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-parent</artifactId> - <version>78</version> + <version>79</version> </parent> <groupId>commons-validator</groupId> <artifactId>commons-validator</artifactId> @@ -74,7 +74,7 @@ </scm> <issueManagement> <system>jira</system> - <url>http://issues.apache.org/jira/browse/VALIDATOR</url> + <url>https://issues.apache.org/jira/browse/VALIDATOR</url> </issueManagement> <distributionManagement> <site> @@ -343,7 +343,7 @@ </goals> </execution> </executions> - </plugin> + </plugin> </plugins> </build> </profile> diff --git a/src/changes/changes.xml b/src/changes/changes.xml index db5782e3f..80f95da06 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -40,9 +40,9 @@ and commit The <action> type attribute can be add,update,fix,remove. --> -<document xmlns="http://maven.apache.org/changes/1.0.0" +<document xmlns="http://maven.apache.org/changes/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd"> + xsi:schemaLocation="http://maven.apache.org/changes/2.0.0 https://maven.apache.org/xsd/changes-2.0.0.xsd"> <properties> <title>Release Notes</title> </properties> @@ -81,6 +81,7 @@ The <action> type attribute can be add,update,fix,remove. <action type="add" dev="sebb" issue="VALIDATOR-495" due-to="Slawomir Jaranowski">IBANValidator: add Yemen.</action> <action type="add" dev="ggregory" due-to="Leonard Wicke, Gary Gregory">Add IBANValidator.Validator.getIbanLength().</action> <!-- UPDATE --> + <action type="update" dev="sjaranowski" due-to="Slawomir Jaranowski">Bump org.apache.commons:commons-parent from 78 to 79, fix changes.xml format for new plugin version</action> <action type="update" dev="sebb">DomainValidator: Changes from 2024121700, Last Updated Tue Dec 17 07:07:01 2024 UTC.</action> <action type="update" dev="sebb">IBANValidatorTest: parameterise SWIFT registry version; update to v99</action> <action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">Bump org.apache.commons:commons-parent from 70 to 78 #231, #245, #253, #256, #262, #267, #272, #278.</action> @@ -785,10 +786,8 @@ http://commons.apache.org/validator/dependencies.html <action dev="niallp" type="fix" issue="VALIDATOR-208" due-to="Leo Asanov"> JavaScript function jcv_isFieldPresent() causes error in IE5 using "undefined". </action> - <action dev="niallp" type="fix" issue="VALIDATOR-190"> + <action dev="niallp" type="fix" issue="VALIDATOR-190" due-to="Cott, Gabriel Belingueres"> EmailValidator allows control characters (ASCII 0-31 and 127). - <dueto name="Cott"/> - <dueto name="Gabriel Belingueres"/> </action> <action dev="niallp" type="fix" issue="VALIDATOR-210" due-to="Neil Sherman"> JavaScript Causes HTML Page to Contain Illegal HTML. @@ -833,7 +832,7 @@ http://commons.apache.org/validator/dependencies.html <action dev="niallp" type="fix" issue="VALIDATOR-60" due-to="Yugandhar"> Change JavaScript validators to cater for disabled being undefined (an issue in Netscape 4.7). </action> - <action dev="niallp" type="add"> + <action dev="niallp" type="add"><![CDATA[ <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 @@ -842,7 +841,7 @@ http://commons.apache.org/validator/dependencies.html 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> + Routines Package Javadocs</a></p>]]> </action> <action dev="niallp" type="add" issue="VALIDATOR-30"> Deprecate ValidatorResult's getActionMap() and add getActions() @@ -859,11 +858,9 @@ http://commons.apache.org/validator/dependencies.html the likelihood of clashes with other libraries - validator still needs to be properly namespaced (as per Bug 38184). </action> - <action dev="niallp" type="fix" issue="VALIDATOR-163"> + <action dev="niallp" type="fix" issue="VALIDATOR-163" due-to="Andrew Berridge,Paul Benedict"> Change JavaScript validators so that they don't fail when the field is not present on the form. - <dueto name="Andrew Berridge"/> - <dueto name="Paul Benedict"/> </action> <action dev="niallp" type="fix" issue="VALIDATOR-25" due-to="Alan Olmanson"> Fix min/max length validation for different line endings. @@ -881,19 +878,15 @@ http://commons.apache.org/validator/dependencies.html Resolve issue in JavaScript validation when the prototype library is used. </action> - <action dev="niallp" type="fix"> + <action dev="niallp" type="fix" fixedIssues="VALIDATOR-97, VALIDATOR-81" due-to="Matt Bathje, Paul Benedict"> 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 issue="VALIDATOR-97"/> - <fixes issue="VALIDATOR-81"/> - <dueto name="Matt Bathje"/> - <dueto name="Paul Benedict"/> </action> - <action dev="niallp" type="fix"> + <action dev="niallp" type="fix"><![CDATA[ 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. + for more details.]]> </action> <action dev="niallp" type="fix" issue="VALIDATOR-39"> Reverse change for to Credit Card Validator for visa card blue in France. @@ -908,7 +901,7 @@ http://commons.apache.org/validator/dependencies.html <action dev="dgraham" type="add" issue="VALIDATOR-145"> Added ISBNValidator for validating book numbers. </action> - <action dev="dgraham" type="update"> + <action dev="dgraham" type="update"><![CDATA[ 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 @@ -916,7 +909,7 @@ http://commons.apache.org/validator/dependencies.html 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). + few Collections classes required in its distribution).]]> </action> <action dev="husted" type="add" issue="VALIDATOR-135"> Add support for min or max numeric values. @@ -937,10 +930,9 @@ 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. </action> - <action dev="mrdon" type="fix"> + <action dev="mrdon" type="fix" issue="VALIDATOR-124"><![CDATA[ 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 issue="VALIDATOR-124"/> + Fixes <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=21282">21282</a>]]> </action> <action dev="mrdon" type="update" issue="VALIDATOR-181"> More informative Exception message when validation method not found. @@ -951,24 +943,20 @@ http://commons.apache.org/validator/dependencies.html <action dev="mrdon" type="fix" issue="VALIDATOR-101"> EmailValidator allows apostrophes in domain name. </action> - <action dev="mrdon" type="fix"> + <action dev="mrdon" type="fix"><![CDATA[ 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> + and <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35127">32760</a>]]> </action> - <action dev="mrdon" type="fix"> + <action dev="mrdon" type="fix" fixedIssues="VALIDATOR-73,VALIDATOR-80"> Validation fails when "name" attribute in form not specified. - <fixes issue="VALIDATOR-80"/> - <fixes issue="VALIDATOR-73"/> </action> <action dev="mrdon" type="fix" issue="VALIDATOR-27"> UrlValidator fails http://www.google.com. </action> - <action dev="mrdon" type="fix"> + <action dev="mrdon" type="fix" fixedIssues="VALIDATOR-44,VALIDATOR-114"> Email: inexisting dashes and TLD erroneously accepted. - <fixes issue="VALIDATOR-114"/> - <fixes issue="VALIDATOR-44"/> </action> <action dev="mrdon" type="fix" issue="VALIDATOR-1"> Float validator can't validate the string with several dot. @@ -985,10 +973,8 @@ http://commons.apache.org/validator/dependencies.html <action dev="mrdon" type="fix" issue="VALIDATOR-158"> Field.validate() cannot be invoked from user-defined code. </action> - <action dev="mrdon" type="fix"> + <action dev="mrdon" type="fix" fixedIssues="VALIDATOR-61,VALIDATOR-179"> Locale validation doesn't validate all fields. - <fixes issue="VALIDATOR-61"/> - <fixes issue="VALIDATOR-179"/> </action> <action dev="mrdon" type="fix" issue="VALIDATOR-161"> XML file included into validation.xml via entity reference not found. @@ -1055,10 +1041,10 @@ http://commons.apache.org/validator/dependencies.html Javascript validation doesn't work if a form field is called "name". </action> - <action dev="rleland" type="update"> + <action dev="rleland" type="update"><![CDATA[ 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> + Fixes <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=17667">17667</a>]]> </action> <action dev="rleland" type="add" issue="VALIDATOR-152"> Validate file extensions for file uploads. @@ -1092,9 +1078,9 @@ http://commons.apache.org/validator/dependencies.html </release> <release version="1.1.1 (alpha)" date="2003-12-15" description="1.1 Alpha"> - <action dev="rleland" type="add"> + <action dev="rleland" type="add"><![CDATA[ Add javadoc to javascript, and use - <a href="http://jsdoc.sf.net"> jsdoc</a> to process it. + <a href="http://jsdoc.sf.net"> jsdoc</a> to process it.]]> </action> <action dev="rleland" type="fix"> Ignore validation criteria when field is disabled for all field types. @@ -1140,21 +1126,21 @@ http://commons.apache.org/validator/dependencies.html Validate validation.xml files while initializing a Validator to alert developers to configuration errors. </action> - <action dev="dgraham" type="add"> + <action dev="dgraham" type="add"><![CDATA[ Refactored <code>GenericValidator</code> methods into reusable objects. These include: CreditCardValidator, EmailValidator, - DateValidator, and UrlValidator. + DateValidator, and UrlValidator.]]> </action> - <action dev="dgraham" type="update"> + <action dev="dgraham" type="update"><![CDATA[ <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> + </ul>]]> </action> - <action dev="dgraham" type="remove"> + <action dev="dgraham" type="remove"><![CDATA[ <p>Deprecated items; see the javadoc for details and replacements.</p> <ul> <li> @@ -1288,7 +1274,7 @@ http://commons.apache.org/validator/dependencies.html <li> <code>ValidatorUtil</code> </li> - </ul> + </ul>]]> </action> </release> diff --git a/src/changes/release-notes.vm b/src/changes/release-notes.vm index 9f9b4989a..2ad0027b5 100644 --- a/src/changes/release-notes.vm +++ b/src/changes/release-notes.vm @@ -131,7 +131,7 @@ Removed ## End of main loop #end -Historical list of changes: ${project.url}changes-report.html +Historical list of changes: ${project.url}changes.html Enjoy! -Apache Commons Validator team 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. --> -<project xmlns="http://maven.apache.org/DECORATION/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/DECORATION/1.1.0 http://maven.apache.org/xsd/decoration-1.1.0.xsd" +<site xmlns="http://maven.apache.org/SITE/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 http://maven.apache.org/xsd/site-2.0.0.xsd" name="Validator"> - <bannerRight> - <name>Commons Validator</name> - <src>/images/logo.png</src> - <href>/index.html</href> + <bannerRight name="Commons Validator" href="/index.html"> + <image src="/images/logo.png"/> </bannerRight> <body> <menu name="Validator"> <item name="Overview" href="/index.html"/> <item name="Download" href="/download_validator.cgi"/> - <item name="Release Notes" href="/changes-report.html"/> + <item name="Release Notes" href="/changes.html"/> <item name="Dependencies" href="/dependencies.html"/> </menu> @@ -48,4 +46,4 @@ </body> -</project> +</site> diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml index 8616296a3..251a25601 100644 --- a/src/site/xdoc/index.xml +++ b/src/site/xdoc/index.xml @@ -42,7 +42,7 @@ <section name="Releases"> <p>See the <a href="http://commons.apache.org/validator/download_validator.cgi">Downloads</a> page for current/previous releases. - For details of whats new in each version see the <a href="changes-report.html">Release Notes</a>. + For details of whats new in each version see the <a href="changes.html">Release Notes</a>. <a href="http://wiki.apache.org/commons/ValidatorReleaseNotes">Community Notes</a> on release are maintained on the <a href="http://wiki.apache.org/commons/">Apache Commons Wiki</a>. </p>