Skip to content

Commit 342547b

Browse files
committed
Prepare for the next release candidate
1 parent e9d466e commit 342547b

File tree

5 files changed

+83
-24
lines changed

5 files changed

+83
-24
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@
4141
Contributing to Apache Commons CSV
4242
======================
4343

44-
You have found a bug or you have an idea for a cool new feature? Contributing code is a great way to give something back to
45-
the open source community. Before you dig right into the code there are a few guidelines that we need contributors to
46-
follow so that we can have a chance of keeping on top of things.
44+
Have you found a bug or have an idea for a cool new feature? Contributing code is a great way to give something back to the open-source community.
45+
Before you dig right into the code, we need contributors to follow a few guidelines to have a chance of keeping on top of things.
4746

4847
Getting Started
4948
---------------
@@ -62,7 +61,7 @@ Making Changes
6261

6362
+ Create a _topic branch_ for your isolated work.
6463
* Usually you should base your branch on the `master` branch.
65-
* A good topic branch name can be the JIRA bug id plus a keyword, e.g. `CSV-123-InputStream`.
64+
* A good topic branch name can be the JIRA bug ID plus a keyword, e.g. `CSV-123-InputStream`.
6665
* If you have submitted multiple JIRA issues, try to maintain separate branches and pull requests.
6766
+ Make commits of logical units.
6867
* Make sure your commit messages are meaningful and in the proper format. Your commit message should contain the key of the JIRA issue.
@@ -72,7 +71,7 @@ Making Changes
7271
+ 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 first.
7372
+ Check for unnecessary whitespace with `git diff` -- check before committing.
7473
+ Make sure you have added the necessary tests for your changes, typically in `src/test/java`.
75-
+ Run all the tests with `mvn clean verify` to assure nothing else was accidentally broken.
74+
+ Run all the tests with `mvn clean verify` to ensure nothing else was accidentally broken.
7675

7776
Making Trivial Changes
7877
----------------------

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Apache Commons CSV
4545

4646
[![Java CI](https://github.com/apache/commons-csv/actions/workflows/maven.yml/badge.svg)](https://github.com/apache/commons-csv/actions/workflows/maven.yml)
4747
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-csv/badge.svg?gav=true)](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-csv/?gav=true)
48-
[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-csv/1.11.0.svg)](https://javadoc.io/doc/org.apache.commons/commons-csv/1.11.0)
48+
[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-csv/1.12.0.svg)](https://javadoc.io/doc/org.apache.commons/commons-csv/1.12.0)
4949
[![CodeQL](https://github.com/apache/commons-csv/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/apache/commons-csv/actions/workflows/codeql-analysis.yml)
5050
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/apache/commons-csv/badge)](https://api.securityscorecards.dev/projects/github.com/apache/commons-csv)
5151

@@ -62,20 +62,20 @@ Getting the latest release
6262
--------------------------
6363
You can download source and binaries from our [download page](https://commons.apache.org/proper/commons-csv/download_csv.cgi).
6464

65-
Alternatively, you can pull it from the central Maven repositories:
65+
Alternatively, you can pull it from the central Maven repositories:
6666

6767
```xml
6868
<dependency>
6969
<groupId>org.apache.commons</groupId>
7070
<artifactId>commons-csv</artifactId>
71-
<version>1.11.0</version>
71+
<version>1.12.0</version>
7272
</dependency>
7373
```
7474

7575
Building
7676
--------
7777

78-
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
78+
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
7979
The required Java version is found in the `pom.xml` as the `maven.compiler.source` property.
8080

8181
From a command shell, run `mvn` without arguments to invoke the default Maven goal to run all tests and checks.
@@ -88,7 +88,9 @@ There are some guidelines which will make applying PRs easier for us:
8888
+ No tabs! Please use spaces for indentation.
8989
+ Respect the existing code style for each file.
9090
+ 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.
91-
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running ```mvn```.
91+
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`.
92+
+ Before you pushing a PR, run `mvn` (by itself), this runs the default goal, which contains all build checks.
93+
+ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false`
9294

9395
If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas).
9496
You can learn more about contributing via GitHub in our [contribution guidelines](CONTRIBUTING.md).

RELEASE-NOTES.txt

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,61 @@
1+
Apache Commons CSV
2+
Version 1.12.0
3+
Release Notes
4+
5+
This document contains the release notes for the 1.12.0 version of Apache Commons CSV.
6+
Commons CSV reads and writes files in variations of the Comma Separated Value (CSV) format.
7+
8+
Commons CSV requires at least Java 8.
9+
10+
The Apache Commons CSV library provides a simple interface for reading and writing CSV files of various types.
11+
12+
Feature and bug fix release (Java 8 or above)
13+
14+
Changes in this version include:
15+
16+
New Features
17+
------------
18+
19+
* CSV-270: Add CSVException that extends IOException thrown on invalid input instead of IOException. Thanks to Thomas Kamps, Gary Gregory.
20+
21+
Fixed Bugs
22+
----------
23+
24+
* Fix PMD issues for port to PMD 7.1.0. Thanks to Gary Gregory.
25+
* Fix some Javadoc links #442. Thanks to Dávid Szigecsán, Gary Gregory.
26+
* Extract duplicated code into a method #444. Thanks to Dávid Szigecsán.
27+
* Migrate CSVFormat#print(File, Charset) to NIO #445. Thanks to Dávid Szigecsán.
28+
* Fix documentation for CSVFormat private constructor #466. Thanks to Dávid Szigecsán.
29+
* CSV-294: CSVFormat does not support explicit " as escape char. Thanks to Joern Huxhorn, Gary Gregory.
30+
* CSV-150: Escaping is not disableable. Thanks to dota17, Gary Gregory, Jörn Huxhorn.
31+
* Fix Javadoc warnings on Java 23. Thanks to Gary Gregory.
32+
* Improve parser performance by up to 20%, YMMV. Thanks to Gary Gregory.
33+
34+
Changes
35+
-------
36+
37+
* Bump commons-codec:commons-codec from 1.16.1 to 1.17.1 #422, #449. Thanks to Dependabot.
38+
* Bump org.apache.commons:commons-parent from 69 to 75 #435, #452, #465, #468, #475. Thanks to Gary Gregory.
39+
* Bump org.codehaus.mojo:taglist-maven-plugin from 3.0.0 to 3.1.0 #441. Thanks to Gary Gregory.
40+
* Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.17.0 #450, #459, #470. Thanks to Gary Gregory.
41+
* Bump org.hamcrest:hamcrest from 2.2 to 3.0 #455. Thanks to Gary Gregory.
42+
* Bump commons-io:commons-io from 2.16.1 to 2.17.0 #476. Thanks to Gary Gregory, Dependabot.
43+
44+
45+
Historical list of changes: https://commons.apache.org/proper/commons-csv/changes-report.html
46+
47+
For complete information on Apache Commons CSV, including instructions on how to submit bug reports,
48+
patches, or suggestions for improvement, see the Apache Commons CSV website:
49+
50+
https://commons.apache.org/proper/commons-csv/
51+
52+
Download page: https://commons.apache.org/proper/commons-csv/download_csv.cgi
53+
54+
Have fun!
55+
-Apache Commons CSV team
56+
57+
------------------------------------------------------------------------------
58+
159
Apache Commons CSV Version 1.11.0
260
Release Notes
361

src/changes/changes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<title>Apache Commons CSV Release Notes</title>
4141
</properties>
4242
<body>
43-
<release version="1.12.0" date="YYYY-MM-DD" description="Feature and bug fix release (Java 8 or above)">
43+
<release version="1.12.0" date="2024-09-21" description="Feature and bug fix release (Java 8 or above)">
4444
<!-- ADD -->
4545
<action type="add" issue="CSV-270" dev="ggregory" due-to="Thomas Kamps, Gary Gregory">Add CSVException that extends IOException thrown on invalid input instead of IOException.</action>
4646
<!-- FIX -->

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

0 commit comments

Comments
 (0)