You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Create temporary files in the system temporary directory instead of the directory of the zip file [#411](https://github.com/rubyzip/rubyzip/pull/411)
- Drop unused `tmpdir` requirement [#411](https://github.com/rubyzip/rubyzip/pull/411)
Default the validate_entry_sizes option to true, so that callers can trust an entry's reported size when using extract#403
This option defaulted to false in 1.3.0 for backward compatibility, but it now defaults to true. 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 to true.
Tooling / Documentation
Remove test files from the gem to avoid problems with antivirus detections on the test files #405 / #384
Add validate_entry_sizes option so that callers can trust an entry's reported size when using extract#403
This option defaults to false for backward compatibility in this release, but you are strongly encouraged to set it to true. It will default to true in rubyzip 2.0.
New Feature
Add add_stored method to simplify adding entries without compression #366
34d2074
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,6 +1,7 @@
X.X.X (Next)
tmpdir
requirement #4112.0.0 (2019-09-25)
Security
validate_entry_sizes
option totrue
, so that callers can trust an entry's reported size when usingextract
#403false
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
.Tooling / Documentation
1.3.0 (2019-09-25)
Security
validate_entry_sizes
option so that callers can trust an entry's reported size when usingextract
#403false
for backward compatibility in this release, but you are strongly encouraged to set it totrue
. It will default totrue
in rubyzip 2.0.New Feature
add_stored
method to simplify adding entries without compression #366