prism-merge v1.1.5 released!
1.1.5 - 2025-12-04
- TAG: v1.1.5
- COVERAGE: 98.26% β 906/922 lines in 9 files
- BRANCH COVERAGE: 87.27% β 384/440 branches in 9 files
- 100.00% documented
Changed
- Recursive merge now preserves freeze blocks: When recursively merging nested block bodies (e.g.,
Gem::Specification.new do ... end), freeze blocks inside the body are now properly preserved. Previously, nested mergers were created withfreeze_token: nil, causing freeze blocks to be lost.
Fixed
- Fixed freeze blocks lost in nested block bodies: Freeze blocks inside class, module, or call-with-block bodies were being lost during recursive merge. The fix passes
freeze_tokento nested mergers and ensuresextract_node_bodyincludes leading comments/freeze markers that appear between the nodeβs opening line and the first statement. - Fixed duplicate freeze markers in output: Freeze/unfreeze marker comments were incorrectly attached as leading comments to subsequent nodes, causing duplicate markers in merged output. These markers are now filtered from leading comments since they belong to FreezeNode boundaries.
Many paths lead to being a sponsor or a backer of this project. Are you on such a path?