2010-02-03 14:52:23 +00:00
|
|
|
# -*- rd -*-
|
2008-12-12 09:46:28 +00:00
|
|
|
= 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.
|
|
|
|
|
2010-07-05 07:11:44 +00:00
|
|
|
== Changes since the 1.9.2 release
|
2010-09-15 16:14:05 +00:00
|
|
|
=== License
|
|
|
|
|
|
|
|
* Ruby's License is changed from a dual license with GPLv2
|
|
|
|
to a dual license with 2-clause BSDL.
|
|
|
|
|
2010-09-10 08:20:47 +00:00
|
|
|
=== C API updates
|
|
|
|
|
|
|
|
* rb_scan_args() is enhanced with support for option hash argument
|
|
|
|
extraction.
|
|
|
|
|
2010-07-05 07:11:44 +00:00
|
|
|
=== Library updates (outstanding ones only)
|
|
|
|
|
|
|
|
* builtin classes
|
|
|
|
|
|
|
|
* Kernel
|
|
|
|
|
|
|
|
* Kernel#respond_to? now returns false for protected methods.
|
|
|
|
|
2010-08-27 03:45:24 +00:00
|
|
|
* Float
|
|
|
|
* new constants:
|
2010-08-27 06:26:41 +00:00
|
|
|
* File::NULL
|
2010-08-27 03:45:24 +00:00
|
|
|
name of NULL device.
|
|
|
|
|
2010-08-27 21:50:06 +00:00
|
|
|
* String
|
|
|
|
* new methods:
|
|
|
|
* String#prepend
|
|
|
|
|
2010-08-30 21:50:11 +00:00
|
|
|
* Time
|
|
|
|
* extended methods:
|
|
|
|
* Time#strftime supports %:z and %::z.
|
|
|
|
|
2010-10-12 06:18:11 +00:00
|
|
|
* IO
|
|
|
|
* extended methods:
|
|
|
|
* IO#putc supports multibyte characters
|
|
|
|
|
2010-08-11 12:00:42 +00:00
|
|
|
* io/console
|
|
|
|
* new methods:
|
|
|
|
* IO#noecho {|io| }
|
|
|
|
* IO#echo=
|
|
|
|
* IO#echo?
|
|
|
|
* IO#raw {|io| }
|
|
|
|
* IO#raw!
|
|
|
|
* IO#getch
|
|
|
|
* IO#winsize
|
|
|
|
* IO.console
|
|
|
|
|
2010-09-10 10:20:35 +00:00
|
|
|
* webrick
|
|
|
|
* new method:
|
|
|
|
* WEBrick::HTTPRequest#continue for generating '100 continue' response.
|
|
|
|
|
2010-10-06 03:31:36 +00:00
|
|
|
* uri
|
|
|
|
* new methods:
|
|
|
|
* URI::Generic#hostname
|
|
|
|
* URI::Generic#hostname=
|
|
|
|
|
2010-10-10 21:54:22 +00:00
|
|
|
* stringio
|
|
|
|
* extended methods:
|
|
|
|
* StringIO#set_encoding can get 2nd argument and optional hash.
|
|
|
|
|
2010-07-05 07:11:44 +00:00
|
|
|
=== Compatibility issues (excluding feature bug fixes)
|
|
|
|
|
|
|
|
* Kernel#respond_to?
|
|
|
|
|
|
|
|
See above.
|