Skip to content

v0.5.0

Choose a tag to compare

@hopdenakker hopdenakker released this 14 Oct 15:46
· 280 commits to main since this release
990bf92

Highlights

  • Dialogue preambles: the comment block at the start of a script now belongs to the dialogue. Studio shows it at the top of the graph editor and lets you edit it as plain text.
  • Node comments: a new comment tag holds a short note about a node for authors. Studio edits it in the node panel and shows it on the node's card.
  • Studio: moving or saving a node no longer deletes the comments in its header or cuts off values containing //.
  • Web service: importing a project now stores scripts correctly whatever their line endings or separator lines. A script that can't be stored is refused with its name and line number instead of being stored wrongly.

Breaking changes

  • Language: a node header contains only key: value tags. // is part of a value, and comments in a header are an error. Use a comment tag, a body comment or the preamble instead.
  • Web service: the authoring node end-points (list-nodes, create-node, update-node, rename-node) exchange a node's header as a list of {key, value} tags instead of text. create-node takes the title from its title tag.
  • Web service: create-node and update-node refuse a header whose title doesn't match the node. Rename a node with rename-node.
  • client-js: createDraftNode and updateDraftNode take tags, and renameDraftNode resolves to { node, referencesUpdated }.

Upgrading

  • A database migration runs automatically on startup. It removes comments from stored node headers, moving the comment lines at the start of a dialogue into its preamble. What any dialogue does stays the same.

Full details: CHANGELOG.md