ruby-changes:25732
From: tadf <ko1@a...>
Date: Thu, 22 Nov 2012 02:26:15 +0900 (JST)
Subject: [ruby-changes:25732] tadf:r37789 (trunk): * NEWS: edited (order etc).
tadf 2012-11-22 02:25:59 +0900 (Thu, 22 Nov 2012) New Revision: 37789 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37789 Log: * NEWS: edited (order etc). Modified files: trunk/ChangeLog trunk/NEWS Index: ChangeLog =================================================================== --- ChangeLog (revision 37788) +++ ChangeLog (revision 37789) @@ -1,3 +1,7 @@ +Thu Nov 22 02:22:33 2012 Tadayoshi Funaba <tadf@d...> + + * NEWS: edited (order etc). + Wed Nov 21 22:52:59 2012 Nobuyoshi Nakada <nobu@r...> * ext/io/wait/wait.c (io_wait_readable): add alias wait_readable. Index: NEWS =================================================================== --- NEWS (revision 37788) +++ NEWS (revision 37789) @@ -41,11 +41,19 @@ * aliased method: * 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: * extended method: * File.fnmatch? now expands braces in the pattern if File::FNM_EXTGLOB option is given. + * GC::Profiler + * added method: + * added GC::Profiler.raw_data which returns raw profile data for GC. + * Hash * added method: * added Hash#to_h as explicit conversion method, like Array#to_a. @@ -114,7 +122,7 @@ * Signal.trap raises ArgumentError when :SEGV, :BUS, :ILL, :FPE, :VTALRM are specified. - *String + * String * added method: * added String#b returning a copied string whose encoding is ASCII-8BIT. @@ -140,19 +148,18 @@ * Time#to_s returned encoding defaults to US-ASCII but automatically 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 * added method: * 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: * added IO#wait_writable method. * added IO#wait_readable method as alias of IO#wait. @@ -181,6 +188,40 @@ * Net::IMAP.default_ssl_port * Net::IMAP.default_imaps_port +* objspace + * new method: + * ObjectSpace.reachable_objects_from(obj) + +* openssl + * Consistently raise an error when trying to encode nil values. All instances + of OpenSSL::ASN1::Primitive now raise TypeError when calling to_der on an + instance whose value is nil. All instances of OpenSSL::ASN1::Constructive + raise NoMethodError in the same case. Constructing such values is still + permitted. + * TLS 1.1 & 1.2 support by setting OpenSSL::SSL::SSLContext#ssl_version to + :TLSv1_2, :TLSv1_2_server, :TLSv1_2_client or :TLSv1_1, :TLSv1_1_server + :TLSv1_1_client. The version being effectively used can be queried + with OpenSSL::SSL#ssl_version. Furthermore, it is also possible to + blacklist the new TLS versions with OpenSSL::SSL:OP_NO_TLSv1_1 and + OpenSSL::SSL::OP_NO_TLSv1_2. + * Added OpenSSL::SSL::SSLContext#renegotiation_cb. A user-defined callback + may be set which gets called whenever a new handshake is negotiated. This + also allows to programmatically decline (client) renegotiation attempts. + * Support for "0/n" splitting of records as BEAST mitigation via + OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS. + * OpenSSL requires passwords for decrypting PEM-encoded files to be at least + four characters long. This led to awkward situations where an export with + a password with fewer than four characters was possible, but accessing the + file afterwards failed. OpenSSL::PKey::RSA, OpenSSL::PKey::DSA and + OpenSSL::PKey::EC therefore now enforce the same check when exporting a + private key to PEM with a password - it has to be at least four characters + long. + * SSL/TLS support for the Next Protocol Negotiation extension. Supported + with OpenSSL 1.0.1 and higher. + * OpenSSL::OPENSSL_FIPS allows client applications to detect whether OpenSSL + is running in FIPS mode and to react to the special requirements this + might impy. + * ostruct * new methods: * OpenStruct#[], []= @@ -210,6 +251,12 @@ * Resolv::DNS#timeouts= * Resolv::DNS::Config#timeouts= +* rexml + * REXML::Document#write supports Hash arguments. + * REXML::Document#write supports new :encoding option. It changes + XML document encoding. Without :encoding option, encoding in + XML declaration is used for XML document encoding. + * shellwords * Shellwords#shellescape() now stringifies the given object using to_s. * Shellwords#shelljoin() accepts non-string objects in the given @@ -221,13 +268,17 @@ are introduced for easy detection of available constants on a running system. -* lib/tmpdir.rb +* 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. @@ -235,57 +286,6 @@ * Zlib streams are now processed without the GVL. This allows gzip, zlib and deflate streams to be processed in parallel. -* openssl - * Consistently raise an error when trying to encode nil values. All instances - of OpenSSL::ASN1::Primitive now raise TypeError when calling to_der on an - instance whose value is nil. All instances of OpenSSL::ASN1::Constructive - raise NoMethodError in the same case. Constructing such values is still - permitted. - * TLS 1.1 & 1.2 support by setting OpenSSL::SSL::SSLContext#ssl_version to - :TLSv1_2, :TLSv1_2_server, :TLSv1_2_client or :TLSv1_1, :TLSv1_1_server - :TLSv1_1_client. The version being effectively used can be queried - with OpenSSL::SSL#ssl_version. Furthermore, it is also possible to - blacklist the new TLS versions with OpenSSL::SSL:OP_NO_TLSv1_1 and - OpenSSL::SSL::OP_NO_TLSv1_2. - * Added OpenSSL::SSL::SSLContext#renegotiation_cb. A user-defined callback - may be set which gets called whenever a new handshake is negotiated. This - also allows to programmatically decline (client) renegotiation attempts. - * Support for "0/n" splitting of records as BEAST mitigation via - OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS. - * OpenSSL requires passwords for decrypting PEM-encoded files to be at least - four characters long. This led to awkward situations where an export with - a password with fewer than four characters was possible, but accessing the - file afterwards failed. OpenSSL::PKey::RSA, OpenSSL::PKey::DSA and - OpenSSL::PKey::EC therefore now enforce the same check when exporting a - private key to PEM with a password - it has to be at least four characters - long. - * SSL/TLS support for the Next Protocol Negotiation extension. Supported - with OpenSSL 1.0.1 and higher. - * OpenSSL::OPENSSL_FIPS allows client applications to detect whether OpenSSL - is running in FIPS mode and to react to the special requirements this - might impy. - -* yaml - * Syck has been removed. YAML now completely depends on libyaml being - installed. - -* objspace - * new method: - * ObjectSpace.reachable_objects_from(obj) - -* rexml - * REXML::Document#write supports Hash arguments. - * REXML::Document#write supports new :encoding option. It changes - XML document encoding. Without :encoding option, encoding in - XML declaration is used for XML document encoding. - -* 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. - === Language changes * Added %i and %I for symbol list creation (similar to %w and %W). -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/