-
Notifications
You must be signed in to change notification settings - Fork 1
/
NEWS
162 lines (125 loc) · 3.84 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# -*- rd -*-
= NEWS
This document is a list of user visible feature changes made between
releases except for bug fixes.
Note that each entry is kept so brief that no reason behind or
reference information is supplied with. For a full list of changes
with all sufficient information, see the ChangeLog file.
== Changes since the 1.9.2 release
=== License
* Ruby's License is changed from a dual license with GPLv2
to a dual license with 2-clause BSDL.
=== C API updates
* rb_scan_args() is enhanced with support for option hash argument
extraction.
* ruby_vm_at_exit() added. This enables extension libs to hook a VM
termination.
=== Library updates (outstanding ones only)
* builtin classes
* ARGF
* new methods:
* ARGF.print
* ARGF.printf
* ARGF.putc
* ARGF.puts
* ARGF.read_nonblock
* ARGF.to_write_io
* ARGF.write
* Array
* extended method:
* Array#pack supports endian modifiers
* Encoding
* new encodings:
* CP950
* CP951
* UTF-16
* UTF-32
* change alias:
* SJIS is Windows-31J
* File
* new constant:
* File::NULL
name of NULL device.
* IO
* extended method:
* IO#putc supports multibyte characters
* new method:
* IO#advise
* Kernel
* Kernel#respond_to? now returns false for protected methods.
* move #__id__ to BasicObject.
* Module
* new methods:
* Module#private_constant
* Module#public_constant
* String
* extended method:
* String#unpack supports endian modifiers
* new method:
* String#prepend
* String#byteslice
* Time
* extended method:
* Time#strftime supports %:z and %::z.
* Process
* Process#maxgroups and Process#maxgroups= now raise NotImplementedError if
the platform don't support supplementary groups concept.
* io/console
* new methods:
* IO#noecho {|io| }
* IO#echo=
* IO#echo?
* IO#raw {|io| }
* IO#raw!
* IO#getch
* IO#winsize
* IO.console
* net/http
* SNI (Server Name Indication) supported for HTTPS.
* optparse
* support for bash/zsh completion.
* RDoc
* RDoc has been upgraded to RDoc 3.5.3. For full release notes see
http://docs.seattlerb.org/rdoc/History_txt.html
* rexml
* [incompatible] support Ruby native encoding mechanism
and iconv dependency is dropped. This means encoding
methods (Document#encoding, XMLDecl#encoding,
Output#encoding and Source#encoding) return an Encoding
object instead of an encoding name.
* Rubygems
* Rubygems has been upgraded to rubygems 1.5.0. For full release notes see
http://rubygems.rubyforge.org/rubygems-update/History_txt.html
* stringio
* extended method:
* StringIO#set_encoding can get 2nd argument and optional hash.
* test/unit
* New arguments:
* -j N, --jobs=N: Allow run N testcases at once.
* --jobs-status: Show status of jobs when parallel running.
* --no-retry: Don't retry testcases which failed when parallel running.
* --ruby=RUBY: path to ruby for job(worker) process. optional.
* uri
* new methods:
* URI::Generic#hostname
* URI::Generic#hostname=
* webrick
* new method:
* WEBrick::HTTPRequest#continue for generating '100 continue' response.
* new logging directive:
* %{remote}p for remote (client) port number.
* zlib
* new methods:
* Zlib.deflate
* Zlib.inflate
=== Language changes
* Regexps now support Unicode 6.0. (new characters and scripts)
* [experimental] Regexps now support Age property.
Unlike Perl, current implementation takes interpretation of the
interpretation of UTS #18.
http://www.unicode.org/reports/tr18/
* Turning on/off indentation warnings with directives.
("# -*- warn-indent: true -*-" / "# -*- warn-indent: false -*-")
=== Compatibility issues (excluding feature bug fixes)
* Kernel#respond_to?
See above.