What's new in RubyInstaller 3.3.3-1
Apr 26, 2024
- Changed:
- Update to ruby-3.3.1, see release notes.
- Update the SSL CA certificate list.
- Update to OpenSSL-3.3.0. The Ruby API dosn't change.
- Move bundled OpenSSL related files to bin/lib subdirectory so that legacy algorithms can be loaded through provider support. #365
- Update the bundled MSYS2 keyring package.
- Avoid crash even if a registry key incldues inconvertible characters
- Avoid method redefinition warning in rubygems hook
New in RubyInstaller 3.2.3-1 (Jan 25, 2024)
- Update to ruby-3.2.3, see release notes.
- Update to OpenSSL-3.2.0.
- The Ruby API dosn't change.
- Update the SSL CA certificate list
- Allow setting of MSYS2 path by environment variable MSYS2_PATH. #361
- This setting is preferred over all other methods to find the MSYS2 directory.
- Return registry strings as UTF-8 instead of OEM charset. #348
New in RubyInstaller 3.3.0-1 (Dec 26, 2023)
- Changes compared to RubyInstaller-3.2.2-1:
- Remove the .irbrc file previously generated by RubyInstaller versions before 3.3.0.
- It is no longer necessary, since the enabled extensions have been made defaults in ruby core.
- Return registry strings as UTF-8 instead of OEM charset. #348
- Update the SSL CA certificate list and to OpenSSL-3.2.0.
New in RubyInstaller 3.2.2-1 (Apr 2, 2023)
- Update to ruby-3.2.2, see release notes.
- Update to OpenSSL-3.1.0.
- The Ruby API dosn't change.
- Move OpenSSL config directroy from <install-path>/etc/ssl/ to <install-path>/bin/etc/ssl/ to follow upstream change in MSYS2. #337
New in RubyInstaller 3.2.1-1 (Feb 9, 2023)
- Update to ruby-3.2.1, see release notes.
- Update the SSL CA certificate list and to OpenSSL-3.0.8.
- Move OpenSSL config directroy from <install-path>/ssl/ to <install-path>/etc/ssl/ to follow upstream change in msys2/MINGW-packages@2f97826
- Allow home directory with white space when installing gems into users home. #332
- Don't overwrite GEM_HOME or BUNDLE_SYSTEM_BINDIR if already present.
- Don't set bindir to a non-existing directory.
- This is related to rubygems/rubygems#6332
New in RubyInstaller 3.2.0-1 (Dec 29, 2022)
- Add installer dialog to select per-user or all-users installation.
- See out Wiki for further description of the install modes.
- Add installer options /ALLUSERS and /CURRENTUSER for silent install.
- For silent install see: https://github.com/oneclick/rubyinstaller2/wiki/FAQ#user-content-silent-install
- Enable automatic private gem installation in user's home on a machine wide ruby setup, if the user doesn't have write access.
- List machine wide rubies in addition to per-user rubies at ridk use.
- Add full administrator access to the install directory.
- Without this permission an admin had to use the takeown command to regain write access to a per-user installation.
- Set proper permissions of MSYS /tmp directory, so that every user can create and use files, but not read or change files of other users.
- This is needed for a machine wide installation.
- Check or add a system wide gemrc file at every rubygems load to prevent hijacking by another user.
- Avoid UNICODE characters in TMP env var to work around issues of gcc. #320
- Switch to OpenSSL-3. This has several implications on the Ruby API and disables support for legacy crypto algorithms.
New in RubyInstaller 3.1.3-1 (Nov 27, 2022)
- Added:
- Restrict write permissions to the installing user.
- For several reasons we use C:/RubyXXX direcory by default but not C:/Program Files (see: oneclick/rubyinstaller#135 ).
- Using an install path under C:/ previously inherited write permissions for everyone, which compromised security in a multi user environment.
- Ridk use Add options to store the change permanently in the user or system environment variables. #314
- Changed:
- Update to ruby-3.1.3, see release notes.
- Update of the SSL CA certificate list.
- Update the bundled MSYS2 keyring package.
- Fix start menu entry for rubygems-server and irb.
- Run the ruby command prompt in the start menu with ridk enable.
- Update the start menu entry with the newly installed ruby version.
- They kept the old ruby version previously.
- Fix irb hook in ruby-3.1, which re-encodes .irb_history to UTF-8 on demand.
- Fix possible crash in ridk use. #291
- Removed:
- No longer create registry keys under SoftwareRubyInstallerMRI<RubyVersion>. #242
- They weren't used any longer and didn't distinguish between 32 and 64-bit versions.
- No longer install the 32 bit but only the 64 bit version of MSYS2 as part of ridk install.
- It is still possible to get a pure 32-bit MSYS2 and Ruby installation by using the 32-bit RubyInstaller+Devkit package.
New in RubyInstaller 3.1.2-1 (Apr 20, 2022)
- Changed:
- Update to ruby-3.1.2, see release notes.
- Update of the SSL CA certificate list.
- Update the bundled MSYS2 keyring package.
- Removed:
- No longer respond to MSYSTEM environment variable for setting a cross build environment. #269
New in RubyInstaller 3.1.1-1 (Feb 19, 2022)
- Update to ruby-3.1.1
- Fix a runtime error when running CGI in WEBrick http server. #260
- Backport a patch for Reline to fix AltGr on European keyboards. #259
New in RubyInstaller 3.1.0-1 (Dec 30, 2021)
- Change C-runtime of x64 version from MSVCRT to UCRT.
- See the feature request here: https://bugs.ruby-lang.org/issues/17845
- UCRT is the modern C-runtime of Windows replacing the legacy MSVCRT.
- There are several platform strings that change with the new release.
- They are summarized here: ruby/ruby#4599
- In particular the ruby and gem platform is now x64-mingw-ucrt instead of x64-mingw32 and the MSYS2 package prefix is now mingw-w64-ucrt-x86_64-.
- No longer require fiddle before booting Rubygems, but use the new C-extension win32/dll_directory.
- Fixes #251
New in RubyInstaller 3.0.3-1 (Nov 28, 2021)
- Added:
- Allow setting a particular ridk/MSYS2 environment.
- Changed:
- Update to ruby-2.7.5.
- Update of the SSL CA certificate list.
New in RubyInstaller 3.0.2-1 (Jul 9, 2021)
- Added:
- Enable ruby to support path length >260 characters.
- See 829ab9d
- Add racc, rbs and typeprof to executables. #231
- Changed:
- Update to ruby-3.0.2, see release notes.
- Update of the SSL CA certificate list.
- Move CI and and release builds from Appveyor to Github Actions.
- Move RunInstaller's pacman repository from Bintray to Github Releases.
- Update bundled gpg keyring file for pacman to support new MSYS2 package signatures.
New in RubyInstaller 3.0.1-1 (Apr 20, 2021)
- Added:
- Add more environment variables needed for configure scripts: MSYSTEM_PREFIX, MSYSTEM_CARCH, MSYSTEM_CHOST, MINGW_CHOST, MINGW_PREFIX
- Changed:
- Update to ruby-3.0.1, see release notes.
- Update to OpenSSL-1.1.1k .
- Update of the SSL CA certificate list.
- ridk version: Avoid possible crash due to invalid encoding. #208
- Install pkgconf instead of pkg-config on x86_64 following the change of MSYS2.
- Avoid creation of .irbrc if directory isn't writeable. #212
- Update the pacman repos in part 2 in addition to part 1. #220
New in RubyInstaller 3.0.0-1 (Dec 28, 2020)
- Changes compared to RubyInstaller-2.7.2-1:
- Encoding.default_encoding and filesystem encoding is now UTF-8.
- The UTF-8 option is removed from the installer.
- Legacy console encoding can still be set manually per RUBYOPT=-Elocale.
New in RubyInstaller 2.7.2-1 (Oct 6, 2020)
- Added:
- Add migration of new MSYS2 signature keys to "ridk install". #184, #182
- Add RDoc based RI documentation as an install option.
- It can be used per tab completion in irb.
- Add automake-1.16 package.
- Run autorebase.bat at installation on 32 bit x86 systems.
- This is required with more recent versions of msys32.
- Kill running MSYS2 processes for MSYS2 initialization and update.
- This avoids the error "size of shared memory region changed" when MSYS2 core DLLs are changed.
- ridk use improvements:
- sorts the list of rubies
- plays well together with ridk enable now
- removes itself from PATH when returning to original ruby.
- Changed:
- Move HTML documentation to optional install component "Ruby RI and HTML documentation".
- Update to OpenSSL-1.1.1g, libffi-3.3 and gcc-10.2.
- Update to InnoSetup-6 which enables a larger and resizable installer window.
- Skip gemspec based package install if dependency is already satisfied. #67
- This avoids unwanted/unnecessary up- or downgrades of MSYS2/MINGW packages on "gem install" when a package is already installed and the version meets optional version constraints.
- Update of the SSL CA certificate list.
- Fix a memory leak in DllDirectory.
- Fix vendoring issue of recent MSYS2 system.
- Removed:
- Remove automake versions before automake-1.12
- Remove now unused Gem install helper.
New in RubyInstaller 2.7.1-1 (Apr 3, 2020)
- Update to ruby-2.7.1, see release notes.
- Update to OpenSSL-1.1.1f .
- Don't update MSYS/MINGW packages at ridk install per default. #168
- Show compiler version, used to build ruby in ridk version. #171
- IRB history is rewritten to UTF-8 on first start of irb.
New in RubyInstaller 2.7.0-1 (Jan 5, 2020)
- Replace rb-readline by new reline implementation.
- It has multiline editing, better support for UTF-8 encoding and many fixes.
- UTF-8 encoding is now enabled by default in the installer.
- This is done by setting RUBYOPT=-Eutf-8 and affects Encoding.default_encoding which is then "UTF-8" instead of the console encoding.
- See core API for more details.
- Using UTF-8 default encoding avoids inconsistencies between reading and writing files and to other operating systems.
- IRB history is rewritten to UTF-8 if UTF-8 encoding is enabled.
New in RubyInstaller 2.6.5-1 (Oct 2, 2019)
- Changed:
- Update to ruby-2.6.5, see release notes.
- Fix code signatures of installer executables. They were invalid at the 2.6.4-1 release.
- Fix automatic generation of irbrc. #158
- Update to OpenSSL-1.1.1d .
New in RubyInstaller 2.6.4-1 (Sep 10, 2019)
- Added:
- Add support for scoop installer. #152
- Changed:
- Update to ruby-2.6.4, see release notes.
- Ignore registry entries with invalid installer data when looking for MSYS2. #154
New in RubyInstaller 2.6.3-1 (Apr 18, 2019)
- This release adds support for New Japanese Era. It updates the Unicode version to 12.1 beta (#15195), and updates date library
New in RubyInstaller 2.6.2-1 (Apr 17, 2019)
- Changed:
- Update to ruby-2.6.2, see release notes.
- Build with "-O3" instead of "-O2" optimization and update x64 compiler from gcc-8.2.1 to 8.3.0.
- Update of the SSL CA certificate list.
New in RubyInstaller 2.6.0-1 (Jan 31, 2019)
- Changes:
- Net Protocol BufferedIO#write raises NoMethodError when sending large multi-byte string has been fixed.
- This release includes additional bug fixes.
New in RubyInstaller 2.6.0-1 (Jan 4, 2019)
- Added:
- New tool ridk use to switch between installed ruby versions
- Add ruby-2.6.0, see release notes.
- Add bundle command, since bundler is now a bundled gem in ruby-2.6
- Changed:
- Update of the SSL CA certificate list.
New in RubyInstaller 2.4.4-2 (Jun 25, 2018)
- Changed:
- Update ridk install to download msys2 installer version 20180531. #115
- Fix MSYS2 detection in ridk install. This broke download of MSYS2 installer. #114
- Don't crash when the mingw directory within MSYS2 isn't present.
- Update of the SSL CA certificate list.
New in RubyInstaller 2.5.1-2 (Jun 25, 2018)
- Changed:
- Update ridk install to download msys2 installer version 20180531. #115
- Fix MSYS2 detection in ridk install. This broke download of MSYS2 installer. #114
- Don't crash when the mingw directory within MSYS2 isn't present.
- Update of the SSL CA certificate list.
New in RubyInstaller 2.5.1-1 (Jun 11, 2018)
- Added:
- New installer for Ruby with builtin MSYS2 toolchain
- Changed:
- Update to ruby-2.5.1.
- Update to OpenSSL-1.1.0h.
- Bug fixes:
- CVE-2017-17742: HTTP response splitting in WEBrick
- CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir
- CVE-2018-8777: DoS by large request in WEBrick
- CVE-2018-8778: Buffer under-read in String#unpack
- CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket
- CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir
- Multiple vulnerabilities in RubyGems
- Make installers with/without Devkit compatible, so that both can be mixed like:
- Install RubyInstaller-Devkit first and update with smaller RubyInstaller later
- Install RubyInstaller first and update by RubyInstaller-Devkit
New in RubyInstaller 2.4.4-1 (Jun 11, 2018)
- Added:
- New installer for Ruby with builtin MSYS2 toolchain
- Changed:
- Update to ruby-2.4.4.
- Bug fixes:
- CVE-2017-17742: HTTP response splitting in WEBrick
- CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir
- CVE-2018-8777: DoS by large request in WEBrick
- CVE-2018-8778: Buffer under-read in String#unpack
- CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket
- CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir
- Multiple vulnerabilities in RubyGems
- Make installers with/without Devkit compatible, so that both can be mixed like:
- Install RubyInstaller-Devkit first and update with smaller RubyInstaller later
- Install RubyInstaller first and update by RubyInstaller-Devkit