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

chore(deps): update dependency smarter_csv to v1.13.1 #537

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 5, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
smarter_csv (changelog) 1.8.5 -> 1.13.1 age adoption passing confidence

Release Notes

tilo/smarter_csv (smarter_csv)

v1.13.1

Compare Source

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

v1.13.0

Compare Source

v1.12.1

Compare Source

  • Improved column separator detection by ignoring quoted sections #​276 (thanks to Nicolas Castellanos)

v1.12.0

Compare Source

  • Added Thread-Safety: added SmarterCSV::Reader to process CSV files in a thread-safe manner (issue #​277)
    • SmarterCSV::Writer changed default row separator to the system's row separator (\n on Linux, \r\n on Windows)

    • added a doc tree

    • POTENTIAL ISSUE:

      Version 1.12.x has a change of the underlying implementation of SmarterCSV.process(file_or_input, options, &block).
      Underneath it now uses this interface:

        reader = SmarterCSV::Reader.new(file_or_input, options)
      

either simple one-liner:

    data = reader.process

or block format:

    data = reader.process do 

do something here

    end
  ```
It still supports calling `SmarterCSV.process` for backwards-compatibility, but it no longer provides access to the internal state, e.g. raw_headers.

  `SmarterCSV.raw_headers` -> `reader.raw_headers`
  `SmarterCSV.headers` -> `reader.headers`

If you need these features, please update your code to create an instance of `SmarterCSV::Reader` as shown above.

v1.11.2

Compare Source

  • fixing missing errors definition

v1.11.0

Compare Source

  • added SmarterCSV::Writer to output CSV files (issue #​44)

v1.10.3

  • fixed issue when frozen options are handed in (thanks to Daniel Pepper)
    • cleaned-up rspec tests (thanks to Daniel Pepper)
    • fixed link in README (issue #​251)

v1.10.2

  • improve error message for missing keys

v1.10.1

Compare Source

  • fix incorrect warning about UTF-8 (issue #​268, thanks hirowatari)

v1.10.0

Compare Source

  • BREAKING CHANGES:

    Changed behavior:

    • when user_provided_headers are provided:
      • if they are not unique, an exception will now be raised
      • they are taken "as is", no header transformations can be applied
      • when they are given as strings or as symbols, it is assumed that this is the desired format
      • the value of the strings_as_keys options will be ignored
    • option duplicate_header_suffix now defaults to '' instead of nil.
      • this allows automatic disambiguation when processing of CSV files with duplicate headers, by appending a number
      • explicitly set this option to nil to get the behavior from previous versions.
    • performance and memory improvements
    • code refactor

v1.9.3

Compare Source

  • raise SmarterCSV::IncorrectOption when user_provided_headers are empty
    • code refactor / no functional changes
    • added test cases

v1.9.2

Compare Source

  • fixed bug with '\' at end of line (issue #​252, thanks to averycrespi-moz)
    • fixed require statements (issue #​249, thanks to PikachuEXE, courtsimas)

v1.9.0

Compare Source

  • fixed issue #​139

    • Error SmarterCSV::MissingHeaders was renamed to SmarterCSV::MissingKeys

    • CHANGED BEHAVIOR:
      When key_mapping option is used. (issue #​139)
      Previous versions just printed an error message when a CSV header was missing during key mapping.
      Versions >= 1.9 will throw SmarterCSV::MissingHeaders listing all headers that were missing during mapping.

    • Notable details for key_mapping and required_headers:

      • key_mapping is applied to the headers early on during SmarterCSV.process, and raises an error if a header in the input CSV file is missing, and we can not map that header to its desired name.

      Mapping errors can be surpressed by using:

      • silence_missing_keys set to true, which silence all such errors, making all headers for mapping optional.

      • silence_missing_keys given an Array with the specific header keys that are optional
        The use case is that some header fields are optional, but we still want them renamed if they are present.

      • required_headers checks which headers are present after key_mapping was applied.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added dependencies Pull requests that update a dependency file renovate labels Sep 5, 2023
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from 5e5d745 to 754f04f Compare October 31, 2023 02:10
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.9.0 chore(deps): update dependency smarter_csv to v1.9.1 Oct 31, 2023
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.9.1 chore(deps): update dependency smarter_csv to v1.9.0 Nov 1, 2023
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from 754f04f to e886c6f Compare November 12, 2023 18:33
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.9.0 chore(deps): update dependency smarter_csv to v1.9.2 Nov 12, 2023
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.9.2 chore(deps): update dependency smarter_csv to v1.9.3 Dec 16, 2023
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from e886c6f to 71e34e7 Compare December 16, 2023 19:27
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from 71e34e7 to baa7cf8 Compare December 31, 2023 19:30
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.9.3 chore(deps): update dependency smarter_csv to v1.10.0 Dec 31, 2023
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from baa7cf8 to 76a6a87 Compare January 8, 2024 00:10
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.10.0 chore(deps): update dependency smarter_csv to v1.10.1 Jan 8, 2024
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from 76a6a87 to 1f966b3 Compare February 11, 2024 23:04
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.10.1 chore(deps): update dependency smarter_csv to v1.10.2 Feb 11, 2024
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from 1f966b3 to a6e6248 Compare March 10, 2024 21:18
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.10.2 chore(deps): update dependency smarter_csv to v1.10.3 Mar 10, 2024
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from a6e6248 to 6d0f195 Compare July 2, 2024 14:15
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.10.3 chore(deps): update dependency smarter_csv to v1.11.0 Jul 2, 2024
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from 6d0f195 to 7d0fd12 Compare July 5, 2024 12:18
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.11.0 chore(deps): update dependency smarter_csv to v1.11.1 Jul 5, 2024
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from 7d0fd12 to 9b87dc0 Compare July 6, 2024 05:01
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.11.1 chore(deps): update dependency smarter_csv to v1.11.2 Jul 6, 2024
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from 9b87dc0 to e1eda8d Compare July 10, 2024 03:02
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.11.2 chore(deps): update dependency smarter_csv to v1.12.0 Jul 10, 2024
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from e1eda8d to 840223e Compare July 10, 2024 08:11
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.12.0 chore(deps): update dependency smarter_csv to v1.12.1 Jul 10, 2024
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.12.1 chore(deps): update dependency smarter_csv to v1.12.1 - autoclosed Jul 23, 2024
@renovate renovate bot closed this Jul 23, 2024
@renovate renovate bot deleted the renovate/smarter_csv-1.x-lockfile branch July 23, 2024 05:14
@renovate renovate bot restored the renovate/smarter_csv-1.x-lockfile branch July 28, 2024 13:57
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.12.1 - autoclosed chore(deps): update dependency smarter_csv to v1.12.1 Jul 28, 2024
@renovate renovate bot reopened this Jul 28, 2024
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from 840223e to 407b7b1 Compare November 6, 2024 02:09
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.12.1 chore(deps): update dependency smarter_csv to v1.13.0 Nov 6, 2024
@renovate renovate bot force-pushed the renovate/smarter_csv-1.x-lockfile branch from 407b7b1 to 7db7324 Compare December 12, 2024 23:07
@renovate renovate bot changed the title chore(deps): update dependency smarter_csv to v1.13.0 chore(deps): update dependency smarter_csv to v1.13.1 Dec 12, 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 renovate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants