1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

NEWS: use note-list

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-02-02 06:38:09 +00:00
parent 3f78209cd1
commit 009144e8ef
2 changed files with 113 additions and 113 deletions

4
NEWS
View file

@ -26,12 +26,12 @@ sufficient information, see the ChangeLog file or Redmine
=== Stdlib updates (outstanding ones only)
[CSV]
CSV::
* Upgrade to 3.0.4.
See https://github.com/ruby/csv/blob/master/NEWS.md.
[RSS]
RSS::
* Upgrade to RSS 0.2.8.
See https://github.com/ruby/rss/blob/master/NEWS.md.

View file

@ -50,24 +50,24 @@ sufficient information, see the ChangeLog file or Redmine
=== Core classes updates (outstanding ones only)
[Array]
Array::
[New methods]
New methods::
* Added Array#union and Array#difference instance methods. [Feature #14097]
[Modified methods]
Modified methods::
* Array#to_h now accepts a block that maps elements to new key/value pairs. [Feature #15143]
[Aliased methods]
Aliased methods::
* Array#filter is a new alias for Array#select. [Feature #13784]
* Array#filter! is a new alias for Array#select!. [Feature #13784]
[Binding]
Binding::
[New methods]
New methods::
* Added Binding#source_location. [Feature #14230]
@ -79,97 +79,97 @@ sufficient information, see the ChangeLog file or Redmine
binding's source location [Bug #4352]. So, users should use this
newly-introduced method instead of Kernel#eval.
[Dir]
Dir::
[New methods]
New methods::
* Added Dir#each_child and Dir#children instance methods. [Feature #13969]
[Enumerable]
Enumerable::
[New methods]
New methods::
* Enumerable#chain returns an enumerator object that iterates over the
elements of the receiver and then those of each argument
in sequence. [Feature #15144]
[Modified methods]
Modified methods::
* Enumerable#to_h now accepts a block that maps elements to new key/value pairs. [Feature #15143]
[Aliased methods]
Aliased methods::
* Enumerable#filter is a new alias for Enumerable#select. [Feature #13784]
[Enumerator::ArithmeticSequence]
Enumerator::ArithmeticSequence::
* This is a new class to represent a generator of an arithmetic sequence,
that is a number sequence defined by a common difference. It can be used
for representing what is similar to Python's slice. You can get an
instance of this class from Numeric#step and Range#step.
[Enumerator::Chain]
Enumerator::Chain::
* This is a new class to represent a chain of enumerables that works as a
single enumerator, generated by such methods as Enumerable#chain and
Enumerator#+.
[Enumerator::Lazy]
Enumerator::Lazy::
[Aliased methods]
Aliased methods::
* Enumerator::Lazy#filter is a new alias for
Enumerator::Lazy#select. [Feature #13784]
[Enumerator]
Enumerator::
[New methods]
New methods::
* Enumerator#+ returns an enumerator object that iterates over the
elements of the receiver and then those of the other operand. [Feature #15144]
[ENV]
ENV::
[Modified methods]
Modified methods::
* ENV.to_h now accepts a block that maps names and values to new keys and values. [Feature #15143]
[Exception]
Exception::
[New options]
New options::
* Exception#full_message takes +:highlight+ and +:order+
options. [Bug #14324]
[Hash]
Hash::
[Modified methods]
Modified methods::
* Hash#merge, Hash#merge!, and Hash#update now accept multiple
arguments. [Feature #15111]
* Hash#to_h now accepts a block that maps keys and values to new keys and values. [Feature #15143]
[Aliased methods]
Aliased methods::
* Hash#filter is a new alias for Hash#select. [Feature #13784]
* Hash#filter! is a new alias for Hash#select!. [Feature #13784]
[IO]
IO::
[New options]
New options::
* Added new mode character <code>'x'</code> to open files for exclusive
access. [Feature #11258]
[Kernel]
Kernel::
[Aliased methods]
Aliased methods::
* Kernel#then is a new alias for Kernel#yield_self. [Feature #14594]
[New options]
New options::
* Kernel#Complex, Kernel#Float, Kernel#Integer, and
Kernel#Rational take an +:exception+ option to specify the way of
@ -178,98 +178,98 @@ sufficient information, see the ChangeLog file or Redmine
* Kernel#system takes an +:exception+ option to raise an exception
on failure. [Feature #14386]
[Incompatible changes]
Incompatible changes::
* Kernel#system and Kernel#exec do not close non-standard file descriptors
(the default of the +:close_others+ option is changed to +false+,
but we still set the +FD_CLOEXEC+ flag on descriptors we
create). [Misc #14907]
[KeyError]
KeyError::
[New options]
New options::
* KeyError.new accepts +:receiver+ and +:key+ options to set receiver and
key in Ruby code. [Feature #14313]
[Method]
Method::
[New methods]
New methods::
* Added Method#<< and Method#>> for Proc composition. [Feature #6284]
[Module]
Module::
[Modified methods]
Modified methods::
* Module#method_defined?, Module#private_method_defined?, and
Module#protected_method_defined? now accept the second
parameter as optional. If it is +true+ (the default value), it checks
ancestor modules/classes, or checks only the class itself. [Feature #14944]
[NameError]
NameError::
[New options]
New options::
* NameError.new accepts a +:receiver+ option to set receiver in Ruby
code. [Feature #14313]
[NilClass]
NilClass::
[New methods]
New methods::
* NilClass#=~ is added for compatibility. [Feature #15231]
[NoMethodError]
NoMethodError::
[New options]
New options::
* NoMethodError.new accepts a +:receiver+ option to set receiver in Ruby
code. [Feature #14313]
[Numeric]
Numeric::
[Incompatible changes]
Incompatible changes::
* Numeric#step now returns an instance of the Enumerator::ArithmeticSequence
class rather than one of the Enumerator class.
[OpenStruct]
OpenStruct::
[Modified methods]
Modified methods::
* OpenStruct#to_h now accepts a block that maps keys and values to new keys and values. [Feature #15143]
[Proc]
Proc::
[New methods]
New methods::
* Added Proc#<< and Proc#>> for Proc composition. [Feature #6284]
[Incompatible changes]
Incompatible changes::
* Proc#call doesn't change <code>$SAFE</code> any more. [Feature #14250]
[Random]
Random::
[New methods]
New methods::
* Added Random.bytes. [Feature #4938]
[Range]
Range::
[New methods]
New methods::
* Added Range#% instance method. [Feature #14697]
[Incompatible changes]
Incompatible changes::
* Range#=== now uses the +#cover?+ instead of the +#include?+ method. [Feature #14575]
* Range#cover? now accepts a Range object. [Feature #14473]
* Range#step now returns an instance of the Enumerator::ArithmeticSequence
class rather than one of the Enumerator class.
[Regexp/String]
Regexp/String::
* Update Unicode version from 10.0.0 to 11.0.0. [Feature #14802]
@ -278,9 +278,9 @@ sufficient information, see the ChangeLog file or Redmine
* Update Emoji version from 5.0 to 11.0.0 [Feature #14802]
[RubyVM::AbstractSyntaxTree]
RubyVM::AbstractSyntaxTree::
[New methods]
New methods::
* RubyVM::AbstractSyntaxTree.parse parses a given string and returns AST
nodes. [experimental]
@ -289,48 +289,48 @@ sufficient information, see the ChangeLog file or Redmine
nodes. [experimental]
* RubyVM::AbstractSyntaxTree.of returns AST nodes of the given proc or method.
[experimental]
experimental::
[RubyVM]
RubyVM::
[New methods]
New methods::
* RubyVM.resolve_feature_path identifies the file that will be loaded by
"require(feature)". [experimental] [Feature #15230]
[String]
String::
* String#crypt is now deprecated. [Feature #14915]
[New features]
New features::
* String#split yields each substring to the block if given. [Feature #4780]
[Struct]
Struct::
[Modified methods]
Modified methods::
* Struct#to_h now accepts a block that maps keys and values to new keys and values. [Feature #15143]
[Aliased method]
Aliased method::
* Struct#filter is a new alias for Struct#select. [Feature #13784]
[Time]
Time::
[New features]
New features::
* Time.new and Time#getlocal accept a timezone object as well as
a UTC offset string. Time#+, Time#-, and Time#succ also preserve
the timezone. [Feature #14850]
[TracePoint]
TracePoint::
[New features]
New features::
* "script_compiled" event is supported. [Feature #15287]
[New methods]
New methods::
* TracePoint#parameters [Feature #14694]
@ -338,23 +338,23 @@ sufficient information, see the ChangeLog file or Redmine
* TracePoint#eval_script [Feature #15287]
[Modified methods]
Modified methods::
* TracePoint#enable accepts new keywords "target:" and "target_line:".
[Feature #15289]
Feature #15289::
=== Stdlib updates (outstanding ones only)
[BigDecimal]
BigDecimal::
Update to version 1.4.0. This version includes several compatibility
issues, see Compatibility issues section below for details.
[Modified methods]
Modified methods::
* BigDecimal() accepts the new keyword "exception:" similar to Float().
[Note for the differences among recent versions]
Note for the differences among recent versions::
You should want to know the differences among recent versions of bigdecimal.
Please select the suitable version of bigdecimal according to the following
@ -371,13 +371,13 @@ sufficient information, see the ChangeLog file or Redmine
* 2.0.0 will be released soon after releasing Ruby 2.6.0. This version
will not have the BigDecimal.new method.
[Bundler]
Bundler::
* Add Bundler to Standard Library. [Feature #12733]
* Use 1.17.2, the latest stable version.
[Coverage]
Coverage::
A oneshot_lines mode is added. [Feature #15022]
@ -386,7 +386,7 @@ sufficient information, see the ChangeLog file or Redmine
A hook for each line is fired at most once, and after it is fired
the hook flag is removed, i.e., it runs with zero overhead.
[New options]
New options::
* Add +:oneshot_lines+ keyword argument to Coverage.start.
@ -394,20 +394,20 @@ sufficient information, see the ChangeLog file or Redmine
If +clear+ is true, it clears the counters to zero.
If +stop+ is true, it disables coverage measurement.
[New methods]
New methods::
* Coverage.line_stub, which is a simple helper function that
creates the "stub" of line coverage from a given source code.
[CSV]
CSV::
* Upgrade to 3.0.2. This includes performance improvements especially
for writing. Writing is about 2 times faster.
See https://github.com/ruby/csv/blob/master/NEWS.md.
[ERB]
ERB::
[New options]
New options::
* Add +:trim_mode+ and +:eoutvar+ keyword arguments to ERB.new.
Now non-keyword arguments other than the first one are softly deprecated
@ -416,15 +416,15 @@ sufficient information, see the ChangeLog file or Redmine
* erb command's <tt>-S</tt> option is deprecated, and will be removed
in the next version.
[FileUtils]
FileUtils::
[New methods]
New methods::
* FileUtils#cp_lr. [Feature #4189]
[Matrix]
Matrix::
[New methods]
New methods::
* Matrix#antisymmetric?, Matrix#skew_symmetric?
@ -436,30 +436,30 @@ sufficient information, see the ChangeLog file or Redmine
* Vector#[]=
[Net]
Net::
[New options]
New options::
* Add +:write_timeout+ keyword argument to Net::HTTP.new. [Feature #13396]
[New methods]
New methods::
* Add Net::HTTP#write_timeout and Net::HTTP#write_timeout=. [Feature #13396]
[New constant]
New constant::
* Add Net::HTTPClientException to deprecate Net::HTTPServerException,
whose name is misleading. [Bug #14688]
[NKF]
NKF::
* Upgrade to nkf v2.1.5
[Psych]
Psych::
* Upgrade to Psych 3.1.0
[RDoc]
RDoc::
* Become about 2 times faster.
@ -478,12 +478,12 @@ sufficient information, see the ChangeLog file or Redmine
* Fix many parsing bugs.
[REXML]
REXML::
* Upgrade to REXML 3.1.9.
See https://github.com/ruby/rexml/blob/master/NEWS.md.
[Improved some XPath implementations]
Improved some XPath implementations::
* <code>concat()</code> function: Stringify all arguments before concatenating.
@ -493,7 +493,7 @@ sufficient information, see the ChangeLog file or Redmine
* Support <code>"*:#{ELEMENT_NAME}"</code> syntax in XPath 2.0.
[Fixed some XPath implementations]
Fixed some XPath implementations::
* <code>"//#{ELEMENT_NAME}[#{POSITION}]"</code> case
@ -517,14 +517,14 @@ sufficient information, see the ChangeLog file or Redmine
* <code>"name(#{NODE_SET})"</code> case
[RSS]
RSS::
[New options]
New options::
* RSS::Parser.parse now accepts options as Hash. +:validate+ ,
+:ignore_unknown_element+ , +:parser_class+ options are available.
[RubyGems]
RubyGems::
* Upgrade to RubyGems 3.0.1
@ -532,32 +532,32 @@ sufficient information, see the ChangeLog file or Redmine
* https://blog.rubygems.org/2018/12/23/3.0.1-released.html
[Set]
Set::
[Aliased methods]
Aliased methods::
* Set#filter! is a new alias for Set#select!. [Feature #13784]
[URI]
URI::
[New constant]
New constant::
* Add URI::File to handle the file URI scheme. [Feature #14035]
=== Compatibility issues (excluding feature bug fixes)
[Dir]
Dir::
* Dir.glob with <code>'\0'</code>-separated pattern list will be deprecated,
and is now warned. [Feature #14643]
[File]
File::
* File.read, File.binread, File.write, File.binwrite, File.foreach, and
File.readlines do not invoke external commands even if the path starts
with the pipe character <code>'|'</code>. [Feature #14245]
[Object]
Object::
* Object#=~ is deprecated. [Feature #15231]
@ -580,7 +580,7 @@ sufficient information, see the ChangeLog file or Redmine
* thwait
* tracer
[BigDecimal]
BigDecimal::
* The following methods are removed.
@ -595,7 +595,7 @@ sufficient information, see the ChangeLog file or Redmine
* BigDecimal.new will be removed in version 2.0.
[Pathname]
Pathname::
* Pathname#read, Pathname#binread, Pathname#write, Pathname#binwrite,
Pathname#each_line and Pathname#readlines do not invoke external
@ -650,12 +650,12 @@ sufficient information, see the ChangeLog file or Redmine
in their names. This eliminates the burden of each teeny upgrade on the
platform that users need to rebuild every extension library.
[Before]
Before::
* libruby.2.6.0.dylib
* libruby.2.6.dylib -> libruby.2.6.0.dylib
* libruby.dylib -> libruby.2.6.0.dylib
[After]
After::
* libruby.2.6.dylib
* libruby.dylib -> libruby.2.6.dylib