⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Edit File: page-NEWS-2_2_0.ri
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::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[I"nil/true/false;To;;;;[o;;0;[o; ;[I"7nil/true/false objects are frozen. [Feature #8923];T@ o;;0;[o; ;[I"Hash literal;To;;;;[o;;0;[o; ;[I"BSymbol key followed by a colon can be quoted. [Feature #4276];T@ o;;0;[o; ;[I"default argument ;TI"Efixed a very longstanding bug that an optional argument was not ;TI"=accessible in its default value expression. [Bug #9593];T@ S; ; i;I"1Core classes updates (outstanding ones only);T@ o;;;;[o;;0;[o; ;[I"Binding;To;;;;[o;;0;[o; ;[I"New methods:;To;;;;[o;;0;[o; ;[I"Binding#local_variables;To;;0;[o; ;[I"Binding#receiver;T@ o;;0;[o; ;[I"Dir;To;;;;[o;;0;[o; ;[I"New methods:;To;;;;[o;;0;[o; ;[I"Dir#fileno;T@ o;;0;[o; ;[I"Enumerable;To;;;;[o;;0;[o; ;[I"New methods:;To;;;;[o;;0;[o; ;[I"Enumerable#slice_after;To;;0;[o; ;[I"Enumerable#slice_when;To;;0;[o; ;[I"Extended methods:;To;;;;[o;;0;[o; ;[I"Fmin, min_by, max and max_by supports optional argument to return ;TI"multiple elements.;T@ o;;0;[o; ;[I" Float;To;;;;[o;;0;[o; ;[I"New methods:;To;;;;[o;;0;[o; ;[I"Float#next_float;To;;0;[o; ;[I"Float#prev_float;T@ o;;0;[o; ;[I" File;To;;;;[o;;0;[o; ;[I"New methods:;To;;;;[o;;0;[o; ;[I"File.birthtime;To;;0;[o; ;[I"File#birthtime;T@ o;;0;[o; ;[I"File::Stat;To;;;;[o;;0;[o; ;[I"New methods:;To;;;;[o;;0;[o; ;[I"File::Stat#birthtime;T@ o;;0;[o; ;[I"GC;To;;;;[o;;0;[o; ;[I"EGC.latest_gc_info returns :state to represent current GC status.;To;;0;[o; ;[I"Improvements;To;;;;[o;;0;[o; ;[I"AIntroduce incremental marking for major GC. [Feature #10137];T@ o;;0;[o; ;[I"IO;To;;;;[o;;0;[o; ;[I"Improvements;To;;;;[o;;0;[o; ;[I"OIO#read_nonblock and IO#write_nonblock for pipes on Windows are supported.;T@ o;;0;[o; ;[I"Kernel;To;;;;[o;;0;[o; ;[I"New methods:;To;;;;[o;;0;[o; ;[I"Kernel#itself;To;;0;[o; ;[I"Improvements;To;;;;[o;;0;[o; ;[I"LKernel#throw raises UncaughtThrowError, subclass of ArgumentError when ;TI"Ethere is no corresponding catch block, instead of ArgumentError.;T@ o;;0;[o; ;[I"Process;To;;;;[o;;0;[o; ;[I"Extended method:;To;;;;[o;;0;[o; ;[I"MProcess execution methods such as Process.spawn opens the file in write ;TI")mode for redirect from [:out, :err].;T@ o;;0;[o; ;[I"String;To;;;;[o;;0;[o; ;[I"New methods:;To;;;;[o;;0;[o; ;[I"String#unicode_normalize;To;;0;[o; ;[I"String#unicode_normalize!;To;;0;[o; ;[I"String#unicode_normalized?;T@ o;;0;[o; ;[I"Symbol;To;;;;[o;;0;[o; ;[I"Improvements;To;;;;[o;;0;[o; ;[I":Most symbols which are returned by String#to_sym and ;TI"String#intern are GC-able.;T@ o;;0;[o; ;[I"Method;To;;;;[o;;0;[o; ;[I"New methods:;To;;;;[o;;0;[o; ;[I"2Method#curry([arity]) returns a curried Proc.;To;;0;[o; ;[I"OMethod#super_method returns a Method of superclass, which would be called ;TI"when super is used.;T@ S; ; i;I"DCore classes compatibility issues (excluding feature bug fixes);T@ o;;;;[o;;0;[o; ;[I"Enumerable;To;;;;[o;;0;[o; ;[I";Enumerable#slice_before's state management deprecated.;To;;0;[o; ;[I"4Enumerable#chunk's state management deprecated.;T@ o;;0;[o; ;[I"GC;To;;;;[o;;0;[o; ;[I"incompatible changes:;To;;;;[o;;0;[o; ;[I"-Rename GC.stat entries. [Feature #9924] ;TI"mSee https://docs.google.com/spreadsheets/d/11Ua4uBr6o0k-nORrZLEIIUkHJ9JRzRR0NyZfrhEEnc8/edit?usp=sharing;T@ o;;0;[o; ;[I" Hash;To;;;;[o;;0;[o; ;[I"incompatible changes:;To;;;;[o;;0;[o; ;[I"?Change overriding policy for duplicated key. [Bug #10315] ;TI"G{ **hash1, **hash2 } contains values of hash2 for duplicated keys.;T@ o;;0;[o; ;[I"IO;To;;;;[o;;0;[o; ;[I"incompatible changes:;To;;;;[o;;0;[o; ;[ I"NWhen flushing file IO with IO#flush, you cannot assume that the metadata ;TI"Hof the file is updated immediately. On some platforms (especially ;TI"EWindows), it is delayed until the filesystem load is decreased. ;TI"=Use IO#fsync if you want to guarantee updating metadata.;T@ o;;0;[o; ;[I" Math;To;;;;[o;;0;[o; ;[I"incompatible changes:;To;;;;[o;;0;[o; ;[I"KMath.log now raises Math::DomainError instead of returning NaN if the ;TI"Jbase is less than 0, and returns NaN instead of -infinity if both of ;TI"two arguments are 0.;To;;0;[o; ;[I"GMath.atan2 now returns values like as expected by C99 if both two ;TI"arguments are infinity.;T@ o;;0;[o; ;[I" Proc;To;;;;[o;;0;[o; ;[I"incompatible changes:;To;;;;[o;;0;[o; ;[ I"GArgumentError is no longer raised when lambda Proc is passed as a ;TI"Jblock, and the number of yielded arguments does not match the formal ;TI"Iarguments of the lambda, if just an array is yielded and its length ;TI" matches.;T@ o;;0;[o; ;[I"Process;To;;;;[o;;0;[o; ;[I"MProcess execution methods such as Process.spawn opens the file in write ;TI"*mode for redirect from [:out, :err]. ;TI"1Before Ruby 2.2, it was opened in read mode.;T@ S; ; i;I"+Stdlib updates (outstanding ones only);T@ o;;;;[o;;0;[o; ;[I"Continuation;To;;;;[o;;0;[o; ;[I"+callcc is obsolete. use Fiber instead.;T@ o;;0;[o; ;[I"Digest;T@ o;;;;[o;;0;[o; ;[ I"EDigest() should now be thread-safe. If you have a problem with ;TI"Eregard to on-demand loading under a multi-threaded environment, ;TI"Fpreload "digest/*" modules on boot or use this method instead of ;TI"$directly referencing Digest::*.;To;;0;[o; ;[I">Digest::HMAC has been removed just as previously noticed.;T@ o;;0;[o; ;[I"DL;To;;;;[o;;0;[o; ;[I"@DL has been removed from stdlib. Please use Fiddle instead!;T@ o;;0;[o; ;[I"Etc;To;;;;[o;;0;[o; ;[I"New methods:;To;;;;[ o;;0;[o; ;[I"Etc.uname;To;;0;[o; ;[I"Etc.sysconf;To;;0;[o; ;[I"Etc.confstr;To;;0;[o; ;[I"IO#pathconf;To;;0;[o; ;[I"Etc.nprocessors;T@ o;;0;[o; ;[I"Find, Pathname;To;;;;[o;;0;[o; ;[I"Extended methods:;To;;;;[o;;0;[o; ;[I"9find method accepts "ignore_error" keyword argument.;T@ o;;0;[o; ;[I"Matrix;To;;;;[o;;0;[o; ;[I"New methods:;To;;;;[o;;0;[o; ;[I"DMatrix#first_minor(row, column) returns the submatrix obtained ;TI".by deleting the specified row and column.;To;;0;[o; ;[I"EMatrix#cofactor(row, column) returns the (row, column) cofactor ;TI"Nwhich is obtained by multiplying the first minor by (-1)**(row + column).;To;;0;[o; ;[I"8Matrix#adjugate returns the adjugate of the matrix.;To;;0;[o; ;[I"Lhstack and vstack are new instance and class methods to stack matrices ;TI"!horizontally and vertically.;To;;0;[o; ;[I"PMatrix#laplace_expansion(row_or_column: num) returns the laplace_expansion ;TI"'along the +num+ -th row or column.;To;;0;[o; ;[I"DVector.basis(size:, index:) returns the specified basis vector.;To;;0;[o; ;[I"/Unary - and + added for Vector and Matrix.;To;;0;[o; ;[I">Vector#cross_product generalized to arbitrary dimensions.;To;;0;[o; ;[I"MVector#dot and #cross are aliases for #inner_product and #cross_product.;To;;0;[o; ;[I":Vector#angle_with returns the angle with its argument;To;;0;[o; ;[I"LNew instance and class method independent? to test linear independence.;T@ o;;0;[o; ;[I" Pathname;To;;;;[o;;0;[o; ;[I")Pathname#/ is aliased to Pathname#+.;To;;0;[o; ;[I"New methods:;To;;;;[o;;0;[o; ;[I"Pathname#birthtime;T@ o;;0;[o; ;[I" Rake;To;;;;[o;;0;[ o; ;[I"9Updated to Rake 10.4.0. For full release notes see:;T@ o; ;[I"Bhttp://docs.seattlerb.org/rake/History_rdoc.html#label-10.4.0;T@ o;;0;[o; ;[I" RubyGems;To;;;;[o;;0;[ o; ;[I"<Updated to RubyGems 2.4.2. For full release notes see:;T@ o; ;[I"Shttp://docs.seattlerb.org/rubygems/History_txt.html#label-2.4.2+%2F+2014-10-01;T@ o;;0;[o; ;[I" TSort;To;;;;[o;;0;[o; ;[I"CTSort.tsort_each, TSort.each_strongly_connected_component and ;TI"KTSort.each_strongly_connected_component_from returns an enumerator if ;TI"no block given.;T@ o;;0;[o; ;[I"XMLRPC;To;;;;[o;;0;[o; ;[I"5Added new parser class named LibXMLStreamParser.;T@ S; ; i;I">Stdlib compatibility issues (excluding feature bug fixes);T@ o;;;;[o;;0;[o; ;[I"lib/mathn.rb;To;;;;[o;;0;[o; ;[I"-Show deprecated warning [Feature #10169];T@ o;;0;[o; ;[I" ext/date/lib/date/format.rb;To;;;;[o;;0;[o; ;[I"%Removed because it's empty file.;T@ o;;0;[o; ;[I"Digest;To;;;;[o;;0;[o; ;[I"]Digest::HMAC has finally ceased to exist. Use OpenSSL::HMAC or an external gem instead.;T@ o;;0;[o; ;[I"time.rb;To;;;;[o;;0;[o; ;[I"ITime.parse, Time.strptime, Time.rfc2822, Time.xmlschema may produce ;TI" fixed-offset Time objects. ;TI"LIt is happen when usual localtime doesn't preserve the offset from UTC.;To;;0;[o; ;[I"3Time.httpdate produces always UTC Time object.;To;;0;[o; ;[I"ATime.strptime raises ArgumentError when no date information.;T@ o;;0;[o; ;[I"lib/rational.rb;To;;;;[o;;0;[o; ;[I"0Removed because it is deprecated from 2009.;T@ o;;0;[o; ;[I"lib/complex.rb;To;;;;[o;;0;[o; ;[I"0Removed because it is deprecated from 2009.;T@ o;;0;[o; ;[I"lib/prettyprint.rb;To;;;;[o;;0;[o; ;[I"Removed PrettyPrint#first?;T@ o;;0;[o; ;[I"lib/minitest/*.rb;To;;;;[o;;0;[o; ;[I"@Removed because it conflicts to minitest 5. [Feature #9711];T@ o;;0;[o; ;[I"lib/test/**/*.rb;To;;;;[o;;0;[o; ;[I"LRemoved because it conflicts to minitest 5, and it was just an wrapper ;TI"#of minitest 4. [Feature #9711];T@ o;;0;[o; ;[I"lib/uri;To;;;;[o;;0;[o; ;[I"&support RFC 3986. [Feature #2542];T@ o;;0;[o; ;[I"GServer;To;;;;[o;;0;[o; ;[I"?GServer is extracted to gserver gem. It's unmaintain code.;T@ o;;0;[o; ;[I"Logger;To;;;;[o;;0;[o; ;[I"VLogger::Application is extracted to logger-application gem. It's unmaintain code.;T@ o;;0;[o; ;[I"-ObjectSpace (after requiring "objspace");To;;;;[o;;0;[o; ;[I"HObjectSpace.memsize_of(obj) returns a size includes sizeof(RVALUE).;To;;: LABEL;[o;;[I"Bug #8984;T;[@ o;;0;[o; ;[I" Prime;To;;;;[o;;0;[o; ;[I"incompatible changes:;To;;;;[o;;0;[o; ;[I"FPrime.prime? now returns false for negative numbers. This method ;TI"Kshould not be used to know the number is composite or not. [Bug #7395];T@ o;;0;[o; ;[I" Psych;To;;;;[o;;0;[o; ;[I"-Removed Psych::EngineManager [Bug #8344];T@ S; ; i;I"3Built-in global variables compatibility issues;T@ S; ; i;I"C API updates;T@ o;;;;[o;;0;[ o; ;[I".Deprecated APIs removed. [Feature #9502];T@ o; ;[#I"&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;T@ o;;0;[o; ;[I"0struct RBignum is hidden. [Feature #6083] ;TI"7Use rb_integer_pack and rb_integer_unpack instead.;T@ o;;0;[o; ;[I"2struct RRational is hidden. [Feature #9513] ;TI"5Use rb_rational_num and rb_rational_den instead.;T@ o;;0;[o; ;[I"Arb_big_new and rb_big_resize takes a size_t instead of long.;T@ o;;0;[o; ;[I"8rb_num2long returns a long instead of SIGNED_VALUE.;T@ o;;0;[o; ;[I"<rb_num2ulong returns an unsigned long instead of VALUE.;T@ o;;0;[o; ;[ I"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"0hash functions to ensure good distribution.;T@ o;;0;[o; ;[I"Irb_sym2str() added. This is almost same as `rb_id2str(SYM2ID(sym))` ;TI"&but not pinning a dynamic symbol.;T@ o;;0;[o; ;[I">rb_str_cat_cstr() added. This is same as `rb_str_cat2()`.;T@ o;;0;[o; ;[ I"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"1calling to obtain a NUL-terminated C string.;T@ o;;0;[o; ;[I"Mrb_tracepoint_new() supports new internal events accessible only from C:;To;;;;[o;;0;[o; ;[I"!RUBY_INTERNAL_EVENT_GC_ENTER;To;;0;[o; ;[I"!RUBY_INTERNAL_EVENT_GC_EXIT ;TI"r47528;T@ o;;0;[o; ;[I"Nrb_hash_delete() now does not call the block given to the current method.;T@ o;;0;[o; ;[I"Irb_extract_keywords() and rb_get_kwargs() exported. See README.EXT ;TI"for details.;T@ S; ; i;I"Build system updates;T@ o;;;;[o;;0;[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@ S; ; i;I"Implementation changes;T@ o;;;;[o;;0;[o; ;[I"GC;To:RDoc::Markup::Verbatim;[ I"<* Most symbols which are returned by String#to_sym and ;TI"1 String#intern are GC-able [Feature #9634] ;TI"D* Introduce incremental marking for major GC. [Feature #10137] ;TI"3* Enable lazy sweep on GC caused by malloc(). ;T:@format0o;;0;[o; ;[I"VM;To;;[ I";* Use frozen string literals for Hash#[] and Hash#[]= ;TI"7* Fast keyword arguments passing [Feature #10440] ;TI"?* Allow to receive huge splatted array by a rest argument ;TI" [Feature #10440] ;T;0o;;0;[o; ;[I"Process;To;;[I"L* Process creation methods, such as spawn(), uses vfork() system call. ;TI"N vfork() is faster than fork() when the parent process uses huge memory.;T;0: @file@:0@omit_headings_from_table_of_contents_below0
Simpan