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.
|
|
|
|
|
2011-07-10 14:54:03 +00:00
|
|
|
== Changes since the 1.9.3 release
|
2010-09-15 16:14:05 +00:00
|
|
|
|
2010-09-10 08:20:47 +00:00
|
|
|
=== C API updates
|
2011-11-14 16:00:29 +00:00
|
|
|
* NUM2SHORT() and NUM2USHORT() added. They are similar to NUM2INT, but short.
|
|
|
|
|
2010-07-05 07:11:44 +00:00
|
|
|
=== Library updates (outstanding ones only)
|
2011-07-12 14:42:48 +00:00
|
|
|
|
|
|
|
* builtin classes
|
|
|
|
|
2011-07-19 22:17:13 +00:00
|
|
|
* Kernel
|
|
|
|
* extended method:
|
|
|
|
* Kernel#warn accepts multiple args in like puts.
|
2011-10-22 09:58:15 +00:00
|
|
|
* incompatible changes:
|
|
|
|
* system() and exec() closes non-standard file descriptors
|
|
|
|
(The default of :close_others option is changed to true by default.)
|
2011-07-19 22:17:13 +00:00
|
|
|
|
2011-07-12 14:42:48 +00:00
|
|
|
* Signal
|
|
|
|
* incompatible changes:
|
|
|
|
* Signal.trap raises ArgumentError when :SEGV, :BUS, :ILL, :FPE, :VTALRM
|
|
|
|
are specified.
|
|
|
|
|
2011-08-25 23:24:33 +00:00
|
|
|
* Time
|
|
|
|
* change return value:
|
|
|
|
* Time#to_s returned encoding defaults to US-ASCII but automatically
|
|
|
|
transcodes to Encoding.default_internal if it is set.
|
|
|
|
|
2011-11-09 04:26:39 +00:00
|
|
|
* Fiber
|
|
|
|
* incompatible changes:
|
|
|
|
* Fiber#resume cannot resume a fiber which invokes "Fiber#transfer".
|
|
|
|
|
2011-09-09 07:48:00 +00:00
|
|
|
* net/imap
|
|
|
|
* new methods:
|
|
|
|
* Net::IMAP.default_port
|
|
|
|
* Net::IMAP.default_imap_port
|
|
|
|
* Net::IMAP.default_tls_port
|
|
|
|
* Net::IMAP.default_ssl_port
|
|
|
|
* Net::IMAP.default_imaps_port
|
|
|
|
|
2011-11-19 12:52:37 +00:00
|
|
|
* pathname
|
|
|
|
* extended method:
|
|
|
|
* Pathname#find returns an enumerator if no block is given.
|
|
|
|
|
2011-10-22 08:50:50 +00:00
|
|
|
* resolv
|
|
|
|
* new methods:
|
|
|
|
* Resolv::DNS#timeouts=
|
|
|
|
* Resolv::DNS::Config#timeouts=
|
|
|
|
|
2010-10-28 11:14:05 +00:00
|
|
|
=== Language changes
|
2010-07-05 07:11:44 +00:00
|
|
|
=== Compatibility issues (excluding feature bug fixes)
|
|
|
|
|
2011-07-12 14:42:48 +00:00
|
|
|
* Signal.trap
|
|
|
|
|
|
|
|
See above.
|
2011-10-22 09:58:15 +00:00
|
|
|
|
|
|
|
* incompatible changes:
|
|
|
|
The :close_others option is true by default for system() and exec().
|
|
|
|
Also, the close-on-exec flag is set by default for all new file descriptors.
|
|
|
|
This means file descriptors doesn't inherit to spawned process unless
|
|
|
|
explicitly requested such as system(..., fd=>fd).
|