You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/02/08 17:45:58 UTC
(commons-fileupload) branch master updated: Prepare for the next release candidate
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git
The following commit(s) were added to refs/heads/master by this push:
new 2828a730 Prepare for the next release candidate
2828a730 is described below
commit 2828a730e07b2dfa310a75df7233e240654e46e2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Feb 8 17:45:51 2026 +0000
Prepare for the next release candidate
---
CONTRIBUTING.md | 1 -
README.md | 7 +++---
RELEASE-NOTES.txt | 45 +++++++++++++++++++++++++++++++++++
src/changes/changes.xml | 2 +-
src/site/xdoc/download_fileupload.xml | 26 ++++++++++----------
5 files changed, 62 insertions(+), 19 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index b85ab2ae..9fb0d933 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -110,7 +110,6 @@ Additional Resources
+ [Contributor License Agreement][cla]
+ [General GitHub documentation](https://help.github.com/)
+ [GitHub pull request documentation](https://help.github.com/articles/creating-a-pull-request/)
-+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
[cla]:https://www.apache.org/licenses/#clas
[jira]:https://issues.apache.org/jira/browse/FILEUPLOAD
diff --git a/README.md b/README.md
index 5d875624..da15d4f8 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@ Apache Commons FileUpload
[](https://github.com/apache/commons-fileupload/actions/workflows/maven.yml)
[](https://search.maven.org/artifact/org.apache.commons/commons-fileupload2)
-[](https://javadoc.io/doc/org.apache.commons/commons-fileupload2/2.0.0-M4)
+[](https://javadoc.io/doc/org.apache.commons/commons-fileupload2/2.0.0-M5)
[](https://github.com/apache/commons-fileupload/actions/workflows/codeql-analysis.yml)
[](https://api.securityscorecards.dev/projects/github.com/apache/commons-fileupload)
@@ -69,7 +69,7 @@ Alternatively, you can pull it from the central Maven repositories:
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-fileupload2</artifactId>
- <version>2.0.0-M4</version>
+ <version>2.0.0-M5</version>
</dependency>
```
@@ -90,7 +90,7 @@ There are some guidelines which will make applying PRs easier for us:
+ Respect the existing code style for each file.
+ Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`.
-+ Before you pushing a PR, run `mvn` (by itself), this runs the default goal, which contains all build checks.
++ Before you push a PR, run `mvn` (without arguments). This runs the default goal which contains all build checks.
+ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false -Pjacoco`
If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas).
@@ -112,7 +112,6 @@ Additional Resources
+ [Apache Commons Homepage](https://commons.apache.org/)
+ [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/FILEUPLOAD)
+ [Apache Commons Slack Channel](https://the-asf.slack.com/archives/C60NVB8AD)
-+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
Apache Commons Components
-------------------------
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 308499ed..172e80ea 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -1,3 +1,48 @@
+Apache Commons FileUpload 2.0.0-M5 Release Notes
+------------------------------------------------
+
+The Apache Commons FileUpload team is pleased to announce the release of Apache Commons FileUpload 2.0.0-M5.
+
+The Apache Commons FileUpload component provides a simple yet flexible means of
+adding support for multipart file upload functionality to Servlets and web
+applications. This version requires Java 11 or above.
+
+
+This release requires Java 11.
+
+Changes in version 2.0.0-M5 include:
+
+New features:
+o Add AbstractFileUpload support for a maximum part header size #429. Thanks to Ryan J Murphy.
+o FILEUPLOAD-367: Jakarta and Javax ServletFileUpload.isMultipartContent(HttpServletRequest) should allow PUT and PATCH request methods in addition to POST. Thanks to Gary Gregory.
+o FILEUPLOAD-367: Add AbstractFileUpload.isMultipartRequestMethod(String). Thanks to Gary Gregory.
+
+Fixed Bugs:
+o Better exception message in org.apache.commons.fileupload2.core.AbstractFileUpload.parseRequest(RequestContext). Thanks to Chenjp, Gary Gregory.
+o FILEUPLOAD-295: Clarified the precise meaning of isInMemory(), get(), getPath(), etc. in DiskFileItem
+o Better exception type and message if a multipart/mixed part is presented without a boundary defined Thanks to Coverity Scan.
+o Rename MultipartInput.Builder.[get|set]PartHeaderSizeMax() to [get|set]MaxPartHeaderSize(). Thanks to Gary Gregory.
+o Rename MultipartInput.getPartHeaderSizeMax() to getMaxPartHeaderSize(). Thanks to Gary Gregory.
+o Rename AbstractFileUpload.[get|set]SizeMax() to AbstractFileUpload.[get|set]MaxSize(). Thanks to Gary Gregory.
+o Rename AbstractFileUpload.[get|set]FileSizeMax() to AbstractFileUpload.[get|set]MaxFileSize(). Thanks to Gary Gregory.
+o Rename AbstractFileUpload.[get|set]FileCountMax() to AbstractFileUpload.[get|set]MaxFileCount(). Thanks to Gary Gregory.
+o Minor readability and cleanup improvements in DiskFileItem #458. Thanks to tPionTech.
+o Fix Apache RAT plugin console warnings. Thanks to Gary Gregory.
+
+Changes:
+o Bump org.apache.commons:commons-parent from 84 to 96 #444, #459, #463. Thanks to Gary Gregory, Dependabot.
+o Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.20.0 #427. Thanks to Gary Gregory.
+o Bump commons-io:commons-io from 2.19.0 to 2.21.0. Thanks to Gary Gregory.
+
+
+For complete information on Apache Commons FileUpload, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Commons FileUpload website:
+
+https://commons.apache.org/proper/commons-fileupload/
+
+Download it from https://commons.apache.org/proper/commons-fileupload/download_fileupload.cgi
+
+------------------------------------------------------------------------------
Apache Commons FileUpload 2.0.0-M4 Release Notes
------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index c42eab81..1846d552 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -41,7 +41,7 @@ The <action> type attribute can be add,update,fix,remove.
<author email="dev@commons.apache.org">Apache Commons Developers</author>
</properties>
<body>
- <release version="2.0.0-M5" date="YYYY-MM-DD" description="This release requires Java 11.">
+ <release version="2.0.0-M5" date="2026-02-08" description="This release requires Java 11.">
<!-- FIX -->
<action type="fix" dev="ggregory" due-to="Chenjp, Gary Gregory">Better exception message in org.apache.commons.fileupload2.core.AbstractFileUpload.parseRequest(RequestContext).</action>
<action issue="FILEUPLOAD-295" type="fix" dev="jochen">Clarified the precise meaning of isInMemory(), get(), getPath(), etc. in DiskFileItem</action>
diff --git a/src/site/xdoc/download_fileupload.xml b/src/site/xdoc/download_fileupload.xml
index 58c2da3c..be190c4a 100644
--- a/src/site/xdoc/download_fileupload.xml
+++ b/src/site/xdoc/download_fileupload.xml
@@ -115,32 +115,32 @@ limitations under the License.
</p>
</subsection>
</section>
- <section name="Apache Commons FileUpload 2.0.0-M4 in the org.apache.commons.fileupload2 namespace for Java 11 or later">
+ <section name="Apache Commons FileUpload 2.0.0-M5 in the org.apache.commons.fileupload2 namespace for Java 11 or later">
<subsection name="Binaries">
<table>
<tr>
- <td><a href="[preferred]/commons/fileupload/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz">commons-fileupload2-2.0.0-M4-bin.tar.gz</a></td>
- <td><a href="https://downloads.apache.org/commons/fileupload/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz.sha512">sha512</a></td>
- <td><a href="https://downloads.apache.org/commons/fileupload/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/fileupload/binaries/commons-fileupload2-2.0.0-M5-bin.tar.gz">commons-fileupload2-2.0.0-M5-bin.tar.gz</a></td>
+ <td><a href="https://downloads.apache.org/commons/fileupload/binaries/commons-fileupload2-2.0.0-M5-bin.tar.gz.sha512">sha512</a></td>
+ <td><a href="https://downloads.apache.org/commons/fileupload/binaries/commons-fileupload2-2.0.0-M5-bin.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/fileupload/binaries/commons-fileupload2-2.0.0-M4-bin.zip">commons-fileupload2-2.0.0-M4-bin.zip</a></td>
- <td><a href="https://downloads.apache.org/commons/fileupload/binaries/commons-fileupload2-2.0.0-M4-bin.zip.sha512">sha512</a></td>
- <td><a href="https://downloads.apache.org/commons/fileupload/binaries/commons-fileupload2-2.0.0-M4-bin.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/fileupload/binaries/commons-fileupload2-2.0.0-M5-bin.zip">commons-fileupload2-2.0.0-M5-bin.zip</a></td>
+ <td><a href="https://downloads.apache.org/commons/fileupload/binaries/commons-fileupload2-2.0.0-M5-bin.zip.sha512">sha512</a></td>
+ <td><a href="https://downloads.apache.org/commons/fileupload/binaries/commons-fileupload2-2.0.0-M5-bin.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
<subsection name="Source">
<table>
<tr>
- <td><a href="[preferred]/commons/fileupload/source/commons-fileupload2-2.0.0-M4-src.tar.gz">commons-fileupload2-2.0.0-M4-src.tar.gz</a></td>
- <td><a href="https://downloads.apache.org/commons/fileupload/source/commons-fileupload2-2.0.0-M4-src.tar.gz.sha512">sha512</a></td>
- <td><a href="https://downloads.apache.org/commons/fileupload/source/commons-fileupload2-2.0.0-M4-src.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/fileupload/source/commons-fileupload2-2.0.0-M5-src.tar.gz">commons-fileupload2-2.0.0-M5-src.tar.gz</a></td>
+ <td><a href="https://downloads.apache.org/commons/fileupload/source/commons-fileupload2-2.0.0-M5-src.tar.gz.sha512">sha512</a></td>
+ <td><a href="https://downloads.apache.org/commons/fileupload/source/commons-fileupload2-2.0.0-M5-src.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/fileupload/source/commons-fileupload2-2.0.0-M4-src.zip">commons-fileupload2-2.0.0-M4-src.zip</a></td>
- <td><a href="https://downloads.apache.org/commons/fileupload/source/commons-fileupload2-2.0.0-M4-src.zip.sha512">sha512</a></td>
- <td><a href="https://downloads.apache.org/commons/fileupload/source/commons-fileupload2-2.0.0-M4-src.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/fileupload/source/commons-fileupload2-2.0.0-M5-src.zip">commons-fileupload2-2.0.0-M5-src.zip</a></td>
+ <td><a href="https://downloads.apache.org/commons/fileupload/source/commons-fileupload2-2.0.0-M5-src.zip.sha512">sha512</a></td>
+ <td><a href="https://downloads.apache.org/commons/fileupload/source/commons-fileupload2-2.0.0-M5-src.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>