Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 11, 2025

Bumps smarter_csv from 1.9.0 to 1.14.2.

Changelog

Sourced from smarter_csv's changelog.

1.14.2 (2025-04-10)

  • bugfix: SmarterCSV::Writer fixing corner case with quote_headers: true (issue 301)
  • new option: header_converter allows to programatically modify the headers

1.14.1 (2025-04-09)

  • bugfix: SmarterCSV::Writer empty hash results in a blank line (issue 299)
  • bugfix: SmarterCSV::Writer need to automatically quote problematic headers ([issue #300](tilo/smarter_csv#300))
  • new option: quote_headers allows to explicitly quote all headers

1.14.0 (2025-04-07)

  • adding advanced configuration options for writing CSV files. (issue 297 thanks to Robert Reiz, issue 296)

1.13.1 (2024-12-12)

  • fix bug with SmarterCSV.generate with force_quotes: true (issue 294)

1.13.0 (2024-11-06) ⚡ POTENTIALLY BREAKING ⚡

CHANGED DEFAULT BEHAVIOR

The changes are to improve robustness and to reduce the risk of data loss

  • implementing auto-detection of extra columns (thanks to James Fenley)

  • improved handling of unbalanced quote_char in input (issue 288) thanks to Simon Rentzke), and (issue 283) thanks to James Fenley, Randall B, Matthew Kennedy) -> SmarterCSV will now raise SmarterCSV::MalformedCSV for unbalanced quote_char.

  • bugfix / improved handling of extra columns in input data (issue 284) (thanks to James Fenley)

    • previous behavior: when a CSV row had more columns than listed in the header, the additional columns were ignored

    • new behavior:

      • new default behavior is to auto-generate additional headers, e.g. :column_7, :column_8, etc
      • you can set option :strict to true in order to get a SmarterCSV::MalformedCSV exception instead
  • setting user_provided_headers now implies headers_in_file: false (issue 282)

    The option user_provided_headers can be used to specify headers when there are none in the input, OR to completely override headers that are in the input (file).

    SmarterCSV is now using a safer default behavior.

    • previous behavior: Setting user_provided_headers did not change the default headers_in_file: true If the input had no headers, this would cause the first line to be erroneously treated as a header, and the user could lose the first row of data.

    • new behavior: Setting user_provided_headers setsheaders_in_file: false a) Improved behavior if there was no header in the input data. b) If there was a header in the input data, and user_provided_headers is used to override the headers in the file, then please explicitly specify headers_in_file: true, otherwise you will get an extra hash which includes the header data.

... (truncated)

Commits

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 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)

Bumps [smarter_csv](https://github.com/tilo/smarter_csv) from 1.9.0 to 1.14.2.
- [Changelog](https://github.com/tilo/smarter_csv/blob/main/CHANGELOG.md)
- [Commits](tilo/smarter_csv@v1.9.0...v1.14.2)

---
updated-dependencies:
- dependency-name: smarter_csv
  dependency-version: 1.14.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Apr 11, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 6, 2025

Superseded by #1001.

@dependabot dependabot bot closed this May 6, 2025
@dependabot dependabot bot deleted the dependabot/bundler/smarter_csv-1.14.2 branch May 6, 2025 01:02
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 ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant