Skip to content

Add Ruby 4.0 support#152

Merged
ivy merged 1 commit into
rubyatscale:mainfrom
planehq:main
Dec 30, 2025
Merged

Add Ruby 4.0 support#152
ivy merged 1 commit into
rubyatscale:mainfrom
planehq:main

Conversation

@matid

@matid matid commented Dec 29, 2025

Copy link
Copy Markdown
Contributor
  • Add Ruby 4.0 to CI test matrix and CD build matrix
  • Upgrade magnus 0.7.1 → 0.8 for Ruby 4.0 compatibility
  • Upgrade serde_magnus 0.9.0 → 0.10
  • Update Rust code for magnus 0.8 API changes:
    • Pass &Ruby handle to serialize() calls
    • Use ruby.exception_runtime_error() instead of magnus::exception::runtime_error()

Tested locally on Ruby 3.4.7 and Ruby 4.0.0 (90 examples, 0 failures).

- Add Ruby 4.0 to CI test matrix and CD build matrix
- Upgrade magnus 0.7.1 → 0.8 for Ruby 4.0 compatibility
- Upgrade serde_magnus 0.9.0 → 0.10
- Update Rust code for magnus 0.8 API changes:
  - Pass `&Ruby` handle to `serialize()` calls
  - Use `ruby.exception_runtime_error()` instead of
    `magnus::exception::runtime_error()`

Tested locally on Ruby 3.4.7 and Ruby 4.0.0 (90 examples, 0 failures).
@matid

matid commented Dec 29, 2025

Copy link
Copy Markdown
Contributor Author

lib/code_ownership/code_ownership.bundle was intentionally omitted. It compiles on my machine, but I wasn’t sure what debug symbols/flags are appropriate for main.

@ivy ivy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like it's your first PR with us! Thanks for contributing! 💜

@ivy ivy merged commit e771bcb into rubyatscale:main Dec 30, 2025
9 checks passed
@github-project-automation github-project-automation Bot moved this from Triage to Done in Modularity Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants