Skip to content

Commit 3a17f52

Browse files
committed
Prepare for release candidate
1 parent 92b8a1f commit 3a17f52

5 files changed

Lines changed: 98 additions & 16 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Apache Commons IO
4646
[![GitHub Actions Status](https://github.com/apache/commons-io/workflows/Java%20CI/badge.svg)](https://github.com/apache/commons-io/actions)
4747
[![Coverage Status](https://codecov.io/gh/apache/commons-io/branch/master/graph/badge.svg)](https://app.codecov.io/gh/apache/commons-io)
4848
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/commons-io/commons-io/badge.svg?gav=true)](https://maven-badges.herokuapp.com/maven-central/commons-io/commons-io/?gav=true)
49-
[![Javadocs](https://javadoc.io/badge/commons-io/commons-io/2.13.0.svg)](https://javadoc.io/doc/commons-io/commons-io/2.13.0)
49+
[![Javadocs](https://javadoc.io/badge/commons-io/commons-io/2.14.0.svg)](https://javadoc.io/doc/commons-io/commons-io/2.14.0)
5050
[![CodeQL](https://github.com/apache/commons-io/workflows/CodeQL/badge.svg)](https://github.com/apache/commons-io/actions/workflows/codeql-analysis.yml?query=workflow%3ACodeQL)
5151
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/apache/commons-io/badge)](https://api.securityscorecards.dev/projects/github.com/apache/commons-io)
5252

@@ -70,7 +70,7 @@ Alternatively, you can pull it from the central Maven repositories:
7070
<dependency>
7171
<groupId>commons-io</groupId>
7272
<artifactId>commons-io</artifactId>
73-
<version>2.13.0</version>
73+
<version>2.14.0</version>
7474
</dependency>
7575
```
7676

RELEASE-NOTES.txt

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,83 @@
1+
2+
Apache Commons IO
3+
Version 2.14.0
4+
Release Notes
5+
6+
INTRODUCTION:
7+
8+
Commons IO is a package of Java utility classes like java.io.
9+
Classes in this package are considered to be so standard and of such high
10+
reuse as to justify existence in java.io.
11+
12+
The Apache Commons IO library contains utility classes, stream implementations, file filters,
13+
file comparators, endian transformation classes, and much more.
14+
15+
Java 8 required.
16+
17+
Changes in this version include:
18+
19+
New features:
20+
o Add DeferredFileOutputStream.getPath(). Thanks to Gary Gregory.
21+
o Add FileCleaningTracker.track(Path, Object[, FileDeleteStrategy]). Thanks to Gary Gregory.
22+
o Add IOUtils.skip[Fully](InputStream, long, Supplier<byte[]>). Thanks to Gary Gregory.
23+
o Add FilesUncheck.find(Path, int, BiPredicate%lt;Path, BasicFileAttributes>, FileVisitOption...) Thanks to Gary Gregory.
24+
o Add IOIntSupplier. Thanks to Gary Gregory.
25+
o Add IOLongSupplier. Thanks to Gary Gregory.
26+
o Add Uncheck.getAsInt(IOIntSupplier [, Supplier<String>]). Thanks to Gary Gregory.
27+
o Add Uncheck.getAsLong(IOLongSupplier [, Supplier<String>]). Thanks to Gary Gregory.
28+
o Add Uncheck.run(IORunnable, Supplier<String>) Thanks to Gary Gregory.
29+
o Add Uncheck.get(IOSupplier, Supplier<String>) Thanks to Gary Gregory.
30+
o IOFileFilter now also extends java.nio.file.PathMatcher. Thanks to Gary Gregory.
31+
o Add PathMatcherFileFilter to adapt java.nio.file.PathMatcher. Thanks to Gary Gregory.
32+
o Add ThresholdingOutputStream.getOutputStream() and deprecate getStream(). Thanks to Gary Gregory.
33+
o Add DeferredFileOutputStream.Builder.setOutputFile(Path). Thanks to Gary Gregory.
34+
o Add DeferredFileOutputStream.Builder.setDirectory(Path). Thanks to Gary Gregory.
35+
o Add AbstractStreamBuilder.setBufferSizeChecker(IntToIntFunction). Thanks to Gary Gregory.
36+
o Add AbstractStreamBuilder.setBufferSizeMax(int). Thanks to Gary Gregory.
37+
38+
Fixed Bugs:
39+
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.
40+
o IO-804: FileUtils.forceMkdirParent() Javadoc is incorrect. Thanks to Elliotte Rusty Harold, Gary Gregory.
41+
o [StepSecurity] ci: Harden GitHub Actions #461. Thanks to step-security-bot, Gary Gregory.
42+
o MagicNumberFileFilter.accept(Path, BasicFileAttributes) doesn't its byteOffset before reading. Thanks to Gary Gregory.
43+
o Javadoc improvements. Thanks to Gary Gregory.
44+
o Spelling #468. Thanks to Josh Soref, Gary Gregory.
45+
o Use assertThrows #475. Thanks to Jakub Kupczyk.
46+
47+
Changes:
48+
o Bump jimfs from 1.2 to 1.3.0 #465 (tests). Thanks to Dependabot.
49+
o Bump commons-parent from 58 to 62. Thanks to Gary Gregory.
50+
o Bump commons-lang3 from 3.12 to 3.13.0. Thanks to Gary Gregory.
51+
52+
Compatibility with 2.6:
53+
Binary compatible: Yes.
54+
Source compatible: Yes.
55+
Semantic compatible: Yes.
56+
57+
Commons IO 2.9.0 requires Java 8.
58+
Commons IO 2.8.0 requires Java 8.
59+
Commons IO 2.7 requires Java 8.
60+
Commons IO 2.6 requires Java 7.
61+
Commons IO 2.5 requires Java 6.
62+
Commons IO 2.4 requires Java 6.
63+
Commons IO 2.3 requires Java 6.
64+
Commons IO 2.2 requires Java 5.
65+
Commons IO 1.4 requires Java 1.3.
66+
67+
Historical list of changes: https://commons.apache.org/proper/commons-io/changes-report.html
68+
69+
For complete information on Apache Commons IO, including instructions on how to submit bug reports,
70+
patches, or suggestions for improvement, see the Apache Commons IO website:
71+
72+
https://commons.apache.org/proper/commons-io/
73+
74+
Download page: https://commons.apache.org/proper/commons-io/download_io.cgi
75+
76+
Have fun!
77+
-Apache Commons Team
78+
79+
==============================================================================
80+
181
Apache Commons IO
282
Version 2.13.0
383
Release Notes

src/changes/changes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The <action> type attribute can be add,update,fix,remove.
4747
</properties>
4848

4949
<body>
50-
<release version="2.14.0" date="2023-MM-DD" description="Java 8 required.">
50+
<release version="2.14.0" date="2023-09-24" description="Java 8 required.">
5151
<!-- FIX -->
5252
<action dev="ggregory" type="fix" issue="IO-799" due-to="Jeroen van der Vegt, Gary Gregory">
5353
ReaderInputStream.read() throws an exception instead of returning -1 when called again after returning -1.

src/changes/release-notes.vm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,5 @@ Download page: ${project.url}download_io.cgi
166166

167167
Have fun!
168168
-Apache Commons Team
169+
170+
==============================================================================

src/site/xdoc/download_io.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -113,32 +113,32 @@ limitations under the License.
113113
</p>
114114
</subsection>
115115
</section>
116-
<section name="Apache Commons IO 2.13.0 (requires Java 8)">
116+
<section name="Apache Commons IO 2.14.0 (requires Java 8)">
117117
<subsection name="Binaries">
118118
<table>
119119
<tr>
120-
<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>
121-
<td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.13.0-bin.tar.gz.sha512">sha512</a></td>
122-
<td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.13.0-bin.tar.gz.asc">pgp</a></td>
120+
<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>
121+
<td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.14.0-bin.tar.gz.sha512">sha512</a></td>
122+
<td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.14.0-bin.tar.gz.asc">pgp</a></td>
123123
</tr>
124124
<tr>
125-
<td><a href="[preferred]/commons/io/binaries/commons-io-2.13.0-bin.zip">commons-io-2.13.0-bin.zip</a></td>
126-
<td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.13.0-bin.zip.sha512">sha512</a></td>
127-
<td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.13.0-bin.zip.asc">pgp</a></td>
125+
<td><a href="[preferred]/commons/io/binaries/commons-io-2.14.0-bin.zip">commons-io-2.14.0-bin.zip</a></td>
126+
<td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.14.0-bin.zip.sha512">sha512</a></td>
127+
<td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.14.0-bin.zip.asc">pgp</a></td>
128128
</tr>
129129
</table>
130130
</subsection>
131131
<subsection name="Source">
132132
<table>
133133
<tr>
134-
<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>
135-
<td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.13.0-src.tar.gz.sha512">sha512</a></td>
136-
<td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.13.0-src.tar.gz.asc">pgp</a></td>
134+
<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>
135+
<td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.14.0-src.tar.gz.sha512">sha512</a></td>
136+
<td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.14.0-src.tar.gz.asc">pgp</a></td>
137137
</tr>
138138
<tr>
139-
<td><a href="[preferred]/commons/io/source/commons-io-2.13.0-src.zip">commons-io-2.13.0-src.zip</a></td>
140-
<td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.13.0-src.zip.sha512">sha512</a></td>
141-
<td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.13.0-src.zip.asc">pgp</a></td>
139+
<td><a href="[preferred]/commons/io/source/commons-io-2.14.0-src.zip">commons-io-2.14.0-src.zip</a></td>
140+
<td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.14.0-src.zip.sha512">sha512</a></td>
141+
<td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.14.0-src.zip.asc">pgp</a></td>
142142
</tr>
143143
</table>
144144
</subsection>

0 commit comments

Comments
 (0)