Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/page-NEWS-2_2_0.ri
Arrière
U:RDoc::TopLevel[ i I"NEWS-2.2.0:EFcRDoc::Parser::Simpleo:RDoc::Markup::Document:@parts['S:RDoc::Markup::Heading: leveli: textI"NEWS for Ruby 2.2.0;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph;[I"JThis document is a list of user visible feature changes made between ;TI"#releases except for bug fixes.;T@ o; ;[I"DNote that each entry is kept so brief that no reason behind or ;TI"Ireference information is supplied with. For a full list of changes ;TI"=with all sufficient information, see the ChangeLog file.;T@ S; ; i;I"$Changes since the 2.1.0 release;T@ S; ; i;I"Language changes;T@ o:RDoc::Markup::Verbatim;[I"nil/true/false ;TI": nil/true/false objects are frozen. [Feature #8923] ;TI" ;TI"Hash literal ;TI"E Symbol key followed by a colon can be quoted. [Feature #4276] ;TI" ;TI"default argument ;TI"Efixed a very longstanding bug that an optional argument was not ;TI">accessible in its default value expression. [Bug #9593] ;T:@format0S; ; i;I"1Core classes updates (outstanding ones only);T@ o;;[II" Binding ;TI" New methods: ;TI"! Binding#local_variables ;TI" Binding#receiver ;TI" ;TI" Dir ;TI" New methods: ;TI" Dir#fileno ;TI" ;TI"Enumerable ;TI" New methods: ;TI" Enumerable#slice_after ;TI" Enumerable#slice_when ;TI" Extended methods: ;TI"J min, min_by, max and max_by supports optional argument to return ;TI" multiple elements. ;TI" ;TI"Float ;TI" New methods: ;TI" Float#next_float ;TI" Float#prev_float ;TI" ;TI" File ;TI" New methods: ;TI" File.birthtime ;TI" File#birthtime ;TI" ;TI"File::Stat ;TI" New methods: ;TI" File::Stat#birthtime ;TI" ;TI"GC ;TI"H GC.latest_gc_info returns :state to represent current GC status. ;TI" Improvements ;TI"F Introduce incremental marking for major GC. [Feature #10137] ;TI" ;TI"IO ;TI" Improvements ;TI"T IO#read_nonblock and IO#write_nonblock for pipes on Windows are supported. ;TI" ;TI"Kernel ;TI" New methods: ;TI" Kernel#itself ;TI" Improvements ;TI"P Kernel#throw raises UncaughtThrowError, subclass of ArgumentError when ;TI"J there is no corresponding catch block, instead of ArgumentError. ;TI" ;TI" Process ;TI" Extended method: ;TI"Q Process execution methods such as Process.spawn opens the file in write ;TI". mode for redirect from [:out, :err]. ;TI" ;TI"String ;TI" New methods: ;TI"" String#unicode_normalize ;TI"# String#unicode_normalize! ;TI"$ String#unicode_normalized? ;TI" ;TI"Symbol ;TI" Improvements ;TI"> Most symbols which are returned by String#to_sym and ;TI"$ String#intern are GC-able. ;TI" ;TI"Method ;TI" New methods: ;TI"7 Method#curry([arity]) returns a curried Proc. ;TI"S Method#super_method returns a Method of superclass, which would be called ;TI" when super is used. ;T;0S; ; i;I"DCore classes compatibility issues (excluding feature bug fixes);T@ o;;[-I"Enumerable ;TI"> Enumerable#slice_before's state management deprecated. ;TI"7 Enumerable#chunk's state management deprecated. ;TI" ;TI"GC ;TI" incompatible changes: ;TI"1 Rename GC.stat entries. [Feature #9924] ;TI"r See https://docs.google.com/spreadsheets/d/11Ua4uBr6o0k-nORrZLEIIUkHJ9JRzRR0NyZfrhEEnc8/edit?usp=sharing ;TI" ;TI" Hash ;TI" incompatible changes: ;TI"C Change overriding policy for duplicated key. [Bug #10315] ;TI"L { **hash1, **hash2 } contains values of hash2 for duplicated keys. ;TI" ;TI"IO ;TI" incompatible changes: ;TI"R When flushing file IO with IO#flush, you cannot assume that the metadata ;TI"L of the file is updated immediately. On some platforms (especially ;TI"I Windows), it is delayed until the filesystem load is decreased. ;TI"B Use IO#fsync if you want to guarantee updating metadata. ;TI" ;TI" Math ;TI" incompatible changes: ;TI"O Math.log now raises Math::DomainError instead of returning NaN if the ;TI"N base is less than 0, and returns NaN instead of -infinity if both of ;TI" two arguments are 0. ;TI"K Math.atan2 now returns values like as expected by C99 if both two ;TI"! arguments are infinity. ;TI" ;TI" Proc ;TI" incompatible changes: ;TI"K ArgumentError is no longer raised when lambda Proc is passed as a ;TI"N block, and the number of yielded arguments does not match the formal ;TI"M arguments of the lambda, if just an array is yielded and its length ;TI" matches. ;TI" ;TI" Process ;TI"O Process execution methods such as Process.spawn opens the file in write ;TI", mode for redirect from [:out, :err]. ;TI"4 Before Ruby 2.2, it was opened in read mode. ;T;0S; ; i;I"+Stdlib updates (outstanding ones only);T@ o;;[GI"Continuation ;TI". callcc is obsolete. use Fiber instead. ;TI" ;TI"Digest ;TI" ;TI"G Digest() should now be thread-safe. If you have a problem with ;TI"G regard to on-demand loading under a multi-threaded environment, ;TI"H preload "digest " modules on boot or use this method instead of ;TI"' directly referencing Digest::*. ;TI"A Digest::HMAC has been removed just as previously noticed. ;TI" ;TI"DL ;TI"C DL has been removed from stdlib. Please use Fiddle instead! ;TI" ;TI" Etc ;TI" New methods: ;TI" Etc.uname ;TI" Etc.sysconf ;TI" Etc.confstr ;TI" IO#pathconf ;TI" Etc.nprocessors ;TI" ;TI"Find, Pathname ;TI" Extended methods: ;TI"> find method accepts "ignore_error" keyword argument. ;TI" ;TI"Matrix ;TI" New methods: ;TI"H Matrix#first_minor(row, column) returns the submatrix obtained ;TI"3 by deleting the specified row and column. ;TI"I Matrix#cofactor(row, column) returns the (row, column) cofactor ;TI"S which is obtained by multiplying the first minor by (-1)**(row + column). ;TI"= Matrix#adjugate returns the adjugate of the matrix. ;TI"P hstack and vstack are new instance and class methods to stack matrices ;TI"& horizontally and vertically. ;TI"T Matrix#laplace_expansion(row_or_column: num) returns the laplace_expansion ;TI", along the +num+ -th row or column. ;TI"I Vector.basis(size:, index:) returns the specified basis vector. ;TI"4 Unary - and + added for Vector and Matrix. ;TI"C Vector#cross_product generalized to arbitrary dimensions. ;TI"R Vector#dot and #cross are aliases for #inner_product and #cross_product. ;TI"? Vector#angle_with returns the angle with its argument ;TI"Q New instance and class method independent? to test linear independence. ;TI" ;TI"Pathname ;TI", Pathname#/ is aliased to Pathname#+. ;TI" New methods: ;TI" Pathname#birthtime ;TI" ;TI" Rake ;TI"< Updated to Rake 10.4.0. For full release notes see: ;TI" ;TI"E http://docs.seattlerb.org/rake/History_rdoc.html#label-10.4.0 ;TI" ;TI"RubyGems ;TI"? Updated to RubyGems 2.4.2. For full release notes see: ;TI" ;TI"V http://docs.seattlerb.org/rubygems/History_txt.html#label-2.4.2+%2F+2014-10-01 ;TI" ;TI"TSort ;TI"E TSort.tsort_each, TSort.each_strongly_connected_component and ;TI"M TSort.each_strongly_connected_component_from returns an enumerator if ;TI" no block given. ;TI" ;TI"XMLRPC ;TI"8 Added new parser class named LibXMLStreamParser. ;T;0S; ; i;I">Stdlib compatibility issues (excluding feature bug fixes);T@ o;;[9I"lib/mathn.rb ;TI"0 Show deprecated warning [Feature #10169] ;TI" ;TI"!ext/date/lib/date/format.rb ;TI"( Removed because it's empty file. ;TI" ;TI"Digest ;TI"` Digest::HMAC has finally ceased to exist. Use OpenSSL::HMAC or an external gem instead. ;TI" ;TI" time.rb ;TI"K Time.parse, Time.strptime, Time.rfc2822, Time.xmlschema may produce ;TI"" fixed-offset Time objects. ;TI"O It is happen when usual localtime doesn't preserve the offset from UTC. ;TI"6 Time.httpdate produces always UTC Time object. ;TI"D Time.strptime raises ArgumentError when no date information. ;TI" ;TI"lib/rational.rb ;TI"3 Removed because it is deprecated from 2009. ;TI" ;TI"lib/complex.rb ;TI"3 Removed because it is deprecated from 2009. ;TI" ;TI"lib/prettyprint.rb ;TI"" Removed PrettyPrint#first? ;TI" ;TI"lib/minitest/*.rb ;TI"C Removed because it conflicts to minitest 5. [Feature #9711] ;TI" ;TI"lib/test/ *.rb ;TI"N Removed because it conflicts to minitest 5, and it was just an wrapper ;TI"& of minitest 4. [Feature #9711] ;TI" ;TI" lib/uri ;TI") support RFC 3986. [Feature #2542] ;TI" ;TI" GServer ;TI"B GServer is extracted to gserver gem. It's unmaintain code. ;TI" ;TI"Logger ;TI"Y Logger::Application is extracted to logger-application gem. It's unmaintain code. ;TI" ;TI".ObjectSpace (after requiring "objspace") ;TI"K ObjectSpace.memsize_of(obj) returns a size includes sizeof(RVALUE). ;TI" [Bug #8984] ;TI" ;TI"Prime ;TI" incompatible changes: ;TI"J Prime.prime? now returns false for negative numbers. This method ;TI"P should not be used to know the number is composite or not. [Bug #7395] ;TI" ;TI"Psych ;TI"0 Removed Psych::EngineManager [Bug #8344] ;T;0S; ; i;I"3Built-in global variables compatibility issues;T@ S; ; i;I"C API updates;T@ o;;[KI"/Deprecated APIs removed. [Feature #9502] ;TI" ;TI"&Check_SafeStr -> SafeStringValue ;TI"*rb_check_safe_str -> SafeStringValue ;TI"%rb_quad_pack -> rb_integer_pack ;TI")rb_quad_unpack -> rb_integer_unpack ;TI"Brb_read_check : access struct FILE internal. no replacement. ;TI";rb_struct_iv_get : internal function. no replacement. ;TI"Gstruct rb_blocking_region_buffer : internal type. no replacement. ;TI"Jrb_thread_blocking_region_begin -> rb_thread_call_without_gvl family ;TI"Hrb_thread_blocking_region_end -> rb_thread_call_without_gvl family ;TI"3TRAP_BEG -> rb_thread_call_without_gvl family ;TI"3TRAP_END -> rb_thread_call_without_gvl family ;TI"-rb_thread_select -> rb_thread_fd_select ;TI"9struct rb_exec_arg : internal type. no replacement. ;TI"2rb_exec : internal function. no replacement. ;TI"=rb_exec_arg_addopt : internal function. no replacement. ;TI"<rb_exec_arg_fixup : internal function. no replacement. ;TI";rb_exec_arg_init : internal function. no replacement. ;TI"6rb_exec_err : internal function. no replacement. ;TI"2rb_fork : internal function. no replacement. ;TI"6rb_fork_err : internal function. no replacement. ;TI"9rb_proc_exec_n : internal function. no replacement. ;TI">rb_run_exec_options : internal function. no replacement. ;TI"Brb_run_exec_options_err : internal function. no replacement. ;TI"Drb_thread_blocking_region -> rb_thread_call_without_gvl family ;TI"-rb_thread_polling -> rb_thread_wait_for ;TI"6rb_big2str0 : internal function. no replacement. ;TI"*rb_big2ulong_pack -> rb_integer_pack ;TI";rb_gc_set_params : internal function. no replacement. ;TI"-rb_io_mode_flags -> rb_io_modestr_fmode ;TI"/rb_io_modenum_flags -> rb_io_oflags_fmode ;TI" ;TI"0struct RBignum is hidden. [Feature #6083] ;TI"8Use rb_integer_pack and rb_integer_unpack instead. ;TI" ;TI"2struct RRational is hidden. [Feature #9513] ;TI"6Use rb_rational_num and rb_rational_den instead. ;TI" ;TI"Brb_big_new and rb_big_resize takes a size_t instead of long. ;TI" ;TI"9rb_num2long returns a long instead of SIGNED_VALUE. ;TI" ;TI"=rb_num2ulong returns an unsigned long instead of VALUE. ;TI" ;TI"Fst hash table uses power-of-two sizes for speed [Feature #9425]. ;TI"DLookups are 10-25% faster if using appropriate hash functions. ;TI"FHowever, weaknesses in hash distribution can no longer be masked ;TI"Cby prime number-sized tables, so extensions may need to tweak ;TI"1hash functions to ensure good distribution. ;TI" ;TI"Irb_sym2str() added. This is almost same as `rb_id2str(SYM2ID(sym))` ;TI"'but not pinning a dynamic symbol. ;TI" ;TI"?rb_str_cat_cstr() added. This is same as `rb_str_cat2()`. ;TI" ;TI"L`rb_str_substr()` and `rb_str_subseq()` will share middle of a string, ;TI"Ibut not only the end of a string, in the future. Therefore, result ;TI"Fstrings may not be NUL-terminated, `StringValueCStr()` is needed ;TI"2calling to obtain a NUL-terminated C string. ;TI" ;TI"Nrb_tracepoint_new() supports new internal events accessible only from C: ;TI"$ RUBY_INTERNAL_EVENT_GC_ENTER ;TI"# RUBY_INTERNAL_EVENT_GC_EXIT ;TI" r47528 ;TI" ;TI"Orb_hash_delete() now does not call the block given to the current method. ;TI" ;TI"Irb_extract_keywords() and rb_get_kwargs() exported. See README.EXT ;TI"for details. ;T;0S; ; i;I"Build system updates;T@ o;;[I"Hjemalloc is optionally supported via `./configure --with-jemalloc` ;TI"Bjemalloc may be suitable when system malloc is slow or prone ;TI"(to fragmentation. [Feature #9113] ;T;0S; ; i;I"Implementation changes;T@ o;;[I"GC ;TI"> Most symbols which are returned by String#to_sym and ;TI"3 String#intern are GC-able [Feature #9634] ;TI"F Introduce incremental marking for major GC. [Feature #10137] ;TI"5 Enable lazy sweep on GC caused by malloc(). ;TI" ;TI"VM ;TI"= Use frozen string literals for Hash#[] and Hash#[]= ;TI"9 Fast keyword arguments passing [Feature #10440] ;TI"A Allow to receive huge splatted array by a rest argument ;TI" [Feature #10440] ;TI" ;TI" Process ;TI"N Process creation methods, such as spawn(), uses vfork() system call. ;TI"P vfork() is faster than fork() when the parent process uses huge memory.;T;0: @file@:0@omit_headings_from_table_of_contents_below0
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages