Skip to content

prism-merge v1.1.4

Choose a tag to compare

@pboling pboling released this 05 Dec 04:58
· 6624 commits to main since this release
v1.1.4
12e59b2

1.1.4 - 2025-12-04

  • TAG: v1.1.4
  • COVERAGE: 98.26% -- 902/918 lines in 9 files
  • BRANCH COVERAGE: 87.59% -- 381/435 branches in 9 files
  • 100.00% documented

Added

  • Custom signature generator fallthrough support: Custom signature generators can now return a Prism::Node or FreezeNode to fall through to the default signature computation. This allows custom generators to only override specific node types while delegating others to the built-in logic. Previously, returning nil was the only way to skip custom handling, but that prevented proper matching for unhandled node types.
  • Variable assignment node signatures: Added signature support for all variable write node types:
    • LocalVariableWriteNode[:local_var, name]
    • InstanceVariableWriteNode[:ivar, name]
    • ClassVariableWriteNode[:cvar, name]
    • GlobalVariableWriteNode[:gvar, name]
    • MultiWriteNode[:multi_write, [target_names]]

Removed

  • Removed pre-prism code in ConflictResolver that compared template node line numbers against destination freeze block line numbers (cross-file line comparison makes no sense)

Fixed

  • Fixed template-only nodes not being added when destination has freeze blocks: When add_template_only_nodes: true, template nodes with no matching signature in destination were incorrectly skipped if the destination contained freeze blocks. The bug was caused by comparing template node line numbers against destination freeze block line numbers, which is a meaningless cross-file comparison. Template-only nodes are now correctly added regardless of freeze block presence.

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