Added support to map to/from a Map or Struts *like* DynaActionForm object. Dozer now supports mapping to/from any Map backed property. It can implement the Map Interface
or be a custom map object: Forum Thread 452530
Request for enhancement declare a class as copy-by-reference RFE 1345821
Request for enhancement No way to reference self (this) in field mapping RFE 1277096
Request for enhancement for Collapse <field-deep> tag into <field> tag. All <field-deep> tags need to be replaced with <field> tags. RFE 1347953
Applied patch for Spring bean factory injection: Patch 1349799
Fixed Configuration Overrides Not Working Issue 1352438
Fixed multiple levels of custom mapping processed in wrong order Issue 1346370
Fixed regression on finding most specific destination mapping Issue 1346342
Iterate type methods can now return an Iterator for their get() method.
1.5.1 09/07/2005
Added <field> level one-way mapping. i.e. <field type="one-way">
Removed <field-method> and <field-iterate-method> and now use the <field> in combination with attributes. See this thread for more information. This has also been updated in the documentation.
DTD validation was disabled. It is now working.
Thanks to Seb :) the ClassLoader issues have been put to bed.
Addressed the field exclude getter() setter() issue
1.4.4 08/16/2005
Added one-way mapping at mapping level into DTD
Added unit test for one-way mapping
<field> level tag source and destination hint functionality did not work unless it was an array or list. This has been fixed.
1.4.3 08/15/2005
Moved to DTD validation from XSD validation per defect ID 1256049
Added <field-exclude> tag.
Fixed bug where branch and lower level objects which were on the source and already been instantiated were being new()ed up on conversion back to the source.
If a Java Bean did not have a getter() or setter() method we would throw NPE. We now throw a MappingException with description.
1.4.2 08/10/2005
Support for JDK 1.3
1.4.1 07/28/2005
Deep field output for logging arrays
Field-deep tag now supports sourceTypeHint and destinationTypeHints
1.4 07/11/2005
Removed test data retrieval from Spring
MapperException is now a RuntimeException
Fields in a base class can now be mapped in the mapping file and all of the corresponding sub-classes will not have to specify those fields
Multiple mapping files can be added to the dozerContext.xml file.
1.3.3 06/07/2005
Added Getting Started section to documentation
Fixed bug inability to locate mapping file in a jar file at runtime
1.3.2 06/03/2005
Fixed bug 1214291 NullPointerException when no fields
Changed license to Apache, Version 2.0
1.3.1 06/02/2005
Fixed incorrect error message stating that beanmapping.xml was not in the classpath
Fixed documentation so that images appear offline
Added note about using log4j.properties file
1.3 06/01/2005
Fixed deep field mapping logic
Renamed castormappings.xml to dozercastormappings.xml
Changed default dozer mappings file to dozerBeanMapping.xml. beanmapping.xml is still supported for backwards compatability.
Allow override of default mapping file that will get loaded by using system property. -Ddozer.configuration=myBeanMapping.xml
Resolved some of the pmd errors
Added a validate method to Mapping Reader. We need to add more.
Apply top level configuration props to children during initialization process. Removed double checking in the code
Apply top level configuration props to default class map in processor.
Added some todos to working doc.
Added deep mapping examples to samples
XSD Schema validation
XSD Schema is now on the website
1.2 05/03/2005
Created a dozer-full.jar file which includes all of the run-time dependency classes needed
Mappings file can now be empty except for begin and end mappings tag
Added global configuration XML to contain settings for wildcard, dateformat, error handling, and custom converters
changes to allow each mapping element override global settings, and some even at the field level
added a check for infinite loops during mapping
user can specify whether or not Dozer throws exceptions or eats exceptions
added the ability to specify custom converter objects to handle special mapping/conversion cases
created a mapping processor object to allow the use of local variables. Mapper class methods are still static for ease of use.
Added more unit tests, as always
1.1 04/06/2005
fixed mapping bug with methodMap and methodDehydrate where it would transform but not convert
many infrastructure changes: moved beanmapping.xml parsing to castor
fixed bug where bogus data conversion from String to Wrapper would not produce any errors
The code was changed to get the default mappings after it loads the custom mappings
String conversions to a Date object based on a date format
beanmapping.xml file now has field-deep, field-hydrate, field-dehydrate, field-method, and field-iterate-method elements