0.3.0
purfectliterature
released this
06 Apr 15:22
·
29 commits
to master
since this release
This version supersedes version 0.2.1.
Full Changelog: v0.1.0...v0.3.0
Notable changes
- Every code run will now start with a fresh
globals
.
Theglobals
after code run will carry on to the console. This behaviour is similar to IDLE. In the next code run, the code will be run with a freshglobals
. - The interpreter now restarts when caught when the call stack exceeds because of excessive recursion, instead of crashing. See #1 and pyodide/pyodide#951.
- The interpreter will now automatically detect saved files.
Manual exports with the cube toggle is now deprecated. Saved files and scripts can now directly be used in any code run. - Add commands history in prompt with arrow up/down (up to 100 commands).
- Improved prompt heads (
>>>
and...
) rendering. - Typing in the console automatically focuses the prompt.
- Library now automatically focuses the selected file.
- Add support for selecting files and buttons in Library with Tab.
- Ctrl+O (Windows) and ⌘O (macOS) open the Library.
- Rename file name text field automatically selects the portion without the file extension.
- Uploaded files are now automatically saved.
- File is now automatically saved before being run.
- Allow uploads of plain text files.
Bug fixes
- Fix cannot detect .py files on Windows or Python-less environments.
- Fix blank screen when opening on Safari <16.
The terminal will now fall back to 2D canvas rendering when WebGL 2 is not supported. See xtermjs/xterm.js#4255.