2010-02-03 17:52:23 +03:00
|
|
|
# -*- rd -*-
|
2008-12-12 12:46:28 +03: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 10:36:55 +03:00
|
|
|
* Array
|
2009-02-04 13:47:25 +03:00
|
|
|
* new method:
|
2010-04-01 18:53:44 +04:00
|
|
|
* Array#keep_if
|
2010-04-17 02:30:16 +04:00
|
|
|
* Array#repeated_combination
|
|
|
|
* Array#repeated_permutation
|
2010-01-21 05:15:48 +03:00
|
|
|
* Array#rotate
|
2010-04-17 02:30:16 +04:00
|
|
|
* Array#rotate!
|
2010-04-01 18:53:44 +04:00
|
|
|
* Array#select!
|
|
|
|
* Array#sort_by!
|
2009-02-04 13:47:25 +03:00
|
|
|
|
2010-03-25 12:11:47 +03:00
|
|
|
* extended methods:
|
2010-04-03 01:56:34 +04:00
|
|
|
* Array#{uniq,uniq!,product} can take a block.
|
2010-03-25 12:11:47 +03:00
|
|
|
|
2010-05-06 07:45:32 +04:00
|
|
|
* Complex
|
|
|
|
* new methods:
|
|
|
|
* Complex#rationalize
|
|
|
|
|
2009-02-04 13:47:25 +03:00
|
|
|
* Dir
|
|
|
|
* new method:
|
|
|
|
* Dir.home
|
2009-02-03 10:36:55 +03:00
|
|
|
|
2010-01-13 09:26:11 +03:00
|
|
|
* Encoding
|
|
|
|
* new encodings:
|
|
|
|
* Big5
|
|
|
|
* Big5-UAO
|
2010-03-12 15:35:39 +03:00
|
|
|
* ISO-2022-JP-KDDI
|
|
|
|
* SJIS-DoCoMo
|
|
|
|
* SJIS-KDDI
|
|
|
|
* SJIS-SoftBank
|
|
|
|
* UTF8-DoCoMo
|
|
|
|
* UTF8-KDDI
|
|
|
|
* UTF8-SoftBank
|
2010-01-13 09:26:11 +03:00
|
|
|
|
|
|
|
* new method:
|
|
|
|
* ascii_compatible?
|
|
|
|
|
2009-09-11 16:52:20 +04:00
|
|
|
* Enumerable
|
2009-09-23 15:30:09 +04:00
|
|
|
* New methods:
|
2009-09-23 15:24:51 +04:00
|
|
|
* Enumerable#chunk
|
2010-04-01 18:53:44 +04:00
|
|
|
* Enumerable#collect_concat
|
2010-03-04 05:29:07 +03:00
|
|
|
* Enumerable#each_entry
|
2010-04-01 18:53:44 +04:00
|
|
|
* Enumerable#flat_map
|
2009-09-23 15:24:51 +04:00
|
|
|
* Enumerable#slice_before
|
2009-09-11 16:52:20 +04:00
|
|
|
|
2009-02-09 08:51:31 +03:00
|
|
|
* Enumerator
|
2009-08-19 20:36:00 +04:00
|
|
|
* new methods:
|
|
|
|
* Enumerator#peek
|
|
|
|
* Enumerator#next_values
|
|
|
|
* Enumerator#peek_values
|
|
|
|
* Enumerator#feed
|
|
|
|
* StopIteration#result
|
|
|
|
|
2009-02-09 08:51:31 +03:00
|
|
|
* 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.
|
2009-08-19 20:36:00 +04:00
|
|
|
* #next doesn't clear the position at end.
|
2009-02-09 08:51:31 +03:00
|
|
|
|
2009-09-11 16:52:20 +04:00
|
|
|
* ENV
|
|
|
|
* Uses locale's encoding
|
2010-01-11 06:58:39 +03:00
|
|
|
* ENV.[]= raises Errno::{EINVAL,ENOMEM} etc. on failure.
|
2010-04-11 20:50:33 +04:00
|
|
|
* new methods:
|
|
|
|
* ENV.keep_if
|
|
|
|
* ENV.select!
|
2009-09-11 16:52:20 +04:00
|
|
|
|
2010-01-05 08:51:47 +03:00
|
|
|
* Float
|
|
|
|
* new constants:
|
|
|
|
* Float::INFINITY
|
|
|
|
* Float::NAN
|
2010-05-06 07:45:32 +04:00
|
|
|
* new methods:
|
|
|
|
* Float#rationalize
|
2010-01-05 08:51:47 +03:00
|
|
|
|
2010-01-12 03:32:22 +03:00
|
|
|
* File
|
|
|
|
* new methods:
|
|
|
|
* File.realpath
|
|
|
|
* File.realdirpath
|
|
|
|
|
2010-03-04 07:51:43 +03:00
|
|
|
* GC::Profiler
|
|
|
|
* new method:
|
|
|
|
* GC::Profiler.total_time
|
|
|
|
|
2010-04-11 20:50:33 +04:00
|
|
|
* Hash
|
|
|
|
* new methods:
|
|
|
|
* Hash#keep_if
|
|
|
|
* Hash#select!
|
|
|
|
|
2008-12-22 15:27:26 +03:00
|
|
|
* IO
|
2009-06-23 21:01:58 +04:00
|
|
|
* new method:
|
2010-03-25 11:23:17 +03:00
|
|
|
* IO#autoclose=
|
|
|
|
* IO#autoclose?
|
2009-06-23 21:01:58 +04:00
|
|
|
* IO#fdatasync
|
2010-03-25 11:23:17 +03:00
|
|
|
* IO#codepoints
|
|
|
|
* IO#each_codepoint
|
2009-06-23 21:01:58 +04:00
|
|
|
|
2009-02-04 15:59:09 +03:00
|
|
|
* extended methods:
|
|
|
|
* IO.pipe can take a block.
|
2008-12-22 15:27:26 +03:00
|
|
|
|
2009-03-19 18:31:24 +03:00
|
|
|
* new modules:
|
|
|
|
* IO::WaitReadable
|
|
|
|
* IO::WaitWritable
|
2009-03-21 09:56:33 +03:00
|
|
|
They are used to extend non-blocking exceptions.
|
2009-03-19 18:31:24 +03:00
|
|
|
|
2010-05-06 07:45:32 +04:00
|
|
|
* Integer
|
|
|
|
* new methods:
|
|
|
|
* Integer#rationalize
|
|
|
|
|
2010-03-25 06:39:00 +03:00
|
|
|
* Kernel
|
|
|
|
* new method:
|
2010-04-01 18:53:44 +04:00
|
|
|
* Kernel#respond_to_missing?
|
2010-03-25 06:39:00 +03:00
|
|
|
* Kernel#singleton_class
|
|
|
|
|
2009-09-11 16:52:20 +04:00
|
|
|
* MatchData
|
|
|
|
* New method:
|
|
|
|
* MatchData#==
|
|
|
|
|
2010-05-06 07:45:32 +04:00
|
|
|
* NilClass
|
|
|
|
* new methods:
|
|
|
|
* NilClass#rationalize
|
|
|
|
|
2010-04-02 02:19:04 +04:00
|
|
|
* Object
|
|
|
|
* extended methods:
|
|
|
|
* Float() supports hexadecimal floating point format.
|
|
|
|
* printf() supports %a/%A format.
|
|
|
|
|
2010-03-22 14:44:01 +03:00
|
|
|
* Proc
|
|
|
|
* extended method:
|
|
|
|
* Proc#source_location returns location even if receiver is a method
|
|
|
|
defined by attr_reader / attr_writer / attr_accessor.
|
|
|
|
|
2008-12-23 06:52:11 +03:00
|
|
|
* Process
|
2009-02-04 15:59:09 +03:00
|
|
|
* extended methods:
|
|
|
|
* Process.spawn accepts [:child, FD] for a redirect target.
|
2008-12-23 06:52:11 +03:00
|
|
|
|
2010-05-05 18:31:10 +04:00
|
|
|
* Random (new class to generate pseudo-random numbers)
|
2009-09-11 16:52:20 +04:00
|
|
|
|
2010-05-06 07:45:32 +04:00
|
|
|
* Rational
|
|
|
|
* new methods:
|
|
|
|
* Rational#rationalize
|
|
|
|
|
2009-03-14 21:04:21 +03:00
|
|
|
* String
|
|
|
|
* extended methods:
|
2009-03-15 08:01:48 +03:00
|
|
|
* string[regexp, name] is supported for named capture.
|
2009-03-14 21:04:21 +03:00
|
|
|
|
2010-03-26 17:55:00 +03:00
|
|
|
* Thread
|
|
|
|
* new methods:
|
|
|
|
* Thread#add_trace_func
|
|
|
|
* Thread#set_trace_func
|
|
|
|
|
2009-04-21 20:27:19 +04:00
|
|
|
* Time
|
|
|
|
* extended feature:
|
|
|
|
* time_t restriction is removed to represent before 1901 and after 2038.
|
|
|
|
Proleptic Gregorian calendar is used for old dates.
|
2009-05-12 16:07:49 +04:00
|
|
|
* Time.new have optional arguments to specify date with time offset.
|
|
|
|
* Time#getlocal, Time#localtime have optional time offset argument.
|
2009-04-21 20:27:19 +04:00
|
|
|
|
2009-05-22 16:39:22 +04:00
|
|
|
* new method:
|
|
|
|
* Time#to_r
|
2010-03-30 17:13:20 +04:00
|
|
|
* Time#subsec
|
2010-03-11 16:47:10 +03:00
|
|
|
* Time#round
|
2009-05-22 16:39:22 +04:00
|
|
|
|
2009-04-21 20:43:15 +04:00
|
|
|
* incompatible changes:
|
|
|
|
* The year argument of Time.{utc,gm,local,mktime} is now interpreted as
|
|
|
|
the value itself. For example, Time.utc(99) means the year 99 AD,
|
|
|
|
not 1999 AD.
|
|
|
|
|
2009-04-16 18:17:14 +04:00
|
|
|
* Kernel
|
2009-09-11 16:52:20 +04:00
|
|
|
* new method:
|
|
|
|
* Kernel#require_relative
|
|
|
|
|
2009-04-16 18:17:14 +04:00
|
|
|
* extended methods:
|
2009-04-21 22:38:20 +04:00
|
|
|
* respond_to? can be used to detect methods not implemented.
|
|
|
|
For example, Process.respond_to?(:fork) returns false on Windows.
|
2009-04-16 18:17:14 +04:00
|
|
|
|
2010-01-17 22:12:10 +03:00
|
|
|
* digest
|
2010-06-03 18:59:44 +04:00
|
|
|
* new methods:
|
|
|
|
* Digest::Class.base64digest
|
|
|
|
* Digest::Instance#base64digest
|
|
|
|
* Digest::Instance#base64digest!
|
|
|
|
|
|
|
|
* Digest::HMAC (digest/hmac) has been marked as deprecated because
|
|
|
|
it was unintentional for the experimental library to be included
|
|
|
|
in the final release of 1.9.1. Please use OpenSSL::HMAC instead.
|
2010-01-17 22:12:10 +03:00
|
|
|
|
2008-12-12 12:46:28 +03:00
|
|
|
* rss
|
|
|
|
|
2009-06-27 08:41:36 +04:00
|
|
|
* 0.2.4 -> 0.2.7.
|
2008-12-12 12:46:28 +03:00
|
|
|
|
|
|
|
* RSS::Maker.make
|
|
|
|
* raise an exception not returns nil for invalid feed making.
|
|
|
|
* requires block.
|
|
|
|
|
|
|
|
* RSS::Maker.[]
|
|
|
|
* new method to return maker class.
|
|
|
|
|
2009-05-16 13:32:36 +04:00
|
|
|
* RSS::Maker.supported?(version)
|
|
|
|
* new method to check whether given version is supported.
|
|
|
|
|
2009-06-27 08:45:24 +04:00
|
|
|
* RSS::Maker: item.guid.permanent_link?
|
|
|
|
* new alias of item.guid.isPermaLink
|
|
|
|
* RSS::Maker: item.guid.permanent_link=
|
|
|
|
* new alias of item.guid.isPermaLink=
|
|
|
|
|
2009-09-11 16:52:20 +04:00
|
|
|
* JSON
|
|
|
|
* Update to JSON 1.1.9
|
|
|
|
|
2008-12-12 12:46:28 +03:00
|
|
|
* 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/
|
|
|
|
|
2010-04-10 10:36:13 +04:00
|
|
|
* RDoc
|
|
|
|
|
2010-05-01 09:06:21 +04:00
|
|
|
* Updated to RDoc 2.5.8
|
2010-04-10 10:36:13 +04:00
|
|
|
|
2010-05-01 09:19:16 +04:00
|
|
|
* RubyGems
|
|
|
|
|
|
|
|
* Updated to RubyGems 1.3.7
|
|
|
|
|
2008-12-12 12:46:28 +03:00
|
|
|
* 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)
|
|
|
|
|
2010-05-02 09:43:29 +04:00
|
|
|
* matrix
|
|
|
|
* API change to adhere strictly to mathematical definitions:
|
|
|
|
* Matrices must now be rectangular.
|
|
|
|
* trace, regular?, singular? are defined only for square matrices
|
|
|
|
* support for empty matrices
|
|
|
|
* all integer matrices now have the right determinant (also an integer)
|
|
|
|
|
|
|
|
* Matrix and Vector include Enumerable.
|
|
|
|
|
|
|
|
* new methods:
|
|
|
|
* Matrix.build
|
|
|
|
* Matrix.empty
|
|
|
|
* Matrix#conj
|
|
|
|
* Matrix#conjugate
|
|
|
|
* Matrix#each
|
|
|
|
* Matrix#each_with_index
|
|
|
|
* Matrix#empty?
|
|
|
|
* Matrix#imag
|
|
|
|
* Matrix#imaginary
|
|
|
|
* Matrix#real
|
|
|
|
* Matrix#real?
|
|
|
|
* Matrix#rect
|
|
|
|
* Matrix#rectangular
|
|
|
|
|
2010-01-09 07:37:53 +03:00
|
|
|
* net/http
|
|
|
|
* merged net/https.
|
|
|
|
|
2008-12-23 06:52:11 +03:00
|
|
|
* open3
|
2009-02-03 10:55:03 +03: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-23 06:52:11 +03:00
|
|
|
|
|
|
|
* pty
|
2010-06-23 12:12:54 +04:00
|
|
|
* new methods:
|
2009-02-03 10:55:03 +03:00
|
|
|
* PTY.open
|
2010-06-23 12:12:54 +04:00
|
|
|
* PTY.check
|
|
|
|
* deprecated methods:
|
|
|
|
* protect_signal
|
|
|
|
* reset_signal
|
2008-12-23 06:52:11 +03:00
|
|
|
|
2008-12-31 17:36:31 +03:00
|
|
|
* openssl
|
2009-03-21 09:56:33 +03:00
|
|
|
* new methods:
|
2009-03-20 20:39:44 +03:00
|
|
|
* OpenSSL::Buffering#read_nonblock
|
|
|
|
* OpenSSL::Buffering#write_nonblock
|
2009-03-21 09:56:33 +03:00
|
|
|
* OpenSSL::SSL::SSLSocket#connect_nonblock
|
|
|
|
* OpenSSL::SSL::SSLSocket#accept_nonblock
|
2008-12-31 17:36:31 +03:00
|
|
|
|
2010-04-02 02:19:04 +04:00
|
|
|
* scanf
|
|
|
|
* support %a/%A format.
|
|
|
|
|
|
|
|
|
2008-12-31 18:11:33 +03:00
|
|
|
* socket
|
2009-02-03 10:55:03 +03:00
|
|
|
|
|
|
|
* incompatible changes:
|
|
|
|
* Socket#{recvfrom,recvfrom_nonblock,accept,accept_nonblock,sysaccept}
|
2009-02-10 14:59:16 +03:00
|
|
|
returns a sender address as Addrinfo object instead of a binary sockaddr string.
|
2009-02-12 15:57:14 +03:00
|
|
|
Addrinfo#to_s returns the old binary sockaddr string.
|
2009-02-11 04:38:02 +03:00
|
|
|
* BasicSocket#getsockopt returns Socket::Option object instead of a binary string.
|
2009-02-12 15:57:14 +03:00
|
|
|
Socket::Option#to_s returns the old binary string.
|
2010-02-03 17:52:23 +03:00
|
|
|
* Socket.do_not_reverse_lookup is turned on by default now.
|
2009-02-03 10:55:03 +03:00
|
|
|
|
|
|
|
* new class:
|
2009-02-05 14:01:43 +03:00
|
|
|
* Addrinfo
|
2009-02-03 10:55:03 +03:00
|
|
|
* Socket::Option
|
|
|
|
* Socket::AncillaryData
|
|
|
|
|
|
|
|
* new methods:
|
|
|
|
* Socket.ip_address_list
|
|
|
|
* Socket.tcp
|
|
|
|
* Socket.tcp_server_loop
|
|
|
|
* Socket.tcp_server_sockets
|
2009-07-20 07:29:22 +04:00
|
|
|
* Socket.udp_server_sockets
|
|
|
|
* Socket.udp_server_loop_on
|
|
|
|
* Socket.udp_server_loop
|
2009-02-03 10:55:03 +03:00
|
|
|
* Socket.unix
|
|
|
|
* Socket.unix_server_loop
|
|
|
|
* Socket.unix_server_socket
|
|
|
|
* Socket.accept_loop
|
|
|
|
* Socket#ipv6only!
|
|
|
|
* BasicSocket#local_address
|
|
|
|
* BasicSocket#remote_address
|
2009-02-26 17:15:39 +03:00
|
|
|
* BasicSocket#connect_address
|
2009-02-03 10:55:03 +03:00
|
|
|
* BasicSocket#sendmsg
|
|
|
|
* BasicSocket#sendmsg_nonblock
|
|
|
|
* BasicSocket#recvmsg
|
|
|
|
* BasicSocket#recvmsg_nonblock
|
2009-02-11 04:30:05 +03:00
|
|
|
* BasicSocket#getpeereid
|
2009-02-03 10:55:03 +03:00
|
|
|
|
|
|
|
* extended methods:
|
|
|
|
* Socket.new's 3rd argument is optional now.
|
2009-02-04 19:21:15 +03:00
|
|
|
* Socket.pair's 3rd argument is optional now.
|
2009-02-03 10:55:03 +03:00
|
|
|
* Socket.pair and UNIXSocket.pair can take a block.
|
|
|
|
* BasicSocket#send, UDPSocket#send, Socket.getnameinfo, Socket#bind, and
|
2009-02-05 14:01:43 +03:00
|
|
|
Socket#{connect,connect_nonblock} accepts an Addrinfo object as sockaddr.
|
2009-02-03 10:55:03 +03:00
|
|
|
* BasicSocket#getsockopt accepts a Socket::Option object.
|
2010-04-02 16:17:50 +04:00
|
|
|
* Socket.getaddrinfo and IPSocket#{addr,peeraddr} accept an optional
|
|
|
|
argument to turn reverse lookup on/off.
|
2009-02-03 10:55:03 +03:00
|
|
|
|
2009-02-11 04:38:02 +03:00
|
|
|
* constant names can be accepted as well as constant values.
|
2009-09-11 16:52:20 +04:00
|
|
|
i.e. Socket.new(:PF_INET, :SOCK_STREAM, 0)
|
2009-02-11 04:38:02 +03:00
|
|
|
The constant names can be specified without the prefix.
|
2009-09-11 16:52:20 +04:00
|
|
|
i.e. Socket.new(:INET, :STREAM, 0)
|
2009-02-11 04:38:02 +03:00
|
|
|
* protocol/address family
|
|
|
|
* socket type
|
|
|
|
* socket option protocol level
|
|
|
|
* socket option name
|
|
|
|
* shutdown's argument
|
2008-12-31 18:11:33 +03:00
|
|
|
|
2010-06-23 18:47:00 +04:00
|
|
|
* stringio
|
|
|
|
* new methods:
|
|
|
|
* StringIO#read_nonblock
|
|
|
|
* StringIO#write_nonblock
|
2009-01-30 15:50:55 +03:00
|
|
|
* pathname
|
2009-02-04 13:47:25 +03:00
|
|
|
* new methods:
|
2009-02-27 22:51:56 +03:00
|
|
|
* Pathname#binread
|
|
|
|
* Pathname#realdirpath
|
|
|
|
* Pathname#each_child
|
2009-01-30 15:50:55 +03:00
|
|
|
|
2010-03-07 10:13:31 +03:00
|
|
|
* extended methods:
|
|
|
|
* Pathname#realpath and Pathname#realdirpath takes optional basedir
|
|
|
|
argument.
|
|
|
|
|
2009-02-03 15:28:07 +03:00
|
|
|
* Readline
|
2009-02-04 13:47:25 +03:00
|
|
|
* new methods:
|
2009-02-03 15:28:07 +03:00
|
|
|
* Readline.set_screen_size
|
|
|
|
* Readline.get_screen_size
|
|
|
|
|
|
|
|
* extended methods:
|
|
|
|
* Readline.completion_proc= accepts nil.
|
|
|
|
nil means to use default completion proc.
|
|
|
|
|
2010-05-30 17:19:09 +04:00
|
|
|
* set
|
|
|
|
* new methods:
|
|
|
|
* Set#keep_if
|
|
|
|
* Set#select!
|
|
|
|
|
2009-02-15 01:03:28 +03:00
|
|
|
* time
|
|
|
|
* incompatible changes:
|
|
|
|
* Time.parse raises ArgumentError when no date information.
|
|
|
|
|
2009-09-23 18:01:07 +04:00
|
|
|
* thread
|
|
|
|
* extended method:
|
|
|
|
* ConditionVariable#wait takes timeout argument.
|
|
|
|
|
2009-02-15 12:42:00 +03:00
|
|
|
* securerandom
|
|
|
|
* new methods:
|
|
|
|
* SecureRandom.urlsafe_base64
|
2009-09-23 15:30:09 +04:00
|
|
|
|
2009-09-11 16:52:20 +04:00
|
|
|
* URI
|
2010-03-18 03:05:10 +03:00
|
|
|
* new methods:
|
|
|
|
* URI.encode_www_form
|
|
|
|
* URI.decode_www_form
|
|
|
|
* URI.encode_www_form_component
|
|
|
|
* URI.decode_www_form_component
|
2009-09-11 16:52:20 +04:00
|
|
|
* Obsoleted methods:
|
2010-03-30 17:13:20 +04:00
|
|
|
* URI.decode
|
|
|
|
* URI.encode
|
|
|
|
* URI.escape
|
|
|
|
* URI.unescape
|
2009-02-15 12:42:00 +03:00
|
|
|
|
2009-02-17 19:59:06 +03:00
|
|
|
* etc
|
|
|
|
* new methods:
|
|
|
|
* Etc::Passwd.each
|
|
|
|
* Etc::Group.each
|
|
|
|
|
2009-04-22 20:31:06 +04:00
|
|
|
* zlib
|
|
|
|
* new methods:
|
|
|
|
* Zlib::GzipFile#path
|
2010-06-26 03:45:42 +04:00
|
|
|
* Zlib.#adler32_combine
|
|
|
|
* Zlib.#crc32_combine
|
2009-04-22 20:31:06 +04:00
|
|
|
|
2010-01-05 20:58:52 +03:00
|
|
|
* rbconfig
|
|
|
|
* new methods:
|
|
|
|
* RbConfig.ruby
|
|
|
|
|
2010-05-08 08:05:39 +04:00
|
|
|
* io/console
|
|
|
|
* new methods:
|
|
|
|
* IO#noecho {|io| }
|
2010-05-09 19:54:17 +04:00
|
|
|
* IO#echo=
|
2010-05-09 19:56:58 +04:00
|
|
|
* IO#echo?
|
2010-05-08 08:05:39 +04:00
|
|
|
* IO#raw {|io| }
|
2010-05-09 19:54:17 +04:00
|
|
|
* IO#raw!
|
2010-05-08 08:05:39 +04:00
|
|
|
* IO#getch
|
|
|
|
* IO#winsize
|
|
|
|
* IO.console
|
|
|
|
|
2009-09-11 16:52:20 +04:00
|
|
|
=== Language changes
|
|
|
|
|
|
|
|
* Regexp properties (\p{}) names now ignore underscores, spaces, and case, so
|
|
|
|
\p{ol chiki} is the same as \p{Ol_Chiki}
|
2010-01-05 08:51:47 +03:00
|
|
|
* Regexps now support Unicode 5.2 (new characters and scripts)
|
2009-09-11 16:52:20 +04:00
|
|
|
* \d, \s, and \w are now ASCII only; use POSIX bracket classes and \p{} for
|
|
|
|
Unicode semantics
|
|
|
|
* $: no longer includes the current directory, use require_relative
|
2010-03-16 19:26:04 +03:00
|
|
|
* Symbol with an invalid encoding is forbidden to exist.
|
2009-09-11 16:52:20 +04:00
|
|
|
|
2009-05-20 18:04:04 +04:00
|
|
|
=== Compilation options
|
|
|
|
|
2009-09-11 16:52:20 +04:00
|
|
|
* --program-prefix and --program-suffix no longer act on the shared object
|
2009-05-20 18:04:04 +04:00
|
|
|
names nor paths to libraries.
|
|
|
|
|
2009-09-11 16:52:20 +04:00
|
|
|
use --with-rubylibprefix='${libruby}/${RUBY_INSTALL_NAME}' and
|
2009-05-20 18:04:04 +04:00
|
|
|
--with-soname='${RUBY_INSTALL_NAME}' for the same result as Ruby 1.9.1.
|
|
|
|
|
2009-09-11 16:52:20 +04:00
|
|
|
* --with-arch is added for universal binary, instead of
|
|
|
|
--enable-fat-binary option.
|
|
|
|
|
2008-12-12 12:46:28 +03:00
|
|
|
=== Compatibility issues (excluding feature bug fixes)
|
|
|
|
|
|
|
|
* Enumerator#rewind
|
2009-02-04 15:59:09 +03:00
|
|
|
* Socket#recvfrom
|
|
|
|
* Socket#recvfrom_nonblock
|
|
|
|
* Socket#accept
|
|
|
|
* Socket#accept_nonblock
|
|
|
|
* Socket#sysaccept
|
|
|
|
* BasicSocket#getsockopt
|
2009-04-25 10:04:40 +04:00
|
|
|
* Time.utc
|
|
|
|
* Time.gm
|
|
|
|
* Time.local
|
|
|
|
* Time.mktime
|
2009-02-15 13:03:02 +03:00
|
|
|
* Time.parse
|
2009-05-20 18:04:04 +04:00
|
|
|
* --program-prefix and --program-suffix
|
2009-09-11 16:52:20 +04:00
|
|
|
* --enable-fat-binary
|
|
|
|
* $:
|
2008-12-12 12:46:28 +03:00
|
|
|
|
|
|
|
See above.
|
2010-06-03 18:59:44 +04:00
|
|
|
|
|
|
|
* Digest::HMAC
|
|
|
|
|
|
|
|
Deprecated. See above.
|