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

* NEWS: edited (order etc).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
tadf 2012-11-21 17:25:59 +00:00
parent 79fab011d4
commit 9c8a54c560
2 changed files with 79 additions and 75 deletions

View file

@ -1,3 +1,7 @@
Thu Nov 22 02:22:33 2012 Tadayoshi Funaba <tadf@dotrb.org>
* NEWS: edited (order etc).
Wed Nov 21 22:52:59 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> Wed Nov 21 22:52:59 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/io/wait/wait.c (io_wait_readable): add alias wait_readable. * ext/io/wait/wait.c (io_wait_readable): add alias wait_readable.

150
NEWS
View file

@ -41,11 +41,19 @@ with all sufficient information, see the ChangeLog file.
* aliased method: * aliased method:
* ENV.to_h is a new alias for ENV.to_hash * ENV.to_h is a new alias for ENV.to_hash
* Fiber
* incompatible changes:
* Fiber#resume cannot resume a fiber which invokes "Fiber#transfer".
* File: * File:
* extended method: * extended method:
* File.fnmatch? now expands braces in the pattern if * File.fnmatch? now expands braces in the pattern if
File::FNM_EXTGLOB option is given. File::FNM_EXTGLOB option is given.
* GC::Profiler
* added method:
* added GC::Profiler.raw_data which returns raw profile data for GC.
* Hash * Hash
* added method: * added method:
* added Hash#to_h as explicit conversion method, like Array#to_a. * added Hash#to_h as explicit conversion method, like Array#to_a.
@ -114,7 +122,7 @@ with all sufficient information, see the ChangeLog file.
* Signal.trap raises ArgumentError when :SEGV, :BUS, :ILL, :FPE, :VTALRM * Signal.trap raises ArgumentError when :SEGV, :BUS, :ILL, :FPE, :VTALRM
are specified. are specified.
*String * String
* added method: * added method:
* added String#b returning a copied string whose encoding is ASCII-8BIT. * added String#b returning a copied string whose encoding is ASCII-8BIT.
@ -140,19 +148,18 @@ with all sufficient information, see the ChangeLog file.
* Time#to_s returned encoding defaults to US-ASCII but automatically * Time#to_s returned encoding defaults to US-ASCII but automatically
transcodes to Encoding.default_internal if it is set. transcodes to Encoding.default_internal if it is set.
* Fiber
* incompatible changes:
* Fiber#resume cannot resume a fiber which invokes "Fiber#transfer".
* GC::Profiler
* added method:
* added GC::Profiler.raw_data which returns raw profile data for GC.
* toplevel * toplevel
* added method: * added method:
* added main.define_method which defines a global function. * added main.define_method which defines a global function.
* io/wait: * cgi
* Add HTML5 tag maker.
* CGI#header has been renamed to CGI#http_header and
aliased to CGI#header.
* When HTML5 tagmaker called, overwrite CGI#header,
CGI#header function is to create a <header> element.
* io/wait
* new features: * new features:
* added IO#wait_writable method. * added IO#wait_writable method.
* added IO#wait_readable method as alias of IO#wait. * added IO#wait_readable method as alias of IO#wait.
@ -181,59 +188,9 @@ with all sufficient information, see the ChangeLog file.
* Net::IMAP.default_ssl_port * Net::IMAP.default_ssl_port
* Net::IMAP.default_imaps_port * Net::IMAP.default_imaps_port
* ostruct * objspace
* new methods: * new method:
* OpenStruct#[], []= * ObjectSpace.reachable_objects_from(obj)
* OpenStruct#each_pair
* OpenStruct#eql?
* OpenStruct#hash
* OpenStruct#to_h converts the struct to a hash.
* extended method:
* OpenStruct.new also accepts an OpenStruct / Struct.
* pathname
* extended method:
* Pathname#find returns an enumerator if no block is given.
* rake
* rake has been updated to version 0.9.4.
This version is backwards-compatible with previous rake versions and
contains many bug fixes.
See
http://rake.rubyforge.org/doc/release_notes/rake-0_9_4_rdoc.html for a list
of changes in rake 0.9.3 and 0.9.4.
* resolv
* new methods:
* Resolv::DNS#timeouts=
* Resolv::DNS::Config#timeouts=
* shellwords
* Shellwords#shellescape() now stringifies the given object using to_s.
* Shellwords#shelljoin() accepts non-string objects in the given
array, each of which is stringified using to_s.
* syslog
* Added Syslog::Logger which provides a Logger API atop Syslog.
* Syslog::Priority, Syslog::Level, Syslog::Option and Syslog::Macros
are introduced for easy detection of available constants on a
running system.
* lib/tmpdir.rb
* incompatible changes:
* Dir.mktmpdir uses FileUtils.remove_entry instead of
FileUtils.remove_entry_secure. This means that applications should not
change the permission of the created temporary directory to make
accessible from other users.
* zlib
* Added streaming support for Zlib::Inflate and Zlib::Deflate. This allows
processing of a stream without the use of large amounts of memory.
* Added support for the new deflate strategies Zlib::RLE and Zlib::FIXED.
* Zlib streams are now processed without the GVL. This allows gzip, zlib and
deflate streams to be processed in parallel.
* openssl * openssl
* Consistently raise an error when trying to encode nil values. All instances * Consistently raise an error when trying to encode nil values. All instances
@ -265,13 +222,34 @@ with all sufficient information, see the ChangeLog file.
is running in FIPS mode and to react to the special requirements this is running in FIPS mode and to react to the special requirements this
might impy. might impy.
* yaml * ostruct
* Syck has been removed. YAML now completely depends on libyaml being * new methods:
installed. * OpenStruct#[], []=
* OpenStruct#each_pair
* OpenStruct#eql?
* OpenStruct#hash
* OpenStruct#to_h converts the struct to a hash.
* extended method:
* OpenStruct.new also accepts an OpenStruct / Struct.
* objspace * pathname
* new method: * extended method:
* ObjectSpace.reachable_objects_from(obj) * Pathname#find returns an enumerator if no block is given.
* rake
* rake has been updated to version 0.9.4.
This version is backwards-compatible with previous rake versions and
contains many bug fixes.
See
http://rake.rubyforge.org/doc/release_notes/rake-0_9_4_rdoc.html for a list
of changes in rake 0.9.3 and 0.9.4.
* resolv
* new methods:
* Resolv::DNS#timeouts=
* Resolv::DNS::Config#timeouts=
* rexml * rexml
* REXML::Document#write supports Hash arguments. * REXML::Document#write supports Hash arguments.
@ -279,12 +257,34 @@ with all sufficient information, see the ChangeLog file.
XML document encoding. Without :encoding option, encoding in XML document encoding. Without :encoding option, encoding in
XML declaration is used for XML document encoding. XML declaration is used for XML document encoding.
* cgi * shellwords
* Add HTML5 tag maker. * Shellwords#shellescape() now stringifies the given object using to_s.
* CGI#header has been renamed to CGI#http_header and * Shellwords#shelljoin() accepts non-string objects in the given
aliased to CGI#header. array, each of which is stringified using to_s.
* When HTML5 tagmaker called, overwrite CGI#header,
CGI#header function is to create a <header> element. * syslog
* Added Syslog::Logger which provides a Logger API atop Syslog.
* Syslog::Priority, Syslog::Level, Syslog::Option and Syslog::Macros
are introduced for easy detection of available constants on a
running system.
* tmpdir
* incompatible changes:
* Dir.mktmpdir uses FileUtils.remove_entry instead of
FileUtils.remove_entry_secure. This means that applications should not
change the permission of the created temporary directory to make
accessible from other users.
* yaml
* Syck has been removed. YAML now completely depends on libyaml being
installed.
* zlib
* Added streaming support for Zlib::Inflate and Zlib::Deflate. This allows
processing of a stream without the use of large amounts of memory.
* Added support for the new deflate strategies Zlib::RLE and Zlib::FIXED.
* Zlib streams are now processed without the GVL. This allows gzip, zlib and
deflate streams to be processed in parallel.
=== Language changes === Language changes