Document Ruby 4.0 support and remove obsolete Ruby 3.5 references#5655
Conversation
- docs/Compatibility.md: add MRI 4.0 to the supported interpreters table and drop the HTML gating comment that referenced "# TODO: Ruby 3.5 -" comments (no such comments exist; 3.5 was never released). - datadog.gemspec: update the logger dependency comment to point to Ruby 4.0 (where logger is no longer a default gem) instead of the never-released 3.5.
🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: fd46516 | Docs | Datadog PR Page | Give us feedback! |
BenchmarksBenchmark execution time: 2026-04-30 19:41:26 Comparing candidate commit fd46516 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 45 metrics, 1 unstable metrics.
|
What does this PR do?
Updates the public Ruby compatibility documentation and one in-code comment to reflect that Ruby 4.0 is supported and that Ruby 3.5 was never released.
docs/Compatibility.md: adds an MRI 4.0 row to the supported-interpreters table, and removes the HTML gating comment that referenced# TODO: Ruby 3.5 -comments (no such comments exist anywhere in the repo).datadog.gemspec: updates the comment on theloggerdependency to say "Ruby 4.0" instead of "Ruby 3.5" (the linked Ruby commit demotingloggerfrom defaults applies to what shipped as 4.0).Motivation:
Matrixfile,docker-compose.yml, and the GitHub Actions test matrix all already run on Ruby 4.0. The customer-facing support doc lagged behind. The gating comment ("address all# TODO: Ruby 3.5 -comments before publishing 3.5") referenced a phantom set — there are zero such comments in the codebase, and 3.5 was never released.Change log entry
Yes. Document official support for Ruby 4.0.
Additional Notes:
Companion CI cleanup in #5656 (adds Ruby 4.0 to the
install-dependenciesmatrix in.gitlab-ci.yml).How to test the change?
Docs- and comment-only change; the rendered Compatibility table now lists MRI 4.0 alongside the existing rows.