Skip to content

Commit 5e3a4f1

Browse files
committed
Prepare for release candidate
1 parent 117e219 commit 5e3a4f1

4 files changed

Lines changed: 89 additions & 17 deletions

File tree

README.md

Lines changed: 3 additions & 3 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.12.0.svg)](https://javadoc.io/doc/commons-io/commons-io/2.12.0)
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)
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

@@ -64,13 +64,13 @@ Where can I get the latest release?
6464
-----------------------------------
6565
You can download source and binaries from our [download page](https://commons.apache.org/proper/commons-io/download_io.cgi).
6666

67-
Alternatively, you can pull it from the central Maven repositories:
67+
Alternatively, you can pull it from the central Maven repositories:
6868

6969
```xml
7070
<dependency>
7171
<groupId>commons-io</groupId>
7272
<artifactId>commons-io</artifactId>
73-
<version>2.12.0</version>
73+
<version>2.13.0</version>
7474
</dependency>
7575
```
7676

RELEASE-NOTES.txt

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,79 @@
1+
Apache Commons IO
2+
Version 2.13.0
3+
Release Notes
4+
5+
INTRODUCTION:
6+
7+
Commons IO is a package of Java utility classes like java.io.
8+
Classes in this package are considered to be so standard and of such high
9+
reuse as to justify existence in java.io.
10+
11+
The Apache Commons IO library contains utility classes, stream implementations, file filters,
12+
file comparators, endian transformation classes, and much more.
13+
14+
Java 8 required.
15+
16+
Changes in this version include:
17+
18+
New features:
19+
o Add CharSequenceInputStream.Builder. Thanks to Gary Gregory.
20+
o Add ChunkedOutputStream.Builder. Thanks to Gary Gregory.
21+
o Add AbstractStreamBuilder.setOpenOptions(OpenOption...). Thanks to Gary Gregory.
22+
o Add some missing conversions to AbstractOrigin subclasses. Thanks to Gary Gregory.
23+
o Add AbstractOrigin.getByteArray(long, int). Thanks to Gary Gregory.
24+
o Add and use RandomAccessFiles. Thanks to Gary Gregory.
25+
o Add AbstractOrigin.size(). Thanks to Gary Gregory.
26+
o Add PathUtils.EMPTY_FILE_ATTRIBUTE_ARRAY. Thanks to Gary Gregory.
27+
o Add CharSequenceInputStream.Builder.setCharsetEncoder(CharsetEncoder). Thanks to Gary Gregory.
28+
o Add CharsetEncoders.toCharsetEncoder(CharsetEncoder, Supplier<CharsetEncoder>). Thanks to Gary Gregory.
29+
30+
Fixed Bugs:
31+
o IO-791: Regression in FileUtils.touch() - no longer creates parent directories. Thanks to Chad Wilson, Gary Gregory.
32+
o ByteArrayOrigin should be able convert a byte[] to a ByteArrayInputStream. Thanks to Gary Gregory.
33+
o AbstractOriginSupplier.checkOrigin() now throws IllegalStateException instead of NullPointerException. Thanks to Gary Gregory.
34+
o IO-796: FileAlreadyExistsException in PathUtils.createParentDirectories(Path, LinkOption, FileAttribute...). Thanks to Giacomo Boccardo, Gary Gregory.
35+
o Only read the relevant portion of a file in AbstractOrigin.FileOrigin.getByteArray(long, int) Thanks to Gary Gregory.
36+
o Only read the relevant portion of a file in AbstractOrigin.PathOrigin.getByteArray(long, int) Thanks to Gary Gregory.
37+
o IO-798: DeferredFileOutputStream throws exception when system temp dir is a symlink. Thanks to Shai Shapira, Gary Gregory.
38+
o ReaderInputStream.Builder.setCharsetEncoder(null) should reset to a default object, not throw an NPE. Thanks to Gary Gregory.
39+
o ReaderInputStream.Builder.setCharset(null) should reset to a default object, not throw an NPE. Thanks to Gary Gregory.
40+
41+
Changes:
42+
o Bump commons-parent from 57 to 58. Thanks to Gary Gregory, Dependabot.
43+
44+
Compatibility with 2.6:
45+
Binary compatible: Yes.
46+
Source compatible: Yes.
47+
Semantic compatible: Yes.
48+
49+
Commons IO 2.9.0 requires Java 8.
50+
Commons IO 2.8.0 requires Java 8.
51+
Commons IO 2.7 requires Java 8.
52+
Commons IO 2.6 requires Java 7.
53+
Commons IO 2.5 requires Java 6.
54+
Commons IO 2.4 requires Java 6.
55+
Commons IO 2.3 requires Java 6.
56+
Commons IO 2.2 requires Java 5.
57+
Commons IO 1.4 requires Java 1.3.
58+
59+
Historical list of changes: https://commons.apache.org/proper/commons-io/changes-report.html
60+
61+
For complete information on Apache Commons IO, including instructions on how to submit bug reports,
62+
patches, or suggestions for improvement, see the Apache Commons IO website:
63+
64+
https://commons.apache.org/proper/commons-io/
65+
66+
Download page: https://commons.apache.org/proper/commons-io/download_io.cgi
67+
68+
Have fun!
69+
-Apache Commons Team
70+
171
Apache Commons IO
272
Version 2.12.0
373
Release Notes
474

75+
==============================================================================
76+
577
INTRODUCTION:
678

779
Commons IO is a package of Java utility classes like java.io.

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.13.0" date="2023-MM-DD" description="Java 8 required.">
50+
<release version="2.13.0" date="2023-06-03" description="Java 8 required.">
5151
<!-- FIX -->
5252
<action issue="IO-791" dev="ggregory" type="fix" due-to="Chad Wilson, Gary Gregory">
5353
Regression in FileUtils.touch() - no longer creates parent directories.

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.12.0 (requires Java 8)">
116+
<section name="Apache Commons IO 2.13.0 (requires Java 8)">
117117
<subsection name="Binaries">
118118
<table>
119119
<tr>
120-
<td><a href="[preferred]/commons/io/binaries/commons-io-2.12.0-bin.tar.gz">commons-io-2.12.0-bin.tar.gz</a></td>
121-
<td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.12.0-bin.tar.gz.sha512">sha512</a></td>
122-
<td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.12.0-bin.tar.gz.asc">pgp</a></td>
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>
123123
</tr>
124124
<tr>
125-
<td><a href="[preferred]/commons/io/binaries/commons-io-2.12.0-bin.zip">commons-io-2.12.0-bin.zip</a></td>
126-
<td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.12.0-bin.zip.sha512">sha512</a></td>
127-
<td><a href="https://downloads.apache.org/commons/io/binaries/commons-io-2.12.0-bin.zip.asc">pgp</a></td>
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>
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.12.0-src.tar.gz">commons-io-2.12.0-src.tar.gz</a></td>
135-
<td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.12.0-src.tar.gz.sha512">sha512</a></td>
136-
<td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.12.0-src.tar.gz.asc">pgp</a></td>
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>
137137
</tr>
138138
<tr>
139-
<td><a href="[preferred]/commons/io/source/commons-io-2.12.0-src.zip">commons-io-2.12.0-src.zip</a></td>
140-
<td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.12.0-src.zip.sha512">sha512</a></td>
141-
<td><a href="https://downloads.apache.org/commons/io/source/commons-io-2.12.0-src.zip.asc">pgp</a></td>
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>
142142
</tr>
143143
</table>
144144
</subsection>

0 commit comments

Comments
 (0)