commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1680078 - in /commons/proper/email/tags/EMAIL_1_4_RC1: ./ RELEASE-NOTES.txt conf/checkstyle.xml pom.xml src/changes/changes.xml src/site/site.xml src/site/xdoc/download_email.xml src/site/xdoc/index.xml
Date Mon, 18 May 2015 19:38:21 GMT
Author: tn
Date: Mon May 18 19:38:20 2015
New Revision: 1680078

URL: http://svn.apache.org/r1680078
Log:
Creating Commons Email v1.4 RC1 tag.

Added:
    commons/proper/email/tags/EMAIL_1_4_RC1/
      - copied from r1680077, commons/proper/email/trunk/
Modified:
    commons/proper/email/tags/EMAIL_1_4_RC1/RELEASE-NOTES.txt
    commons/proper/email/tags/EMAIL_1_4_RC1/conf/checkstyle.xml
    commons/proper/email/tags/EMAIL_1_4_RC1/pom.xml
    commons/proper/email/tags/EMAIL_1_4_RC1/src/changes/changes.xml
    commons/proper/email/tags/EMAIL_1_4_RC1/src/site/site.xml
    commons/proper/email/tags/EMAIL_1_4_RC1/src/site/xdoc/download_email.xml
    commons/proper/email/tags/EMAIL_1_4_RC1/src/site/xdoc/index.xml

Modified: commons/proper/email/tags/EMAIL_1_4_RC1/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/commons/proper/email/tags/EMAIL_1_4_RC1/RELEASE-NOTES.txt?rev=1680078&r1=1680077&r2=1680078&view=diff
==============================================================================
--- commons/proper/email/tags/EMAIL_1_4_RC1/RELEASE-NOTES.txt (original)
+++ commons/proper/email/tags/EMAIL_1_4_RC1/RELEASE-NOTES.txt Mon May 18 19:38:20 2015
@@ -1,6 +1,6 @@
                          Commons Email Package
-                              Version 1.3.3
-                              Release Notes
+                              Version 1.4
+                             Release Notes
 
 INTRODUCTION:
 -------------
@@ -15,8 +15,55 @@ downloads, reports, and bug status:
 
 http://commons.apache.org/email/
 
-This is a maintenance release which fixes several bugs present in the 1.3.2
-release. All current users are encouraged to upgrade.
+This is a minor release which adds some new features and fixes several bugs
+present in the 1.3.3 release. All current users are encouraged to upgrade.
+
+CHANGES FROM 1.3.3:
+-----------------
+
+== Compatibility ==
+
+* Java 5 or later is required (unchanged since 1.3).
+
+* JavaMail dependency has been upgraded to version 1.5.2,
+  as a consequence, the maven dependency has changed to:
+
+  <dependency>
+    <groupId>com.sun.mail</groupId>
+    <artifactId>javax.mail</artifactId>
+    <version>1.5.2</version>
+  </dependency>
+
+== New Features ==
+
+* Added getter for the bounce address of an email to class Email.
+  Issue: EMAIL-146. Thanks to Alexander Lehmann.
+
+* Added support for mapping of content-ids to DataSource in "MimeMessageParser".
+  Issue: EMAIL-141. Thanks to Stephen Kruger.
+
+== Updates ==
+
+* Update Oracle JavaMail dependency from 1.4.5 to 1.5.2.
+  Issue: EMAIL-144.
+
+== Fixed Bugs ==
+
+* "Email" threw an "EmailException" when trying to send the email if neither a from
+  nor bounce address was specified, although a "mail.from" property was set in the mail session.
+  Issue: EMAIL-149. Thanks to Richard DiCroce.
+
+* "ImageHtmlEmail" failed to embed attachments if their data source name was null.
+  Issue: EMAIL-151. Thanks to Andreas Kohn.
+
+* Html emails did not have the correct content-type set when using the Apache Geronimo
+  JavaMail implementation v1.8.x.
+  Issue: EMAIL-147. Thanks to Can Eskikaya.
+
+* An "HtmlEmail" with both, an html and plain text content but no attachments or embedded
+  images will now be created with mimetype "multipart/alternative" instead of "multipart/mixed".
+  Issue: EMAIL-142. Thanks to Marcin Tomiak.
+
 
 CHANGES FROM 1.3.2:
 -----------------
@@ -196,62 +243,15 @@ CHANGES FROM 1.2:
   Issue: EMAIL-91. Thanks to Kevin Lester. 
 
 
-CHANGES FROM 1.1:
------------------
-
-== Compatibility ==
-
-* Java 1.4 or later is now required. Earlier versions are no longer
-  supported by Sun.
-
-* JavaMail 1.4 or later and JavaBeans Activation Framework 1.1 or later are now
-  required.
-
-== New Features ==
-
-* Email.setFrom and Email.addTo are using Email.charset to properly encode 
-  the name.
-  
-* SimpleEmail#setMsg() with UTF-8 content honors correct charset in header 
-  and does encode the content correctly now.
-  
-* Created additional methods to support timeouts.
-
-* Create an overridable method in Email.java to create the MimeMessage instance.
-
-* Add getTo and getReplyTo to Email class. 
-
-== Fixed Bugs ==
-
-* If setHostName() has not been called, getHostName() tries to return
-  this.session.getProperty(MAIL_HOST). If mail session has not been
-  created yet, this will throw a NullPointerException. Now getHostName()
-  checks that this.session is not null before trying to access it. 
-
-* Provide better diagnostics when attaching  documents fail. 
-
-* When mail authentication is required and no username/password is supplied
-  than the provided mail session is used. If a username/password is found
-  the implementation creates a new mail session and a DefaultAuthenticator
-  as convenience implementation. 
-
-* Using Kenneth's implementation of HtmlEmail.buildMimeMessage() to fix a
-  couple of HtmlEmail layout issues. Also thanks to Martin Lau and Morten
-  Hattesen for providing in-depth analysis of the problem. 
-
-* During regression tests write out the generated MimeMessage instead of
-  WiserEmail.toString(). 
-
-
 REQUIREMENTS:
 
 J2SE environments
 -----------------
 
-Commons Email requires JavaMail 1.4.1 or later. The Oracle implementation
+Commons Email requires JavaMail 1.5.2 or later. The reference implementation
 is available at:
 
-http://www.oracle.com/technetwork/java/javamail/
+https://java.net/projects/javamail/pages/Home
 
 However, the Apache Geronimo project (http://geronimo.apache.org)
 provides a J2EE-certified implementation of the JavaMail 1.4
@@ -266,7 +266,7 @@ http://www.oracle.com/technetwork/java/j
 Apache Geronimo likewise provides an implementation under the Apache
 Software License.
 
-Commons Email has been tested with JDK 1.5 and 1.6.
+Commons Email has been tested with JDK 1.6 and 1.7.
 
 J2EE environments
 -----------------

Modified: commons/proper/email/tags/EMAIL_1_4_RC1/conf/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/email/tags/EMAIL_1_4_RC1/conf/checkstyle.xml?rev=1680078&r1=1680077&r2=1680078&view=diff
==============================================================================
--- commons/proper/email/tags/EMAIL_1_4_RC1/conf/checkstyle.xml (original)
+++ commons/proper/email/tags/EMAIL_1_4_RC1/conf/checkstyle.xml Mon May 18 19:38:20 2015
@@ -43,6 +43,7 @@
     <!-- See http://checkstyle.sf.net/config_header.html -->
     <module name="Header">
         <property name="headerFile" value="${checkstyle.header.file}"/>
+        <property name="fileExtensions" value="java"/>
     </module>
     <module name="FileLength"/>
     <module name="FileTabCharacter"/>

Modified: commons/proper/email/tags/EMAIL_1_4_RC1/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/email/tags/EMAIL_1_4_RC1/pom.xml?rev=1680078&r1=1680077&r2=1680078&view=diff
==============================================================================
--- commons/proper/email/tags/EMAIL_1_4_RC1/pom.xml (original)
+++ commons/proper/email/tags/EMAIL_1_4_RC1/pom.xml Mon May 18 19:38:20 2015
@@ -24,7 +24,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-email</artifactId>
-    <version>1.4.0-SNAPSHOT</version>
+    <version>1.4</version>
     <name>Apache Commons Email</name>
 
     <inceptionYear>2001</inceptionYear>
@@ -297,8 +297,8 @@
         <commons.componentid>email</commons.componentid>
         <commons.jira.id>EMAIL</commons.jira.id>
         <commons.jira.pid>12310474</commons.jira.pid>
-        <commons.release.version>1.3.3</commons.release.version>
-        <commons.rc.version>RC2</commons.rc.version>
+        <commons.release.version>1.4</commons.release.version>
+        <commons.rc.version>RC1</commons.rc.version>
         <commons.binary.suffix>-bin</commons.binary.suffix>
 
         <!-- override the default commons encoding property -->

Modified: commons/proper/email/tags/EMAIL_1_4_RC1/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/email/tags/EMAIL_1_4_RC1/src/changes/changes.xml?rev=1680078&r1=1680077&r2=1680078&view=diff
==============================================================================
--- commons/proper/email/tags/EMAIL_1_4_RC1/src/changes/changes.xml (original)
+++ commons/proper/email/tags/EMAIL_1_4_RC1/src/changes/changes.xml Mon May 18 19:38:20 2015
@@ -22,7 +22,7 @@
   </properties>
 
   <body>
-    <release version="1.4.0" date="2014-??-??">
+    <release version="1.4" date="2015-05-25">
       <action dev="tn" type="fix" issue="EMAIL-149" date="2015-03-10" due-to="Richard
DiCroce">
         "Email" threw an "EmailException" when trying to send the email if neither a from
         nor bounce address was specified, although a "mail.from" property was set in the

Modified: commons/proper/email/tags/EMAIL_1_4_RC1/src/site/site.xml
URL: http://svn.apache.org/viewvc/commons/proper/email/tags/EMAIL_1_4_RC1/src/site/site.xml?rev=1680078&r1=1680077&r2=1680078&view=diff
==============================================================================
--- commons/proper/email/tags/EMAIL_1_4_RC1/src/site/site.xml (original)
+++ commons/proper/email/tags/EMAIL_1_4_RC1/src/site/site.xml Mon May 18 19:38:20 2015
@@ -28,7 +28,8 @@
             <item name="Download"                      href="http://commons.apache.org/email/download_email.cgi"/>
             <item name="User guide"                    href="/userguide.html"/>
             <item name="Latest API docs (development)" href="/apidocs/index.html"/>
-            <item name="Javadoc (1.3.3 release)"       href="/javadocs/api-release/index.html"/>
+            <item name="Javadoc (1.4 release)"         href="/javadocs/api-release/index.html"/>
+            <item name="Javadoc (1.3.3 release)"       href="/javadocs/api-1.3.3/index.html"/>
             <item name="Javadoc (1.2 release)"         href="/javadocs/api-1.2/index.html"/>
         </menu>
     

Modified: commons/proper/email/tags/EMAIL_1_4_RC1/src/site/xdoc/download_email.xml
URL: http://svn.apache.org/viewvc/commons/proper/email/tags/EMAIL_1_4_RC1/src/site/xdoc/download_email.xml?rev=1680078&r1=1680077&r2=1680078&view=diff
==============================================================================
--- commons/proper/email/tags/EMAIL_1_4_RC1/src/site/xdoc/download_email.xml (original)
+++ commons/proper/email/tags/EMAIL_1_4_RC1/src/site/xdoc/download_email.xml Mon May 18 19:38:20
2015
@@ -95,32 +95,32 @@ limitations under the License.
       </p>
     </subsection>
     </section>
-    <section name="Apache Commons Email 1.3.3 ">
+    <section name="Apache Commons Email 1.4 ">
       <subsection name="Binaries">
         <table>
           <tr>
-              <td><a href="[preferred]/commons/email/binaries/commons-email-1.3.3-bin.tar.gz">commons-email-1.3.3-bin.tar.gz</a></td>
-              <td><a href="http://www.apache.org/dist/commons/email/binaries/commons-email-1.3.3-bin.tar.gz.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/email/binaries/commons-email-1.3.3-bin.tar.gz.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/email/binaries/commons-email-1.4-bin.tar.gz">commons-email-1.4-bin.tar.gz</a></td>
+              <td><a href="http://www.apache.org/dist/commons/email/binaries/commons-email-1.4-bin.tar.gz.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/email/binaries/commons-email-1.4-bin.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/email/binaries/commons-email-1.3.3-bin.zip">commons-email-1.3.3-bin.zip</a></td>
-              <td><a href="http://www.apache.org/dist/commons/email/binaries/commons-email-1.3.3-bin.zip.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/email/binaries/commons-email-1.3.3-bin.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/email/binaries/commons-email-1.4-bin.zip">commons-email-1.4-bin.zip</a></td>
+              <td><a href="http://www.apache.org/dist/commons/email/binaries/commons-email-1.4-bin.zip.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/email/binaries/commons-email-1.4-bin.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>
       <subsection name="Source">
         <table>
           <tr>
-              <td><a href="[preferred]/commons/email/source/commons-email-1.3.3-src.tar.gz">commons-email-1.3.3-src.tar.gz</a></td>
-              <td><a href="http://www.apache.org/dist/commons/email/source/commons-email-1.3.3-src.tar.gz.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/email/source/commons-email-1.3.3-src.tar.gz.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/email/source/commons-email-1.4-src.tar.gz">commons-email-1.4-src.tar.gz</a></td>
+              <td><a href="http://www.apache.org/dist/commons/email/source/commons-email-1.4-src.tar.gz.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/email/source/commons-email-1.4-src.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/email/source/commons-email-1.3.3-src.zip">commons-email-1.3.3-src.zip</a></td>
-              <td><a href="http://www.apache.org/dist/commons/email/source/commons-email-1.3.3-src.zip.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/email/source/commons-email-1.3.3-src.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/email/source/commons-email-1.4-src.zip">commons-email-1.4-src.zip</a></td>
+              <td><a href="http://www.apache.org/dist/commons/email/source/commons-email-1.4-src.zip.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/email/source/commons-email-1.4-src.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>

Modified: commons/proper/email/tags/EMAIL_1_4_RC1/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/commons/proper/email/tags/EMAIL_1_4_RC1/src/site/xdoc/index.xml?rev=1680078&r1=1680077&r2=1680078&view=diff
==============================================================================
--- commons/proper/email/tags/EMAIL_1_4_RC1/src/site/xdoc/index.xml (original)
+++ commons/proper/email/tags/EMAIL_1_4_RC1/src/site/xdoc/index.xml Mon May 18 19:38:20 2015
@@ -77,10 +77,10 @@
             </p>
             <ul>
                 <li>The
-                    <a href="javadocs/api-release/index.html">current release 1.3.3</a>
+                    <a href="javadocs/api-release/index.html">current release 1.4</a>
                 </li>
                 <li>The
-                    <a href="javadocs/api-1.3/index.html">previous version 1.3</a>
+                    <a href="javadocs/api-1.3.3/index.html">previous version 1.3.3</a>
                 </li>
                 <li>The
                     <a href="javadocs/api-1.2/index.html">previous version 1.2</a>
@@ -99,7 +99,7 @@
         <!-- ================================================== -->
         <section name="Releases">
             <p>
-                The latest version 1.3.3, requires Java 5 -
+                The latest version 1.4, requires Java 5 -
                 <a href="http://commons.apache.org/email/download_email.cgi">Download
now!</a>
                 <br/>
                 The full



Mime
View raw message