Commit 348f9fc
taca
archivers/ruby-zip: update to 3.2.2
3.0.0 (2025-07-28)
* 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
* Enable Zip64 by default.
* Rename GPFBit3Error to StreamingError.
* Ensure that Entry.ftype is correct via InputStream. #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 StreamableStreams. #503
* Ensure File.open_buffer doesn't rewrite unchanged data.
* Add CentralDirectory#count_entries and File::count_entries.
* Fix reading unknown extra fields. #505
* Fix reading zip files with max length file comment. #508
* Fix reading zip64 files with max length file comment. #509
* Don't silently alter zip files opened with Zip::sort_entries. #329
* Use named parameters for optional arguments in the public API.
* Raise an error if entry names exceed 65,535 characters. #247
* Remove the ZipXError v1 legacy classes.
* Raise an error on reading a split archive with InputStream. #349
* Ensure InputStream raises GPFBit3Error for OSX Archive files. #493
* Improve documentation and error messages for InputStream. #196
* Fix zip file-level comment is not read from zip64 files. #492
* Fix Zip::OutputStream.write_buffer doesn't work with Tempfiles. #265
* Reinstate normalising pathname separators to /. #487
* Fix restore options consistency. #486
* View and/or preserve original date created, date modified? (Windows). #336
* Fix frozen string literal error. #475
* Set the default Entry time to the file's mtime on Windows. #465
* Ensure that Entry#time= sets times as DOSTime objects. #481
* Replace and deprecate Zip::DOSTime#dos_equals. #464
* Fix loading extra fields. #459
* Set compression level on a per-zipfile basis. #448
* Fix input stream partial read error. #462
* Fix zlib deflate buffer growth. #447
Tooling/internal: (Ommited)
3.0.1 (2025-08-08)
* Restore Zip::File's Enumerable status. #641
* Escape filename pattern when matching in Entry#name_safe?. #639
* Eagerly require gem version. #637
* Fix direct require of Entry by requiring constants. #636
3.0.2 (2025-08-21)
* Fix InputStream#sysread to handle frozen string literals. #643
* Ensure that we don't flush too often when deflating. #322
* Stop print causing Zlib errors. #642
* Ensure that print and printf return nil.
3.1.0 (2025-09-06)
* Support AES decryption. #579 and #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.
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
3.2.0 (2025-10-14)
* Add option to suppress extra fields. #653 (fixes #34, #398 and #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.
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.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.1 parent dea77d2 commit 348f9fc
3 files changed
Lines changed: 20 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | | - | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| 30 | + | |
26 | 31 | | |
27 | | - | |
28 | 32 | | |
| 33 | + | |
29 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
30 | 40 | | |
31 | 41 | | |
32 | 42 | | |
| |||
41 | 51 | | |
42 | 52 | | |
43 | 53 | | |
| 54 | + | |
44 | 55 | | |
45 | 56 | | |
46 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments