Release History

Version Date Description
1.8.0-BETA 2007-08-04 Converter improvements, Plugable expression Resolver and bug fixes for 1.7.0
1.7.0 2004-08-02
1.6.1 2003-02-18
1.6 2003-01-21
1.5 2002-10-23
1.4.1 2002-08-28
1.4 2002-08-13
1.3 2002-04-29
1.2 2001-12-24
1.1 2001-09-22
1.0 2001-07-14 Initial Release

Get the RSS feed of the last changes

Release 1.8.0-BETA - 2007-08-04

Type Changes By
add Add plugable property name expression Resolver . Fixes BEANUTILS-259. niallp
update General Converter implementation improvements:
  • New AbstractConverterwhich provides a basic structure for Converter implementations:
    • Provides structure for converting to and from a String for the type the converter handles.
    • Provides a mechanism for default values.
    • Handles missing and invalid values in a uniform way.
  • New NumberConverterimplementation:
    • Converts both to and from Stringfor numbers.
    • Can be configured to convert using the default format for either the default Locale or a specified Locale.
    • Can be configured to convert using a specified DecimalFormatpattern, either for the default Locale or a specified Locale.
    • Provides the basis for all the number converters in BeanUtils.
Fixes BEANUTILS-258.
niallp
add Add new generic ArrayConverterimplementation. Fixes BEANUTILS-242. niallp
add Add new generic DateTimeConverterimplementation.
  • Converts both to and from Stringfor dates.
  • Can be configured to convert using the default format for either the default Locale or a specified Locale.
  • Can be configured to convert using a set of DateFormatpatterns.
  • Provides the basis for all the date converters in BeanUtils.
  • Handles conversion for (and between) java.util.Date, java.util.Calendar, java.sql.Date, java.sql.Timeand java.sql.Timestamp
Fixes BEANUTILS-255.
niallp
update Better implementation of SqlDateConverter. Modified SqlDateConverter, SqlTimeConverter and SqlTimestampConverter to accept java.util.Date and Calendar object instances. Added tests. Fixes BEANUTILS-239. Thanks to Rafael Afonso . vgritsenko
add New Facade converter implementation - hide non-Converter public APIs. Fixes BEANUTILS-286. niallp
update Add "t/f" to BooleanConverter. Fixes BEANUTILS-229. skitching
update Support Mapped property inside a mapped property. Fixes BEANUTILS-43. Thanks to Firepica and Thomas Jacob . niallp
update Support Indexed property inside a mapped property. Fixes BEANUTILS-113. Thanks to Firepica and Ludwig Wensauer . niallp
update Support Arrays with multiple dimension. Fixes BEANUTILS-247. Thanks to Christian Poitras, Thomas Jacob and scott sadlo . niallp
update Include bean class in the message of PropertyUtilsBean exceptions. Fixes BEANUTILS-207. Thanks to Erik Meade . bayard
update Provide better error message for "argument type mismatch". Fixes BEANUTILS-224. Thanks to Ralf Hauser . bayard
update Improved messages for unknown properties. Fixes BEANUTILS-30. Thanks to Barry Kaplan . bayard
update MethodUtils.invoke for static methods. Fixes BEANUTILS-193. Thanks to Nestor Boscan . bayard
update Log or throw exception in PropertyUtilsBean. Added mechanism to initialize the "cause" on an Exception using reflection fo r JDK 1.4+ (copied from Commons HttpClient). Fixes BEANUTILS-266. Thanks to Brian Ewins and Commons HttpClient . niallp
add Add lazyDynaList. Thanks to Vic Cekvenich . niallp
add Provide a Map decorator for a DynaBean (enables DynaBean to be used with other teechnologies such as JSTL). Fixes BEANUTILS-185. Thanks to Gabriel Belingueres . niallp
update Implement equals() and hashCode() methods for DynaProperty. Fixes BEANUTILS-233. Thanks to Russell . niallp
fix BeanUtils's tests fail to compile under JDK 1.6 Fixes BEANUTILS-243. Thanks to Henri Yandell . niallp
fix Lock in BeanUtilsBean.getInstance( Fixes BEANUTILS-49. Thanks to Jesper Richter-Reichhelm . niallp
fix Beanutils's describe() method cannot determine reader methods for anonymous class. Fixes BEANUTILS-157. Thanks to Thorbjorn Ravn Andersen . niallp
fix Added warning about describe behaviour to the javadocs. Fixes BEANUTILS-158. rdonkin
fix BeanUtilsBean's setProperty() does not convert objects using custom converters properly. Fixes BEANUTILS-249. Thanks to Brad . niallp
fix Fix javadoc - IllegalArgumentException in BeanUtils.copyProperties when property types don't match. Fixes BEANUTILS-17. niallp
fix Writing to a mapped property requires a setter for a map, but never uses it. Fixes BEANUTILS-68. Thanks to Dmitry Platonoff . niallp
fix BeanUtilsBean.getArrayProperty() does not u se ConvertUtils. Fixes BEANUTILS-110. Thanks to Etienne Bernard . niallp
fix MappedPropertyDescriptor - replace copied code. Fixes BEANUTILS-6. Thanks to Sam Ruby . niallp
fix MappedPropertyDescriptor: Add comments re: * use of static variable safe in shared classloader * memory leak possible on webapp undeploy. skitching
fix MappedPropertyDescriptor doesn't recognize boolean property accessor. Fixes BEANUTILS-69. Thanks to Chris Audley . niallp
fix Add test for MappedPropertyDescriptor with different types on get/set methods. Fixes BEANUTILS-163. niallp
fix LocaleBeanUtils setProperty does not work on nested property. Fixes BEANUTILS-140. Thanks to Marco La Porta . niallp
fix Package scope implementation of a public interface for mapped property fails (fixed by changes to MappedPropertyDescriptor associated with BEANUTILS-6) Fixes BEANUTILS-87. Thanks to YOKOTA Takehiko . niallp
fix PropertyUtils incosistency - can't use "dot" in mapped properties for setProperty or getPropertyDescriptor (fixed by the changes for BEANUTILS-259 Plugable Property Name Expression Resolver). Fixes BEANUTILS-33. Thanks to Eoin Curran . niallp
fix Public methods overriden in anonymous or private subclasses are not recognized by PropertyUtils. Fixes BEANUTILS-273. Thanks to Marcelo Liberato . niallp
fix PropertyUtilsBean's isReadable() / isWriteable() always return false for mapped properties. Fixes BEANUTILS-88. Thanks to Chuck Daniels . niallp
fix PropertyUtilsBean isReadable() and isWriteable() methods do not work correctly for WrapDynaBean. Fixes BEANUTILS-61. Thanks to Brian Ewins . niallp
fix PropertyUtils.isReadable() and PropertyUtils.getProperty() not consistent. Fixes BEANUTILS-18. Thanks to Maarten Coene . niallp
fix PropertyUtilsBean.copyProperties does not catch NoSuchMethodException Fixes BEANUTILS-92. Thanks to Will Pugh . bayard
fix PropertyUtilsBean.getIndexedProperty()'s javadoc should indicate IndexOutOufBoundsException can be thrown rather than just ArrayIndexOutOufBoundsException. Fixes BEANUTILS-256. Thanks to Torsten Feig . niallp
fix Create new methods getPropertyOfMapBean and setPropertyOfMapBean that the existing setNestedProperty and getNestedProperty methods now call when they discover the bean they are accessing implements Map. This makes it much easier for users to subclass and customise this behaviour of PropertyUtilsBean, eg in order to restore pre-1.5 behaviour. This patch also causes an exception to be thrown when the propertyName passed to getPropertyOfMapBean or setPropertyOfMapBean has MAPPED_DELIM or INDEXED_DELIM chars in it. This never worked as expected before (the whole string was treated literally as the propertyName), so throwing an exception here should not break any existing code. It should be of help to future developers who make this mistake though... Fixes BEANUTILS-162. skitching
fix Ignore simple properties on java.util.Mapobjects - Map methods are always used on a Map object. Reverts BEANUTILS-144. See BEANUTILS-162f or discussion. skitching
fix Correct getPropertyDescriptor() and setNestedProperty() methods to throw a NestedNullException rather than just IllegalArgumentException (consistent with the getNestedProperty() method). Fixes BEANUTILS-262. niallp
fix Problems on indexed property with JDK 1.4. Fixes BEANUTILS-97. niallp
update BooleanArrayConverter:
  • Use new AbstractArrayConverter constructors
  • Convert strings to booleans by invoking a BooleanConverter rather than hard-wiring the conversion.
skitching
update BooleanConverter:
  • Add facility for user to override the default set of true and false string definitions
  • provide ability to pass special NO_DEFAULT object as the "defaultValue" constructor parameter.
Thanks to Eric Rizzo .
skitching
update AbstractArrayConverter: provide ability to pass special NO_DEFAULT object as the "defaultValue" constructor parameter. skitching
fix DecimalLocaleConverter and subClasses never throw a ConversionException. Fixes BEANUTILS-78. Thanks to Stefan Lotscher . niallp
fix FloatLocaleConverter cannot parse negative values. Fixes BEANUTILS-44. Thanks to Paul Jenkins . niallp
fix Improve ClassConverter robustness. Fixes BEANUTILS-263. Thanks to Alex Albu . niallp
fix DateLocaleConverter does not always throw an Exception for invalid dates. Fixes BEANUTILS-271. Thanks to Nico Hoogervorst . niallp
fix Don't try parsing values that are already Dates/Numbers in Date/Number locale Converters. Fixes BEANUTILS-288. niallp
fix WrapDynaClass: Added comment re potential memory leak, and safety when using shared classloader skitching
fix Make WrapDynaBean Serializable. niallp
fix WrapDynaBeanTestCase failing with jikes/kaffe because of static List in TestBean. Fixes BEANUTILS-36. Thanks to Jack . niallp
fix Misleading error message in ConvertingWrapDynaBean. Fixes BEANUTILS-23. Thanks to Aslak Hellesoy . niallp
fix LazyDynaBean: don't try and instantiate properties of type Object.class. Fixes BEANUTILS-24. Thanks to Roi Ares . niallp
fix LazyDynabean JavaDoc corrections. Fixes BEANUTILS-133. Thanks to Masoud Omidvar . niallp
fix LazyDynaClass can create a DynaProperty with a "null" type. Fixes BEANUTILS-250. niallp
fix JDBCDynaClass "lowerCase" option causes problems in RowSetDynaClass and ResultSetIterator. Fixes BEANUTILS-289. niallp
fix RowSetDynaClass fails to copy ResultSet to DynaBean with Oracle 10g JDBC driver. Fixes BEANUTILS-142. Thanks to Li Zhang . niallp
fix Fix BeanComparator throws wrong exception and hides cause. Fixes BEANUTILS-241. Thanks to Chris Hyzer . bayard
fix Deprecate the public static defaultTransformers HashMap and make it unmodifiable. Fixes BEANUTILS-112. Thanks to Simon Kitching . niallp
update Merge Bean-Collections back into core BeanUtils and remove Bean-Collections sub-project. Fixes BEANUTILS-290. niallp
fix Fixi the build to include all the tests and change the build.properties.sample so it's easier to use for the default maven user (ie: it looks by default in the .maven repository) Fixes BEANUTILS-287. bayard
fix Improvements to maven build. Fixes BEANUTILS-217. Thanks to Carlos Sanchez . niallp
fix Add Implementation-Vendor-Id entry to jar's manifest. Fixes BEANUTILS-54. Thanks to Pascal Grange . niallp
fix Resolve compiler warnings: Unused imports, un-read local variables, field hiding, empty block, improperly used statics, uncessary semi colons, unnecessary casts. Fixes BEANUTILS-121. Thanks to Chris Tilden . bayard
fix Replace use of static Log objects with instance or local variables. It isn't safe to use static Log objects in code that might be deployed via a shared classloader as they will bind to the Log object from the context classloader in use when the first use happens. skitching
fix BeanMap: Fix internal variable to not include non-existant write methods. - ported from Commons Collections. Fixes COLLECTIONS-22. Thanks to Dimiter Dimitrov . scolebourne
update Change MethodUtils to make getMatchingAccessibleMethod() method selection more rational. Thanks to Steve Cohen . rdonkin

Release 1.7.0 - 2004-08-02

Type Changes By
update See 1.7.0 Release Notes

Release 1.6.1 - 2003-02-18

Type Changes By
update See 1.6.1 Release Notes

Release 1.6 - 2003-01-21

Type Changes By
update See 1.6 Release Notes

Release 1.5 - 2002-10-23

Type Changes By
update See 1.5 Release Notes

Release 1.4.1 - 2002-08-28

Type Changes By
fix See 1.4.1 Release Notes

Release 1.4 - 2002-08-13

Type Changes By
update See 1.4 Release Notes

Release 1.3 - 2002-04-29

Type Changes By
update See 1.3 Release Notes

Release 1.2 - 2001-12-24

Type Changes By
update See 1.2 Release Notes

Release 1.1 - 2001-09-22

Type Changes By
update Version 1.1

Release 1.0 - 2001-07-14

Type Changes By
add Initial Release