Skip to content

Bump commons-csv from 1.8 to 1.10.0 - #91

Open
dependabot[bot] wants to merge 2440 commits into
2.xfrom
dependabot/maven/org.apache.commons-commons-csv-1.10.0
Open

dependabot[bot] wants to merge 2440 commits into
2.xfrom
dependabot/maven/org.apache.commons-commons-csv-1.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 1, 2023

Copy link
Copy Markdown

Bumps commons-csv from 1.8 to 1.10.0.

Changelog

Sourced from commons-csv's changelog.

                    Apache Commons CSV
                    Version 1.10.0
                    Release Notes

INTRODUCTION:

This document contains the release notes for the 1.10.0 version of Apache Commons CSV. Commons CSV reads and writes files in variations of the Comma Separated Value (CSV) format.

Commons CSV requires at least Java 8.

The Apache Commons CSV library provides a simple interface for reading and writing CSV files of various types.

Feature and bug fix release (Java 8)

Changes in this version include:

NEW FEATURES

o CSV-291: Make CSVRecord#values() public. Thanks to Gary Gregory. o CSV-264: Add DuplicateHeaderMode for flexibility with header strictness. #114. Thanks to Sagar Tiwari, Seth Falco, Alex Herbert, Gary Gregory. o CSV-295: Support for parallelism in CSVPrinter. Thanks to Gary Gregory. o CSV-295: Add CSVPrinter.printRecords. Thanks to Gary Gregory. o CSV-304: Add accessors for header/trailer comments #257. Thanks to Peter Hull, Bruno P. Kinoshita, Gary Gregory. o Add github/codeql-action.

FIXED BUGS

o Minor changes #172. Thanks to Arturo Bernal. o CSV-292: No Automatic-Module-Name prevents usage in JPMS projects without repacking the JAR. Thanks to Rob Vesse. o CSV-288: Fix for multi-char delimiter not working as expected #218. Thanks to Santhsoh, Angus. o CSV-269: CSVRecord.get(Enum) should use Enum.name() instead of Enum.toString(). Thanks to Auke te Winkel, Gary Gregory. o Allow org.apache.commons.csv.IOUtils.copy(Reader, Appendable, CharBuffer) to compile on Java 11 and run on Java 8. Thanks to Gary Gregory. o CSV-300: CSVRecord.toList() does not give write access to the new List. Thanks to Markus Spann, Gary Gregory. o CSVParser.getRecords() now throws UncheckedIOException instead of IOException. Thanks to Gary Gregory. o CSV-274: Add comments to iterator() and stream() #270. Thanks to Peter Hull, Bruno P. Kinoshita, Gary Gregory. o CSV-290: Fix wrong assumptions in PostgreSQL formats #265. Thanks to angusdev, Gary Gregory. o Validate input to setDelimiter(String) for empty string #266. Thanks to Mykola Faryma. o Bump CSVFormat#serialVersionUID from 1 to 2. Thanks to Dependabot. o CSVParser: Identify duplicates in null, empty and blank header names #279. Thanks to Alex Herbert.

CHANGES

o Bump actions/cache from 2.1.6 to 3.0.10 #196, #233, #243, #267, #271. Thanks to Dependabot, Gary Gregory. o Bump actions/checkout from 2.3.4 to 3.1.0 #188, #195, #220, #272. Thanks to Dependabot, Gary Gregory. o Bump actions/setup-java from 2 to 3.5.1. Thanks to Gary Gregory.

... (truncated)

Commits
  • 5b99c86 Update POM version for Apache release 1.10.0
  • ba8ba60 Merge branch 'master' into release
  • 4ee216c Prepare for release candidate
  • c69016a Sort members
  • f00b91b Add assert as sanity check
  • 347c872 Port some code from IO to NIO APIs
  • 30329ab Add new CSV file to RAT exclusion check
  • ecda215 Tests CSV-141 and PR 295
  • 1269c13 Tests CSV-141 and PR 295
  • c22ff41 Revert "Add support for trailing text after the closing quote, for Excel comp...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

jvz and others added 30 commits June 18, 2022 17:44
Signed-off-by: Matt Sicker <mattsicker@apache.org>
Signed-off-by: Matt Sicker <mattsicker@apache.org>
Now this test takes several seconds to run rather than a minute.

Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <mattsicker@apache.org>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <mattsicker@apache.org>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <mattsicker@apache.org>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <mattsicker@apache.org>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <mattsicker@apache.org>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <mattsicker@apache.org>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <mattsicker@apache.org>
Signed-off-by: Matt Sicker <mattsicker@apache.org>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <mattsicker@apache.org>
Signed-off-by: Matt Sicker <mattsicker@apache.org>
Only one test needs write permission to `MarkerManager`
If these classes use the same logger, they can not be run concurrently.
The `ExtensionContextAnchor` extension can be auto-discovered by JUnit
5, if autodiscovery is enabled. It will be used whenever a static access
to per-test objects is needed.
A JUnit5 extension is provided to restore the default
ThreadContextFactory after the test finishes.
A `PropertiesUtil#reload()` switched the `ThreadContext` to inheritable
permanently.
Signed-off-by: Matt Sicker <mattsicker@apache.org>
- Magic constants
- Redundant comparisons
- Make inner class static

Signed-off-by: Matt Sicker <mattsicker@apache.org>
Signed-off-by: Matt Sicker <mattsicker@apache.org>
Signed-off-by: Matt Sicker <mattsicker@apache.org>
This avoids some potential NullPointerExceptions according to static code analysis.

Signed-off-by: Matt Sicker <mattsicker@apache.org>
After the merge between `LifeCycle` and `LifeCycle2` some tests broke.
If the tests of a module fail, allow other test suites to run.
jvz and others added 26 commits November 12, 2022 18:45
Signed-off-by: Matt Sicker <mattsicker@apache.org>
Signed-off-by: Matt Sicker <mattsicker@apache.org>
Signed-off-by: Matt Sicker <mattsicker@apache.org>
Clean up static config in SimpleLogger/StatusLogger
Using compareAndSet with getAcquire sort of defeats the purpose of the fence as it uses volatile get which has stronger memory safety than getAcquire.

Signed-off-by: Matt Sicker <mattsicker@apache.org>
This adds a Lazy variant where the supplier function is a pure function. Given a pure function, memory reordering semantics are mostly irrelevant, so this can both safely recompute the value and publish more than one resulting computed reference as the results should all be the same value.

This updates JSON encoding cache tables to use Lazy::pure.

Signed-off-by: Matt Sicker <mattsicker@apache.org>
Signed-off-by: Matt Sicker <mattsicker@apache.org>
This pulls together all the various property names used in log4j-core into a central class. Future property names are documented in these classes for future work with enhancing properties.

This also migrates a few tests to JUnit 5 while updating them to use the centralized properties class. Other tests were updated to more consistently set and clear system properties when using JUnit 4 along with more direct use of LoggerContextRule.

Signed-off-by: Matt Sicker <mattsicker@apache.org>
Signed-off-by: Matt Sicker <mattsicker@apache.org>
After having failed CI randomly more than once, off to disabled land you go until someone can fix the test to be deterministic.

Signed-off-by: Matt Sicker <mattsicker@apache.org>
Signed-off-by: Matt Sicker <mattsicker@apache.org>
Signed-off-by: Matt Sicker <mattsicker@apache.org>
Signed-off-by: Matt Sicker <mattsicker@apache.org>
Log4j2's Marker#getParents() does actually return `null` instead of an
empty array.
This PR adds a minimal amount of methods to simplify flow
tracing with `LogBuilder`. E.g.:

```
logger.traceEntry("a={}, b={}", 1, 42);
```

can be now rewrittent as:

```
logger.atTrace()
      .withMarker(AbstractLogger.ENTRY_MARKER)
      .logAndGet(() -> {
           LoggingSystem.getFlowMessageFactory()
                        .newEntryMessage("a={}, b={}", 1, 42);
       });
```

The latter can be easily perfomed by a bytecode manipulation tool.
Bumps [commons-csv](https://github.com/apache/commons-csv) from 1.8 to 1.10.0.
- [Release notes](https://github.com/apache/commons-csv/releases)
- [Changelog](https://github.com/apache/commons-csv/blob/master/RELEASE-NOTES.txt)
- [Commits](apache/commons-csv@rel/commons-csv-1.8...rel/commons-csv-1.10.0)

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-csv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.