diff --git a/zh_tw/news/_posts/2022-02-18-ruby-3-1-1-released.md b/zh_tw/news/_posts/2022-02-18-ruby-3-1-1-released.md new file mode 100644 index 0000000000..28d38c87ee --- /dev/null +++ b/zh_tw/news/_posts/2022-02-18-ruby-3-1-1-released.md @@ -0,0 +1,64 @@ +--- +layout: news_post +title: "Ruby 3.1.1 發布" +author: "naruse" +translator: "Vincent Lin" +date: 2022-02-18 12:00:00 +0000 +lang: zh_tw +--- + +Ruby 3.1.1 已經發布了。 + +這是 3.1 系列穩定版本第一個小版本更新。 + +* [error_highlight does not work for -e option](https://bugs.ruby-lang.org/issues/18434) +* [Fix YJIT passing method arguments in the wrong order when keyword argument and default arguments are mixed. Breaks Rails collection caching](https://bugs.ruby-lang.org/issues/18453) +* [Segmentation fault when missing Warning#warn method](https://bugs.ruby-lang.org/issues/18458) +* [Fix Pathname dot directory globbing](https://bugs.ruby-lang.org/issues/18436) +* [Fix default --jit-max-cache in ruby --help](https://bugs.ruby-lang.org/issues/18469) +* [3.1.0-dev `include` cause Module to be marked as initialized](https://bugs.ruby-lang.org/issues/18292) +* [Tutorial Link for Optionparser is broken](https://bugs.ruby-lang.org/issues/18468) +* [Yielding an element for Enumerator in another thread dumps core](https://bugs.ruby-lang.org/issues/18475) +* [Segmentation fault with ruby 3.1.0 in `active_decorator`](https://bugs.ruby-lang.org/issues/18489) +* [Segfault on use of Process.daemon in a Fiber](https://bugs.ruby-lang.org/issues/18497) +* [0 << (2\*\*40) is NoMemoryError but 0 << (2\*\*80) is 0](https://bugs.ruby-lang.org/issues/18517) +* [IO read/write/wait hook bug fixes.](https://bugs.ruby-lang.org/issues/18443) +* [Memory leak on aliasing method to itself](https://bugs.ruby-lang.org/issues/18516) +* [error: use of undeclared identifier 'MAP_ANONYMOUS'](https://bugs.ruby-lang.org/issues/18556) +* [\[BUG\] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary](https://bugs.ruby-lang.org/issues/18501) +* [throw_data passed to rescue through require](https://bugs.ruby-lang.org/issues/18562) +* [Fix `IpAddr#to_range` on frozen `IpAddr` instances.](https://bugs.ruby-lang.org/issues/18570) +* [Fixed path for ipaddr.rb](https://github.com/ruby/ruby/pull/5533) +* [Merge RubyGems-3.3.7 and Bundler-2.3.7](https://github.com/ruby/ruby/pull/5543) +* [Hang when repeating Hash#shift against a empty Hash](https://bugs.ruby-lang.org/issues/18578) + +詳細的變動請參閱[提交紀錄](https://github.com/ruby/ruby/compare/v3_1_0...v3_1_1)。 + +## 下載 + +{% assign release = site.data.releases | where: "version", "3.1.1" | first %} + +* <{{ release.url.gz }}> + + SIZE: {{ release.size.gz }} + SHA1: {{ release.sha1.gz }} + SHA256: {{ release.sha256.gz }} + SHA512: {{ release.sha512.gz }} + +* <{{ release.url.xz }}> + + SIZE: {{ release.size.xz }} + SHA1: {{ release.sha1.xz }} + SHA256: {{ release.sha256.xz }} + SHA512: {{ release.sha512.xz }} + +* <{{ release.url.zip }}> + + SIZE: {{ release.size.zip }} + SHA1: {{ release.sha1.zip }} + SHA256: {{ release.sha256.zip }} + SHA512: {{ release.sha512.zip }} + +## 發布紀錄 + +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝所有人的貢獻。