2013-02-24 19:44:08 -05:00
|
|
|
# -*- rdoc -*-
|
|
|
|
|
2014-12-25 08:53:36 -05:00
|
|
|
= NEWS for Ruby 2.3.0
|
2008-12-12 04:46:28 -05: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.
|
|
|
|
|
2014-12-25 08:53:36 -05:00
|
|
|
== Changes since the 2.2.0 release
|
2010-09-15 12:14:05 -04:00
|
|
|
|
2013-02-23 09:23:39 -05:00
|
|
|
=== Language changes
|
2013-08-01 13:33:29 -04:00
|
|
|
|
2013-02-23 09:23:39 -05:00
|
|
|
=== Core classes updates (outstanding ones only)
|
2013-03-10 14:23:00 -04:00
|
|
|
|
2013-02-23 09:23:39 -05:00
|
|
|
=== Core classes compatibility issues (excluding feature bug fixes)
|
2013-03-07 12:54:49 -05:00
|
|
|
|
2015-01-14 20:44:57 -05:00
|
|
|
* Array
|
|
|
|
* Array#select!, Array#keep_if, Array#reject!, and Array#delete_if
|
|
|
|
no longer changes the receiver array instantly every time the
|
2015-01-20 19:22:42 -05:00
|
|
|
block is called. [Feature #10714]
|
2015-01-14 20:44:57 -05:00
|
|
|
|
2015-01-24 22:04:10 -05:00
|
|
|
* Array#flatten and Array#flatten! no longer try to call #to_ary
|
|
|
|
method on elements beyond the given level. [Bug #10748]
|
|
|
|
|
2015-04-06 09:53:24 -04:00
|
|
|
* Enumerable
|
|
|
|
* Enumerable#chunk and Enumerable#slice_before no longer takes the
|
|
|
|
initial_state argument. [Feature #10958]
|
|
|
|
Use a local variable instead to maintain a state.
|
|
|
|
|
2015-01-15 17:16:30 -05:00
|
|
|
* IO
|
2015-01-20 19:10:45 -05:00
|
|
|
* IO#close doesn't raise when the IO object is closed. [Feature #10718]
|
2015-01-15 17:16:30 -05:00
|
|
|
|
2013-02-23 09:23:39 -05:00
|
|
|
=== Stdlib updates (outstanding ones only)
|
2013-03-11 13:27:03 -04:00
|
|
|
|
2015-03-11 23:03:04 -04:00
|
|
|
* Socket
|
|
|
|
* Socket#accept_nonblock supports `exception :false` to return symbols
|
|
|
|
Ditto for TCPServer#accept_nonblock, UNIXServer#accept_nonblock
|
|
|
|
|
2015-04-10 06:38:13 -04:00
|
|
|
* ObjectSpace (objspace)
|
|
|
|
* ObjectSpace.count_imemo_objects is added.
|
|
|
|
|
2015-03-11 23:03:04 -04:00
|
|
|
* OpenSSL
|
|
|
|
* OpenSSL::SSL::SSLSocket#accept_nonblock supports `exception: false`
|
|
|
|
to return symbols
|
|
|
|
|
2013-02-23 09:23:39 -05:00
|
|
|
=== Stdlib compatibility issues (excluding feature bug fixes)
|
2013-04-25 01:27:41 -04:00
|
|
|
|
2015-01-02 19:01:49 -05:00
|
|
|
* lib/webrick/utils.rb
|
|
|
|
* removed unused argument. https://github.com/ruby/ruby/pull/356
|
|
|
|
|
2015-01-03 19:21:08 -05:00
|
|
|
* lib/drb/drb.rb
|
|
|
|
* removed unused argument. https://github.com/ruby/ruby/pull/515
|
|
|
|
|
2015-02-13 07:31:30 -05:00
|
|
|
* lib/base64.rb
|
|
|
|
* Base64.urlsafe_encode64: added a "padding" option to suppress
|
|
|
|
the padding character ("=").
|
|
|
|
* Base64.urlsafe_decode64: now it accepts not only correctly-padded
|
|
|
|
input but also unpadded input.
|
|
|
|
|
2015-03-05 18:45:42 -05:00
|
|
|
* lib/matrix.rb
|
|
|
|
* Add Vector#round. https://github.com/ruby/ruby/pull/802
|
|
|
|
|
2015-02-13 10:53:47 -05:00
|
|
|
* ext/coverage/coverage.c
|
|
|
|
* Coverage.peek_result: new method to allow coverage to be captured without
|
|
|
|
stopping the coverage tool.
|
|
|
|
|
2013-06-13 20:53:37 -04:00
|
|
|
=== Built-in global variables compatibility issues
|
|
|
|
|
2013-02-23 09:23:39 -05:00
|
|
|
=== C API updates
|
2013-11-22 23:46:34 -05:00
|
|
|
|
2014-09-18 16:37:52 -04:00
|
|
|
=== Build system updates
|
|
|
|
|
2014-11-25 03:07:44 -05:00
|
|
|
=== Implementation changes
|