You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mime4j-dev@james.apache.org by ba...@apache.org on 2010/03/27 22:18:11 UTC

svn commit: r928282 - /james/mime4j/trunk/RELEASE_NOTES.txt

Author: bago
Date: Sat Mar 27 21:18:11 2010
New Revision: 928282

URL: http://svn.apache.org/viewvc?rev=928282&view=rev
Log:
Added explicit notes about contract change in parser and dom due to fixes for MIME4J-176 and MIME4J-177

Modified:
    james/mime4j/trunk/RELEASE_NOTES.txt

Modified: james/mime4j/trunk/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/RELEASE_NOTES.txt?rev=928282&r1=928281&r2=928282&view=diff
==============================================================================
--- james/mime4j/trunk/RELEASE_NOTES.txt (original)
+++ james/mime4j/trunk/RELEASE_NOTES.txt Sat Mar 27 21:18:11 2010
@@ -31,6 +31,12 @@ Upgrade Notes
    package tree.
  * The method decodeBaseQuotedPrintable() of class o.a.j.mime4j.codec.DecoderUtil has been renamed
    in decodeQuotedPrintable().
+ * Preamble and Epilogue are now correctly handled as optionals and the parser invoke their
+   tokens/events only when they are present in the message. So if your code rely on that events
+   being always called make sure to fix it.
+ * preamble and epilogue Strings in Multipart DOM object are now nullable: an empty preamble is 
+   different from no preamble, so we had to update the dom contract to support this difference.
+   Make sure to add null checks if code using multipart.getPreamble and multipart.getEpilogue.
 
 Please also note that as of this release Mime4j requires a Java 1.5 compatible runtime.