Repository navigation
v0.5.0
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
commenttag 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: valuetags.//is part of a value, and comments in a header are an error. Use acommenttag, 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-nodetakes the title from itstitletag. - Web service:
create-nodeandupdate-noderefuse a header whosetitledoesn't match the node. Rename a node withrename-node. - client-js:
createDraftNodeandupdateDraftNodetake tags, andrenameDraftNoderesolves 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