8000 Merge pull request #408 from rubyzip/v2-0-0 · rubyzip/rubyzip@2825898 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2825898

Browse files
authored
Merge pull request #408 from rubyzip/v2-0-0
Bump version to 2.0.0
2 parents e1d9af6 + cb407b1 commit 2825898

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

Changelog.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
-
44

5+
# 2.0.0 (2019-09-25)
6+
7+
Security
8+
9+
- Default the `validate_entry_sizes` option to `true`, so that callers can trust an entry's reported size when using `extract` [#403](https://github.com/rubyzip/rubyzip/pull/403)
10+
- 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`.
11+
12+
Tooling / Documentation
13+
14+
- Remove test files from the gem to avoid problems with antivirus detections on the test files [#405](https://github.com/rubyzip/rubyzip/pull/405) / [#384](https://github.com/rubyzip/rubyzip/issues/384)
15+
- Drop support for unsupported ruby versions [#406](https://github.com/rubyzip/rubyzip/pull/406)
16+
517
# 1.3.0 (2019-09-25)
618

719
Security

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def reset!
5555
@write_zip64_support = false
5656
@warn_invalid_date = true
5757
@case_insensitive_match = false
58-
@validate_entry_sizes = false
58+
@validate_entry_sizes = true
5959
end
6060

6161
def setup

lib/zip/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Zip
2-
VERSION = '1.3.0'
2+
VERSION = '2.0.0'
33
end

0 commit comments

Comments
 (0)
0