Author: niallp Date: Sun Jan 9 22:27:51 2011 New Revision: 1057041 URL: http://svn.apache.org/viewvc?rev=1057041&view=rev Log: Update release notes for 2.6
Modified: commons/proper/lang/branches/LANG_2_X/RELEASE-NOTES.txt commons/proper/lang/branches/LANG_2_X/src/site/changes/changes.xml Modified: commons/proper/lang/branches/LANG_2_X/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/RELEASE-NOTES.txt?rev=1057041&r1=1057040&r2=1057041&view=diff ============================================================================== --- commons/proper/lang/branches/LANG_2_X/RELEASE-NOTES.txt (original) +++ commons/proper/lang/branches/LANG_2_X/RELEASE-NOTES.txt Sun Jan 9 22:27:51 2011 @@ -1,83 +1,55 @@ $Id$ Commons Lang Package - Version 2.5 + Version 2.6 Release Notes INTRODUCTION: -This document contains the release notes for the 2.5 version of Apache Commons Lang. +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.4 ====================== -Lang 2.5 is binary compatible release with Lang 2.4, containing bug fixes and small enhancements. +Lang 2.6 is binary compatible release with Lang 2.5, containing bug fixes and small enhancements. -Lang 2.5 requires a minimum of JDK 1.3. +Lang 2.6 requires a minimum of JDK 1.3. -IMPROVEMENTS IN 2.5 +IMPROVEMENTS IN 2.6 =================== - * [LANG-583] - ArrayUtils - add isNotEmpty() methods - * [LANG-534] - ArrayUtils - add nullToEmpty() methods - * [LANG-454] - CharRange - provide an iterator that lets you walk the chars in the range - * [LANG-514] - CharRange - add more readable static builder methods - * [ ] - ClassUtils - new isAssignable() methods with autoboxing - * [LANG-535] - ClassUtils - add support to getShortClassName and getPackageName for arrays - * [LANG-434] - DateUtils - add ceiling() method - * [LANG-486] - DateUtils - add parseDateStrictly() method - * [LANG-466] - EqualsBuilder - add reset() method - * [LANG-461] - NumberUtils - add toByte() and toShort() methods - * [LANG-522] - Mutable numbers - add string constructors - * [ ] - MutableBoolean - add toBoolean(), isTrue() and isFalse() methods - * [LANG-422] - StrBuilder - add appendSeparator() methods with an alternative default separator if the StrBuilder is currently empty - * [LANG-555] - SystemUtils - add IS_OS_WINDOWS_7 constant - * [LANG-554] - SystemUtils - add IS_JAVA_1_7 constant for JDK 1.7 - * [LANG-405] - StringUtils - add abbreviateMiddle() method - * [LANG-569] - StringUtils - add indexOfIgnoreCase() and lastIndexOfIgnoreCase() methods - * [LANG-471] - StringUtils - add isAllUpperCase() and isAllLowerCase() methods - * [LANG-469] - StringUtils - add lastOrdinalIndexOf() method to complement the existing ordinalIndexOf() method - * [LANG-438] - StringUtils - add repeat() method - * [LANG-445] - StringUtils - add startsWithAny() method - * [LANG-430] - StringUtils - add upperCase(String, Locale) and lowerCase(String, Locale) methods - * [LANG-416] - New Reflection package containing ConstructorUtils, FieldUtils, MemberUtils and MethodUtils - -BUG FIXES IN 2.5 + * [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-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 + +BUG FIXES IN 2.6 ================ - * [LANG-494] - CharSet - Synchronizing the COMMON Map so that getInstance doesn't miss a put from a subclass in another thread - * [LANG-500] - ClassUtils - improving performance of getAllInterfaces - * [LANG-587] - ClassUtils - toClass() throws NullPointerException on null array element - * [LANG-530] - DateUtils - Fix parseDate() cannot parse ISO8601 dates produced by FastDateFormat - * [LANG-440] - DateUtils - round() doesn't work correct for Calendar.AM_PM - * [LANG-443] - DateUtils - improve tests - * [LANG-204] - Entities - multithreaded initialization - * [LANG-506] - Entities - missing final modifiers; thread-safety issues - * [LANG-76] - EnumUtils - getEnum() doesn't work well in 1.5+ - * [LANG-584] - ExceptionUtils - use immutable lock target - * [LANG-477] - ExtendedMessageFormat - OutOfMemory with a pattern containing single quotes - * [LANG-538] - FastDateFormat - call getTime() on a calendar to ensure timezone is in the right state - * [LANG-547] - FastDateFormat - Remove unused field - * [LANG-511] - LocaleUtils - initialization of available locales can be deferred - * [LANG-457] - NumberUtils - createNumber() thows a StringIndexOutOfBoundsException for "l" - * [LANG-521] - NumberUtils - isNumber(String) and createNumber(String) both modified to support '2.' - * [LANG-432] - StringUtils - improve handling of case-insensitive Strings - * [LANG-552] - StringUtils - replaceEach() no longer NPEs when null appears in the last String[] - * [LANG-460] - StringUtils - correct JavaDocs for startsWith() and startsWithIgnoreCase() - * [LANG-421] - StringEscapeUtils - escapeJava() escapes '/' characters - * [LANG-450] - StringEscapeUtils - change escapeJavaStyleString() to throw UnhandledException instead swallowing IOException - * [LANG-419] - WordUtils - fix StringIndexOutOfBoundsException when lower is greater than the String length - * [LANG-523] - StrBuilder - Performance improvement by doubling the size of the String in ensureCapacity - * [LANG-575] - Compare, Equals and HashCode builders - use ArrayUtils to avoid creating a temporary List - * [LANG-467] - EqualsBuilder - removing the special handling of BigDecimal (LANG-393) to use compareTo - * [LANG-574] - HashCodeBuilder - Performance improvement: check for isArray to short-circuit the 9 instanceof checks - * [LANG-520] - HashCodeBuilder - Changing the hashCode() method to return toHashCode() - * [LANG-459] - HashCodeBuilder - reflectionHashCode() can generate incorrect hashcodes - * [LANG-586] - HashCodeBuilder and ToStringStyle - use of ThreadLocal causes memory leaks in container environments - * [LANG-487] - ToStringBuilder - make default style thread-safe - * [LANG-472] - RandomUtils - nextLong() always produces even numbers - * [LANG-592] - RandomUtils - RandomUtils tests are failing frequently + * [LANG-629] - CharSet: make the underlying set synchronized + * [LANG-635] - CompareToBuilder: fix passing along compareTransients to the reflectionCompare method + * [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 + +TASKS 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 Modified: commons/proper/lang/branches/LANG_2_X/src/site/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/site/changes/changes.xml?rev=1057041&r1=1057040&r2=1057041&view=diff ============================================================================== --- commons/proper/lang/branches/LANG_2_X/src/site/changes/changes.xml (original) +++ commons/proper/lang/branches/LANG_2_X/src/site/changes/changes.xml Sun Jan 9 22:27:51 2011 @@ -21,6 +21,32 @@ </properties> <body> + <release version="2.6" date="Unreleased" description=""> + <action type="add" issue="LANG-633">BooleanUtils: use same optimization in toBooleanObject(String) as in toBoolean(String)</action> + <action type="add" issue="LANG-599">ClassUtils: allow Dots as Inner Class Separators in getClass()</action> + <action type="add" issue="LANG-594">DateUtils: equal and compare functions up to most significant field</action> + <action type="add" issue="LANG-632">DateUtils: provide a Date to Calendar convenience method</action> + <action type="add" issue="LANG-576">ObjectUtils: add clone methods to ObjectUtils</action> + <action type="add" issue="LANG-667">ObjectUtils: add a Null-safe compare() method</action> + <action type="add" issue="LANG-640">StringUtils: add a normalizeSpace() method</action> + <action type="add" issue="LANG-614">StringUtils: add endsWithAny() method</action> + <action type="add" issue="LANG-655">StringUtils: add defaultIfBlank() method</action> + <action type="add" issue="LANG-596">StrSubstitutor: add a replace(String, Properties) variant</action> + <action type="add" issue="LANG-482">StrSubstitutor: support substitution in variable names</action> + <action type="fix" issue="LANG-629">CharSet: make the underlying set synchronized</action> + <action type="fix" issue="LANG-635">CompareToBuilder: fix passing along compareTransients to the reflectionCompare method</action> + <action type="fix" issue="LANG-645">FastDateFormat: fix to properly include the locale when formatting a Date</action> + <action type="fix" issue="LANG-638">NumberUtils: createNumber() throws a StringIndexOutOfBoundsException when argument containing "e" and "E" is passed in</action> + <action type="fix" issue="LANG-607">StringUtils methods do not handle Unicode 2.0+ supplementary characters correctly</action> + <action type="fix" issue="LANG-624">SystemUtils: getJavaVersionAsFloat throws StringIndexOutOfBoundsException on Android runtime/Dalvik VM</action> + <action type="fix" issue="BEANUTILS-381">MemberUtils: getMatchingAccessibleMethod does not correctly handle inheritance and method overloading</action> + <action type="update" issue="LANG-600">Javadoc is incorrect for lastIndexOf() method</action> + <action type="update" issue="LANG-628">Javadoc for HashCodeBuilder.append(boolean) does not match implementation</action> + <action type="update" issue="LANG-643">Javadoc StringUtils.left() claims to throw an exception on negative lenth, but doesn't</action> + <action type="update" issue="LANG-370">Javadoc - document thread safety</action> + <action type="update" issue="LANG-623">Test for StringUtils replaceChars() icelandic characters</action> + </release> + <release version="2.5" date="2010-02-25" description=""> <action type="add" issue="LANG-583">ArrayUtils - add isNotEmpty() methods</action> <action type="add" issue="LANG-534">ArrayUtils - add nullToEmpty() methods</action> @@ -71,7 +97,7 @@ <action type="fix" issue="LANG-523">StrBuilder - Performance improvement by doubling the size of the String in ensureCapacity</action> <action type="fix" issue="LANG-575">Compare, Equals and HashCode builders - use ArrayUtils to avoid creating a temporary List</action> <action type="fix" issue="LANG-467">EqualsBuilder - removing the special handling of BigDecimal (LANG-393) to use compareTo instead of equals because it creates an inequality with HashCodeBuilder</action> - <action type="fix" issue="LANG-574">HashCodeBuilder - Performance improvement: check for isArray to short-circuit the 9 instanceof checks.</action> + <action type="fix" issue="LANG-574">HashCodeBuilder - Performance improvement: check for isArray to short-circuit the 9 instanceof checks</action> <action type="fix" issue="LANG-520">HashCodeBuilder - Changing the hashCode() method to return toHashCode()</action> <action type="fix" issue="LANG-459">HashCodeBuilder - reflectionHashCode() can generate incorrect hashcodes</action> <action type="fix" issue="LANG-586">HashCodeBuilder and ToStringStyle - use of ThreadLocal causes memory leaks in container environments</action>