From 736ec46ba04b2d3ef7d38611269a98366e982802 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Tue, 3 Mar 2026 11:10:18 +0900 Subject: [PATCH] version.h: bump version to mruby 4.0.0 update MRUBY_RUBY_VERSION to "4.0", MRUBY_RELEASE_MAJOR to 4, MRUBY_RELEASE_MINOR to 0. update README.md references accordingly. Co-authored-by: Claude --- README.md | 6 +++--- include/mruby/version.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 10b1bac15..0ec9b9701 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,8 @@ ## What is mruby mruby is the lightweight implementation of the Ruby language complying to (part -of) the [ISO standard][ISO-standard] with more recent features provided by Ruby 3.x. -Also, its syntax is Ruby 3.x compatible except for pattern matching. +of) the [ISO standard][ISO-standard] with more recent features provided by Ruby 4.x. +Also, its syntax is Ruby 4.x compatible. You can link and embed mruby within your application. The "mruby" interpreter program and the interactive "mirb" shell are provided as examples. You can also @@ -47,7 +47,7 @@ of the Ministry of Economy, Trade and Industry of Japan. ## How to get mruby -To get mruby, you can download the stable version 3.4.0 from the official mruby +To get mruby, you can download the stable version 4.0.0 from the official mruby GitHub repository or clone the trunk of the mruby source tree with the "git clone" command. You can also install and compile mruby using [ruby-install](https://github.com/postmodern/ruby-install), [ruby-build](https://github.com/rbenv/ruby-build), [rvm](https://github.com/rvm/rvm), [conda](https://anaconda.org/channels/conda-forge/packages/mruby/overview) or [Homebrew](https://formulae.brew.sh/formula/mruby). diff --git a/include/mruby/version.h b/include/mruby/version.h index d95263fda..85fdaa149 100644 --- a/include/mruby/version.h +++ b/include/mruby/version.h @@ -27,7 +27,7 @@ MRB_BEGIN_DECL /* * The version of Ruby used by mruby. */ -#define MRUBY_RUBY_VERSION "3.4" +#define MRUBY_RUBY_VERSION "4.0" /* * Ruby engine. @@ -37,12 +37,12 @@ MRB_BEGIN_DECL /* * Major release version number. */ -#define MRUBY_RELEASE_MAJOR 3 +#define MRUBY_RELEASE_MAJOR 4 /* * Minor release version number. */ -#define MRUBY_RELEASE_MINOR 4 +#define MRUBY_RELEASE_MINOR 0 /* * Tiny release version number.