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

* doc/NEWS-*: Update NEWS from their respective branches

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
marcandre 2013-02-22 23:57:58 +00:00
parent d52f95dc7a
commit 143a2f7ef1
5 changed files with 114 additions and 41 deletions

View file

@ -1,3 +1,7 @@
Sat Feb 23 08:57:46 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
* doc/NEWS-*: Update NEWS from their respective branches
Sat Feb 23 08:14:43 2013 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
* NEWS: many additions for Ruby 2.0.0

View file

@ -54,7 +54,7 @@ with all sufficient information, see the ChangeLog file.
* Array#flatten
* Array#flatten!
Take an optional argument that determines the level of recursion
Takes an optional argument that determines the level of recursion
to flatten.
* Array#eql?
@ -77,6 +77,7 @@ with all sufficient information, see the ChangeLog file.
* Array#reject
* Array#reject!
* Array#delete_if
* Array#select
Return an enumerator if no block is given.
@ -161,6 +162,10 @@ with all sufficient information, see the ChangeLog file.
New alias to #inject.
* Enumerable#to_a
Can take optional arguments and pass them to #each.
* Hash#eql?
* Hash#hash
* Hash#==
@ -262,12 +267,17 @@ with all sufficient information, see the ChangeLog file.
* Regexp.union accepts an array of patterns.
* String#bytes
New method
* String#bytesize
New method, returning the size in bytes. (alias length and size)
* String#chars
* String#each_char
* String#lines
* String#partition
* String#rpartition
* String#start_with?
@ -501,6 +511,15 @@ with all sufficient information, see the ChangeLog file.
always use Date.strptime() when you know what you are dealing
with.
* 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/
* stringio
* StringIO#each_byte

View file

@ -1,6 +1,6 @@
# -*- rdoc -*-
= NEWS for RDoc 1.9.1
= NEWS for Ruby 1.9.1
This document is a list of user visible feature changes made between
releases except for bug fixes.
@ -335,6 +335,11 @@ See doc/NEWS-1.8.7 for changes between 1.8.6 and 1.8.7.
o Numeric#upto, #downto, #times, #step
o Numeric#real?, Complex#real?
o Numeric#magnitude
o Numeric#round
* Float
o Float#round
* Integer
o Integer#round
* Rational / Complex
o They are in the core library now
* Math

View file

@ -1,5 +1,4 @@
# -*- rdoc -*-
= NEWS for Ruby 1.9.2
This document is a list of user visible feature changes made between
@ -15,7 +14,7 @@ with all sufficient information, see the ChangeLog file.
* builtin classes
* Array
* new method:
* new methods:
* Array#keep_if
* Array#repeated_combination
* Array#repeated_permutation
@ -24,11 +23,11 @@ with all sufficient information, see the ChangeLog file.
* Array#select!
* Array#sort_by!
* extended methods:
* extended method:
* Array#{uniq,uniq!,product} can take a block.
* Complex
* new methods:
* new method:
* Complex#rationalize
* Dir
@ -51,7 +50,7 @@ with all sufficient information, see the ChangeLog file.
* ascii_compatible?
* Enumerable
* New methods:
* new methods:
* Enumerable#chunk
* Enumerable#collect_concat
* Enumerable#each_entry
@ -66,7 +65,7 @@ with all sufficient information, see the ChangeLog file.
* Enumerator#feed
* StopIteration#result
* extended methods:
* extended method:
* #with_index accepts an optional argument that specifies the
index number to start with, defaulted to 0.
@ -86,14 +85,13 @@ with all sufficient information, see the ChangeLog file.
* new constants:
* Float::INFINITY
* Float::NAN
* new methods:
* new method:
* Float#rationalize
* File
* new methods:
* File.realpath
* File.realdirpath
* File#size
* GC::Profiler
* new method:
@ -105,14 +103,14 @@ with all sufficient information, see the ChangeLog file.
* Hash#select!
* IO
* new method:
* new methods:
* IO#autoclose=
* IO#autoclose?
* IO#fdatasync
* IO#codepoints
* IO#each_codepoint
* extended methods:
* extended method:
* IO.pipe can take a block.
* new modules:
@ -121,7 +119,7 @@ with all sufficient information, see the ChangeLog file.
They are used to extend non-blocking exceptions.
* Integer
* new methods:
* new method:
* Integer#rationalize
* Kernel
@ -130,7 +128,7 @@ with all sufficient information, see the ChangeLog file.
* Kernel#singleton_class
* Kernel#require_relative
* extended methods:
* extended method:
* Kernel#respond_to? can be used to detect methods not implemented.
For example, Process.respond_to?(:fork) returns false on Windows.
@ -148,11 +146,15 @@ with all sufficient information, see the ChangeLog file.
platforms.
* MatchData
* New method:
* new method:
* MatchData#==
* Method
* new method:
* Method#parameters
* NilClass
* new methods:
* new method:
* NilClass#rationalize
* Object
@ -161,18 +163,20 @@ with all sufficient information, see the ChangeLog file.
* printf() supports %a/%A format.
* Proc
* new method:
* Proc#parameters
* extended method:
* Proc#source_location returns location even if receiver is a method
defined by attr_reader / attr_writer / attr_accessor.
* Process
* extended methods:
* extended method:
* Process.spawn accepts [:child, FD] for a redirect target.
* Random (new class to generate pseudo-random numbers)
* Rational
* new methods:
* new method:
* Rational#rationalize
* String
@ -185,22 +189,27 @@ with all sufficient information, see the ChangeLog file.
* Thread#set_trace_func
* Time
* extended feature:
* extended features:
* time_t restriction is removed to represent before 1901 and after 2038.
Proleptic Gregorian calendar is used for old dates.
* Time.new have optional arguments to specify date with time offset.
* Time#getlocal, Time#localtime have optional time offset argument.
* new method:
* new methods:
* Time#to_r
* Time#subsec
* Time#round
* incompatible changes:
* incompatible change:
* 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.
* UnboundMethod
* new method:
* UnboundMethod#parameters
* digest
* new methods:
* Digest::Class.base64digest

View file

@ -1,5 +1,4 @@
# -*- rdoc -*-
= NEWS for Ruby 1.9.3
This document is a list of user visible feature changes made between
@ -15,6 +14,13 @@ with all sufficient information, see the ChangeLog file.
* Ruby's License is changed from a dual license with GPLv2
to a dual license with 2-clause BSDL.
=== Known platform dependent issues
==== OS X Lion
* You have to configure ruby with '--with-gcc=gcc-4.2' if you're using
Xcode 4.1, or, if you're using Xcode 4.2, you have to configure ruby
with '--with-gcc=clang'.
=== C API updates
* rb_scan_args() is enhanced with support for option hash argument
@ -23,6 +29,9 @@ with all sufficient information, see the ChangeLog file.
* ruby_vm_at_exit() added. This enables extension libs to hook a VM
termination.
* rb_reserved_fd_p() added. If you want to close all file descriptors,
check using this API. [ruby-core:37759]
=== Library updates (outstanding ones only)
* builtin classes
@ -103,16 +112,34 @@ with all sufficient information, see the ChangeLog file.
the platform don't support supplementary groups concept.
* bigdecimal
* BigDecimal#power and BigDecimal#** support non-integral exponent.
* Kernel.BigDecimal and BigDecimal.new now accept instances of Integer,
Rational, and Float. If you pass a Rational or a Float to them, you must
specify the precision to produce the digits of a BigDecimal.
Rational, Float, and BigDecimal. If you pass a Rational or a Float to
them, you must specify the precision to produce the digits of a BigDecimal.
* The behavior of BigDecimal#coerce with a Rational is changed. It uses
the precision of the receiver BigDecimal to produce the digits of a
BigDecimal from the given Rational.
* bigdecimal/util
* BigDecimal#to_d and Integer#to_d are added.
* Float#to_d accepts a precision.
* Rational#to_d raises ArgumentError when passing zero or negative
precision.
* Rational#to_d
* Zero and an implicit precision is deprecated.
This feature is removed at the next release of bigdecimal.
* A negative precision isn't supported.
Be careful it is an incompatible change.
* date
* Accepts flonum explicitly with limitations.
@ -165,6 +192,9 @@ with all sufficient information, see the ChangeLog file.
* IO#winsize
* IO.console
* json
* updated to v1.5.4.
* matrix
* new classes:
* Matrix::EigenvalueDecomposition
@ -213,9 +243,13 @@ with all sufficient information, see the ChangeLog file.
http.request_post('/continue', 'body=BODY', 'expect' => '100-continue')
* new method:
* Net::HTTPRequest#set_form: Added to support
* Net::HTTPRequest#set_form): Added to support
both application/x-www-form-urlencoded and multipart/form-data.
* objspace
* new method:
* ObjectSpace::memsize_of_all
* openssl
* PKey::RSA and PKey::DSA now use the generic X.509 encoding scheme
(e.g. used in a X.509 certificate's Subject Public Key Info) when
@ -237,18 +271,18 @@ with all sufficient information, see the ChangeLog file.
* support for bash/zsh completion.
* Rake
* Rake has been upgraded from 0.8.7 to 0.9.2.1. For full release notes see
* Rake has been upgraded from 0.8.7 to 0.9.2.2. For full release notes see
https://github.com/jimweirich/rake/blob/master/CHANGES
* RDoc
* RDoc has been upgraded from 2.5.8 to 3.8. For full release notes see
* RDoc has been upgraded to version 3.9.4. For full release notes see
http://docs.seattlerb.org/rdoc/History_txt.html
* rexml
* Support Ruby native encoding mechanism and iconv dependency is dropped.
* RubyGems
* RubyGems has been upgraded to version 1.8.5.1. For full release notes see
* RubyGems has been upgraded to version 1.8.10. For full release notes see
http://rubygems.rubyforge.org/rubygems-update/History_txt.html
* stringio
@ -302,4 +336,6 @@ with all sufficient information, see the ChangeLog file.
=== Compatibility issues (excluding feature bug fixes)
None
* Rational#to_d
See above.