2008-12-12 04:46:28 -05: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.
|
|
|
|
|
|
|
|
== Changes since the 1.9.1 release
|
|
|
|
|
|
|
|
=== Library updates (outstanding ones only)
|
|
|
|
|
|
|
|
* builtin classes
|
|
|
|
|
2009-02-03 02:36:55 -05:00
|
|
|
* Array
|
2009-02-04 05:47:25 -05:00
|
|
|
* new method:
|
|
|
|
* Array#sort_by!
|
|
|
|
|
|
|
|
* Dir
|
|
|
|
* new method:
|
|
|
|
* Dir.home
|
2009-02-03 02:36:55 -05:00
|
|
|
|
2009-02-09 00:51:31 -05:00
|
|
|
* Enumerator
|
|
|
|
* extended methods:
|
|
|
|
* #with_index accepts an optional argument that specifies the
|
|
|
|
index number to start with, defaulted to 0.
|
|
|
|
|
|
|
|
* incompatible changes:
|
|
|
|
* #rewind now calls the "rewind" method of the enclosed object
|
|
|
|
if defined.
|
|
|
|
|
2008-12-22 07:27:26 -05:00
|
|
|
* IO
|
2009-02-04 07:59:09 -05:00
|
|
|
* extended methods:
|
|
|
|
* IO.pipe can take a block.
|
2008-12-22 07:27:26 -05:00
|
|
|
|
2008-12-22 22:52:11 -05:00
|
|
|
* Process
|
2009-02-04 07:59:09 -05:00
|
|
|
* extended methods:
|
|
|
|
* Process.spawn accepts [:child, FD] for a redirect target.
|
2008-12-22 22:52:11 -05:00
|
|
|
|
2008-12-12 04:46:28 -05:00
|
|
|
* rss
|
|
|
|
|
|
|
|
* 0.2.4 -> 0.2.5
|
|
|
|
|
|
|
|
* RSS::Maker.make
|
|
|
|
* raise an exception not returns nil for invalid feed making.
|
|
|
|
* requires block.
|
|
|
|
|
|
|
|
* RSS::Maker.[]
|
|
|
|
* new method to return maker class.
|
|
|
|
|
|
|
|
* REXML
|
|
|
|
|
|
|
|
* REXML::Document.entity_expansion_limit=
|
|
|
|
|
|
|
|
New method to set the entity expansion limit. By default the limit is
|
|
|
|
set to 10000. See the following URL for details.
|
|
|
|
|
|
|
|
http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/
|
|
|
|
|
|
|
|
* logger
|
|
|
|
|
|
|
|
* imported upstream version (logger/1.2.7)
|
|
|
|
* do not raise an exception even if log writing failed.
|
|
|
|
* do not raise ShiftingError if an aged file already exists.
|
|
|
|
(no ShiftingError will be raised from 1.2.7, just warn() instead)
|
|
|
|
|
2008-12-22 22:52:11 -05:00
|
|
|
* open3
|
2009-02-03 02:55:03 -05:00
|
|
|
* new methods:
|
|
|
|
* Open3.popen2
|
|
|
|
* Open3.popen2e
|
|
|
|
* Open3.capture3
|
|
|
|
* Open3.capture2
|
|
|
|
* Open3.capture2e
|
|
|
|
* Open3.pipeline_rw
|
|
|
|
* Open3.pipeline_r
|
|
|
|
* Open3.pipeline_w
|
|
|
|
* Open3.pipeline_start
|
|
|
|
* Open3.pipeline
|
2008-12-22 22:52:11 -05:00
|
|
|
|
|
|
|
* pty
|
2009-02-04 05:47:25 -05:00
|
|
|
* new method:
|
2009-02-03 02:55:03 -05:00
|
|
|
* PTY.open
|
2008-12-22 22:52:11 -05:00
|
|
|
|
2008-12-31 09:36:31 -05:00
|
|
|
* openssl
|
2009-02-04 05:47:25 -05:00
|
|
|
* new method:
|
2009-02-03 02:55:03 -05:00
|
|
|
* Buffering#read_nonblock
|
2008-12-31 09:36:31 -05:00
|
|
|
|
2008-12-31 10:11:33 -05:00
|
|
|
* socket
|
2009-02-03 02:55:03 -05:00
|
|
|
|
|
|
|
* incompatible changes:
|
|
|
|
* Socket#{recvfrom,recvfrom_nonblock,accept,accept_nonblock,sysaccept}
|
2009-02-10 06:59:16 -05:00
|
|
|
returns a sender address as Addrinfo object instead of a binary sockaddr string.
|
2009-02-10 20:38:02 -05:00
|
|
|
* BasicSocket#getsockopt returns Socket::Option object instead of a binary string.
|
2009-02-03 02:55:03 -05:00
|
|
|
|
|
|
|
* new class:
|
2009-02-05 06:01:43 -05:00
|
|
|
* Addrinfo
|
2009-02-03 02:55:03 -05:00
|
|
|
* Socket::Option
|
|
|
|
* Socket::AncillaryData
|
|
|
|
|
|
|
|
* new methods:
|
|
|
|
* Socket.ip_address_list
|
|
|
|
* Socket.tcp
|
|
|
|
* Socket.tcp_server_loop
|
|
|
|
* Socket.tcp_server_sockets
|
|
|
|
* Socket.unix
|
|
|
|
* Socket.unix_server_loop
|
|
|
|
* Socket.unix_server_socket
|
|
|
|
* Socket.accept_loop
|
|
|
|
* Socket#ipv6only!
|
|
|
|
* BasicSocket#local_address
|
|
|
|
* BasicSocket#remote_address
|
|
|
|
* BasicSocket#sendmsg
|
|
|
|
* BasicSocket#sendmsg_nonblock
|
|
|
|
* BasicSocket#recvmsg
|
|
|
|
* BasicSocket#recvmsg_nonblock
|
2009-02-10 20:30:05 -05:00
|
|
|
* BasicSocket#getpeereid
|
2009-02-03 02:55:03 -05:00
|
|
|
|
|
|
|
* extended methods:
|
|
|
|
* Socket.new's 3rd argument is optional now.
|
2009-02-04 11:21:15 -05:00
|
|
|
* Socket.pair's 3rd argument is optional now.
|
2009-02-03 02:55:03 -05:00
|
|
|
* Socket.pair and UNIXSocket.pair can take a block.
|
|
|
|
* BasicSocket#send, UDPSocket#send, Socket.getnameinfo, Socket#bind, and
|
2009-02-05 06:01:43 -05:00
|
|
|
Socket#{connect,connect_nonblock} accepts an Addrinfo object as sockaddr.
|
2009-02-03 02:55:03 -05:00
|
|
|
* BasicSocket#getsockopt accepts a Socket::Option object.
|
|
|
|
|
2009-02-10 20:38:02 -05:00
|
|
|
* constant names can be accepted as well as constant values.
|
|
|
|
i.e. Socket.new(:PF_INET, :SOCK_STREAM, 0)
|
|
|
|
The constant names can be specified without the prefix.
|
|
|
|
i.e. Socket.new(:INET, :STREAM, 0)
|
|
|
|
* protocol/address family
|
|
|
|
* socket type
|
|
|
|
* socket option protocol level
|
|
|
|
* socket option name
|
|
|
|
* shutdown's argument
|
2008-12-31 10:11:33 -05:00
|
|
|
|
2009-01-30 07:50:55 -05:00
|
|
|
* pathname
|
2009-02-04 05:47:25 -05:00
|
|
|
* new methods:
|
2009-02-03 02:55:03 -05:00
|
|
|
* realdirpath
|
|
|
|
* each_child
|
2009-01-30 07:50:55 -05:00
|
|
|
|
2009-02-03 07:28:07 -05:00
|
|
|
* Readline
|
2009-02-04 05:47:25 -05:00
|
|
|
* new methods:
|
2009-02-03 07:28:07 -05:00
|
|
|
* Readline.set_screen_size
|
|
|
|
* Readline.get_screen_size
|
|
|
|
|
|
|
|
* extended methods:
|
|
|
|
* Readline.completion_proc= accepts nil.
|
|
|
|
nil means to use default completion proc.
|
|
|
|
|
2008-12-12 04:46:28 -05:00
|
|
|
=== Compatibility issues (excluding feature bug fixes)
|
|
|
|
|
|
|
|
* Enumerator#rewind
|
2009-02-04 07:59:09 -05:00
|
|
|
* Socket#recvfrom
|
|
|
|
* Socket#recvfrom_nonblock
|
|
|
|
* Socket#accept
|
|
|
|
* Socket#accept_nonblock
|
|
|
|
* Socket#sysaccept
|
|
|
|
* BasicSocket#getsockopt
|
2008-12-12 04:46:28 -05:00
|
|
|
|
|
|
|
See above.
|