Skip to content

prism-merge v1.1.2

Choose a tag to compare

@pboling pboling released this 05 Dec 00:32
· 6625 commits to main since this release
v1.1.2
e5ac631

1.1.2 - 2025-12-04

  • TAG: v1.1.2
  • COVERAGE: 96.66% -- 868/898 lines in 9 files
  • BRANCH COVERAGE: 82.84% -- 338/408 branches in 9 files
  • 100.00% documented

Added

  • body_has_mergeable_statements? private method to check if a block body contains statements that can be signature-matched
  • mergeable_statement? private method to determine if a node type can generate signatures for merging
  • max_recursion_depth option (defaults to Float::INFINITY) as a safety valve for edge cases

Fixed

  • Fixed infinite recursion when merging CallNode blocks (like git_source) that have matching signatures but non-mergeable body content (e.g., just string literals). The fix detects when a block body contains only literals/expressions with no signature-matchable statements and treats the node atomically instead of recursing.

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