Releases: rubyzip/rubyzip
Releases · rubyzip/rubyzip
v3.0.1
v3.0.0
Version 3.0.0
Please see the README and Updating to version 3.x in the wiki for help upgrading from version 2.4.x to version 3.0.0.
v2.4.1
v2.3.2
v2.3.1
v2.3.0
v2.2.0
v2.1.0
- Fix (at least partially) the
restore_times
andrestore_permissions
options toZip::File.new
#413- Previously, neither option did anything, regardless of what it was set to. We have therefore defaulted them to
false
to preserve the current behavior, for the time being. If you have explicitly set either totrue
, it will now have an effect. - Fix handling of UniversalTime (
mtime
,atime
,ctime
) fields. #421 - Previously,
Zip::File
did not pass the options toZip::Entry
in some cases. #423 - Note that
restore_times
in this release does nothing on Windows and only restoresmtime
, notatime
orctime
.
- Previously, neither option did anything, regardless of what it was set to. We have therefore defaulted them to
- Allow
Zip::File.open
to take an options hash likeZip::File.new
#418 - Always print warnings with
warn
, instead of a mix ofputs
andwarn
#416 - Create temporary files in the system temporary directory instead of the directory of the zip file #411
- Drop unused
tmpdir
requirement #411
Tooling
- Move CI to xenial and include jruby on JDK11 #419
v2.0.0
Security
- Default the
validate_entry_sizes
option totrue
, so that callers can trust an entry's reported size when usingextract
#403- This option defaulted to
false
in 1.3.0 for backward compatibility, but it now defaults totrue
. If you are using an older version of ruby and can't yet upgrade to 2.x, you can still use 1.3.0 and set the option totrue
.
- This option defaulted to
Tooling / Documentation
v1.3.0
Security
- Add
validate_entry_sizes
option so that callers can trust an entry's reported size when usingextract
#403- This option defaults to
false
for backward compatibility in this release, but you are strongly encouraged to set it totrue
. It will default totrue
in rubyzip 2.0.
- This option defaults to
New Feature
- Add
add_stored
method to simplify adding entries without compression #366
Tooling / Documentation
- Add more gem metadata links #402