Skip to content

chore(deps): update dependency csv to v3.3.7 - #92

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/csv-3.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/csv-3.x

Conversation

@renovate

@renovate renovate Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
csv (changelog) "3.3.5" → "3.3.7" age confidence

Release Notes

ruby/csv (csv)

v3.3.7: csv 3.3.7 - 2026-10-28

Compare Source

Improvements
  • Improved documents.

    • GH-376
    • Patch by Oskar Eichler
  • Improved error handling.

Thanks
  • Oskar Eichler

  • sswander

v3.3.6: csv 3.3.6 - 2026-07-27

Compare Source

Improvements
  • CSV::Row#to_h: Added support for block.

  • Ensured using path_or_io for parameter name that accepts path or
    IO.

    • GH-358
    • Patch by Yuto Urushima
  • Changed to not using enumerator in CSV.

Fixes
  • Fixed a bug that \r in unquoted fields are rejected when row
    separator doesn't contain \r

  • Fixed a typo in documentation.

Thanks
  • Jas
  • tmr111116
  • Vlad
  • Yuto Urushima
  • Cas Donoghue

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, 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.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgem/​csv@​3.3.5 ⏵ 3.3.793 +1100100100100

View full report

@github-actions

Copy link
Copy Markdown

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

Version Jump: CSV v3.3.5 → v3.3.7 (includes intermediate v3.3.6)

v3.3.6 Changes (July 27, 2026):

  • CSV::Row#to_h Block Support: Added ability to pass a block to CSV::Row#to_h, providing consistency with Ruby's standard Hash#to_h behavior. This eliminates workarounds like row.entries.to_h { ... }
  • Parameter Naming Consistency: Standardized parameter names to use path_or_io across methods that accept file paths or IO objects
  • Enumerator Removal: Refactored to eliminate enumerator usage for performance improvements
  • Parser Fix: Resolved a long-standing bug (chore(main): release 0.11.0 #60) where carriage return (\r) characters in unquoted fields were incorrectly rejected when the row separator didn't contain \r
  • Documentation Typo Fix: Corrected line_no → lineno in documentation

v3.3.7 Changes (October 28, 2026):

  • Documentation Improvements: Enhanced documentation quality (GH-376)
  • Error Handling Improvements: Better error handling based on community feedback (GH-378, GH-379)

Breaking Changes: None identified across both releases

Security Fixes: No CSV-specific security vulnerabilities. Note: CVE-2026-132825 affects the Ruby interpreter itself (heap overflow in string case conversion), not the CSV gem.

🎯 Impact Scope Investigation

Direct Usage Locations:

  1. Gemfile Definition: /home/runner/work/sandbox/sandbox/internal/sandbox/defaults/ruby/Gemfile - Pre-installed gem for Ruby sandbox runtime
  2. E2E Test Coverage: /home/runner/work/sandbox/sandbox/e2e/tests/runtime/ruby.yml - 5 comprehensive test cases covering:
    • CSV.parse with headers (line 524)
    • CSV.generate with quoting (line 550)
    • Custom column separator (TSV parsing) (lines 580, 583)
    • Round-trip serialization/deserialization (lines 615-616)

API Methods Used in Codebase:

  • CSV.parse(input, headers: true) - Core parsing with header support
  • CSV.parse(input, col_sep: "\t", headers: true) - Custom separator parsing
  • CSV.generate { |csv| ... } - CSV generation with blocks
  • Row field access via hash syntax: row['name'], row['age'], etc.

New Features Compatibility:

  • CSV::Row#to_h block support is a backward-compatible addition (not used in current codebase)
  • Parser carriage return fix improves compatibility without breaking existing behavior
  • No API deprecations or removals

Dependency Impact:

  • No transitive dependency changes in Gemfile.lock
  • Only checksum update for the csv gem itself: 6e5134ac3383ef728b7f02725d9872934f523cb40b961479f69cf3afa6c8e73f → 15a3f16f6628da8664d455eb634e7f22031bcf53044923caf56975109e71b9f8

Configuration & Environment Impact:

  • No changes required to nsjail configuration
  • No changes to Ruby runtime setup in Docker
  • No impact on sandbox execution model

💡 Recommended Actions

Immediate Actions:

  1. ✅ Approve and merge - This is a safe, backward-compatible update with bug fixes and improvements
  2. ✅ No code changes required - All existing CSV usage patterns remain valid
  3. ✅ No test updates needed - Existing E2E tests comprehensively cover the CSV functionality and will continue to pass

Optional Enhancements (not required for merge):

  • Consider adding a test case for the new CSV::Row#to_h block support to verify it works correctly in the sandbox environment
  • Consider adding a test case for the carriage return fix to validate the parser improvement

Post-Merge Validation:

  • Run the existing E2E test suite to confirm all 5 CSV-related test cases pass:
    • "pre-installed gem csv parse with headers"
    • "pre-installed gem csv generate with quoting"
    • "pre-installed gem csv custom column separator"
    • "pre-installed gem csv round-trip via parse and generate"
  • Verify Docker build completes successfully with updated Gemfile.lock checksums

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

0 participants