v1.5.0
What's Changed
Added
- Docker Compose test environment setup (#84)
- Support for
thenexpression emission (#80) - CI support for Ruby 3.4 and Ruby 4 (#82)
Changed
- Upgrade Magnus (Rust-Ruby FFI library) (#83)
- Optimize Docker build with multi-stage and caching (#84)
- Upgrade unicode-emoji dependency
Fixed
- Preserve heredoc content and closing identifier (#81)
- Fix
rescue/ensureclauses being deleted insidedo...endblocks (#78) - Fix inline comment node handling (#77)
- Fix BTreeMap range error (Issue #71)
Installation
gem install rfmt -v 1.5.0Precompiled platforms
This release includes precompiled native gems for:
- Linux x86_64 (glibc and musl)
- Linux aarch64 (glibc and musl)
- macOS x86_64 (Intel)
- macOS arm64 (Apple Silicon)
- Windows x64
If a precompiled gem is not available for your platform, the source gem will be installed and compiled using Cargo.
Full Changelog
See CHANGELOG.md for all changes.
What's Changed
- Fix inline comment misplacement after brace blocks by @fs0414 in #77
- Fix rescue/ensure clauses being deleted in do...end blocks by @fs0414 in #78
- Fix BTreeMap range error with endless method + comment by @fs0414 in #76
- Fix inline then style preservation for in/when/if expressions by @fs0414 in #80
- Fix heredoc content and closing identifier being removed by @fs0414 in #81
- feat(ci): Actions Ruby 4.0 support by @fs0414 in #82
- Add Docker test environment for gem install verification by @fs0414 in #84
- Add Ruby 4.0 support: upgrade magnus to 0.8.2 and update CI by @fs0414 in #83
Full Changelog: v1.4.1...v1.5.0