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-io.git
The following commit(s) were added to refs/heads/master by this push: new 3a17f525 Prepare for release candidate 3a17f525 is described below commit 3a17f5259b105e734c8adce1d06d68f29884d1bb Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Sep 24 12:00:39 2023 -0400 Prepare for release candidate --- README.md | 4 +-- RELEASE-NOTES.txt | 80 +++++++++++++++++++++++++++++++++++++++++++ src/changes/changes.xml | 2 +- src/changes/release-notes.vm | 2 ++ src/site/xdoc/download_io.xml | 26 +++++++------- 5 files changed, 98 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 1ba7de69..25c792e9 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Apache Commons IO [](https://github.com/apache/commons-io/actions) [](https://app.codecov.io/gh/apache/commons-io) [](https://maven-badges.herokuapp.com/maven-central/commons-io/commons-io/?gav=true) -[](https://javadoc.io/doc/commons-io/commons-io/2.13.0) +[](https://javadoc.io/doc/commons-io/commons-io/2.14.0) [](https://github.com/apache/commons-io/actions/workflows/codeql-analysis.yml?query=workflow%3ACodeQL) [](https://api.securityscorecards.dev/projects/github.com/apache/commons-io) @@ -70,7 +70,7 @@ Alternatively, you can pull it from the central Maven repositories: <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> - <version>2.13.0</version> + <version>2.14.0</version> </dependency> ``` diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 23ba04a5..8300ad4f 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,3 +1,83 @@ + +Apache Commons IO +Version 2.14.0 +Release Notes + +INTRODUCTION: + +Commons IO is a package of Java utility classes like java.io. +Classes in this package are considered to be so standard and of such high +reuse as to justify existence in java.io. + +The Apache Commons IO library contains utility classes, stream implementations, file filters, +file comparators, endian transformation classes, and much more. + +Java 8 required. + +Changes in this version include: + +New features: +o Add DeferredFileOutputStream.getPath(). Thanks to Gary Gregory. +o Add FileCleaningTracker.track(Path, Object[, FileDeleteStrategy]). Thanks to Gary Gregory. +o Add IOUtils.skip[Fully](InputStream, long, Supplier<byte[]>). Thanks to Gary Gregory. +o Add FilesUncheck.find(Path, int, BiPredicate%lt;Path, BasicFileAttributes>, FileVisitOption...) Thanks to Gary Gregory. +o Add IOIntSupplier. Thanks to Gary Gregory. +o Add IOLongSupplier. Thanks to Gary Gregory. +o Add Uncheck.getAsInt(IOIntSupplier [, Supplier<String>]). Thanks to Gary Gregory. +o Add Uncheck.getAsLong(IOLongSupplier [, Supplier<String>]). Thanks to Gary Gregory. +o Add Uncheck.run(IORunnable, Supplier<String>) Thanks to Gary Gregory. +o Add Uncheck.get(IOSupplier, Supplier<String>) Thanks to Gary Gregory. +o IOFileFilter now also extends java.nio.file.PathMatcher. Thanks to Gary Gregory. +o Add PathMatcherFileFilter to adapt java.nio.file.PathMatcher. Thanks to Gary Gregory. +o Add ThresholdingOutputStream.getOutputStream() and deprecate getStream(). Thanks to Gary Gregory. +o Add DeferredFileOutputStream.Builder.setOutputFile(Path). Thanks to Gary Gregory. +o Add DeferredFileOutputStream.Builder.setDirectory(Path). Thanks to Gary Gregory. +o Add AbstractStreamBuilder.setBufferSizeChecker(IntToIntFunction). Thanks to Gary Gregory. +o Add AbstractStreamBuilder.setBufferSizeMax(int). Thanks to Gary Gregory. + +Fixed Bugs: +o IO-799: ReaderInputStream.read() throws an exception instead of returning -1 when called again after returning -1. Thanks to Jeroen van der Vegt, Gary Gregory. +o IO-804: FileUtils.forceMkdirParent() Javadoc is incorrect. Thanks to Elliotte Rusty Harold, Gary Gregory. +o [StepSecurity] ci: Harden GitHub Actions #461. Thanks to step-security-bot, Gary Gregory. +o MagicNumberFileFilter.accept(Path, BasicFileAttributes) doesn't its byteOffset before reading. Thanks to Gary Gregory. +o Javadoc improvements. Thanks to Gary Gregory. +o Spelling #468. Thanks to Josh Soref, Gary Gregory. +o Use assertThrows #475. Thanks to Jakub Kupczyk. + +Changes: +o Bump jimfs from 1.2 to 1.3.0 #465 (tests). Thanks to Dependabot. +o Bump commons-parent from 58 to 62. Thanks to Gary Gregory. +o Bump commons-lang3 from 3.12 to 3.13.0. Thanks to Gary Gregory. + +Compatibility with 2.6: +Binary compatible: Yes. +Source compatible: Yes. +Semantic compatible: Yes. + +Commons IO 2.9.0 requires Java 8. +Commons IO 2.8.0 requires Java 8. +Commons IO 2.7 requires Java 8. +Commons IO 2.6 requires Java 7. +Commons IO 2.5 requires Java 6. +Commons IO 2.4 requires Java 6. +Commons IO 2.3 requires Java 6. +Commons IO 2.2 requires Java 5. +Commons IO 1.4 requires Java 1.3. + +Historical list of changes: https://commons.apache.org/proper/commons-io/changes-report.html + +For complete information on Apache Commons IO, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons IO website: + +https://commons.apache.org/proper/commons-io/ + +Download page: https://commons.apache.org/proper/commons-io/download_io.cgi + +Have fun! +-Apache Commons Team + +============================================================================== + Apache Commons IO Version 2.13.0 Release Notes diff --git a/src/changes/changes.xml b/src/changes/changes.xml index d5b0ebd3..a30e4d4d 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -47,7 +47,7 @@ The <action> type attribute can be add,update,fix,remove. </properties> <body> - <release version="2.14.0" date="2023-MM-DD" description="Java 8 required."> + <release version="2.14.0" date="2023-09-24" description="Java 8 required."> <!-- FIX --> <action dev="ggregory" type="fix" issue="IO-799" due-to="Jeroen van der Vegt, Gary Gregory"> ReaderInputStream.read() throws an exception instead of returning -1 when called again after returning -1. diff --git a/src/changes/release-notes.vm b/src/changes/release-notes.vm index 5739b66f..86973814 100644 --- a/src/changes/release-notes.vm +++ b/src/changes/release-notes.vm @@ -166,3 +166,5 @@ Download page: ${project.url}download_io.cgi Have fun! -Apache Commons Team + +============================================================================== diff --git a/src/site/xdoc/download_io.xml b/src/site/xdoc/download_io.xml index 7432635a..1d7ef8ec 100644 --- a/src/site/xdoc/download_io.xml +++ b/src/site/xdoc/download_io.xml @@ -113,32 +113,32 @@ limitations under the License. </p> </subsection> </section> - <section name="Apache Commons IO 2.13.0 (requires Java 8)"> + <section name="Apache Commons IO 2.14.0 (requires Java 8)"> <subsection name="Binaries"> <table> <tr> - <td><a href="[preferred]/commons/io/binaries/commons-io-2.13.0-bin.tar.gz">commons-io-2.13.0-bin.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.13.0-bin.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.13.0-bin.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/io/binaries/commons-io-2.14.0-bin.tar.gz">commons-io-2.14.0-bin.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.14.0-bin.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.14.0-bin.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/io/binaries/commons-io-2.13.0-bin.zip">commons-io-2.13.0-bin.zip</a></td> - <td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.13.0-bin.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.13.0-bin.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/io/binaries/commons-io-2.14.0-bin.zip">commons-io-2.14.0-bin.zip</a></td> + <td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.14.0-bin.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.14.0-bin.zip.asc">pgp</a></td> </tr> </table> </subsection> <subsection name="Source"> <table> <tr> - <td><a href="[preferred]/commons/io/source/commons-io-2.13.0-src.tar.gz">commons-io-2.13.0-src.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.13.0-src.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.13.0-src.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/io/source/commons-io-2.14.0-src.tar.gz">commons-io-2.14.0-src.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.14.0-src.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.14.0-src.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/io/source/commons-io-2.13.0-src.zip">commons-io-2.13.0-src.zip</a></td> - <td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.13.0-src.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.13.0-src.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/io/source/commons-io-2.14.0-src.zip">commons-io-2.14.0-src.zip</a></td> + <td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.14.0-src.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.14.0-src.zip.asc">pgp</a></td> </tr> </table> </subsection>