Skip to content

v0.13.3

Choose a tag to compare

@omaclaren omaclaren released this 03 Nov 01:51
· 16 commits to master since this release

The REPL page shows a saved file only if the entry named it and wrote it, and says when a session's record directory isn't verified.

  • Saved files: a fix. Since 0.13.1, the page could show, and serve to anyone with the link, a file an entry never named. A name with a space, such as savefig("fit 2.png"), also matched its tail, 2.png. A quote inside a name, as in "O'Brien plot.svg", did the same. Any file with that shorter name in the session's directory showed as a tile. Now a path inside quotes counts only as the whole quoted text, and a file shows only if it was written while its entry ran, so a file that was already there never shows, however the text is read. A file an entry only reads or mentions isn't shown either. A file a later entry rewrites shows under that entry.
  • Record directory not verified. pi-repl, agent-repl and Pi Studio now mark each session with a key for the folder its record lives in. A session that has a record but no key has been written to only by older versions, so the page shows it with a note that its record directory isn't verified yet. The note goes away once a current pi-repl, agent-repl or Pi Studio sends to it.
  • Same REPL page as pi-markdown-preview 0.26.3.