Skip to content

prism-merge v1.1.5

Choose a tag to compare

@pboling pboling released this 05 Dec 07:04
· 6625 commits to main since this release
v1.1.5
92d6f8e

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 with freeze_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_token to nested mergers and ensures extract_node_body includes 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.

Official Discord 👉️ Live Chat on Discord

Many paths lead to being a sponsor or a backer of this project. Are you on such a path?

OpenCollective Backers OpenCollective Sponsors Sponsor Me on Github Liberapay Goal Progress Donate on PayPal

Buy me a coffee Donate on Polar Donate to my FLOSS efforts at ko-fi.com Donate to my FLOSS efforts using Patreon