Skip to content

Translate Ruby 3.1.1 Released (zh_tw) #2836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions zh_tw/news/_posts/2022-02-18-ruby-3-1-1-released.md
Original file line number Diff line number Diff line change
@@ -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 }}

## 發布紀錄

許多提交者、開發者和漏洞回報者幫助了此版本的發佈,在此感謝所有人的貢獻。