This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [rubyzip](https://github.com/rubyzip/rubyzip) ([changelog](https://github.com/rubyzip/rubyzip/blob/v3.7.0/Changelog.md)) | `"~> 2.4"` → `"~> 3.0"` |  |  |
---
### Release Notes
<details>
<summary>rubyzip/rubyzip (rubyzip)</summary>
### [`v3.7.0`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#370-2026-09-18)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.6.0...v3.7.0)
- Add AES Encryption. [#​678](https://github.com/rubyzip/rubyzip/pull/678)
- Add methods to `Zip::File` for bulk adding and extraction of entries. [#​679](https://github.com/rubyzip/rubyzip/pull/679)
- Support setting the encoding of an `InputStream`. [#​668](https://github.com/rubyzip/rubyzip/pull/668)
Tooling/internal:
- Add an AGENTS.md for those using such.
- Attempt to fix transient failures in encryption tests.
### [`v3.6.0`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#360-2026-09-01)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.5.0...v3.6.0)
- Forward options from OutputStream.open without a block. [#​674](https://github.com/rubyzip/rubyzip/pull/674)
- Clamp DOS date and time to the range the fields can hold. [#​671](https://github.com/rubyzip/rubyzip/pull/671)
Tooling/internal:
- Unix owner ids no longer default to 0 (root).
- Legacy Unix owner ids no longer default to 0 (root).
- Handle short reads in `copy_stream_n`. [#​675](https://github.com/rubyzip/rubyzip/pull/675)
- Retain required Zip64 offset fields. [#​676](https://github.com/rubyzip/rubyzip/pull/676)
- Load openssl only when AES encryption is used. [#​672](https://github.com/rubyzip/rubyzip/pull/672)
### [`v3.5.0`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#350-2026-08-18)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.4.1...v3.5.0)
- Fix the link to Ruby doc in README to the latest version. [#​670](https://github.com/rubyzip/rubyzip/pull/670)
- Support passing decrypter to encrypted entry via get_input_stream. [#​667](https://github.com/rubyzip/rubyzip/pull/667)
### [`v3.4.1`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#341-2026-06-27)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.4.0...v3.4.1)
- Fixed `DecryptedIo` to only perform integrity once. [#​665](https://github.com/rubyzip/rubyzip/pull/665)
### [`v3.4.0`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#340-2026-06-14)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.3.1...v3.4.0)
- Prevent entries from being extracted outside specified directory. [#​664](https://github.com/rubyzip/rubyzip/issues/664). Thanks to [@​connorshea](https://github.com/connorshea) for additional reporting on this.
- Use `SecureRandom` in place of insecure `Random`.
- Stop reading the central directory on first error.
- Add a check on number of declared entries in a zip file. Thanks to [@​connorshea](https://github.com/connorshea) for reporting this.
- Add note to README re reporting security issues privately.
- Add lib/rubyzip.rb for Bundler auto-require. [#​660](https://github.com/rubyzip/rubyzip/pull/660)
Tooling/internal:
- Replace the test Excel spreadsheet fixture.
- Use `assert_silent` shorthand when expecting no output from a test.
- Clean up CentralDirectory instance variables.
- Add Ruby 4.0 to the Windows CI and update CI matrix in the README.
- List ZIP docs that we store here and link to online versions. [#​657](https://github.com/rubyzip/rubyzip/issues/657)
### [`v3.3.1`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#331-2026-05-30)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.3.0...v3.3.1)
- Reinstate default param for `InputStream#sysread`. [#​663](https://github.com/rubyzip/rubyzip/issues/663)
### [`v3.3.0`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#330-2026-05-02)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.2.2...v3.3.0)
- Refactor `InputStream` and `AbstractInputStream`.
[#​661](https://github.com/rubyzip/rubyzip/pull/661)
Tooling/internal:
- Update Actions to use checkout\@​v5.
- Add Ruby4.0 to the CI matrix. [#​659](https://github.com/rubyzip/rubyzip/pull/659)
### [`v3.2.2`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#322-2025-11-02)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.2.1...v3.2.2)
- Fix reading EOCDs when header signatures are in an Entry payload. [#​656](https://github.com/rubyzip/rubyzip/issues/656)
Tooling/internal:
- Stop using macos-13 runners in GitHub Actions.
- Update YJIT GitHub Actions runners.
### [`v3.2.1`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#321-2025-10-24)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.2.0...v3.2.1)
- Fix `Entry#gather_fileinfo_from_srcpath` error messages. [#​654](https://github.com/rubyzip/rubyzip/issues/654)
Tooling/internal:
- Add some simple benchmarks for reading the cdir.
### [`v3.2.0`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#320-2025-10-14)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.1.1...v3.2.0)
- Add option to suppress extra fields. [#​653](https://github.com/rubyzip/rubyzip/pull/653) (fixes [#​34](https://github.com/rubyzip/rubyzip/issues/34), [#​398](https://github.com/rubyzip/rubyzip/issues/398) and [#​648](https://github.com/rubyzip/rubyzip/issues/648))
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.
### [`v3.1.1`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#311-2025-09-26)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.1.0...v3.1.1)
- Improve the IO pipeline when decompressing. [#​649](https://github.com/rubyzip/rubyzip/pull/649) (which also fixes [#​647](https://github.com/rubyzip/rubyzip/issues/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](https://github.com/rubyzip/rubyzip/pull/646)
### [`v3.1.0`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#310-2025-09-06)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.0.2...v3.1.0)
- Support AES decryption. [#​579](https://github.com/rubyzip/rubyzip/pull/579) and [#​645](https://github.com/rubyzip/rubyzip/pull/645)
Tooling/internal:
- Add various useful zip specification documents to the repo for ease of finding them in the future. These are not included in the gem release.
### [`v3.0.2`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#302-2025-08-21)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.0.1...v3.0.2)
- Fix `InputStream#sysread` to handle frozen string literals. [#​643](https://github.com/rubyzip/rubyzip/pull/643)
- Ensure that we don't flush too often when deflating. [#​322](https://github.com/rubyzip/rubyzip/issues/322)
- Stop `print` causing Zlib errors. [#​642](https://github.com/rubyzip/rubyzip/issues/642)
- Ensure that `print` and `printf` return `nil`.
### [`v3.0.1`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#301-2025-08-08)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v3.0.0...v3.0.1)
- Restore `Zip::File`'s `Enumerable` status. [#​641](https://github.com/rubyzip/rubyzip/issues/641)
- Escape filename pattern when matching in `Entry#name_safe?`. [#​639](https://github.com/rubyzip/rubyzip/pull/639)
- Eagerly require gem version. [#​637](https://github.com/rubyzip/rubyzip/pull/637)
- Fix direct `require` of `Entry` by requiring `constants`. [#​636](https://github.com/rubyzip/rubyzip/pull/636)
### [`v3.0.0`](https://github.com/rubyzip/rubyzip/blob/HEAD/Changelog.md#300-2025-07-28)
[Compare Source](https://github.com/rubyzip/rubyzip/compare/v2.4.1...v3.0.0)
- Fix de facto regression for input streams.
- Fix `File#write_buffer` to always return the given `io`.
- Add `Entry#absolute_time?` and `DOSTime#absolute_time?` methods.
- Use explicit named parameters for `File` methods.
- Ensure that entries can be extracted safely without path traversal. [#​540](https://github.com/rubyzip/rubyzip/issues/540)
- Enable Zip64 by default.
- Rename `GPFBit3Error` to `StreamingError`.
- Ensure that `Entry.ftype` is correct via `InputStream`. [#​533](https://github.com/rubyzip/rubyzip/issues/533)
- Add `Entry#zip64?` as a better way detect Zip64 entries.
- Implement `Zip::FileSystem::ZipFsFile#symlink?`.
- Remove `File::add_buffer` from the API.
- Fix `OutputStream#put_next_entry` to preserve `StreamableStream`s. [#​503](https://github.com/rubyzip/rubyzip/issues/503)
- Ensure `File.open_buffer` doesn't rewrite unchanged data.
- Add `CentralDirectory#count_entries` and `File::count_entries`.
- Fix reading unknown extra fields. [#​505](https://github.com/rubyzip/rubyzip/issues/505)
- Fix reading zip files with max length file comment. [#​508](https://github.com/rubyzip/rubyzip/issues/508)
- Fix reading zip64 files with max length file comment. [#​509](https://github.com/rubyzip/rubyzip/issues/509)
- Don't silently alter zip files opened with `Zip::sort_entries`. [#​329](https://github.com/rubyzip/rubyzip/issues/329)
- Use named parameters for optional arguments in the public API.
- Raise an error if entry names exceed 65,535 characters. [#​247](https://github.com/rubyzip/rubyzip/issues/247)
- Remove the `ZipXError` v1 legacy classes.
- Raise an error on reading a split archive with `InputStream`. [#​349](https://github.com/rubyzip/rubyzip/issues/349)
- Ensure `InputStream` raises `GPFBit3Error` for OSX Archive files. [#​493](https://github.com/rubyzip/rubyzip/issues/493)
- Improve documentation and error messages for `InputStream`. [#​196](https://github.com/rubyzip/rubyzip/issues/196)
- Fix zip file-level comment is not read from zip64 files. [#​492](https://github.com/rubyzip/rubyzip/issues/492)
- Fix `Zip::OutputStream.write_buffer` doesn't work with Tempfiles. [#​265](https://github.com/rubyzip/rubyzip/issues/265)
- Reinstate normalising pathname separators to /. [#​487](https://github.com/rubyzip/rubyzip/pull/487)
- Fix restore options consistency. [#​486](https://github.com/rubyzip/rubyzip/pull/486)
- View and/or preserve original date created, date modified? (Windows). [#​336](https://github.com/rubyzip/rubyzip/issues/336)
- Fix frozen string literal error. [#​475](https://github.com/rubyzip/rubyzip/pull/475)
- Set the default `Entry` time to the file's mtime on Windows. [#​465](https://github.com/rubyzip/rubyzip/issues/465)
- Ensure that `Entry#time=` sets times as `DOSTime` objects. [#​481](https://github.com/rubyzip/rubyzip/issues/481)
- Replace and deprecate `Zip::DOSTime#dos_equals`. [#​464](https://github.com/rubyzip/rubyzip/pull/464)
- Fix loading extra fields. [#​459](https://github.com/rubyzip/rubyzip/pull/459)
- Set compression level on a per-zipfile basis. [#​448](https://github.com/rubyzip/rubyzip/pull/448)
- Fix input stream partial read error. [#​462](https://github.com/rubyzip/rubyzip/pull/462)
- Fix zlib deflate buffer growth. [#​447](https://github.com/rubyzip/rubyzip/pull/447)
Tooling/internal:
- No longer test setting `$\` in tests.
- Add a test to ensure correct version number format.
- Update the README with new Ruby version compatability information.
- Fix various issues with JRuby tests.
- Update gem dependency versions.
- Add Ruby 3.4 to the CI.
- Fix mispelled variable names in the crypto classes.
- Only use the Zip64 CDIR end locator if needed.
- Prevent unnecessary Zip64 data being stored.
- Abstract marking various things as 'dirty' into `Dirtyable` for reuse.
- Properly test `File#mkdir`.
- Remove unused private method `File#directory?`.
- Expose the `EntrySet` more cleanly through `CentralDirectory`.
- `Zip::File` no longer subclasses `Zip::CentralDirectory`.
- Configure Coveralls to not report a failure on minor decreases of test coverage. [#​491](https://github.com/rubyzip/rubyzip/issues/491)
- Extract the file splitting code out into its own module.
- Refactor, and tidy up, the `Zip::Filesystem` classes for improved maintainability.
- Fix Windows tests. [#​489](https://github.com/rubyzip/rubyzip/pull/489)
- Refactor `assert_forwarded` so it does not need `ObjectSpace._id2ref` or `eval`. [#​483](https://github.com/rubyzip/rubyzip/pull/483)
- Add GitHub Actions CI infrastructure. [#​469](https://github.com/rubyzip/rubyzip/issues/469)
- Add Ruby 3.0 to CI. [#​474](https://github.com/rubyzip/rubyzip/pull/474)
- Fix the compression level tests to compare relative sizes. [#​473](https://github.com/rubyzip/rubyzip/pull/473)
- Simplify assertions in basic_zip_file_test. [#​470](https://github.com/rubyzip/rubyzip/pull/470)
- Remove compare_enumerables from test_helper.rb. [#​468](https://github.com/rubyzip/rubyzip/pull/468)
- Use correct SPDX license identifier. [#​458](https://github.com/rubyzip/rubyzip/pull/458)
- Enable truffle ruby in Travis CI. [#​450](https://github.com/rubyzip/rubyzip/pull/450)
- Update rubocop again and run it in CI. [#​444](https://github.com/rubyzip/rubyzip/pull/444)
- Fix a test that was incorrect on big-endian architectures. [#​445](https://github.com/rubyzip/rubyzip/pull/445)
</details>
---
### Configuration
📅 **Schedule**: (in timezone Europe/Bratislava)
- Branch creation
- At any time (no schedule defined)
- 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45OS4wIiwidXBkYXRlZEluVmVyIjoiNDQuMjA5LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
"~> 2.4"→"~> 3.0"Release Notes
rubyzip/rubyzip (rubyzip)
v3.7.0Compare Source
Zip::Filefor bulk adding and extraction of entries. #679InputStream. #668Tooling/internal:
v3.6.0Compare Source
Tooling/internal:
copy_stream_n. #675v3.5.0Compare Source
v3.4.1Compare Source
DecryptedIoto only perform integrity once. #665v3.4.0Compare Source
SecureRandomin place of insecureRandom.Tooling/internal:
assert_silentshorthand when expecting no output from a test.v3.3.1Compare Source
InputStream#sysread. #663v3.3.0Compare Source
InputStreamandAbstractInputStream.#661
Tooling/internal:
v3.2.2Compare Source
Tooling/internal:
v3.2.1Compare Source
Entry#gather_fileinfo_from_srcpatherror messages. #654Tooling/internal:
v3.2.0Compare Source
Tooling/internal:
OutputStream.Unknownextra field has a superclass.v3.1.1Compare Source
Tooling/internal:
DecryptedIoclass with various updates and optimizations.NullDecrypterclass.v3.1.0Compare Source
Tooling/internal:
v3.0.2Compare Source
InputStream#sysreadto handle frozen string literals. #643printcausing Zlib errors. #642printandprintfreturnnil.v3.0.1Compare Source
Zip::File'sEnumerablestatus. #641Entry#name_safe?. #639requireofEntryby requiringconstants. #636v3.0.0Compare Source
File#write_bufferto always return the givenio.Entry#absolute_time?andDOSTime#absolute_time?methods.Filemethods.GPFBit3ErrortoStreamingError.Entry.ftypeis correct viaInputStream. #533Entry#zip64?as a better way detect Zip64 entries.Zip::FileSystem::ZipFsFile#symlink?.File::add_bufferfrom the API.OutputStream#put_next_entryto preserveStreamableStreams. #503File.open_bufferdoesn't rewrite unchanged data.CentralDirectory#count_entriesandFile::count_entries.Zip::sort_entries. #329ZipXErrorv1 legacy classes.InputStream. #349InputStreamraisesGPFBit3Errorfor OSX Archive files. #493InputStream. #196Zip::OutputStream.write_bufferdoesn't work with Tempfiles. #265Entrytime to the file's mtime on Windows. #465Entry#time=sets times asDOSTimeobjects. #481Zip::DOSTime#dos_equals. #464Tooling/internal:
$\in tests.Dirtyablefor reuse.File#mkdir.File#directory?.EntrySetmore cleanly throughCentralDirectory.Zip::Fileno longer subclassesZip::CentralDirectory.Zip::Filesystemclasses for improved maintainability.assert_forwardedso it does not needObjectSpace._id2reforeval. #483Configuration
📅 Schedule: (in timezone Europe/Bratislava)
🚦 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.
This PR has been generated by Mend Renovate CLI.
55c914400eto88b575b60b