Bump csv from 2.5.0 to 3.2.1
Bumps csv from 2.5.0 to 3.2.1.
Changelog
Sourced from csv's changelog.
3.2.1 (2023-11-26)
- Correct typespec for decode, reported in #125 by
@AntoineAugusti3.2.0 (2023-09-24)
- Strict mode: Exception messages of thrown exceptions are now redacted by default to avoid data unintentionally leaking into logs. This behaviour change is not considered to be breaking backwards compatibility since source data presented in exception messages is not considered part of the
CSVpublic API.- Strict mode: Exception messages can be unredacted using the
unredact_exceptionsoption- Normal mode: Error messages can be redacted using the
redact_errorsoption- Option to (un)redact exception messages [contributed in #122 by
@taylor-redden-papa3.0.5 (2022-12-03)
3.0.4 (2022-11-19)
- Add missing
escape_max_linesto decode options typespec [closes #120](beatrichartz/csv#120)3.0.3 (2022-11-04)
- Ensure that reparsing of lines with stray escape characters does not produce duplicate error output [closes #119](beatrichartz/csv#119)
- Deduplication of type specs [in #118](beatrichartz/csv#118) contributed by
@joseph-lozano- Documentation fixes and improvements contributed by
@jamesvlin #1153.0.2 (2022-11-03)
- Ensure that escaped fields as the last field on the last line without a newline are included in the results - [fixes #117](beatrichartz/csv#117) raised by
@superhawk6103.0.1 (2022-10-25)
- Ensure that stray escape quotes and unterminated escape sequences on a last line without a newline produce errors
3.0.0 (2022-10-25)
- The parallel parser/lexer with a binary matching parser with better performance.
- A new
:field_transformoption allows specifying functionality applied when decoding any field through a function- Escape characters can now be specified using the
:escape_characteroption, this [Closes #59](beatrichartz/csv#59)- The library will now reparse lines that follow e.g. an unterminated escape sequence. This ensures that all possible valid rows will be returned in normal mode
- Encoding checks have been removed because they can either be done using
:field_transformor outside the library- Better docs
Upgrading from 2.x
- Parallelism has been removed, alongside its options
:num_workersand:worker_work_ratio. You can safely remove them.StrayQuoteErroris nowStrayEscapeCharacterError. If you catch this error in your code, you need to rename it.- The
:strip_fieldsoption needs to be replaced with the:field_transformoption:File.stream!("data.csv") |> CSV.decode(field_transform: &String.trim/1):validate_row_lengthnow defaults tofalse. This option produces an error for rows with different length. Set it totrueto get the same behaviour as in 2.x:escape_formulasis now:unescape_formulasfordecodeanddecode!. It is still:escape_formulasforencode. Change:escape_formulasto:unescape_formulasindecodecalls to get the same behaviour as in 2.x:escape_max_linesnow defaults to10instead of1000. To get the same behaviour as in 2.x, use:
... (truncated)
Commits
41616d7Version bump85baadbCorrect typespec for decode29bc8b7Version bump63b5d88Add redact errors option in normal mode4f76a8bVersion bumpbd70ed2Test against 1.15c92ea24Establish redacted exceptions as the default for strict modea3571fflock dialyxir 1.3.0d613548revert ci.yml back to originaldc2c573temporarily removing older versions of elixir to see if cicd will pass in newer- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.
@dependabot rebase
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!
If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.
I think csv has been replaced with nimble_csv
https://github.com/plausible/analytics/pull/4183
@dependabot recreate
Looks like csv is no longer a dependency, so this is no longer needed.