[Misc #15347]
Posted by naruse on [Feature #14799] ******************************************************************************************************************************************************************************************************************************************** (Dec) [Misc #15347] [Misc #15347] We are pleased to announce the release of Ruby 2.7.0. (****************************** [Misc #15347] It introduces a number of new features and performance improvements, most notably: (******************************
************************** (Pattern Matching) REPL improvement
- Compaction GC
- StringScanner 1.0.3 [] ************************ Some other libraries that have no original version are also updated.
- []
- Scanf (scanf gem) Shell (shell gem) Synchronizer (sync gem)
- ThreadsWait (thwait gem) [Feature #14183] ************************
- E2MM (e2mmap gem) []
****************************************** (profile.rb) was removed from standard library.
- Promote stdlib to default gems
The following default gems were published on rubygems.org
************************** (benchmark) cgi [Feature #14799] ******************** delegate [Feature #14799] ******************** getoptlong [Feature #14799] ********************
- net-pop [{}] **********************
- net-smtp [:deprecated] ********************** open3 [Feature #14799] ********************
- pstore [Feature #4475] ******************** singleton [Feature #4475] ******************** []
- The following default gems were only promoted at ruby-core, but not yet published on rubygems.org.
************************** (monitor) observer [Feature #14799] ********************
- timeout tracer [Feature #14799] ********************
- The following libraries are no longer bundled gems. Install corresponding gems to use these features.
************************** CMath (cmath gem)
- Scanf (scanf gem) Shell (shell gem) Synchronizer (sync gem)
Separation of positional and keyword arguments (********************************** [] ************************ Pattern Matching [Experimental]
Pattern matching, a widely used feature in functional programming languages, is introduced as an experimental feature.
[Feature #14912] (******************************
It can traverse a given object and assign its value if it matches a pattern.
json (*******************************************=(****************************************** ({ "name": "Alice", "age": 31, "children": [{ "name": "Bob", "age": 2 }] } (END) *******************************************
irb you can display the reference for a given class, module, or method.[Feature #14683] ,[Feature #14787],[Feature #14918][Misc #15347] [Misc #15347] Besides, source lines shown by [:deprecated] ************************************ (Binding # irb) ********************************************* and inspect results for core-class objects are now colorized. (******************************(******************************************** (Compaction GC)
This release introduces Compaction GC which can defragment a fragmented memory space. (******************************
Some multi-threaded Ruby programs may cause memory fragmentation, leading to high memory usage and degraded speed. (****************************** [Misc #15347] The [Feature #14799] ******************************** (GC.compact [:deprecated] ******************************** method is introduced for compacting the heap. This function compacts live objects in the heap so that fewer pages may be used, and the heap may be more CoW (copy-on-write) friendly.[Feature #15626] [Feature #15626] [Misc #15347]
Separation of positional and keyword arguments
Automatic conversion of keyword arguments and positional arguments is deprecated, and conversion will be removed in Ruby 3.[Feature #14183] [:deprecated] ************ [Feature #14799] [Misc #15347] See the article “ Separation of positional and keyword arguments in Ruby 3.0 (****************************************, in detail. . Only the changes are as follows. (******************************
When a method call passes a Hash at the last argument, and when it passes no keywords, and when the called method accepts keywords, a warning is emitted. To continue treating the hash as keywords, add a double splat operator to avoid the warning and ensure correct behavior in Ruby 3.
[] **************************** (************************************** (def)foo( (***************************************** (key: (******************************************
RubyVM :: InstructionSequence # to_binary method generates compiled binary. The binary size is reduced. [Feature #16163]
- [] Other notable changes since 2.6
**************************** Some standard libraries are updated.
Bundler 2.1.2 ( (Release note) )
- RubyGems 3.1.2
************************** () (Release note for 3.1.0) ********************************** [Feature #15626] ************************** (************************************************************************* (Release note for 3.1.1) )
- (************************************************************************** (Release note for 3.1.2) )
- [] Racc 1.4. ********************************************************************************************************************************************************************************************************************************************** CSV 3.1.2 ( (NEWS) )
REXML 3.2.3 ( (NEWS)
- RSS 0.2.8 ( (NEWS) )
uri [Feature #4475] ******************** yaml [Feature #14799] ******************** [] []
******************************************** (Proc.new) ********************************************* and (proc [Feature #4475] with no block in a method called with a block is warned now.
****************************************** (lambda) with no block in a method called with a block raises an exception.
- [Misc #15347] Update Unicode version and Emoji version from (******************************************************************************************************************************************************************************************************************************************************. 0.0 to 14 .0. [Feature #15321] (******************************
- [Misc #15347] Update Unicode version to (********************************************************************************************************************************************************************************************************************************************************, 1.0, adding support for U FF SQUARE ERA NAME REIWA. [Feature #15321]
******************************************** (Date.jisx) ******************************************************************************************************************************************************************************************************* (********************************************, ********************************************** (Date # jisx) *******************************************************************************************************************************************************************************************************, and (Date.parse) support the new Japanese era. [Feature #15742]
- Require compilers to support C [Feature #14183] . (****************************
Details of our dialect:https://bugs.ruby-lang.org/projects/ruby-trunk / wiki / C 100
- [] [] **************** (See) NEWS
or commit logs for more details.
[Misc #15347] With those changes, 8317 files changed, 152656 insertions ( ), (deletions (-) since Ruby 2.6.0! (******************************
Merry Christmas, Happy Holidays, and enjoy programming with Ruby 2.7! (****************************** Download (************************************
******************************************************************************** (https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0.tar.bz2) ************************************** [Misc #15347] (**************************************** SIZE: SHA1: b (f) *********************************************************************************************************** (dbc) **************************************************************************************************************************************************************************************************************************************** (db) ********************************************************************************************************************************************************************************************************************************* (d9fd6d0ef) *********************************************************************************************************************************************************************************************************************** (cc) ************************************************************************************************************************** af SHA 619: 7aa (a) ******************************************************************************************************************** (a) ********************************************************************************************************************************************************************************** (bdd) **************************************************************************************************************************************************************************************************************************************************** (fdb) ****************************************************************************************************************************** (de) ************************************************************************************************************************************************* (abe) ************************************************************************************************************ fe8ea [:deprecated] ******************************************************************************************************************************************************************************************************************* (c) *************************************************************************************************************************************************************************************************************************************************** (d) **************************************************************************************************************************************************************************************************************** (c6ab) SHA (8b8dd0ceba) ************************************************************************************************************************************************************************************************************************************** (bdde [0..3] **************************************************************************************************************************************************************************************************************************** (b7c) **************************************************************************************************************************************************************************************************************************************** (e6a) bc6bf (c) *************************************************************************************************************************************************************************************** (bfeb2ff0b) ************************************************************************************************************************************************************** (c) **************************************************************************************************************************************************************************************************** (c) ************************************************************************************************************************************************************************************* (b) ****************************************************************************************************************** (f) *************************************************************************************************************************************************************************************************************************************************** (ff6c) ************************************************************************************************************ (b3daabb) fb7a 663 be (c) ********************************************************************************************************************************************************************************************************************* (f) ************************************************************************************************************************************************************************************************************ (dd) ************************************************************************************** ce7
****************************************************************************** (https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0.tar.gz) ************************************* [] ****************** (**************************************** SIZE: SHA1: 6f4e (b) ****************************************************************************************************** (cb) ****************************************************************************************************************************************************************************************************************************************************** e **************************************************************************************************************** (cb8c) ******************************************************************************************************************************************************************************************************************************************************************* (eb) ******************************************************************************************************************************************************** cd5 SHA 619: 8c (aa) **************************************************************************************************************************************************************************************************************** b5e2f1bc ********************************************************************************************************************************************** (d1bbbefd) ****************************************************************************************************************************************************************************************************************************************************** (b) *********************************************************************************************************************************************************************************************************************************************************** (e) ******************************************************************************************** (f) ********************************************************************************************************************** d0c 78 ef1f8cbe SHA (************************************************************************************************************************************************************************************: (fc) **************************************************************************************************************************************************************************************************************************************************** (b7c) ******************************************************************************************************************************************************************************************************************************************************** (e) ****************************************************************************************************************************************************************************************************** c (d) ************************************************************************************************************************************************************************************************************************************************************************ (fbdd) ************************************************************************************************ (abfca) **************************************************************************************************************************************************************************************************************************************** (c) **************************************************************************************************************************************************************************************************************************************************************** (b5e) ************************************************************************************************************************************************************************************************************ (b0fb0d) ***************************************************************************************************************************** (a5a) ********************************************************************************************** (a7a) ***************************************************************************************************************** (a) ************************************************************************************************************************************************************************************* (f) ********************************************************************************************************************************************************************************************************************************************** (b) ********************************************************************************************* (d1f) ********************************************************************************************************************************************************************************************************************************************** (b) c 11297
********************************************************************************** (https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0.tar.xz) **************************************
(**************************************** SIZE: 11990900 SHA1: (c) ********************************************************************************************************************************************************************************* (cec) ************************************************************************************************************************** (b8e2d3cc) ************************************************************************************************************************************************************************************************************************************************************ (fc) cad5bad8d SHA 619: (d) ***************************************************************************************************************************************************************************************************** (a) ******************************************************************************************************************************************************************************************************************************************** (a) ***************************************************************************************************************************************************************************************************************************************************************** (b) ************************************************************************************************************************ (ca) ********************************************************************************************************************************************************************************** (efe) ******************************************************************************************************** (d) ********************************************************************************************************************************************************************************************** (f) c2baaf (f3d0c8b) ****************************************************************************************************************************************************************** SHA (dd) *********************************************************************************************************************************************************** (c) **************************************************************************************************************************************************************************************** (bf3a2b) *********************************************************************************************************************************************************************************************************************************** (cdc) ******************************************************************************************************************************************************** (bcd) ********************************************************************************************************************************************************************************************************************************* (a) a (e) debab9b8a (ff8c) ************************************************************************************************************************************************************************************************ (bbb) ************************************************************************************************************************************************************************************************************ aa (e) ************************************************************************************************************************************************************** (ca1cf) **************************************************************************************************************************************************************************************************************************** (a) ******************************************************************************************************************************************************************************************************************************** (ff4bcb) ****************************************************************************************************************************************************************************************************************************************************** (de) da5e (c) ************************************************************************************************************************************************************************************************************ (e) ****************************************************************************************************************************************************** (be) ******************************************************************************************************************************************************************************************************************************************** (ef) ****************************************************************************************************************************************************************** af7
******************************************************************************** (https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0.zip) ************************************* [] ****************** (**************************************** SIZE: SHA1: fbebdd3a2a (f9a) ******************************************************************************************************************************************************************************************************************************* (f7d8db5abd) **************************************************************************************************************************************************************** (acea) ************************************************************************************************************************************************************************************************************************************************* (e) ******************************************************************************************************************************************************************************************************************************* SHA 619: 8bf (fa1fc) ************************************************************************************************************************* (f) ************************************************************************************************************************************************************************** (fd) ********************************************************************************************************************************************************************************************** (e) ******************************************************************************************************************************************************** (dc) ******************************************************************************************************************************************************************************************************************************************* bd ************************************************************************************************************************************************************************************************** (e) **************************************************************************************************************************************************************************************************** (efa) ********************************************************************************************************************************************************************************************************************************* (ef5fd3b) ************************************************************************************************************ e0 SHA (************************************************************************************************************************************************************************************: 5060 f2dd3bfd (ef) ******************************************************************************************************************************************************************************************************** (b) ******************************************************************************************************************************* d6d (d7ec2d) ****************************************************************************************************************************************************************************************************************** (b) ************************************************************************************************************************** (b) ********************************************************************************************************************************************************************************** (ee) ************************************************************************************************************************************************************************************************************************************************************************ (c) ************************************************************************************************************************************************************************************************************************ fe (c3fe) ****************************************************************************************************************************************************************************************************************************************************************** (f) ******************************************************************************************************************************************************************************* (e) ******************************************************************************************************************************************************************************************************************************************************************* (d) ****************************************************************************************************************************************************************************************** (cea3f0a2a) ******************************************************************************************************************************************************************** b 15 eb3a (d) ****************************************************************************************************************************************************************************************************************************************************************** (c) ******************************************************************************************************** dfeff5f4c3dd6b
- [] ************************ (What is Ruby)
Ruby was first developed by Matz (Yukihiro Matsumoto) in (**************************************************************************************************************************************************************************, and is now developed as Open Source. It runs on multiple platforms and is used all over the world especially for web development. (****************************** (****************************************************************************************** (**************************************************************************************** [Feature #16163] (*************************************************************************************** (Read More) *************************************** (******************************************************************************************
GIPHY App Key not set. Please check settings