github thonny/thonny v3.3.0
Version 3.3.0

latest releases: v4.1.4, v4.1.3, v4.1.2...
3 years ago

Highlights

  • More stable MicroPython support
  • Possibility to run code and manage files on a remote machine over SSH (both for CPython and MicroPython)
  • Interpreter switcher in the lower-right corner of the window

Installation

NB! Windows installer is signed with new identity and you may receive a warning dialog from Defender until it gains more reputation. Just click "More info" and "Run anyway".

  • Windows: download and execute thonny-3.3.0.exe
  • macOs: download and open thonny-3.3.0.pkg and follow the instructions. NB! While using Thonny you may be asked for permission to use Desktop or Documents. Make sure you grant the permission, othewise Thonny can't work in that folder!
  • Linux: download thonny-3.3.0.bash and execute it with Bash (bash thonny-3.3.0.bash)

All changes since 3.2.7

New

  • Back-end for remote Python over SSH (try editing and running remote and local scripts and upload/download in the file browser; package manager, system shell, and debuggers don't work yet)
  • Back-end for remote Unix MicroPython over SSH
  • Back-end for local Unix MicroPython
  • Package manager for MicroPython (using micropip.py by Peter Hinch), #1299, see https://forum.micropython.org/viewtopic.php?f=15&t=8787&start=14
  • Support Object inspector with MicroPython back-ends, #1309
  • Thonny now synchronizes real-time clock of MicroPython devices on connect and before each file operation, #1004
  • Allow editing any file as plain text, #1305
  • File browser now allows setting default action by extension (open in system default app or in Thonny's editor), #1305
  • ESP flash dialog now allows selecting flash mode, #1056 by Rune Langøy
  • "Save all" command, #1053 by Syed Nasim
  • Clicking on a value in the Shell selects it and opens in the Object inspector.
  • By default, after evaluating an expression in the Shell the value will be automatically shown in the Object inspector (if open). See Options => Shell to turn it off.
  • Object inspector now display more information about numbers (try 1024 or 0.1), #1230
  • Support evaluating several expressions at once in the Shell (just like official Python REPL), #795
  • Include esptool in binary bundles
  • Statusbar with backend switcher, #1356
  • Firmware flasher for CircuitPython, #1375, #1351
  • Add command to filebrowser menu for toggling hidden files, #1292

Changed

  • Package manager now searches PyPI instead of requiring exact package name, #1300
  • File browser now shows remote files below local files. This way local pane won't jump around when switching between local and remote back-ends.
  • Stop/Restart command now soft-reboots MicroPython device after reaching the prompt
  • Versions of serveral dependencies were updated
  • Refactor alternative interpreter configuration page, #1079
  • Add default black fg color to tooltips, #1381, by adzierzanowski
  • Use paste-mode instead of raw repl for executing code on MP devices, #1386
  • Use WebREPL file protocol for uploading files, #1387
  • Hide underscored names from autocomplete suggestions unless user already typed '_', #1382, by adzierzanowski
  • Updated firmware flasher for micro:bit, #1351
  • Color self and cls like builtins, #1080
  • Soft-reboot MicroPython before "Run current script", #1393
  • Enhance upload/download dialogs, #1395
  • Make "Open System shell" open ssh with remote back-ends
  • Make "Open System shell" open miniterm with MicroPython back-ends, #1287
  • Removed automatic tabs => spaces conversion and its confirmation dialog, #599
  • Added command for replacing tabs with spaces, #1411
  • Added option for highlighting tabs (Tools => Options => Editor), #1409
  • Added option for indenting with tabs (Tools => Options => Editor), #599
  • Add an option to use Tk file dialogs instead of Zenity in Linux, #1404
  • Reduce max repr length for MicroPython (1000 instead of 5000)
  • Forward https_proxy or http_proxy variable to pip, #535
  • Allow specifying environment variables for the UI process, #1421
  • Remove special support for Friendly-traceback, #1416
  • Use exclusive access when connecting to a MP device over a serial port, #1418

Fixed

  • Several intermittent bugs related to fragility of the communication with MicroPython REPL, #1103, #1147
  • #1138: Allow semicolon in Shell input with Python 3.8
  • #1129: Support terminator as system shell
  • #772: Allow invoking interrupt command from the menu when the editor has text selected (Ctrl+C would copy then)
  • #1146, #1159: "No module named pwd" error
  • #1283: Disable save button after save
  • Make Replayer work with timestamps without fractional part, #1116
  • Don't raise exception when hitting end of undo/redo stack, #1211 by Andrew Scheller
  • Fix a typo in the code to display dialog. (#1260 by Ankith)
  • Don't choke when MP management output is wrapped between user input, #1346
  • Include ampersand in URL regex in the Shell, #1323
  • Dialogs may end up behind the main window, #1158, #1133
  • Augment LD_LIBRARY_PATH instead of replacing it, #1008
  • Fix "Install from requirements.txt" error, #1344
  • File dialog should scroll to top when new folder gets selected, #1345
  • Improve MicroPython file write reliability, #1355
  • Fix CircuitPython directory creation
  • Allow selecting venv 'activate' instead of interpreter symlink in the interpreter configuration page, #1079
  • Fix Unconnected network drive shorcuts make Files explorer broken #1333
  • Don't allow save as a file which is already opened, #1310
  • Fix error in clearing squeezed boxes, #1091
  • Fix interrupt for download, #1320
  • Make sure expression box for while/for test is located properly, #1134
  • In MicroPython backends only warn about failed epoch dectection if sync or validation is required
  • Don't show ugly traceback in debug mode
  • Internal error while debugging exceptions, #1403
  • Automatically create Thonny user dir in remote machine, #1365
  • Fix MicroPython uploading/downloading when started from an expanded dir, #1398
  • Fix unrensponsive UI when MicroPython is printing in infinite loop, #1419
  • Fix ugly stacktrace, when MicroPython device is disconnected during processing a command, #1420

Enhanced

  • Convert keypad movement events to equivalent non-keypad ones, #1107 by Eliot Blennerhassett
  • Start file-open-dialog in same dir as current file, #1209 by Andrew Scheller
  • Bash install - do everything inside a new directory (#1203 by Andrew Scheller)
  • #1145: Provide understandable error message, when Linux installer downloader is run on a non-supported platform (by Andrew Scheller)

New and updated translations

  • Czech by Petr. moses and Radim
  • Romanian by Pop Vasile Alexandru
  • Norwegian (Bokmål and Nynorsk) by Gabriel Slørdahl
  • Updated Portuguese (BR) by Marcelo de Gomensoro Malheiros
  • Updated French, Polish, Greek, Spanish, Italian

Don't miss a new thonny release

NewReleases is sending notifications on new releases.