Skip to content

v1.5.0

Choose a tag to compare

@JanEickholt JanEickholt released this 06 Sep 00:03
· 27 commits to master since this release
v1.5.0
ed99c6a

Replacements stack on one row

A single removed line facing a single added line now always renders as one modified row — del on the left, its add on the right, level — instead of a red row stacked above a green row on opposite sides:

  • 1:1 runs pair unconditionally — with exactly one candidate per side there is nothing to mispair against, so the similarity score no longer leaves weak replacements (e.g. identityRoles.filter(...) → readonly string[] = TENANT_ROLES) one-sided.
  • Same-row convention — matches side-by-side diff rendering elsewhere (a replacement reads left→right in one pass) and saves a full row of height on wrapped lines.
  • Score gate untouched for n:1 runs — one removed line against several added lines still pairs by token similarity, so an insertion above an edited line still cannot steal its counterpart.