2013-02-25 00:44:08 +00:00
|
|
|
# -*- rdoc -*-
|
|
|
|
|
2013-02-25 00:41:07 +00:00
|
|
|
= NEWS for Ruby 2.1.0
|
2008-12-12 09:46:28 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2013-02-25 00:41:07 +00:00
|
|
|
== Changes since the 2.0.0 release
|
2010-09-15 16:14:05 +00:00
|
|
|
|
2013-02-23 14:23:39 +00:00
|
|
|
=== Language changes
|
|
|
|
=== Core classes updates (outstanding ones only)
|
2013-03-10 18:23:00 +00:00
|
|
|
|
2013-03-14 02:54:30 +00:00
|
|
|
* GC
|
|
|
|
* added environment variable:
|
|
|
|
* RUBY_HEAP_SLOTS_GROWTH_FACTOR: growth rate of the heap.
|
|
|
|
|
2013-04-03 12:25:09 +00:00
|
|
|
* IO
|
|
|
|
* extended methods:
|
|
|
|
* IO#seek accepts symbols (:CUR, :END, :SET) for 2nd argument.
|
|
|
|
|
2013-03-10 18:23:00 +00:00
|
|
|
* Mutex
|
|
|
|
* misc
|
|
|
|
* Mutex#owned? is no longer experimental.
|
|
|
|
|
2013-04-19 17:50:38 +00:00
|
|
|
* String
|
|
|
|
* New methods:
|
|
|
|
* added String#scrub to verify and fix invalid byte sequence.
|
|
|
|
* extended methods:
|
|
|
|
* If invalid: :replace is specified for String#encode, replace
|
|
|
|
invalid byte sequence even if the destination encoding equals to
|
|
|
|
the source encoding.
|
|
|
|
|
2013-04-02 11:28:57 +00:00
|
|
|
* pack/unpack (Array/String)
|
2013-04-02 14:58:32 +00:00
|
|
|
* Q! and q! directives for long long type if platform has the type.
|
2013-04-02 11:28:57 +00:00
|
|
|
|
2013-02-23 14:23:39 +00:00
|
|
|
=== Core classes compatibility issues (excluding feature bug fixes)
|
2013-03-07 17:54:49 +00:00
|
|
|
|
|
|
|
* Module#ancestors
|
|
|
|
|
2013-03-30 03:03:58 +00:00
|
|
|
The ancestors of a singleton class now include singleton classes,
|
|
|
|
in particular itself.
|
2013-03-07 17:54:49 +00:00
|
|
|
|
2013-02-23 14:23:39 +00:00
|
|
|
=== Stdlib updates (outstanding ones only)
|
2013-03-11 17:27:03 +00:00
|
|
|
|
2013-04-13 03:08:28 +00:00
|
|
|
* Matrix
|
|
|
|
* Added Vector#cross_product.
|
|
|
|
|
2013-03-11 17:27:03 +00:00
|
|
|
* Net::SMTP
|
2013-04-03 11:43:42 +00:00
|
|
|
* Added Net::SMTP#rset to implement the RSET command
|
2013-03-23 20:36:42 +00:00
|
|
|
|
2013-04-04 11:12:12 +00:00
|
|
|
* Pathname
|
|
|
|
* New methods:
|
|
|
|
* Pathname#write
|
|
|
|
* Pathname#binwrite
|
|
|
|
|
2013-04-09 10:53:41 +00:00
|
|
|
* open-uri
|
|
|
|
* Support multiple fields with same field name (like Set-Cookie).
|
|
|
|
|
2013-04-06 13:16:36 +00:00
|
|
|
* Resolv
|
|
|
|
* New methods:
|
|
|
|
* Resolv::DNS.fetch_resource
|
2013-04-06 14:32:34 +00:00
|
|
|
* One-shot multicast DNS support
|
2013-04-06 14:52:48 +00:00
|
|
|
* Support LOC resources
|
2013-04-06 13:16:36 +00:00
|
|
|
|
2013-03-23 20:10:11 +00:00
|
|
|
* Rinda::RingServer, Rinda::RingFinger
|
2013-03-23 20:36:42 +00:00
|
|
|
* Rinda now supports multicast sockets. See Rinda::RingServer and
|
|
|
|
Rinda::RingFinger for details.
|
2013-03-11 17:27:03 +00:00
|
|
|
|
2013-02-23 14:23:39 +00:00
|
|
|
=== Stdlib compatibility issues (excluding feature bug fixes)
|
|
|
|
=== C API updates
|