Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump csv from 2.5.0 to 3.2.1 #3847

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 29, 2024

Bumps csv from 2.5.0 to 3.2.1.

Changelog

Sourced from csv's changelog.

3.2.1 (2023-11-26)

3.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 CSV public API.
  • Strict mode: Exception messages can be unredacted using the unredact_exceptions option
  • Normal mode: Error messages can be redacted using the redact_errors option
  • Option to (un)redact exception messages [contributed in #122 by @​taylor-redden-papa

3.0.5 (2022-12-03)

  • Exclude dialyzer files from library package [contributed in #121 by @​milmazz

3.0.4 (2022-11-19)

3.0.3 (2022-11-04)

3.0.2 (2022-11-03)

3.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_transform option allows specifying functionality applied when decoding any field through a function
  • Escape characters can now be specified using the :escape_character option, 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_transform or outside the library
  • Better docs

Upgrading from 2.x

  • Parallelism has been removed, alongside its options :num_workers and :worker_work_ratio. You can safely remove them.
  • StrayQuoteError is now StrayEscapeCharacterError. If you catch this error in your code, you need to rename it.
  • The :strip_fields option needs to be replaced with the :field_transform option:
    File.stream!("data.csv") |> CSV.decode(field_transform: &String.trim/1)
  • :validate_row_length now defaults to false. This option produces an error for rows with different length. Set it to true to get the same behaviour as in 2.x
  • :escape_formulas is now :unescape_formulas for decode and decode!. It is still :escape_formulas for encode. Change :escape_formulas to :unescape_formulas in decode calls to get the same behaviour as in 2.x
  • :escape_max_lines now defaults to 10 instead of 1000. To get the same behaviour as in 2.x, use:

... (truncated)

Commits
  • 41616d7 Version bump
  • 85baadb Correct typespec for decode
  • 29bc8b7 Version bump
  • 63b5d88 Add redact errors option in normal mode
  • 4f76a8b Version bump
  • bd70ed2 Test against 1.15
  • c92ea24 Establish redacted exceptions as the default for strict mode
  • a3571ff lock dialyxir 1.3.0
  • d613548 revert ci.yml back to original
  • dc2c573 temporarily removing older versions of elixir to see if cicd will pass in newer
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Feb 29, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 18, 2024

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.

Bumps [csv](https://github.com/beatrichartz/csv) from 2.5.0 to 3.2.1.
- [Changelog](https://github.com/beatrichartz/csv/blob/main/CHANGELOG.md)
- [Commits](beatrichartz/csv@v2.5.0...v3.2.1)

---
updated-dependencies:
- dependency-name: csv
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@cnkk cnkk added the deploy-to-staging Special label that triggers a deploy to a staging environment label May 28, 2024
@cnkk cnkk added preview and removed preview labels May 28, 2024
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 deploy-to-staging Special label that triggers a deploy to a staging environment elixir Pull requests that update Elixir code preview
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant