Skip to content

Commit 516941b

Browse files
committed
Update changelog for #439 and #440
1 parent a64a147 commit 516941b

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

Changelog.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# X.X.X (Next)
22

33
- Fix frozen string literal error [#431](https://github.com/rubyzip/rubyzip/pull/431)
4-
- Upgrade rubocop and fix various linting complaints [#437](https://github.com/rubyzip/rubyzip/pull/437)
4+
- Set `OutputStream.write_buffer`'s buffer to binmode [#439](https://github.com/rubyzip/rubyzip/pull/439)
5+
- Upgrade rubocop and fix various linting complaints [#437](https://github.com/rubyzip/rubyzip/pull/437) [#440](https://github.com/rubyzip/rubyzip/pull/440)
56

67
Tooling:
8+
79
- Add a `bin/console` script for development [#420](https://github.com/rubyzip/rubyzip/pull/420)
10+
- Update rake requirement (development dependency only) to fix a security alert.
811

912
# 2.2.0 (2020-02-01)
1013

@@ -13,10 +16,10 @@ Tooling:
1316
# 2.1.0 (2020-01-25)
1417

1518
- Fix (at least partially) the `restore_times` and `restore_permissions` options to `Zip::File.new` [#413](https://github.com/rubyzip/rubyzip/pull/413)
16-
- 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 to `true`, it will now have an effect.
17-
- Fix handling of UniversalTime (`mtime`, `atime`, `ctime`) fields. [#421](https://github.com/rubyzip/rubyzip/pull/421)
18-
- Previously, `Zip::File` did not pass the options to `Zip::Entry` in some cases. [#423](https://github.com/rubyzip/rubyzip/pull/423)
19-
- Note that `restore_times` in this release does nothing on Windows and only restores `mtime`, not `atime` or `ctime`.
19+
- 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 to `true`, it will now have an effect.
20+
- Fix handling of UniversalTime (`mtime`, `atime`, `ctime`) fields. [#421](https://github.com/rubyzip/rubyzip/pull/421)
21+
- Previously, `Zip::File` did not pass the options to `Zip::Entry` in some cases. [#423](https://github.com/rubyzip/rubyzip/pull/423)
22+
- Note that `restore_times` in this release does nothing on Windows and only restores `mtime`, not `atime` or `ctime`.
2023
- Allow `Zip::File.open` to take an options hash like `Zip::File.new` [#418](https://github.com/rubyzip/rubyzip/pull/418)
2124
- Always print warnings with `warn`, instead of a mix of `puts` and `warn` [#416](https://github.com/rubyzip/rubyzip/pull/416)
2225
- Create temporary files in the system temporary directory instead of the directory of the zip file [#411](https://github.com/rubyzip/rubyzip/pull/411)
@@ -31,7 +34,7 @@ Tooling
3134
Security
3235

3336
- 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)
34-
- 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`.
37+
- 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`.
3538

3639
Tooling / Documentation
3740

@@ -43,7 +46,7 @@ Tooling / Documentation
4346
Security
4447

4548
- Add `validate_entry_sizes` option so that callers can trust an entry's reported size when using `extract` [#403](https://github.com/rubyzip/rubyzip/pull/403)
46-
- 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.
49+
- 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.
4750

4851
New Feature
4952

0 commit comments

Comments
 (0)