diff --git a/NOTICE.txt b/NOTICE.txt index c46b19437..2f0ca384c 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -1,5 +1,5 @@ Apache Commons Lang -Copyright 2001-2010 The Apache Software Foundation +Copyright 2001-2011 The Apache Software Foundation This product includes software developed by The Apache Software Foundation (http://www.apache.org/). diff --git a/pom.xml b/pom.xml index e5686caee..7cea931cc 100644 --- a/pom.xml +++ b/pom.xml @@ -436,8 +436,8 @@ 1.5 1.5 lang - 2.5 - (Java 1.2+) + 2.6 + (Java 1.3+) 3.0-beta (Java 5.0+) LANG diff --git a/src/site/changes/changes.xml b/src/site/changes/changes.xml index 86bdb12be..69ac5e129 100644 --- a/src/site/changes/changes.xml +++ b/src/site/changes/changes.xml @@ -99,6 +99,36 @@ Depend on JDK 1.5+. + + BooleanUtils: use same optimization in toBooleanObject(String) as in toBoolean(String) + ClassUtils: allow Dots as Inner Class Separators in getClass() + DateUtils: equal and compare functions up to most significant field + DateUtils: provide a Date to Calendar convenience method + ObjectUtils: add clone methods to ObjectUtils + ObjectUtils: add a Null-safe compare() method + ObjectUtils: add notEqual() method + StrBuilder: implement clone() method + StringUtils: add a normalizeSpace() method + StringUtils: add endsWithAny() method + StringUtils: add defaultIfBlank() method + StrSubstitutor: add a replace(String, Properties) variant + StrSubstitutor: support substitution in variable names + Use StrBuilder instead of StringBuffer to improve performance where sync. is not an issue + CharSet: make the underlying set synchronized + CompareToBuilder: fix passing along compareTransients to the reflectionCompare method + ExtendedMessageFormat doesn't override equals(Object) + FastDateFormat: fix to properly include the locale when formatting a Date + NumberUtils: createNumber() throws a StringIndexOutOfBoundsException when argument containing "e" and "E" is passed in + StringUtils methods do not handle Unicode 2.0+ supplementary characters correctly + SystemUtils: getJavaVersionAsFloat throws StringIndexOutOfBoundsException on Android runtime/Dalvik VM + MemberUtils: getMatchingAccessibleMethod does not correctly handle inheritance and method overloading + Javadoc is incorrect for lastIndexOf() method + Javadoc for HashCodeBuilder.append(boolean) does not match implementation + Javadoc StringUtils.left() claims to throw an exception on negative lenth, but doesn't + Javadoc - document thread safety + Test for StringUtils replaceChars() icelandic characters + + ArrayUtils - add isNotEmpty() methods ArrayUtils - add nullToEmpty() methods diff --git a/src/site/site.xml b/src/site/site.xml index 6a827f460..abbd5fa09 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -28,7 +28,7 @@ - + diff --git a/src/site/xdoc/building.xml b/src/site/xdoc/building.xml index ab899dfe5..518ab904a 100644 --- a/src/site/xdoc/building.xml +++ b/src/site/xdoc/building.xml @@ -31,6 +31,7 @@ limitations under the License. You may also be interested in the upgrade notes:

    +
  • Upgrade from 2.5 to 2.6 - Lang 2.6 Release Notes
  • Upgrade from 2.4 to 2.5 - Lang 2.5 Release Notes
  • Upgrade from 2.3 to 2.4 - Lang 2.4 Release Notes
  • Upgrade from 2.2 to 2.3 - Lang 2.3 Release Notes
  • diff --git a/src/site/xdoc/download_lang.xml b/src/site/xdoc/download_lang.xml index 634df9534..64a41ac26 100644 --- a/src/site/xdoc/download_lang.xml +++ b/src/site/xdoc/download_lang.xml @@ -95,32 +95,32 @@ limitations under the License.

    -
    +
    - - - + + + - - - + + +
    commons-lang-2.5-bin.tar.gzmd5pgpcommons-lang-2.6-bin.tar.gzmd5pgp
    commons-lang-2.5-bin.zipmd5pgpcommons-lang-2.6-bin.zipmd5pgp
    - - - + + + - - - + + +
    commons-lang-2.5-src.tar.gzmd5pgpcommons-lang-2.6-src.tar.gzmd5pgp
    commons-lang-2.5-src.zipmd5pgpcommons-lang-2.6-src.zipmd5pgp
    diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml index 48b7ab5ff..7def9884e 100644 --- a/src/site/xdoc/index.xml +++ b/src/site/xdoc/index.xml @@ -48,7 +48,8 @@ The JavaDoc API documents are available online:

    @@ -65,9 +66,9 @@ A beta version of the next release, Java 5.0 compatible, is available - (draft changelog) (draft upgrade notes).

    -The latest stable version 2.5, is JDK 1.3 compatible - +The latest stable version 2.6, is JDK 1.3 compatible - (download) -(changelog) (upgrade notes).

    +(release notes).

    For information on previous releases, see the Release History and to download previous releases, see the Apache Archive. diff --git a/src/site/xdoc/release-history.xml b/src/site/xdoc/release-history.xml index 08d96324e..9e2b7d2ac 100644 --- a/src/site/xdoc/release-history.xml +++ b/src/site/xdoc/release-history.xml @@ -28,6 +28,7 @@ limitations under the License. + diff --git a/src/site/xdoc/upgradeto2_6.xml b/src/site/xdoc/upgradeto2_6.xml new file mode 100644 index 000000000..ef32be6f2 --- /dev/null +++ b/src/site/xdoc/upgradeto2_6.xml @@ -0,0 +1,87 @@ + + + + + 2.6 Release Notes + Commons Documentation Team + + + +
    +

    +These are the release notes and advice for upgrading Commons-Lang from +version 2.5 to version 2.6.

    . + +INTRODUCTION: + +This document contains the release notes for the 2.6 version of Apache Commons Lang. +Commons Lang is a set of utility functions and reusable components that should be of use in any Java environment. + + +COMPATIBILITY WITH 2.5 +====================== +Lang 2.6 is binary compatible release with Lang 2.5, containing bug fixes and small enhancements. + +Lang 2.6 requires a minimum of JDK 1.3. + + +IMPROVEMENTS IN 2.6 +=================== + + * [LANG-633] - BooleanUtils: use same optimization in toBooleanObject(String) as in toBoolean(String) + * [LANG-599] - ClassUtils: allow Dots as Inner Class Separators in getClass() + * [LANG-594] - DateUtils: equal and compare functions up to most significant field + * [LANG-632] - DateUtils: provide a Date to Calendar convenience method + * [LANG-576] - ObjectUtils: add clone methods to ObjectUtils + * [LANG-667] - ObjectUtils: add a Null-safe compare() method + * [LANG-670] - ObjectUtils: add notEqual() method + * [LANG-302] - StrBuilder: implement clone() method + * [LANG-640] - StringUtils: add a normalizeSpace() method + * [LANG-614] - StringUtils: add endsWithAny() method + * [LANG-655] - StringUtils: add defaultIfBlank() method + * [LANG-596] - StrSubstitutor: add a replace(String, Properties) variant + * [LANG-482] - StrSubstitutor: support substitution in variable names + * [LANG-669] - Use StrBuilder instead of StringBuffer to improve performance where sync. is not an issue + +BUG FIXES IN 2.6 +================ + + * [LANG-629] - CharSet: make the underlying set synchronized + * [LANG-635] - CompareToBuilder: fix passing along compareTransients to the reflectionCompare method + * [LANG-636] - ExtendedMessageFormat doesn't override equals(Object) + * [LANG-645] - FastDateFormat: fix to properly include the locale when formatting a Date + * [LANG-638] - NumberUtils: createNumber() throws a StringIndexOutOfBoundsException when argument containing "e" and "E" is passed in + * [LANG-607] - StringUtils methods do not handle Unicode 2.0+ supplementary characters correctly + * [LANG-624] - SystemUtils: getJavaVersionAsFloat throws StringIndexOutOfBoundsException on Android runtime/Dalvik VM + * [BEANUTILS-381] - MemberUtils: getMatchingAccessibleMethod does not correctly handle inheritance and method overloading + +OTHER CHANGES IN 2.6 +==================== + + * [LANG-600] - Javadoc is incorrect for lastIndexOf() method + * [LANG-628] - Javadoc for HashCodeBuilder.append(boolean) does not match implementation + * [LANG-643] - Javadoc StringUtils.left() claims to throw an exception on negative lenth, but doesn't + * [LANG-370] - Javadoc - document thread safety + * [LANG-623] - Test for StringUtils replaceChars() icelandic characters + + +

    +
    + + +
    VersionRelease dateJavadocRelease notes
    2.616/Jan/11api-2.6release notes for 2.6
    2.523/Feb/10api-2.5release notes for 2.5
    2.418/Mar/08api-2.4release notes for 2.4
    2.313/Feb/07api-2.3release notes for 2.3