Skip to content

build(deps): bump rubyzip from 3.1.0 to 3.3.0#985

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/rubyzip-3.3.0
Open

build(deps): bump rubyzip from 3.1.0 to 3.3.0#985
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/rubyzip-3.3.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Bumps rubyzip from 3.1.0 to 3.3.0.

Release notes

Sourced from rubyzip's releases.

v3.3.0

Version 3.3.0

The 3.3.x line ensures that Zip::InputStream behaves more like standard Ruby IO classes.

⚠️ There are breaking changes in the 3.x series ⚠️

Please see the README and Updating to version 3.x in the wiki for help upgrading from version 2.4.x to version 3.x.

v3.2.2

Version 3.2.2

The 3.2.x line adds the ability to suppress extra fields when creating new Zip files.

⚠️ There are breaking changes in the 3.x series ⚠️

Please see the README and Updating to version 3.x in the wiki for help upgrading from version 2.4.x to version 3.x.

v3.2.1

Version 3.2.1

The 3.2.x line adds the ability to suppress extra fields when creating new Zip files.

⚠️ There are breaking changes in the 3.x series ⚠️

Please see the README and Updating to version 3.x in the wiki for help upgrading from version 2.4.x to version 3.x.

v3.2.0

Version 3.2.0

The 3.2.x line adds the ability to suppress extra fields when creating new Zip files.

⚠️ There are breaking changes in the 3.x series ⚠️

Please see the README and Updating to version 3.x in the wiki for help upgrading from version 2.4.x to version 3.x.

v3.1.1

Version 3.1.1

The 3.1.x line adds AES decryption.

⚠️ There are breaking changes in the 3.x series ⚠️

Please see the README and Updating to version 3.x in the wiki for help upgrading from version 2.4.x to version 3.x.

Changelog

Sourced from rubyzip's changelog.

3.3.0 (2026-05-02)

  • Refactor InputStream and AbstractInputStream. #661

Tooling/internal:

  • Update Actions to use checkout@v5.
  • Add Ruby4.0 to the CI matrix. #659

3.2.2 (2025-11-02)

  • Fix reading EOCDs when header signatures are in an Entry payload. #656

Tooling/internal:

  • Stop using macos-13 runners in GitHub Actions.
  • Update YJIT GitHub Actions runners.

3.2.1 (2025-10-24)

  • Fix Entry#gather_fileinfo_from_srcpath error messages. #654

Tooling/internal:

  • Add some simple benchmarks for reading the cdir.

3.2.0 (2025-10-14)

Tooling/internal:

  • Entry: clean up reading and writing the Central Directory headers.
  • Improve Zip64 tests for OutputStream.
  • Extra fields: use symbols as indices as opposed to strings.
  • Ensure that Unknown extra field has a superclass.

3.1.1 (2025-09-26)

  • Improve the IO pipeline when decompressing. #649 (which also fixes #647)

Tooling/internal:

  • Improve the DecryptedIo class with various updates and optimizations.
  • Remove the NullDecrypter class.
  • Properly convert the test suite to use minitest.
  • Move all test helper code into separate files.
  • Updates to the Actions CI, including new OS versions.
  • Update rubocop versions and fix resultant cop failures. #646
Commits
  • 1e7982e Update copyright year in LICENSE.md.
  • cc366ba Update version number and Changelog for release.
  • c67d99f Document InputStream fully.
  • 4ac8d35 Test AbstractInputStream#read fully.
  • 19635d4 Tidy up AbstractInputStreamTest test data.
  • 6d7231a Update usage of InputStream#read in other tests.
  • 8f823b8 Refactor AbstractInputStream#readlines.
  • 52a91b5 Refactor AbstractInputStream#each_line.
  • ceecacd Fix how AbstractInputStream#gets updates lineno.
  • 6dea2c6 Stop using a 'global' io in the AbstractInputStream tests.
  • Additional commits viewable in compare view

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 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 [rubyzip](https://github.com/rubyzip/rubyzip) from 3.1.0 to 3.3.0.
- [Release notes](https://github.com/rubyzip/rubyzip/releases)
- [Changelog](https://github.com/rubyzip/rubyzip/blob/main/Changelog.md)
- [Commits](rubyzip/rubyzip@v3.1.0...v3.3.0)

---
updated-dependencies:
- dependency-name: rubyzip
  dependency-version: 3.3.0
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels May 4, 2026
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown

@codacy-production codacy-production Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

The PR attempts to upgrade rubyzip to version 3.3.0, which is currently not available on the official RubyGems registry (where the latest stable release is 2.3.2). This is a critical blocker that will cause build failures in standard environments and may indicate a dependency configuration error or a security risk.

Although the Codacy analysis is technically 'up to standards', this is likely due to the limited scope of static analysis on a lockfile. There is a significant gap in acceptance criteria as the PR provides no evidence of manual verification or new automated tests to cover the refactored InputStream logic mentioned in the PR description. Until the version validity and functional compatibility are confirmed, this PR should not be merged.

About this PR

  • The PR description mentions breaking changes and refactors in the 3.x series, specifically affecting InputStream and AbstractInputStream. However, there are no accompanying test changes or evidence of manual verification to ensure that application features relying on zip creation or extraction remain functional.

Test suggestions

  • Verify that application features utilizing Zip::InputStream still function correctly given the 3.3.0 refactor for IO compatibility.
  • Regression test existing zip creation and extraction logic to ensure compatibility with the updated dependency.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that application features utilizing Zip::InputStream still function correctly given the 3.3.0 refactor for IO compatibility.
2. Regression test existing zip creation and extraction logic to ensure compatibility with the updated dependency.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

Comment thread Gemfile.lock
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
rubyzip (3.1.0)
rubyzip (3.3.0)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 HIGH RISK

The version 3.3.0 for rubyzip is not available on the official RubyGems registry (latest is 2.3.2). This update will cause bundle install to fail in environments relying on public sources and may represent a security risk. Please verify the intended version and source.

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.

0 participants