タグ

ブックマーク / www.ruby-lang.org (143)

  • Ruby 3.0.1 リリース

    Posted by naruse on 5 Apr 2021 Translated by mame Ruby 3.0.1 がリリースされました。 このリリースでは以下の脆弱性修正が含まれています。 詳しくは以下の記事などを参照してください。 CVE-2021-28965: XML round-trip vulnerability in REXML CVE-2021-28966: Path traversal in Tempfile on Windows その他の変更については commit log を参照してください。 ダウンロード https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.1.tar.gz SIZE: 19664598 SHA1: 60c72f3e501a3be9616385cad3e48bc89d6150a1 SHA256: 3

    Watson
    Watson 2021/04/06
  • Ruby 3.0.0 リリース

    Posted by naruse on 25 Dec 2020 Ruby 3.0系初のリリースである、Ruby 3.0.0 が公開されました。 これまで、Ruby3に向けてパフォーマンスの改善、並行処理、静的解析という3つの目標を掲げて、活発に開発が行われてきました。特にパフォーマンスの改善については、Ruby 3x3 として「Ruby3はRuby2の3倍速くする」ことを目指してきました。 Ruby 3.0では開発の指標の一つとしてきたOptcarrotベンチマークで3倍を達成するとともに、以下のような取り組みが行われています。 benchmark-driver.github.io/hardware.html に書かれている環境で計測されました。 8c510e4095 が Ruby 3.0 として使われています。環境やベンチマークによっては3倍にならないかもしれません。 Ruby 3 では

    Watson
    Watson 2020/12/25
  • Ruby 3.0.0 RC1 リリース

    Posted by naruse on 20 Dec 2020 Ruby 3.0に向けてフィードバックを得るためのリリースである、Ruby 3.0.0-rc1が公開されました。 Ruby 3.0には、多くの新しい機能やパフォーマンスの改善が含まれます。 その一部を以下に紹介します。 静的解析 RBS RBSはRubyプログラムの型を記述するための言語です。 TypeProfなどの型検査ツールを初めとする静的解析を行うツールは、RBSを利用することでRubyプログラムをより精度良く解析することができます。 RBSでは、Rubyプログラムのクラスやモジュールの型を定義します。メソッドやインスタンス変数、定数とその型、継承やmixinなどの関係などが記述できます。 RBSはRubyプログラムに頻出するパターンをサポートするように設計されており、ユニオン型、メソッドオーバーロード、ジェネリクスなど

    Watson
    Watson 2020/12/21
  • Ruby 3.0.0 Preview 2 Released

    Posted by naruse on 8 Dec 2020 We are pleased to announce the release of Ruby 3.0.0-preview2. It introduces a number of new features and performance improvements. Static Analysis RBS RBS is a language to describe the types of Ruby programs. Type checkers including TypeProf and other tools supporting RBS will understand Ruby programs much better with RBS definitions. You can write down the definiti

    Watson
    Watson 2020/12/09
  • Ruby 3.0.0 Preview 1 Released

    Posted by naruse on 25 Sep 2020 We are pleased to announce the release of Ruby 3.0.0-preview1. It introduces a number of new features and performance improvements. RBS RBS is a language to describe the types of Ruby programs. Type checkers including type-profiler and other tools supporting RBS will understand Ruby programs much better with RBS definitions. You can write down the definition of clas

    Watson
    Watson 2020/09/26
  • Ruby 2.4 公式サポート終了

    Posted by usa on 5 Apr 2020 Ruby 2.4 系列の公式サポート期間が終了したことをお知らせします。 昨年 4 月から 1 年間、Ruby 2.4 系列はセキュリティメンテナンス期間に入っていましたが、予告していた通り、1 年が経過しましたので、2020 年 3 月 31 日をもって、公式サポートを終了します。 以後、単なるバグの修正はもちろん、セキュリティ上の問題が発見された場合も、Ruby 2.4 系列については新たなリリースは行われません。 2020 年 3 月 31 日に、Ruby 2.4 系列での最後のリリースとなる 2.4.10 がリリースされていますが、これは、ユーザーの皆さんがより新しいバージョン系列へと移行するための猶予を確保するためのものです。 現在、Ruby 2.4 系列を使用中のユーザーは、速やかに、より新しいバージョン系列へと移行される

    Watson
    Watson 2020/04/13
  • Ruby 2.7.0 Released

    Posted by naruse on 25 Dec 2019 We are pleased to announce the release of Ruby 2.7.0. It introduces a number of new features and performance improvements, most notably: Pattern Matching REPL improvement Compaction GC Separation of positional and keyword arguments Pattern Matching [Experimental] Pattern matching, a widely used feature in functional programming languages, is introduced as an experim

    Watson
    Watson 2019/12/25
  • Ruby 2.7.0-rc2 リリース

    Watson
    Watson 2019/12/22
  • Ruby 2.7.0-rc1 リリース

    Posted by naruse on 17 Dec 2019 Ruby 2.7シリーズのリリース候補版である、Ruby 2.7.0-rc1がリリースされました。 プレビュー版は、年末の正式リリースに向け、新たな機能を試し、フィードバックを集めるために提供されています。 Ruby 2.7には、多くの新しい機能やパフォーマンスの改善が含まれます。 その一部を以下に紹介します。 Compaction GC 断片化したメモリをデフラグするCompaction GCが導入されました。 一部のマルチスレッドなRubyプログラムを長期間動かし、マーク&スイープ型GCを何度も実行していると、メモリが断片化してメモリ使用量の増大や性能の劣化を招くことが知られています。 Ruby 2.7ではGC.compact というメソッドを導入し、ヒープをコンパクションすることが出来るようになります。ヒープ内の生存して

    Watson
    Watson 2019/12/18
  • Separation of positional and keyword arguments in Ruby 3.0

    Posted by mame on 12 Dec 2019 This article explains the planned incompatibility of keyword arguments in Ruby 3.0 tl;dr In Ruby 3.0, positional arguments and keyword arguments will be separated. Ruby 2.7 will warn for behaviors that will change in Ruby 3.0. If you see the following warnings, you need to update your code: Using the last argument as keyword parameters is deprecated, or Passing the ke

    Watson
    Watson 2019/12/13
  • Ruby 2.7.0-preview3 リリース

    Posted by naruse on 23 Nov 2019 Ruby 2.7シリーズのプレビュー版である、Ruby 2.7.0-preview3をリリースします。 プレビュー版は、年末の正式リリースに向け、新たな機能を試し、フィードバックを集めるために提供されています。 Ruby 2.7.0-preview3では、多くの新しい機能やパフォーマンスの改善が含まれています。 その一部を以下に紹介します。 Compaction GC 断片化したメモリをデフラグするCompaction GCが導入されました。 一部のマルチスレッドなRubyプログラムを長期間動かし、マーク&スイープ型GCを何度も実行していると、メモリが断片化してメモリ使用量の増大や性能の劣化を招くことが知られています。 Ruby 2.7ではGC.compact というメソッドを導入し、ヒープをコンパクションすることが出来るよう

    Watson
    Watson 2019/11/24
  • Ruby 2.7.0-preview2 リリース

    Posted by naruse on 22 Oct 2019 Ruby 2.7シリーズのプレビュー版である、Ruby 2.7.0-preview2をリリースします。 プレビュー版は、年末の正式リリースに向け、新たな機能を試し、フィードバックを集めるために提供されています。 Ruby 2.7.0-preview2では、多くの新しい機能やパフォーマンスの改善が含まれています。 その一部を以下に紹介します。 Compaction GC 断片化したメモリをデフラグするCompaction GCが導入されました。 一部のマルチスレッドなRubyプログラムを長期間動かし、マーク&スイープ型GCを何度も実行していると、メモリが断片化してメモリ使用量の増大や性能の劣化を招くことが知られています。 Ruby 2.7ではGC.compact というメソッドを導入し、ヒープをコンパクションすることが出来るよう

    Watson
    Watson 2019/10/23
  • Ruby 2.6.5 リリース

    Posted by nagachika on 1 Oct 2019 Ruby 2.6.5 がリリースされました。 このリリースには 4 つの脆弱性修正が含まれています。 CVE-2019-16255: Shell#[]およびShell#testのコード挿入脆弱性 CVE-2019-16254: WEBrick における HTTP レスポンス偽装の脆弱性について(追加の修正) CVE-2019-15845: File.fnmatch の NUL 文字挿入脆弱性 CVE-2019-16201: WEBrickのDigest認証に関する正規表現Denial of Serviceの脆弱性 その他の変更点の詳細は commit log を参照してください。 ダウンロード https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.5.tar.bz2 SIZE:

    Watson
    Watson 2019/10/02
    Security fixes
  • Ruby 2.6.4 Released

    Posted by nagachika on 28 Aug 2019 Ruby 2.6.4 has been released. This release includes a security fix of rdoc. Please check the topics below for details. Multiple jQuery vulnerabilities in RDoc See the commit logs for changes in detail. Download https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.4.tar.bz2 SIZE: 14426299 bytes SHA1: fa1c7b7f91edb92de449cb1ae665901ba51a8b81 SHA256: fa1ecc67b99fa13201

    Watson
    Watson 2019/08/28
  • Ruby 2.7.0-preview1 リリース

    Posted by naruse on 30 May 2019 Ruby 2.7シリーズの最初のプレビュー版である、Ruby 2.7.0-preview1をリリースします。 プレビュー版は、年末の正式リリースに向け、新たな機能を試し、フィードバックを集めるために提供されています。 Ruby 2.7.0-preview1では、多くの新しい機能やパフォーマンスの改善が含まれています。 その一部を以下に紹介します。 Compaction GC 断片化したメモリをデフラグするCompaction GCが導入されました。 一部のマルチスレッドなRubyプログラムを長期間動かし、マーク&スイープ型GCを何度も実行していると、メモリが断片化してメモリ使用量の増大や性能の劣化を招くことが知られています。 Ruby 2.7ではGC.compact というメソッドを導入し、ヒープをコンパクションすることが出来

    Watson
    Watson 2019/05/31
    🎉
  • Ruby Repository Moved to Git from Subversion

    Posted by hsbt on 23 Apr 2019 Today, the canonical repository of the Ruby programming language was moved to Git from Subversion. The web interface for the new repository is https://git.ruby-lang.org, and is provided by cgit. We can keep the commit hash from the contributor on the Ruby repository directly. Development policy We don’t use a topic branch on cgit. The GitHub repository will still be j

    Watson
    Watson 2019/04/23
  • Support of Ruby 2.3 has ended

    Posted by antonpaisov on 31 Mar 2019 We announce that all support of the Ruby 2.3 series has ended. After the release of Ruby 2.3.7 on March 28, 2018, the support of the Ruby 2.3 series was in the security maintenance phase. Now, after one year has passed, this phase has ended. Therefore, on March 31, 2019, all support of the Ruby 2.3 series ends. Security and bug fixes from more recent Ruby versi

    Watson
    Watson 2019/04/04
  • Ruby 2.6.2 リリース

    Posted by naruse on 13 Mar 2019 Ruby 2.6.2 がリリースされました。 このリリースには同梱しているRubyGemsの脆弱性修正が含まれています。 詳細はMultiple vulnerabilities in RubyGemsを参照してください。 その他いくつかの不具合修正も含まれます。詳細は commit log を参照してください。 ダウンロード https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.2.tar.gz SIZE: 16777765 bytes SHA1: 44c6634a41f63ebdc1f3ce6ddcf48a4766bb4df7 SHA256: a0405d2bf2c2d2f332033b70dff354d224a864ab0edd462b7a413420453b49ab SHA5

    Watson
    Watson 2019/03/14
  • Ruby 2.6.1 リリース

    Posted by naruse on 30 Jan 2019 Ruby 2.6.1 がリリースされました。 大きな多バイト文字列を送ると Net::Protocol::BufferedIO#write で NoMethodError が発生する問題 が修正されました。 その他いくつかの不具合修正も含まれます。詳細は commit log を参照してください。 ダウンロード https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.1.tar.gz SIZE: 16742207 bytes SHA1: 416842bb5b4ca655610df1f0389b6e21d25154f8 SHA256: 17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8 SHA512: 89e

    Watson
    Watson 2019/01/30
  • Ruby 2.6.0 Released

    Posted by naruse on 25 Dec 2018 Ruby 2.6シリーズの最初の安定版である、Ruby 2.6.0がリリースされました。 Ruby 2.6.0には、多くの新しい機能やパフォーマンスの改善が含まれています。 その一部を以下に紹介します。 JIT [Experimental] Ruby 2.6ではJIT (Just-in-time) コンパイラが導入されました。 JITコンパイラはあらゆるRubyプログラムの実行を高速化することを目的としています。 他言語の一般的なJITコンパイラと異なり、RubyのJITコンパイラはC言語のソースコードをファイルとしてディスクに書き、通常のCコンパイラを用いてネイティブコードに変換することでJITコンパイルを行うという手法を用いています。(参考: MJIT organization by Vladimir Makarov) J

    Watson
    Watson 2018/12/25