Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 6, 2025

Bumps smarter_csv from 1.9.0 to 1.14.3.

Changelog

Sourced from smarter_csv's changelog.

1.14.3 (2025-05-04)

  • Improved C-extension parsing logic:
    • Added fast path for unquoted fields to avoid unnecessary quote checks.
    • Aded inline whitespace stripping inside the C parser
  • Performance
    • Significantly reduced per-line overhead in non-quoted, wide CSVs (e.g. fixed-width data exports).
    • Benchmarks show ~10–40% speedup over v1.14.2 depending on structure and quoting.

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:

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

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels May 6, 2025
@CraigJZ
Copy link
Collaborator

CraigJZ commented May 23, 2025

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/bundler/smarter_csv-1.14.3 branch from 5652f21 to 89d68cd Compare May 23, 2025 19:28
Bumps [smarter_csv](https://github.com/tilo/smarter_csv) from 1.9.0 to 1.14.3.
- [Changelog](https://github.com/tilo/smarter_csv/blob/main/CHANGELOG.md)
- [Commits](tilo/smarter_csv@v1.9.0...v1.14.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/smarter_csv-1.14.3 branch from 89d68cd to 83948e5 Compare May 27, 2025 20:46
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 30, 2025

Superseded by #1020.

@dependabot dependabot bot closed this May 30, 2025
@dependabot dependabot bot deleted the dependabot/bundler/smarter_csv-1.14.3 branch May 30, 2025 00:44
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.

2 participants