You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by sg...@apache.org on 2025/05/27 19:01:21 UTC
(commons-email) 06/06: EMAIL-163 Support for OAuth2 authentication
This is an automated email from the ASF dual-hosted git repository.
sgoeschl pushed a commit to branch Features/EMAIL-163
in repository https://gitbox.apache.org/repos/asf/commons-email.git
commit b14cdf4ad34a785ead42684a58dd5cfb46cec270
Author: sgoeschl <si...@gmail.com>
AuthorDate: Tue May 27 20:59:52 2025 +0200
EMAIL-163 Support for OAuth2 authentication
---
src/changes/changes.xml | 48 +++++++++++++++++++++++++++++-------------------
1 file changed, 29 insertions(+), 19 deletions(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 1c573103..57cbd3f4 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -7,7 +7,7 @@
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
@@ -15,9 +15,9 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document xmlns="http://maven.apache.org/changes/1.0.0"
+<document xmlns="http://maven.apache.org/changes/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/changes/2.0.0 https://maven.apache.org/xsd/changes-2.0.0.xsd">
<properties>
<title>Apache Commons Email Release Notes</title>
</properties>
@@ -26,10 +26,20 @@
<!-- ADD -->
<action type="add" due-to="Siegfried Goeschl" dev="sgoeschl" issue="EMAIL-163">Support for OAuth2 authentication.</action>
<!-- FIX -->
+ <action type="update" due-to="Derek Wickern, Gary Gregory" dev="ggregory">Handle IllegalArgumentException thrown for invalid email address #328.</action>
<!-- UPDATE -->
- <action type="update" due-to="Gary Gregory, Dependabot" dev="ggregory">Bump commons-parent from 72 to 78 #279, #293, #297, #304.</action>
- <action type="update" due-to="Gary Gregory" dev="ggregory">Bump org.mockito:mockito-core from 5.13.0 to 5.14.2 #290, #296, #302.</action>
- <action type="update" due-to="Gary Gregory" dev="ggregory">Bump org.slf4j:slf4j-jdk14 from 2.0.13 to 2.0.16 #278.</action>
+ <action type="update" due-to="Gary Gregory" dev="ggregory">Bump commons-parent from 72 to 84 #279, #293, #297, #304, #350.</action>
+ <action type="update" due-to="Gary Gregory" dev="ggregory">Bump org.mockito:mockito-core from 5.13.0 to 5.18.0 #290, #296, #302, #319, #336, #338, #344, #353.</action>
+ <action type="update" due-to="Gary Gregory" dev="ggregory">Bump org.slf4j:slf4j-jdk14 from 2.0.13 to 2.0.17 #278, #333.</action>
+ <action type="update" due-to="Gary Gregory, Dependabot" dev="ggregory">[test] Bump commons-io:commons-io from 2.17.0 to 2.19.0 #311.</action>
+ <action type="update" due-to="Gary Gregory, Dependabot" dev="ggregory">[test] Bump com.github.davidmoten:subethasmtp from 7.1.1 to 7.1.7 #322, #337, #345.</action>
+ <!-- REMOVE -->
+ <action type="update" due-to="Gary Gregory" dev="ggregory">Remove unused EmailException.call(Callable).</action>
+ <action type="update" due-to="Gary Gregory" dev="ggregory">EmailException doesn't need to override printStackTrace().</action>
+ <action type="update" due-to="Gary Gregory" dev="ggregory">EmailException doesn't need to override printStackTrace(PrintStream).</action>
+ <action type="update" due-to="Gary Gregory" dev="ggregory">EmailException doesn't need to override printStackTrace(PrintWriter).</action>
+ <action type="update" due-to="Gary Gregory" dev="ggregory">org.apache.commons.mail2.jakarta.util.MimeMessageUtils.createMimeMessage(Session, File) now uses NIO.</action>
+ <action type="update" due-to="Gary Gregory" dev="ggregory">org.apache.commons.mail2.javax.util.MimeMessageUtils.createMimeMessage(Session, File) now uses NIO.</action>
</release>
<release version="2.0.0-M1" date="2024-06-15" description="Feature release (Java 8 or above).">
<!-- ADD -->
@@ -48,7 +58,7 @@
<release version="1.6.0" date="2023-12-17" description="Feature release (Java 8 or above).">
<!-- FIX -->
<action issue="EMAIL-190" type="fix" due-to="sgoeschl">Fix broken JDK 9 build by updating "easymock" and other dependencies.</action>
- <action type="fix" dev="ggregory" due-to="John Patrick, Gary Gregory">Use JUnit 5 APIs #106, #108, #109, #114.</action>
+ <action type="fix" dev="ggregory" due-to="John Patrick, Gary Gregory">Use JUnit 5 APIs #106, #108, #109, #114.</action>
<action dev="ggregory" type="fix" due-to="step-security-bot, Gary Gregory">[StepSecurity] ci: Harden GitHub Actions #149.</action>
<action dev="ggregory" type="fix" due-to="Lee Jaeheon, sebbASF">Better use of JUnit APIs #158.</action>
<action issue="EMAIL-205" dev="ggregory" type="fix" due-to="Dimitrios Efthymiou, Alex Herbert">Update conversion code #153.</action>
@@ -99,7 +109,7 @@
<action type="update" due-to="Dependabot" dev="ggregory">Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0 #87.</action>
</release>
<release version="1.5" date="2017-08-01">
- <!-- N.B. AFAICT the date attribute is not used anywhere so no point in adding it -->
+ <!-- AFAICT the date attribute is not used anywhere so no point in adding it -->
<action dev="kinow" type="fix" issue="EMAIL-172" due-to="Thomas Grainger">
Grammar error in comment
</action>
@@ -298,29 +308,29 @@
downloaded from HTTP or from the local file system.
</action>
<action dev="sgoeschl" type="fix" issue="EMAIL-95" date="2010-05-13">
- Calling buildMimeMessage() before invoking send() caused
- duplicated mime parts for HtmlEmail. The implementation now enforces
- that an email can be only used once and throw an exception when
- multiple invocations of buildMimeMessage() are detected.
+ Calling buildMimeMessage() before invoking send() caused
+ duplicated mime parts for HtmlEmail. The implementation now enforces
+ that an email can be only used once and throw an exception when
+ multiple invocations of buildMimeMessage() are detected.
</action>
<action dev="sgoeschl" type="fix" issue="EMAIL-91" date="2010-05-13" due-to="Kevin Lester">
Incorrect SMTP Port number shown in error message when an email fails
to send due to a blocked port and SSL is used.
- </action>
+ </action>
</release>
<release version="1.2" date="2009-10-26">
<action dev="sgoeschl" type="update" date="2009-06-26">
- Changing groupId from "commons-email" to "org.apache.commons"
+ Changing groupId from "commons-email" to "org.apache.commons"
because the 1.1 release was already using "org.apache.commons"
- </action>
+ </action>
<action dev="sgoeschl" type="fix" date="2009-06-16" due-to="sebb">
Using "http://example.invalid" for a bad url - ".invalid" is reserved
- and not intended to be installed as a top-level domain in the global
+ and not intended to be installed as a top-level domain in the global
Domain Name System (DNS) of the Internet.
- </action>
+ </action>
<action dev="sgoeschl" type="fix" date="2009-06-16" due-to="sebb">
Made BaseEmailTestCase abstract and fixed a few coding issues.
- </action>
+ </action>
<action dev="sgoeschl" type="fix" issue="EMAIL-87" date="2009-06-16" due-to="sebb">
HtmlEmail invokes java.net.URL.equals(Object), which blocks to do domain name resolution. This
is avoided by using "url.toExternalForm().equals()" instead of "url.equals()".
@@ -426,7 +436,7 @@
<release version="1.0" date="2005-09-27"/>
<release version="1.0-rc8" date="2005-09-07">
<action dev="henning" type="fix">
- Make sure that the unit tests don't fail under JDK 1.3.x with
+ Make sure that the unit tests don't fail under JDK 1.3.x with
java.net.BindException: Address already in use
</action>
<action dev="henning" type="update" due-to="Niall Pemberton" issue="EMAIL-49">