forked from pool/apache-commons-csv
Compare commits
8 Commits
Author | SHA256 | Date | |
---|---|---|---|
acde76a067 | |||
d817d76abb | |||
0d51bbdf05 | |||
ab92d93100 | |||
2849969ca4 | |||
92c9a9e8d2 | |||
eecb2e8d58 | |||
c8f2bb3085 |
@@ -1,3 +1,146 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 30 10:46:37 UTC 2025 - Gus Kenion <gus.kenion@suse.com>
|
||||||
|
|
||||||
|
- Upgrade to version 1.14.0
|
||||||
|
* New Features
|
||||||
|
+ Define and use Maven property commons.jmh.version.
|
||||||
|
+ Add CSVFormat.Builder.setMaxRows(long).
|
||||||
|
+ Add CSVFormat.getMaxRows().
|
||||||
|
+ CSVPrinter.printRecords(ResultSet) knows how to use
|
||||||
|
CSVFormat's maxRows.
|
||||||
|
+ CSVPrinter.printRecords(Iterable) knows how to use
|
||||||
|
CSVFormat's maxRows.
|
||||||
|
+ CSVPrinter.printRecords(Stream) knows how to use CSVFormat's
|
||||||
|
maxRows.
|
||||||
|
+ CSVParser.stream() knows how to use CSVFormat's maxRows.
|
||||||
|
+ CSVParser.getRecords() knows how to use CSVFormat's maxRows.
|
||||||
|
+ CSVParser.iterator() knows how to use CSVFormat's maxRows.
|
||||||
|
* Fixed Bugs
|
||||||
|
+ CSV-317: Release history link changed from
|
||||||
|
changes-report.html to changes.html #516.
|
||||||
|
+ Remove -nouses directive from maven-bundle-plugin. OSGi
|
||||||
|
package imports now state 'uses' definitions for package
|
||||||
|
imports, this doesn't affect JPMS (from
|
||||||
|
org.apache.commons:commons-parent:80).
|
||||||
|
+ CSVParser.parse(URL, Charset, CSVFormat) with a null
|
||||||
|
CSVFormat maps to CSVFormat.DEFAULT (like
|
||||||
|
CSVParser.parse(Reader, CSVFormat)).
|
||||||
|
+ CSVParser.parse(String, CSVFormat) with a null CSVFormat maps
|
||||||
|
to CSVFormat.DEFAULT (like CSVParser.parse(Reader,
|
||||||
|
CSVFormat)).
|
||||||
|
+ CSVParser.parse(File, Charset, CSVFormat) with a null
|
||||||
|
CSVFormat maps to CSVFormat.DEFAULT (like
|
||||||
|
CSVParser.parse(Reader, CSVFormat)).
|
||||||
|
+ CSVParser.parse(Path, Charset, CSVFormat) with a null
|
||||||
|
CSVFormat maps to CSVFormat.DEFAULT (like
|
||||||
|
CSVParser.parse(Reader, CSVFormat)).
|
||||||
|
+ CSVParser.parse(InputStream, Charset, CSVFormat) with a null
|
||||||
|
CSVFormat maps to CSVFormat.DEFAULT (like
|
||||||
|
CSVParser.parse(Reader, CSVFormat)).
|
||||||
|
+ CSVParser.parse(*) methods with a null Charset maps to
|
||||||
|
Charset.defaultCharset().
|
||||||
|
+ Fix possible NullPointerException in Token.toString().
|
||||||
|
* Changes
|
||||||
|
+ Bump com.opencsv:opencsv from 5.9 to 5.10.
|
||||||
|
+ Bump commons-codec:commons-codec from 1.17.2 to 1.18.0 #522.
|
||||||
|
+ Bump org.apache.commons:commons-parent from 79 to 81.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 24 15:23:21 UTC 2025 - Gus Kenion <gus.kenion@suse.com>
|
||||||
|
|
||||||
|
- Update to version 1.13.0
|
||||||
|
* New Features
|
||||||
|
+ CSV-313: Add CSVPrinter.getRecordCount().
|
||||||
|
+ Add and use CSVParser.Builder and builder() and deprecate
|
||||||
|
CSVParser constructors.
|
||||||
|
+ CSVFormat.Builder implements Supplier<CSVFormat>.
|
||||||
|
+ Deprecate CSVFormat.Builder.build() for get().
|
||||||
|
+ CSV-196: Track byte position #502.
|
||||||
|
* Fixed Bugs
|
||||||
|
+ CSV-314: Required OSGi Import-Package version numbers in
|
||||||
|
MANIFEST.MF #504.
|
||||||
|
+ CSV-314: CSVParser.nextRecord() should throw CSVException (an
|
||||||
|
IOException subclass) instead of IOException and
|
||||||
|
IllegalStateException, no method signature changes needed.
|
||||||
|
* Changes
|
||||||
|
+ Bump org.apache.commons:commons-parent from 76 to 78 #486,
|
||||||
|
#495.
|
||||||
|
+ Bump org.codehaus.mojo:taglist-maven-plugin from 3.1.0 to
|
||||||
|
3.2.1 #493.
|
||||||
|
+ Bump commons-io:commons-io from 2.17.0 to 2.18.0 #505.
|
||||||
|
+ Bump commons-codec:commons-codec from 1.17.1 to 1.17.2.
|
||||||
|
+ Bump org.apache.commons:commons-parent from 78 to 79.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 14 03:59:35 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.12.0
|
||||||
|
* New Features
|
||||||
|
+ CSV-270: Add CSVException that extends IOException thrown on
|
||||||
|
invalid input instead of IOException.
|
||||||
|
* Fixed Bugs
|
||||||
|
+ Fix PMD issues for port to PMD 7.1.0.
|
||||||
|
+ Fix some Javadoc links #442.
|
||||||
|
+ Extract duplicated code into a method #444.
|
||||||
|
+ Migrate CSVFormat#print(File, Charset) to NIO #445.
|
||||||
|
+ Fix documentation for CSVFormat private constructor #466.
|
||||||
|
+ CSV-294: CSVFormat does not support explicit " as escape
|
||||||
|
char.
|
||||||
|
+ CSV-150: Escaping is not disableable.
|
||||||
|
+ Fix Javadoc warnings on Java 23.
|
||||||
|
+ Improve parser performance by up to 20%, YMMV.
|
||||||
|
* Changes
|
||||||
|
+ Bump commons-codec:commons-codec from 1.16.1 to 1.17.1 #422,
|
||||||
|
#449.
|
||||||
|
+ Bump org.apache.commons:commons-parent from 69 to 75 #435,
|
||||||
|
#452, #465, #468, #475.
|
||||||
|
+ Bump org.codehaus.mojo:taglist-maven-plugin from 3.0.0 to
|
||||||
|
3.1.0 #441.
|
||||||
|
+ Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.17.0
|
||||||
|
#450, #459, #470.
|
||||||
|
+ Bump org.hamcrest:hamcrest from 2.2 to 3.0 #455.
|
||||||
|
+ Bump commons-io:commons-io from 2.16.1 to 2.17.0 #476.
|
||||||
|
- Apply fdupes to javadoc directory
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 12 09:14:07 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
|
||||||
|
|
||||||
|
- Update to version 1.11.0:
|
||||||
|
* New Features:
|
||||||
|
+ [Javadoc] Add example to CSVFormat#setHeaderComments() #344.
|
||||||
|
Fixes CSV-308.
|
||||||
|
+ Add and use CSVFormat#setTrailingData(boolean) in
|
||||||
|
CSVFormat.EXCEL for Excel compatibility #303.
|
||||||
|
+ Add and use CSVFormat#setLenientEof(boolean) in
|
||||||
|
CSVFormat.EXCEL for Excel compatibility #303.
|
||||||
|
* Fixes:
|
||||||
|
+ Replace deprecated method in user guide, update external link
|
||||||
|
#324, #325. Fixes CSV-306.
|
||||||
|
+ Document duplicate header behavior #309.
|
||||||
|
+ Add missing docs #328.
|
||||||
|
+ [StepSecurity] CI: Harden GitHub Actions #329, #330.
|
||||||
|
+ Better error message during faulty CSV record read #347.
|
||||||
|
Fixes CSV-147.
|
||||||
|
+ Misleading error message when QuoteMode set to None #352.
|
||||||
|
Fixes CSV-310.
|
||||||
|
+ OutOfMemory for very long rows despite using column value of
|
||||||
|
type Reader. Fixes CSV-311.
|
||||||
|
+ Use try-with-resources to manage JDBC Clob in
|
||||||
|
CSVPrinter.printRecords(ResultSet).
|
||||||
|
+ JDBC Blob columns are now output as Base64 instead of
|
||||||
|
Object#toString(), which usually is InputStream#toString().
|
||||||
|
+ Support unusual Excel use cases: Add support for trailing
|
||||||
|
data after the closing quote, and EOF without a final closing
|
||||||
|
quote #303.
|
||||||
|
+ MongoDB CSV empty first column parsing fix #412.
|
||||||
|
* Update dependencies:
|
||||||
|
+ Bump commons-io:commons-io: from 2.11.0 to 2.16.1 #408, #413.
|
||||||
|
+ Bump commons-parent from 57 to 69 #410.
|
||||||
|
+ Bump h2 from 2.1.214 to 2.2.224 #333, #349, #359.
|
||||||
|
+ Bump commons-lang3 from 3.12.0 to 3.14.0.
|
||||||
|
+ Update exception message in CSVRecord#getNextRecord() #348.
|
||||||
|
+ Bump tests using com.opencsv:opencsv from 5.8 to 5.9 #373.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 9 09:12:04 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
Sat Sep 9 09:12:04 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package apache-commons-csv
|
# spec file for package apache-commons-csv
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: apache-commons-csv
|
Name: apache-commons-csv
|
||||||
Version: 1.10.0
|
Version: 1.14.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A library to read and write files in variations of the Comma Separated Value (CSV) format
|
Summary: A library to read and write files in variations of the Comma Separated Value (CSV) format
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@@ -52,6 +52,7 @@ This package contains the API documentation for %{name}.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
|
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%license LICENSE.txt NOTICE.txt
|
%license LICENSE.txt NOTICE.txt
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7db273c164b26d45d0c0d9c0e895fcba86262074afd96b5ae336691aa0ce4b56
|
|
||||||
size 36988710
|
|
3
commons-csv-1.14.0-src.tar.gz
Normal file
3
commons-csv-1.14.0-src.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a95a7ccf44b9fb028958bf5bb289e3f1f2eabb1459b430639f2831a094c79a9b
|
||||||
|
size 37002418
|
Reference in New Issue
Block a user