|
| 1 | +--- |
| 2 | +layout: news_post |
| 3 | +title: "Ruby 3.1.1 發布" |
| 4 | +author: "naruse" |
| 5 | +translator: "Vincent Lin" |
| 6 | +date: 2022-02-18 12:00:00 +0000 |
| 7 | +lang: zh_tw |
| 8 | +--- |
| 9 | + |
| 10 | +Ruby 3.1.1 已經發布了。 |
| 11 | + |
| 12 | +這是 3.1 系列穩定版本第一個小版本更新。 |
| 13 | + |
| 14 | +* [error_highlight does not work for -e option](https://bugs.ruby-lang.org/issues/18434) |
| 15 | +* [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) |
| 16 | +* [Segmentation fault when missing Warning#warn method](https://bugs.ruby-lang.org/issues/18458) |
| 17 | +* [Fix Pathname dot directory globbing](https://bugs.ruby-lang.org/issues/18436) |
| 18 | +* [Fix default --jit-max-cache in ruby --help](https://bugs.ruby-lang.org/issues/18469) |
| 19 | +* [3.1.0-dev `include` cause Module to be marked as initialized](https://bugs.ruby-lang.org/issues/18292) |
| 20 | +* [Tutorial Link for Optionparser is broken](https://bugs.ruby-lang.org/issues/18468) |
| 21 | +* [Yielding an element for Enumerator in another thread dumps core](https://bugs.ruby-lang.org/issues/18475) |
| 22 | +* [Segmentation fault with ruby 3.1.0 in `active_decorator`](https://bugs.ruby-lang.org/issues/18489) |
| 23 | +* [Segfault on use of Process.daemon in a Fiber](https://bugs.ruby-lang.org/issues/18497) |
| 24 | +* [0 << (2\*\*40) is NoMemoryError but 0 << (2\*\*80) is 0](https://bugs.ruby-lang.org/issues/18517) |
| 25 | +* [IO read/write/wait hook bug fixes.](https://bugs.ruby-lang.org/issues/18443) |
| 26 | +* [Memory leak on aliasing method to itself](https://bugs.ruby-lang.org/issues/18516) |
| 27 | +* [error: use of undeclared identifier 'MAP_ANONYMOUS'](https://bugs.ruby-lang.org/issues/18556) |
| 28 | +* [\[BUG\] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary](https://bugs.ruby-lang.org/issues/18501) |
| 29 | +* [throw_data passed to rescue through require](https://bugs.ruby-lang.org/issues/18562) |
| 30 | +* [Fix `IpAddr#to_range` on frozen `IpAddr` instances.](https://bugs.ruby-lang.org/issues/18570) |
| 31 | +* [Fixed path for ipaddr.rb](https://github.com/ruby/ruby/pull/5533) |
| 32 | +* [Merge RubyGems-3.3.7 and Bundler-2.3.7](https://github.com/ruby/ruby/pull/5543) |
| 33 | +* [Hang when repeating Hash#shift against a empty Hash](https://bugs.ruby-lang.org/issues/18578) |
| 34 | + |
| 35 | +詳細的變動請參閱[提交紀錄](https://github.com/ruby/ruby/compare/v3_1_0...v3_1_1)。 |
| 36 | + |
| 37 | +## 下載 |
| 38 | + |
| 39 | +{% assign release = site.data.releases | where: "version", "3.1.1" | first %} |
| 40 | + |
| 41 | +* <{{ release.url.gz }}> |
| 42 | + |
| 43 | + SIZE: {{ release.size.gz }} |
| 44 | + SHA1: {{ release.sha1.gz }} |
| 45 | + SHA256: {{ release.sha256.gz }} |
| 46 | + SHA512: {{ release.sha512.gz }} |
| 47 | + |
| 48 | +* <{{ release.url.xz }}> |
| 49 | + |
| 50 | + SIZE: {{ release.size.xz }} |
| 51 | + SHA1: {{ release.sha1.xz }} |
| 52 | + SHA256: {{ release.sha256.xz }} |
| 53 | + SHA512: {{ release.sha512.xz }} |
| 54 | + |
| 55 | +* <{{ release.url.zip }}> |
| 56 | + |
| 57 | + SIZE: {{ release.size.zip }} |
| 58 | + SHA1: {{ release.sha1.zip }} |
| 59 | + SHA256: {{ release.sha256.zip }} |
| 60 | + SHA512: {{ release.sha512.zip }} |
| 61 | + |
| 62 | +## 發布紀錄 |
| 63 | + |
| 64 | +許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝所有人的貢獻。 |
0 commit comments