summaryrefslogtreecommitdiff
path: root/NEWS
blob: 89b975baa18c18cf1ca020b9dff2e030f61d951f (plain)
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
= 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

  * IO
    * IO.pipe takes a block.

  * Process
    * Process.spawn accepts [:child, FD] for a redirect target.

  * Enumerator#rewind

    Now calls the "rewind" method of the enclosed object if defined.

* 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)

* open3

  * Open3.popen2
  * Open3.popen2e
  * Open3.capture3
  * Open3.capture2
  * Open3.capture2e
  * Open3.pipeline_rw
  * Open3.pipeline_r
  * Open3.pipeline_w
  * Open3.pipeline_start
  * Open3.pipeline

* pty

  * PTY.open

* openssl

  * Buffering#read_nonblock

* socket
  * Socket.pair and UNIXSocket.pair takes a block.
  * AddrInfo class
  * Socket.{tcp,tcp_server_loop,unix,unix_server_loop}
  * Socket#{recvfrom,recvfrom_nonblock,accept,accept_nonblock,sysaccept}
    returns a sender address as AddrInfo object instead of a string.
  * BasicSocket#send, UDPSocket#send, Socket.getnameinfo, Socket#bind, and
    Socket#{connect,connect_nonblock} accepts an AddrInfo object as sockaddr.
  * BasicSocket#local_address
  * BasicSocket#remote_address
  * string/symbol as protocol/address family, socket type, protocol level,
    socket option name and shutdown's how argument can be specified as a
    string/symbol.

* pathname
  * new method: realdirpath
  * new method: each_child

=== Compatibility issues (excluding feature bug fixes)

  * Enumerator#rewind

    See above.