2015-12-24 20:25:26 +03:00
|
|
|
# -*- rdoc -*-
|
|
|
|
|
|
|
|
= NEWS for Ruby 2.4.0
|
|
|
|
|
|
|
|
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 or Redmine
|
|
|
|
(e.g. <tt>https://bugs.ruby-lang.org/issues/$FEATURE_OR_BUG_NUMBER</tt>)
|
|
|
|
|
|
|
|
== Changes since the 2.3.0 release
|
|
|
|
|
|
|
|
=== Language changes
|
|
|
|
|
2016-04-13 08:36:26 +03:00
|
|
|
* Multiple assignment in conditional expression is now allowed.
|
|
|
|
[Feature #10617]
|
|
|
|
|
2016-10-20 01:44:49 +03:00
|
|
|
* Refinements is enabled at method by Symbol#to_proc. [Feature #9451]
|
2016-10-15 08:17:07 +03:00
|
|
|
|
2016-10-20 01:44:49 +03:00
|
|
|
* Refinements is enabled with Kernel#send and BasicObject#__send__.
|
2016-10-19 15:49:40 +03:00
|
|
|
[Feature #11476]
|
|
|
|
|
2016-10-26 15:26:51 +03:00
|
|
|
* Rescue modifier now applicable to method arguments.
|
2016-10-26 05:34:06 +03:00
|
|
|
[Feature #12686]
|
|
|
|
|
2016-12-21 04:58:32 +03:00
|
|
|
* Toplevel return is now allowed. [Feature #4840]
|
|
|
|
|
2015-12-24 20:25:26 +03:00
|
|
|
=== Core classes updates (outstanding ones only)
|
|
|
|
|
2016-03-17 15:49:19 +03:00
|
|
|
* Array
|
2016-04-15 04:17:51 +03:00
|
|
|
|
2016-12-12 16:12:05 +03:00
|
|
|
* Array#concat [Feature #12333]
|
|
|
|
Now takes multiple arguments.
|
|
|
|
|
2016-03-17 15:49:19 +03:00
|
|
|
* Array#max and Array#min. [Feature #12172]
|
|
|
|
This may cause a tiny incompatibility: if you redefine
|
|
|
|
Enumerable#max and call max to an Array, your redefinition will be
|
|
|
|
now ignored. You should also redefine Array#max.
|
|
|
|
|
2016-12-12 16:12:05 +03:00
|
|
|
* Array#pack [Feature #12754]
|
|
|
|
Now takes optional argument `buffer:' to reuse already allocated buffer.
|
|
|
|
|
2016-04-13 17:55:18 +03:00
|
|
|
* Array#sum [Feature #12217]
|
2016-05-18 06:21:53 +03:00
|
|
|
This is different from Enumerable#sum in that Array#sum doesn't depend on
|
|
|
|
the definition of each method.
|
2016-04-13 17:55:18 +03:00
|
|
|
|
2016-08-11 10:24:25 +03:00
|
|
|
* Comparable
|
|
|
|
|
|
|
|
* Comparable#clamp. [Feature #10594]
|
|
|
|
|
2016-02-16 11:34:47 +03:00
|
|
|
* Dir
|
|
|
|
|
2016-02-16 15:25:54 +03:00
|
|
|
* Dir.empty?. [Feature #10121]
|
2016-02-16 11:34:47 +03:00
|
|
|
|
2016-05-18 06:21:53 +03:00
|
|
|
* Enumerable
|
|
|
|
|
2016-10-04 21:25:16 +03:00
|
|
|
* Enumerable#chunk called without a block now return an Enumerator
|
|
|
|
[Feature #2172]
|
2016-12-12 16:12:05 +03:00
|
|
|
* Enumerable#sum [Feature #12217]
|
|
|
|
* Enumerable#uniq [Feature #11090]
|
2016-07-21 00:00:30 +03:00
|
|
|
|
|
|
|
* Enumerator::Lazy
|
|
|
|
|
2016-11-07 18:26:10 +03:00
|
|
|
* Enumerator::Lazy#chunk_while [GH-1186]
|
2016-07-21 00:00:30 +03:00
|
|
|
* Enumerator::Lazy#uniq [Feature #11090]
|
2016-05-18 06:21:53 +03:00
|
|
|
|
2016-04-13 09:14:12 +03:00
|
|
|
* File
|
|
|
|
|
|
|
|
* File.empty?. [Feature #9969]
|
|
|
|
|
2016-04-15 04:17:51 +03:00
|
|
|
* Float
|
|
|
|
|
2016-04-18 06:56:33 +03:00
|
|
|
* Float#ceil, Float#floor, and Float#truncate now take an optional
|
|
|
|
digits, as well as Float#round. [Feature #12245]
|
2016-04-15 04:17:51 +03:00
|
|
|
|
2016-11-05 12:49:39 +03:00
|
|
|
* Float#round now takes an optional keyword argument, half option, and
|
2016-12-15 19:08:33 +03:00
|
|
|
the default behavior is round-up. [Bug #12548] [Bug #12958]
|
2016-11-26 13:57:02 +03:00
|
|
|
half option can be one of :even, :up, and :down. [Feature #12953]
|
2016-11-05 12:49:39 +03:00
|
|
|
|
2016-09-08 05:34:54 +03:00
|
|
|
* Hash
|
|
|
|
|
2016-10-13 11:15:43 +03:00
|
|
|
* Hash#compact and Hash#compact! [Feature #11818]
|
2016-12-12 16:12:05 +03:00
|
|
|
* Hash#transform_values and Hash#transform_values! [Feature #12512]
|
2016-09-08 05:34:54 +03:00
|
|
|
|
2016-04-15 04:17:51 +03:00
|
|
|
* Integer
|
|
|
|
|
2016-12-12 16:12:05 +03:00
|
|
|
* Fixnum and Bignum are unified into Integer [Feature #12005]
|
|
|
|
|
2016-04-18 06:55:33 +03:00
|
|
|
* Integer#ceil, Integer#floor, and Integer#truncate now take an optional
|
|
|
|
digits, as well as Integer#round. [Feature #12245]
|
2016-04-15 04:17:51 +03:00
|
|
|
|
2016-06-14 04:20:07 +03:00
|
|
|
* Integer#digits for extracting columns of place-value notation [Feature #12447]
|
|
|
|
|
2016-11-18 13:58:30 +03:00
|
|
|
* Integer#round now takes an optional keyword argument, half option, and the
|
2016-12-15 19:08:33 +03:00
|
|
|
default behavior is round-up now. [Bug #12548] [Bug #12958]
|
2016-11-26 13:57:02 +03:00
|
|
|
half option can be one of :even, :up, and :down. [Feature #12953]
|
2016-11-05 12:49:39 +03:00
|
|
|
|
2016-11-05 10:28:09 +03:00
|
|
|
* IO
|
|
|
|
|
2016-11-07 15:10:36 +03:00
|
|
|
* IO#gets, IO#readline, IO#each_line, IO#readlines, IO.foreach now takes
|
2016-11-06 06:29:22 +03:00
|
|
|
an optional keyword argument, chomp flag. [Feature #12553]
|
2016-11-05 10:28:09 +03:00
|
|
|
|
2016-08-03 11:20:13 +03:00
|
|
|
* Kernel
|
|
|
|
|
|
|
|
* Kernel#clone now takes an optional keyword argument, freeze flag.
|
|
|
|
[Feature #12300]
|
|
|
|
|
2016-08-30 15:40:55 +03:00
|
|
|
* MatchData
|
|
|
|
|
|
|
|
* MatchData#named_captures [Feature #11999]
|
|
|
|
* MatchData#values_at supports named captures [Feature #9179]
|
|
|
|
|
2016-09-11 15:33:46 +03:00
|
|
|
* Module
|
|
|
|
|
2016-11-05 06:31:45 +03:00
|
|
|
* Module#refine accepts a module as the argument now. [Feature #12534]
|
2016-12-12 16:12:05 +03:00
|
|
|
* Module.used_modules [Feature #7418]
|
2016-09-11 15:33:46 +03:00
|
|
|
|
2016-10-26 05:34:06 +03:00
|
|
|
* Numeric
|
|
|
|
|
|
|
|
* Numeric#finite?, Numeric#infinite? [Feature #12039]
|
|
|
|
|
2016-11-05 06:13:16 +03:00
|
|
|
* Process
|
|
|
|
|
|
|
|
* Support CLOCK_MONOTONIC_RAW_APPROX, CLOCK_UPTIME_RAW, and
|
|
|
|
CLOCK_UPTIME_RAW_APPROX which are introduced by macOS 10.12.
|
|
|
|
|
2016-11-05 12:49:39 +03:00
|
|
|
* Rational
|
|
|
|
|
|
|
|
* Rational#round now takes an optional keyword argument, half option, and
|
2016-12-15 19:08:33 +03:00
|
|
|
the default behavior is round-up now. [Bug #12548] [Bug #12958]
|
2016-11-26 13:57:02 +03:00
|
|
|
half option can be one of :even, :up, and :down. [Feature #12953]
|
2016-11-05 12:49:39 +03:00
|
|
|
|
2016-05-18 13:37:13 +03:00
|
|
|
* Regexp
|
|
|
|
|
2016-11-30 20:29:19 +03:00
|
|
|
* meta character \X matches Unicode 9.0 characters with some workarounds
|
|
|
|
for UTR #51 Unicode Emoji, Version 4.0 emoji zwj sequences.
|
|
|
|
|
2016-12-12 16:12:05 +03:00
|
|
|
* Regexp#match? [Feature #8110]
|
|
|
|
This returns bool and doesn't save backref.
|
|
|
|
|
2017-11-02 23:25:04 +03:00
|
|
|
* Update to Onigmo 6.0.0.
|
2016-12-10 20:47:04 +03:00
|
|
|
|
2017-11-02 23:25:04 +03:00
|
|
|
* Regexp/String: Update Unicode version from 8.0.0 to 9.0.0 [Feature #12513]
|
2016-09-09 07:14:55 +03:00
|
|
|
|
2016-07-28 22:13:26 +03:00
|
|
|
* RubyVM::Env
|
|
|
|
|
|
|
|
* RubyVM::Env was removed.
|
|
|
|
|
2016-02-17 06:21:35 +03:00
|
|
|
* String
|
|
|
|
|
2016-11-29 18:31:16 +03:00
|
|
|
* String#casecmp? [Feature #12786]
|
|
|
|
|
2016-10-26 05:34:06 +03:00
|
|
|
* String#concat, String#prepend [Feature #12333]
|
|
|
|
Now takes multiple arguments.
|
|
|
|
|
2016-12-05 15:35:02 +03:00
|
|
|
* String#each_line, String#lines now takes an optional keyword argument,
|
|
|
|
chomp flag. [Feature #12553]
|
|
|
|
|
2016-12-12 16:12:08 +03:00
|
|
|
* String#match? [Feature #12898]
|
|
|
|
|
2016-12-01 17:18:32 +03:00
|
|
|
* String#unpack1 [Feature #12752]
|
|
|
|
|
2016-12-12 16:12:05 +03:00
|
|
|
* String#upcase, String#downcase, String#capitalize, String#swapcase and
|
|
|
|
their bang variants work for all of Unicode, and are no longer limited
|
|
|
|
to ASCII. Supported encodings are UTF-8, UTF-16BE/LE, UTF-32BE/LE, and
|
|
|
|
ISO-8859-1~16. Variations are available with options. See the documentation
|
|
|
|
of String#downcase for details. [Feature #10085]
|
|
|
|
|
|
|
|
* String.new(capacity: size) [Feature #12024]
|
|
|
|
|
2016-12-05 15:35:02 +03:00
|
|
|
* StringIO
|
|
|
|
|
|
|
|
* StringIO#gets, StringIO#readline, StringIO#each_line, StringIO#readlines now takes
|
|
|
|
an optional keyword argument, chomp flag. [Feature #12553]
|
|
|
|
|
2016-02-21 07:52:04 +03:00
|
|
|
* Symbol
|
|
|
|
|
2016-11-29 18:31:16 +03:00
|
|
|
* Symbol#casecmp? [Feature #12786]
|
|
|
|
|
2016-02-21 07:52:04 +03:00
|
|
|
* Symbol#match now returns MatchData. [Bug #11991]
|
|
|
|
|
2016-12-12 16:12:08 +03:00
|
|
|
* Symbol#match? [Feature #12898]
|
|
|
|
|
2016-06-05 13:06:42 +03:00
|
|
|
* Symbol#upcase, Symbol#downcase, Symbol#capitalize, and Symbol#swapcase now
|
|
|
|
work for all of Unicode. See the documentation of String#downcase
|
|
|
|
for details. [Feature #10085]
|
|
|
|
|
2016-06-06 03:25:38 +03:00
|
|
|
* Thread
|
|
|
|
|
|
|
|
* Thread#report_on_exception and Thread.report_on_exception
|
|
|
|
[Feature #6647]
|
|
|
|
|
* vm_trace.c (tracepoint_attr_callee_id, rb_tracearg_callee_id):
add TracePoint#callee_id. [ruby-core:77241] [Feature #12747]
* cont.c, eval.c, gc.c, include/ruby/intern.h, insns.def, thread.c,
vm.c, vm_backtrace.c, vm_core.h, vm_eval.c, vm_insnhelper.c, vm_trace.c: ditto.
* test/ruby/test_settracefunc.rb: tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 16:15:27 +03:00
|
|
|
* TracePoint
|
|
|
|
|
|
|
|
* TracePoint#callee_id [Feature #12747]
|
|
|
|
|
2016-09-27 17:01:17 +03:00
|
|
|
* Warning
|
|
|
|
|
|
|
|
* New module named Warning is introduced. By default it has only
|
2016-09-27 21:09:00 +03:00
|
|
|
one singleton method, named warn. This makes it possible for
|
|
|
|
3rd-party libraries to control the way warnings are handled.
|
2016-09-27 17:01:17 +03:00
|
|
|
[Feature #12299]
|
|
|
|
|
2015-12-24 20:25:26 +03:00
|
|
|
=== Stdlib updates (outstanding ones only)
|
|
|
|
|
2016-09-27 06:17:47 +03:00
|
|
|
* CGI
|
|
|
|
|
|
|
|
* Don't allow , as a separator [Bug #12791]
|
|
|
|
|
2016-01-01 16:02:56 +03:00
|
|
|
* CSV
|
2016-04-15 04:17:51 +03:00
|
|
|
|
2016-01-01 16:02:56 +03:00
|
|
|
* Add a liberal_parsing option. [Feature #11839]
|
|
|
|
|
2016-11-05 16:53:38 +03:00
|
|
|
* IPAddr
|
|
|
|
|
|
|
|
* IPAddr#== and IPAddr#<=> no longer raise an exception if coercion fails.
|
|
|
|
[Bug #12799]
|
|
|
|
|
2016-11-06 12:18:30 +03:00
|
|
|
* IRB
|
|
|
|
|
|
|
|
* Binding#irb: Start a REPL session like `binding.pry` at r56624.
|
|
|
|
|
2016-04-19 06:55:13 +03:00
|
|
|
* Logger
|
|
|
|
|
2016-12-12 16:12:06 +03:00
|
|
|
* Allow specifying logger parameters in constructor such
|
|
|
|
as level, progname, datetime_format, formatter. [Feature #12224]
|
|
|
|
* Add shift_period_suffix option. [Feature #10772]
|
2016-04-19 06:55:13 +03:00
|
|
|
|
2016-11-06 15:36:47 +03:00
|
|
|
* Net::HTTP
|
|
|
|
|
|
|
|
* New method: Net::HTTP.post [Feature #12375]
|
|
|
|
|
2016-11-19 05:29:23 +03:00
|
|
|
* Net::FTP
|
|
|
|
|
|
|
|
* Support TLS (RFC 4217).
|
|
|
|
* Support hash style options for Net::FTP.new.
|
2016-11-23 03:03:27 +03:00
|
|
|
* Add a new optional argument pathname to Net::FTP#status.
|
2016-11-24 04:03:07 +03:00
|
|
|
Contributed by soleboxy. [GH-1478] [Feature #12965]
|
2016-11-19 05:29:23 +03:00
|
|
|
|
2016-08-29 08:47:09 +03:00
|
|
|
* OpenSSL
|
|
|
|
|
2016-11-30 17:41:46 +03:00
|
|
|
* Includes Ruby/OpenSSL 2.0. OpenSSL has been extracted as a Gem and is
|
|
|
|
maintained at a separate repository now: https://github.com/ruby/openssl.
|
|
|
|
It still remains as a 'default gem'. [Feature #9612]
|
|
|
|
Refer to ext/openssl/History.md for the full release note.
|
2016-08-29 08:47:09 +03:00
|
|
|
|
2016-08-30 15:40:55 +03:00
|
|
|
* optparse
|
|
|
|
|
|
|
|
* Add an into option. [Feature #11191]
|
|
|
|
|
2016-11-05 06:29:08 +03:00
|
|
|
* pathname
|
2016-11-06 15:36:47 +03:00
|
|
|
|
2016-11-08 18:04:29 +03:00
|
|
|
* New method: Pathname#empty? [Feature #12596]
|
2016-11-05 06:29:08 +03:00
|
|
|
|
2016-11-06 15:36:47 +03:00
|
|
|
* Readline
|
|
|
|
|
|
|
|
* Readline.quoting_detection_proc and Readline.quoting_detection_proc=
|
|
|
|
[Feature #12659]
|
|
|
|
|
2016-12-06 16:57:56 +03:00
|
|
|
* REXML
|
|
|
|
|
|
|
|
* REXML::Element#[]: If String or Symbol is specified, attribute
|
|
|
|
value is returned. Otherwise, Nth child is returned. This is
|
|
|
|
backward compatible change.
|
|
|
|
|
2016-11-05 12:23:14 +03:00
|
|
|
* set
|
2016-11-06 15:36:47 +03:00
|
|
|
|
2016-11-05 12:23:14 +03:00
|
|
|
* New methods: Set#compare_by_identity and Set#compare_by_identity?.
|
|
|
|
[Feature #12210]
|
|
|
|
|
2016-09-27 06:17:47 +03:00
|
|
|
* WEBrick
|
|
|
|
|
|
|
|
* Don't allow , as a separator [Bug #12791]
|
|
|
|
|
2016-04-15 18:26:48 +03:00
|
|
|
=== Compatibility issues (excluding feature bug fixes)
|
|
|
|
|
2016-05-18 06:21:53 +03:00
|
|
|
* Array#sum and Enumerable#sum are implemented. [Feature #12217]
|
2016-05-17 16:26:24 +03:00
|
|
|
Ruby itself has no compatibility problem because Ruby didn't have sum method
|
|
|
|
for arrays before Ruby 2.4.
|
2016-04-15 18:26:48 +03:00
|
|
|
However many third party gems, activesupport, facets, simple_stats, etc,
|
|
|
|
defines sum method. These implementations are mostly compatible but
|
|
|
|
there are subtle differences.
|
|
|
|
Ruby's sum method should be mostly compatible but it is impossible to
|
|
|
|
be perfectly compatible with all of them.
|
2015-12-24 20:25:26 +03:00
|
|
|
|
2016-05-17 16:24:53 +03:00
|
|
|
* Fixnum and Bignum are unified into Integer [Feature #12005]
|
|
|
|
Fixnum class and Bignum class is removed.
|
|
|
|
Integer class is changed from abstract class to concrete class.
|
|
|
|
For example, 0 is an instance of Integer: 0.class returns Integer.
|
|
|
|
The constants Fixnum and Bignum is bound to Integer.
|
|
|
|
So obj.kind_of?(Fixnum) works as obj.kind_of?(Integer).
|
2016-06-20 10:35:05 +03:00
|
|
|
At C-level, Fixnum object and Bignum object should be distinguished by
|
|
|
|
FIXNUM_P(obj) and RB_TYPE_P(obj, T_BIGNUM).
|
2016-09-20 14:12:38 +03:00
|
|
|
RUBY_INTEGER_UNIFICATION can be used to detect this feature at C-level.
|
|
|
|
0.class == Integer can be used to detect this feature at Ruby-level.
|
2016-12-10 09:25:26 +03:00
|
|
|
The C-level constants, rb_cFixnum and rb_cBignum, are removed.
|
2016-10-11 08:35:37 +03:00
|
|
|
They can cause compilation failure.
|
2016-05-17 16:24:53 +03:00
|
|
|
|
2016-06-05 13:06:42 +03:00
|
|
|
* String/Symbol#upcase/downcase/swapcase/capitalize(!) now work for all of
|
|
|
|
Unicode, not only for ASCII. [Feature #10085]
|
|
|
|
No change is needed if the data is in ASCII anyway or if the limitation
|
|
|
|
to ASCII was only tolerated while waiting for a more extensive implementation.
|
|
|
|
A change (using the :ascii option) is needed in cases where Unicode data
|
|
|
|
is processed, but the operation has to be limited to ASCII only.
|
|
|
|
A good example of this are internationalized domain names.
|
|
|
|
|
2016-10-26 05:34:06 +03:00
|
|
|
* TRUE / FALSE / NIL
|
|
|
|
These constants are now obsoleted. [Feature #12574]
|
|
|
|
Use true / false / nil resp. instead.
|
|
|
|
|
2016-04-23 07:23:29 +03:00
|
|
|
=== Stdlib compatibility issues (excluding feature bug fixes)
|
|
|
|
|
|
|
|
* DateTime
|
|
|
|
|
|
|
|
* DateTime#to_time now preserves timezone. [Bug #12189]
|
|
|
|
|
2017-11-02 23:25:04 +03:00
|
|
|
* Psych
|
2016-12-15 14:00:41 +03:00
|
|
|
|
2017-11-02 23:25:04 +03:00
|
|
|
* Update to Psych 2.2.2
|
2016-12-15 14:00:41 +03:00
|
|
|
|
2016-11-06 15:36:52 +03:00
|
|
|
* RDoc
|
|
|
|
|
2017-11-02 23:25:04 +03:00
|
|
|
* Update to RDoc 5.0.0
|
2016-11-06 15:36:52 +03:00
|
|
|
|
2016-11-07 12:46:42 +03:00
|
|
|
* RubyGems
|
|
|
|
|
2017-11-02 23:25:04 +03:00
|
|
|
* Update to RubyGems 2.6.8
|
2016-11-07 12:46:42 +03:00
|
|
|
|
2016-11-06 15:36:47 +03:00
|
|
|
* shellwords
|
|
|
|
|
|
|
|
* Shellwords.shellwords (shellsplit) treats the backslash as escape
|
|
|
|
character only when followed by one of the following characters:
|
|
|
|
$ ` " \ <newline>
|
|
|
|
[Bug #10055]
|
|
|
|
|
2016-08-30 15:40:55 +03:00
|
|
|
* Time
|
|
|
|
|
|
|
|
* Time#to_time now preserves timezone. [Bug #12271]
|
|
|
|
|
2016-04-30 05:56:17 +03:00
|
|
|
* thread
|
|
|
|
|
|
|
|
* the extension library is removed. Till 2.0 it was a pure ruby script
|
|
|
|
"thread.rb", which has precedence over "thread.so", and has been provided
|
|
|
|
in $LOADED_FEATURES since 2.1.
|
|
|
|
|
2016-08-09 09:44:45 +03:00
|
|
|
* Tk
|
2016-11-06 15:36:47 +03:00
|
|
|
|
2016-08-09 09:44:45 +03:00
|
|
|
* Tk is removed from stdlib. [Feature #8539]
|
|
|
|
https://github.com/ruby/tk is the new upstream.
|
|
|
|
|
2016-11-06 12:23:35 +03:00
|
|
|
* XMLRPC
|
|
|
|
|
2016-12-13 05:01:34 +03:00
|
|
|
* XMLRPC is removed from stdlib, and bundled as gem. [Feature #12160][ruby-core:74239]
|
2016-11-06 12:23:35 +03:00
|
|
|
https://github.com/ruby/xmlrpc is the new upstream.
|
|
|
|
|
2016-12-10 01:45:39 +03:00
|
|
|
* Zlib
|
|
|
|
|
|
|
|
* Zlib.gzip and Zlib.gunzip [Feature #13020]
|
|
|
|
|
2015-12-24 20:25:26 +03:00
|
|
|
=== C API updates
|
|
|
|
|
2016-01-07 05:34:33 +03:00
|
|
|
* ruby_show_version() will no longer exits the process, if
|
|
|
|
RUBY_SHOW_COPYRIGHT_TO_DIE is set to 0. This will be the default in
|
|
|
|
the future.
|
|
|
|
|
2016-10-26 05:34:06 +03:00
|
|
|
* rb_gc_adjust_memory_usage() [Feature #12690]
|
|
|
|
|
2015-12-24 20:25:26 +03:00
|
|
|
=== Supported platform changes
|
|
|
|
|
2016-05-13 02:46:43 +03:00
|
|
|
* FreeBSD < 4 is no longer supported
|
|
|
|
|
2015-12-24 20:25:26 +03:00
|
|
|
=== Implementation improvements
|
2016-03-17 15:49:19 +03:00
|
|
|
|
|
|
|
* In some condition, `[x, y].max` and `[x, y].min` are optimized
|
|
|
|
so that a temporal array is not created. The concrete condition is
|
|
|
|
an implementation detail: currently, the array literal must have no
|
|
|
|
splat, must have at least one expression but literal, the length must
|
|
|
|
be <= 0x100, and Array#max and min must not be redefined. It will work
|
|
|
|
in most casual and real-life use case where it is written with intent
|
|
|
|
to `Math.max(x, y)`.
|
2016-06-13 15:34:06 +03:00
|
|
|
|
|
|
|
* Thread deadlock detection now shows their backtrace and dependency. [Feature #8214]
|
2016-11-07 03:45:00 +03:00
|
|
|
|
2016-11-07 04:03:04 +03:00
|
|
|
* st_table (st.c) internal data structure is improved. [Feature #12142]
|
2016-11-07 08:53:42 +03:00
|
|
|
|
2016-11-18 18:31:05 +03:00
|
|
|
* Rational is extensively optimized. [Feature #12484]
|
|
|
|
|
2016-11-07 08:53:42 +03:00
|
|
|
=== Miscellaneous changes
|
|
|
|
|
|
|
|
* ChangeLog is removed from the repository.
|
|
|
|
It is generated from commit messages in Subversion by `make dist`.
|
|
|
|
Also note that now people should follow Git style commit message.
|
|
|
|
The template is written at
|
|
|
|
[Short (50 chars or less) summary of changes](https://git-scm.com/book/ch5-2.html).
|
2016-11-08 18:01:55 +03:00
|
|
|
[Feature #12283]
|