1
1
---
2
2
layout : news_post
3
- title : " Ruby 3.4.0 preview1 Released "
3
+ title : " Ruby 3.4.0- preview1 릴리스 "
4
4
author : " naruse"
5
- translator :
5
+ translator : " shia "
6
6
date : 2024-05-16 00:00:00 +0000
7
- lang : en
7
+ lang : ko
8
8
---
9
9
10
10
{% assign release = site.data.releases | where: "version", "3.4.0-preview1" | first %}
11
- We are pleased to announce the release of Ruby {{ release.version }}.
11
+ Ruby {{ release.version }} 릴리스를 알리게 되어 기쁩니다 .
12
12
13
- ## Language changes
13
+ ## 언어 변경
14
14
15
- * String literals in files without a ` frozen_string_literal ` comment now behave
16
- as if they were frozen. If they are mutated a deprecation warning is emitted .
17
- These warnings can be enabled with ` -W:deprecated ` or by setting ` Warning[:deprecated] = true ` .
18
- To disable this change, you can run Ruby with the ` --disable-frozen-string-literal `
19
- command line argument . [[ Feature #20205 ]]
15
+ * 파일에 ` frozen_string_literal ` 코멘트가 없다면, 리터럴 문자열은 이제 얼린 것처럼
16
+ 동작합니다. 해당 문자열이 변경되는 경우에도 폐기 예정 경고는 생략됩니다 .
17
+ 이 경고는 ` -W:deprecated ` 나 ` Warning[:deprecated] = true ` 설정을 통해 출력할 수 있습니다 .
18
+ 이 변경을 무효화하고 싶다면 Ruby를 실행할 때 ` --disable-frozen-string-literal ` 커맨드라인 인수를
19
+ 사용하세요 . [[ Feature #20205 ]]
20
20
21
- * ` it ` is added to reference a block parameter . [[ Feature #18980 ]]
21
+ * 블록 인자를 가리키는 ` it ` 이 추가됩니다 . [[ Feature #18980 ]]
22
22
23
- * Keyword splatting ` nil ` when calling methods is now supported .
24
- ` **nil ` is treated similarly to ` **{} ` , passing no keywords ,
25
- and not calling any conversion methods. [[ Bug #20064 ]]
23
+ * 메서드 호출시에 ` nil ` 에 키워드 스플랫을 지원합니다 .
24
+ ` **nil ` 은 ` **{} ` 와 비슷하게 동작하며, 키워드를 넘기지 않으며 ,
25
+ 어떤 변환 메서드도 호출하지 않습니다. [[ Bug #20064 ]]
26
26
27
- * Block passing is no longer allowed in index. [[ Bug #19918 ]]
27
+ * 블록을 인덱스로 사용할 수 없게 됩니다. [[ Bug #19918 ]]
28
28
29
- * Keyword arguments are no longer allowed in index. [[ Bug #20218 ]]
29
+ * 키워드 인수를 인덱스로 사용할 수 없게 됩니다. [[ Bug #20218 ]]
30
30
31
- ## Core classes updates
31
+ ## 코어 클래스 변경
32
32
33
- Note: We're only listing outstanding class updates .
33
+ 주의: 눈에 띄는 클래스 변경만을 포함합니다 .
34
34
35
35
* Exception
36
36
37
- * Exception#set_backtrace now accepts arrays of ` Thread::Backtrace::Location ` .
38
- ` Kernel#raise ` , ` Thread#raise ` and ` Fiber#raise ` also accept this new format. [[ Feature #13557 ]]
37
+ * Exception#set_backtrace는 이제 ` Thread::Backtrace::Location ` 의 배열을 입력으로 받을 수 있습니다.
38
+ ` Kernel#raise ` , ` Thread#raise ` 와 ` Fiber#raise ` 도 같은 형식의 입력을 받습니다. [[ Feature #13557 ]]
39
+
39
40
40
41
* Range
41
42
42
- * Range#size now raises TypeError if the range is not iterable . [[ Misc #18984 ]]
43
+ * Range#size는 이제 범위가 열거 가능하지 않다면 TypeError를 던집니다 . [[ Misc #18984 ]]
43
44
44
45
45
46
46
- ## Compatibility issues
47
+ ## 호환성 문제
47
48
48
- Note: Excluding feature bug fixes .
49
+ 주의: 기능 버그 수정은 포함되어 있지 않습니다 .
49
50
50
- * Error messages and backtrace displays have been changed .
51
- * Use a single quote instead of a backtick as a opening quote . [[ Feature #16495 ]]
52
- * Display a class name before a method name (only when the class has a permanent name ). [[ Feature #19117 ]]
53
- * ` Kernel#caller ` , ` Thread::Backtrace::Location ` 's methods, etc. are also changed accordingly .
51
+ * 에러 메시지와 백트레이스의 출력 결과가 변경됩니다 .
52
+ * 인용 시작 부분을 나타내던 백틱 대신 작은 따옴표를 사용합니다 . [[ Feature #16495 ]]
53
+ * 메서드 이름 앞에 클래스 이름을 출력합니다(클래스가 불변하는 이름을 가지고 있다면 ). [[ Feature #19117 ]]
54
+ * ` Kernel#caller ` , ` Thread::Backtrace::Location ` 의 메서드들도 마찬가지로 변경됩니다 .
54
55
```
55
56
Old:
56
57
test.rb:1:in `foo': undefined method `time' for an instance of Integer
@@ -62,38 +63,38 @@ Note: Excluding feature bug fixes.
62
63
```
63
64
64
65
65
- ## C API updates
66
+ ## C API 변경
66
67
67
- * ` rb_newobj ` and ` rb_newobj_of ` (and corresponding macros ` RB_NEWOBJ ` , ` RB_NEWOBJ_OF ` , ` NEWOBJ ` , ` NEWOBJ_OF ` ) have been removed . [[ Feature #20265 ]]
68
- * Removed deprecated function ` rb_gc_force_recycle ` . [[ Feature #18290 ]]
68
+ * ` rb_newobj ` 와 ` rb_newobj_of ` (그리고 대응하는 매크로인 ` RB_NEWOBJ ` , ` RB_NEWOBJ_OF ` , ` NEWOBJ ` , ` NEWOBJ_OF ` )가 삭제됩니다 . [[ Feature #20265 ]]
69
+ * 폐기 예정인 ` rb_gc_force_recycle ` 함수가 삭제됩니다 . [[ Feature #18290 ]]
69
70
70
- ## Implementation improvements
71
+ ## 구현 개선
71
72
72
- * ` Array#each ` is rewritten in Ruby for better performance [[ Feature #20182 ]] .
73
+ * ` Array#each ` 를 더 나은 성능을 위해 Ruby로 재작성했습니다. [[ Feature #20182 ]]
73
74
74
- ## Miscellaneous changes
75
+ ## 그 이외의 변경
75
76
76
- * Passing a block to a method which doesn't use the passed block will show
77
- a warning on verbose mode ( ` -w ` ) .
77
+ * 상세 모드( ` -w ` )에서 메서드에 넘긴 블록이 사용되지 않았을 때
78
+ 경고를 출력합니다 .
78
79
[[ Feature #15554 ]]
79
80
80
- * Redefining some core methods that are specially optimized by the interpeter
81
- and JIT like ` String.freeze ` or ` Integer#+ ` now emits a performance class
82
- warning (` -W:performance ` or ` Warning[:performance] = true ` ).
81
+ * ` String.freeze ` 나 ` Integer#+ ` 처럼 인터프리터와 JIT이 특별히 최적화하는
82
+ 몇몇 코어 메서드를 재정의하면 성능 클래스 경고
83
+ (` -W:performance ` 나 ` Warning[:performance] = true ` )를 출력합니다 .
83
84
[[ Feature #20429 ]]
84
85
85
- See GitHub releases like [ Logger] ( https://github.com/ruby/logger/releases ) or
86
- changelog for details of the default gems or bundled gems .
86
+ 기본 gem 또는 내장 gem에 대한 자세한 내용은 [ Logger] ( https://github.com/ruby/logger/releases ) 와 같은
87
+ GitHub 릴리스 또는 변경 로그에서 확인하세요 .
87
88
88
- See [ NEWS] (https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)
89
- or [ commit logs ] (https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})
90
- for more details .
89
+ 더 자세한 내용은 [ NEWS] (https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)나
90
+ [ 커밋 로그 ] (https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }})를
91
+ 확인해 주세요 .
91
92
92
- With those changes, [ {{ release.stats.files_changed }} files changed , {{ release.stats.insertions }} insertions (+), {{ release.stats.deletions }} deletions (-)] (https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)
93
- since Ruby 3.3.0 !
93
+ 이러한 변경사항에 따라, Ruby 3.3.0 이후로 [ 파일 {{ release.stats.files_changed }}개 수정 , {{ release.stats.insertions }}줄 추가 (+), {{ release.stats.deletions }}줄 삭제 (-)] (https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)가
94
+ 이루어졌습니다 !
94
95
95
96
96
- ## Download
97
+ ## 다운로드
97
98
98
99
* <{{ release.url.gz }}>
99
100
@@ -116,11 +117,11 @@ since Ruby 3.3.0!
116
117
SHA256: {{ release.sha256.zip }}
117
118
SHA512: {{ release.sha512.zip }}
118
119
119
- ## What is Ruby
120
+ ## Ruby는
120
121
121
- Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993 ,
122
- and is now developed as Open Source. It runs on multiple platforms
123
- and is used all over the world especially for web development .
122
+ Ruby는 1993년에 Matz(마츠모토 유키히로) 씨가 처음 개발했고 ,
123
+ 현재는 오픈 소스로서 개발되고 있습니다. 여러 플랫폼에서 동작하며,
124
+ 특히 웹 개발에서 전 세계적으로 이용되고 있습니다 .
124
125
125
126
[ Feature #13557 ] : https://bugs.ruby-lang.org/issues/13557
126
127
[ Feature #15554 ] : https://bugs.ruby-lang.org/issues/15554
0 commit comments