Skip to content

feat(ruby): support ruby 4.0#380

Merged
dd-oleksii merged 1 commit intomainfrom
ruby-4.0
Dec 24, 2025
Merged

feat(ruby): support ruby 4.0#380
dd-oleksii merged 1 commit intomainfrom
ruby-4.0

Conversation

@dd-oleksii
Copy link
Collaborator

🎟️ Fixes issue
📜 Design Doc: link if applicable

Motivation and Context

Ruby 4.0 release is around the corner.

Description

Add support for the upcoming Ruby 4.0 with the test against ruby 4.0.0-preview3

How has this been documented?

How has this been tested?

Tested with 4.0.0-preview3 locally and added it to CI.

@changeset-bot
Copy link

changeset-bot bot commented Dec 23, 2025

🦋 Changeset detected

Latest commit: 55a9168

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
eppo_core Minor
ruby-sdk Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dd-oleksii dd-oleksii linked an issue Dec 23, 2025 that may be closed by this pull request
# 0.9.120 added Ruby 4.0 to the list of supported version
spec.add_dependency "rb_sys", "~> 0.9.120"

spec.add_dependency "logger", "~> 1.6"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logger is no longer a built-in gem and needs to be installed separately

@dd-oleksii
Copy link
Collaborator Author

@@ -14,9 +14,9 @@ crate-type = ["cdylib"]
env_logger = { version = "0.11.3", features = ["unstable-kv"] }
eppo_core = { version = "=9.3.0", features = ["magnus", "event_ingestion"] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to take the path of releasing a new eppo_core, then you bump this?

Copy link
Collaborator Author

@dd-oleksii dd-oleksii Dec 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the bumping is automated. Once we merge this PR, the CI will open a pull request with the necessary bumps in eppo_core and ruby sdk (edit: #381)

@dd-oleksii dd-oleksii merged commit 6c66f91 into main Dec 24, 2025
26 of 43 checks passed
@dd-oleksii dd-oleksii deleted the ruby-4.0 branch December 24, 2025 12:57
@byroot
Copy link
Contributor

byroot commented Jan 5, 2026

Hello, 👋 when can we expect this to be released? It's still preventing to upgrade to Ruby 4.0

@dd-oleksii
Copy link
Collaborator Author

@byroot I'm going to release it today. I want to make sure that our CI produces ruby 4.0 binaries before I publish it

@byroot
Copy link
Contributor

byroot commented Jan 7, 2026

Thank you!

@dd-oleksii
Copy link
Collaborator Author

@byroot eppo-server-sdk 3.8.0 is out now 🫡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doesn't compile on Ruby 4.0

3 participants

Comments