Skip to content

Patterpad 0.25.0

Choose a tag to compare

@github-actions github-actions released this 06 Oct 19:55
· 191 commits to main since this release

Security

  • The editor's text library is updated (prosemirror-view 1.42.6), fixing a cross-site scripting flaw in how it
    handled pasted content.

Changed

  • The Play window marks a condition or effect that failed. Patterplay now plays on past one (a failing
    condition counts as false, and a failing effect is skipped) instead of stopping, so the Play window shows
    each as a warning line in the transcript, where it happened, rather than ending the run with an error.
  • The Coverage window lists conditions and effects that failed, with the scene, the error, and how many
    runs hit it. Click one to jump to it.
  • A choice whose every option is greyed out no longer stops play. It runs dry, as a choice with no options
    does: the fallback plays if there is one, otherwise play moves on.

Fixed

  • "+ Add group" asks for the group's first two conditions. It used to insert a group starting with a
    condition you hadn't chosen and an empty second half, which the problems list then flagged. Now you pick
    both conditions through the usual condition menu, and the group is added only once both are chosen.
  • The Play button stays in the title bar after the Properties page. Opening a scene from the navigator
    while the Properties page was showing left the title bar without Play or the problems count until the
    project was reopened.
  • The Coverage window no longer reports "0 stalled at a choice". A run can't stall any more, since a choice
    with nothing to pick now runs dry and play moves on, so the count is shown only if one ever does.
  • A new option starts with its choice text. Adding an option to a choice put the caret on the option's
    first line, under a choice text not yet written. It now lands in the choice text, as a new choice's first
    option always has, and the line below follows.
  • New Project opens at its full width again (@wildwinter/app-shell 0.46.4). It had opened narrow, at the
    width of an ordinary dialog, since the Search window's Replace confirm arrived.
  • No stray "Replaced across the project". Reimporting an editable script, and accepting or rejecting
    suggestions, also showed the message that belongs to Replace. Now only Replace says it.
  • The inspector's Jump row names the destination. Right after opening a project, a jump to another scene
    could show that scene's internal id instead of its name until the caret moved. It now shows the name as
    soon as the project has finished loading, as do condition pills that name another scene.