Project

General

Profile

Actions

Feature #43650

open

Ruby 4.0 support

Added by Katsuya HIDAKA 2 months ago. Updated about 1 month ago.

Status:
Reopened
Priority:
Normal
Assignee:
Category:
Ruby support
Target version:
Resolution:
Fixed


Files


Related issues

Related to Redmine - Defect #43737: Rendering wiki is significantly slow on Ruby 4.0.1NewActions
Actions #1

Updated by Mizuki ISHIKAWA about 2 months ago

I’m attaching a patch to make Ruby 4.0 available in Redmine.

Actions #2

Updated by Go MAEDA about 2 months ago

  • Assignee set to Go MAEDA
  • Target version set to Candidate for next major release
Actions #3

Updated by Go MAEDA about 2 months ago

  • Target version changed from Candidate for next major release to 7.0.0

Setting the target version to 7.0.0.

Actions #4

Updated by Go MAEDA about 1 month ago

  • Status changed from New to Resolved
  • Resolution set to Fixed

Committed the patch in r24367. Thank you.

Actions #5

Updated by Go MAEDA about 1 month ago

  • Status changed from Resolved to Closed
Actions #6

Updated by Marius BĂLTEANU about 1 month ago

I'm wondering if it's safe to merge this into 6.1.2 considering there are no breaking changes added by this update? Or how we can ship this faster without releasing 7.0.0 that needs more time to finish the work.

Actions #7

Updated by Go MAEDA about 1 month ago

  • Status changed from Closed to Reopened

Marius BĂLTEANU wrote in #note-6:

I'm wondering if it's safe to merge this into 6.1.2 considering there are no breaking changes added by this update? Or how we can ship this faster without releasing 7.0.0 that needs more time to finish the work.

I agree that it is safe to merge this into the 6.0-stable branch.

Traditionally, Redmine has supported newer Ruby versions only with major releases. However, in cases like this—where the new Ruby version requires no code changes or only minimal ones—I think it is reasonable to support it in a minor release.

Actions #8

Updated by Go MAEDA about 1 month ago

  • Target version changed from 7.0.0 to 6.1.2

Setting the target version to 6.1.2.

Actions #9

Updated by Go MAEDA about 1 month ago

  • Target version changed from 6.1.2 to 7.0.0

After upgrading Ruby to 4.0.1 in the Redmine instance in our company, we observed a significant slowdown in CommonMark Markdown rendering. The root cause is still unknown, but our current investigation strongly suggests that the upgrade from Ruby 3.4 to 4.0.1 is responsible.

Therefore, I believe that changes for Ruby 4.0 support should not be merged into the 6.1-stable branch at least until this issue is resolved.

Actions #11

Updated by Katsuya HIDAKA about 1 month ago

I submitted #43737 about a slowdown in wiki rendering on Ruby 4.0.1.

Actions #12

Updated by Holger Just about 1 month ago

  • Related to Defect #43737: Rendering wiki is significantly slow on Ruby 4.0.1 added
Actions

Also available in: Atom PDF