Releases: thonny/thonny
Version 3.3.5
The main purpose of this release is to fix a regression introduced in 3.3.4 (#1627).
Installation
- Windows: download and execute thonny-3.3.5.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click "More info" and "Run anyway".
- macOS: download and open thonny-3.3.5.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!
- macOS Big Sur: thonny-3.3.5.pkg may work, but if you are having problems, then try thonny-3.3.5_alt.pkg. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.11 instead of 8.6.8).
- Linux: download thonny-3.3.5.bash and execute it with Bash (
bash thonny-3.3.5.bash
)
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.4:
- Fix too short reprs at MicroPython REPL (regression introduced in 3.3.4), #1627
- Fix incorrect presentation of long output lines, #1628
- Fix error in nicer debugger when stepping in generators, #1631
- Fix infinite recursion error when evaluating
globals()
in MicroPython REPL while object inspector is open, #1641 - Update Greek translation
Version 3.3.4
This is mostly a bug-fix release.
Installation
- Windows: download and execute thonny-3.3.4.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click "More info" and "Run anyway".
- macOS: download and open thonny-3.3.4.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!
- macOS Big Sur: thonny-3.3.4.pkg may work, but if you are having problems, then try thonny-3.3.1_alt.pkg from a previous release instead. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.10 instead of 8.6.8).
- Linux: download thonny-3.3.4.bash and execute it with Bash (
bash thonny-3.3.4.bash
)
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.3:
- CHANGED: MicroPython time synchronization now sets RTC to local time instead of UTC. This can be changed via a hidden configuration option (https://github.com/thonny/thonny/wiki/MicroPython#advanced-configuration), #1603
- Add time synchronization for RaspberryPi Pico, #1563, #1592
- Skip loading obsolete thonny-pico plug-in, which is now built in, #1575
- Get rid of misleading SSL warning in micropip.py and show a warning about non-MicroPython packages, #1621
- Fix WebREPL connection for MicroPython 1.14 by using regular paste mode instead of the new raw-paste mode, #1613
- Delay importing jedi and asttokens for improved performance, #1556
- Don't assume "dialout" group is required when MicroPython connection fails with permission error, #1286
- Reduce the memory usage of showing global variables by capping object representations to 50 first characters in MicroPython, #1582
- Add Hungarian translation (by Laszlo Kocsis)
- Updated translations for German, Korean, Italian, Dutch (by various authors)
Version 3.3.3
This release adds support for MicroPython on the new Raspberry Pi Pico (https://www.raspberrypi.org/blog/raspberry-pi-silicon-pico-now-on-sale) and fixes some bugs.
I can now finally say, that all the work on Thonny's MicroPython support since early betas of 3.3 was supported by Raspberry Pi Foundation. Many thanks to them!
Installation
- Windows: download and execute thonny-3.3.3.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click "More info" and "Run anyway".
- macOS: download and open thonny-3.3.3.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!
- macOS Big Sur: thonny-3.3.3.pkg may work, but if you are having problems, then try thonny-3.3.1_alt.pkg from a previous release instead. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.10 instead of 8.6.8).
- Linux: download thonny-3.3.3.bash and execute it with Bash (
bash thonny-3.3.3.bash
)
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.2:
- Add MicroPython support for Raspberry Pi Pico (https://www.raspberrypi.org/blog/raspberry-pi-silicon-pico-now-on-sale/)
- Better support for MicroPython daily builds, #1545, #1553
- Automatically prepend relevant Anaconda directories to PATH. Fixes problem with importing Anaconda's numpy, #1522
- Make custom Python chooser see more interpreters, #1522
- Fix several spelling mistakes, by freddii, #1534
- Update toolbar buttons, when another editor gets selected, fixes wrong button states, #1536
- Catch errors when opening file in system app, #1526
- Fix internal error while using Outline View, #1543
- Fix truncated System Shell environment on macOS, #1529
- Add /usr/local/bin to the PATH of the back-end process if missing, #1131
- Fix error while parsing Pygame Zero error, #1535
- Fix MicroPython completion errors with jedi 0.18, #1560
- Add incomplete Korean language by Augene J. Pak, Fabianus.c, Suk-Hyung Hwang, YEON, $1531
- Add incomplete Albanian translation by Algent Albrahimi
- [Technical] Allow older Send2Trash (Fedora doesn't have version 1.5 of this)
- [Technical] Remove erroneous executable flags from some files
Version 3.3.2
This is mostly a bug-fix release.
Installation
- Windows: download and execute thonny-3.3.2.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click "More info" and "Run anyway".
- macOS: download and open thonny-3.3.2.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!
- macOS Big Sur: thonny-3.3.2.pkg may work, but if you are having problems, then try thonny-3.3.1_alt.pkg from previous release instead. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.10 instead of 8.6.8).
- Linux: download thonny-3.3.2.bash and execute it with Bash (
bash thonny-3.3.2.bash
)
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.1:
- Fix the problem of missing docstrings, #1481
- Fix MicroPython management error after executing machine.reset(), #1492
- Add support for MicroPython raw paste mode (usable in MicroPython 1.14+), #1498
- Restore MicroPython raw mode as fallback, should fix problems with M5Stick and W600, #1516
- Add syntax highlighting for non-decimal number literals and support underscores, #1482 by Stefan Rothe
- Make sure all output from the program gets presented, #1504
- Interrupt current program when running a MicroPython script, #1512
- Add support for Jedi 0.18, #1497
- Fix arguments completions for jedi 0.16+, #1511
- Make micro:bit support a bit more robust, #1515
- Add Persian (Farsi) translation by Farshid Meidani
- Add Slovak translation by jose1711
- Add Armenian translation by Avag. sayan
- Update Italian and Chinese (TW) translations
Version 3.3.1
This is a bug-fix release.
Installation
- Windows: download and execute thonny-3.3.1.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click "More info" and "Run anyway".
- macOS: download and open thonny-3.3.1.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!
- macOS Big Sur: thonny-3.3.1.pkg may work, but if you are having problems, then try thonny-3.3.1_alt.pkg instead. This one has universal build of Python 3.9 (instead of 3.7) and newer Tk (8.6.10 instead of 8.6.8).
- Linux: download thonny-3.3.1.bash and execute it with Bash (
bash thonny-3.3.1.bash
)
thonny-xxl
variants have more packages preinstalled.
Changes since 3.3.0:
- Support BBC micro:bit v2, #1449
- Fix problem with MicroPython programs creating lot of output very quickly, #1419
- Fix wrong message when saving to MP and device is busy, #1437
- Bump Pyserial version from 3.5b1 to 3.5, fix problem with some ESP devices, #1443
- Fix error when trying to download file from microbit, #1440
- Don't assume anything about conf files in Pi theme, #1436
- Fix error on reseting MicroPython device, #1442
- Fix unwanted output from expession statements in MicroPython, #1441
- Treat double-click in the remote file dialog differently from double-click in the Files view, #1432
- Fix error when closing MP file dialog without name, #1431
- Refactor "File => Rename" command (new label "Move / rename" and you can't "rename" a file on MP device to a file on local disc and vice versa), #1446
- Fix broken links in help pages, #1447
- Use THONNY_USER_DIR/temp for temp files. Fixes printing when default browser is Snap Chrome, #1435
- Fix error when clicking on "Attributes" tab on Object Inspector when no object is selected (MP) #1450
- Updated translations (Spanish an Brasilian Portuguese)
- Allow specifying DTR/RTS for serial connection (to avoid restarting ESP on connect), #1462
- Open log window automatically if work dialog encounters error, #1466
- Don't close work dialog automatically if log window is opened, #1465
- Fix dummy MicroPython packages giving ugly errors, #1464
- Fix crashes in Assistant view with Dracula theme, #1463
- Work around Caps lock problem when binding command shortcuts, #1347
Version 3.3.0
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
Version 3.3.0b7
This will be probably the last beta before stable 3.3.
Changes since b2:
- 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
- Add command to filebrowser menu for toggling hidden files, #1292
- Fix Unconnected network drive shorcuts make Files explorer broken #1333
- Don't allow save as a file which is already opened, #1310
- Color self and cls like builtins, #1080
- Soft-reboot MicroPython before "Run current script", #1393
- Fix error in clearing squeezed boxes, #1091
- 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
- Better interrupt for download, #1320
- Fixed a regression introduced in b4 -- Thonny crashed on launch when data directory didn't exist yet.
- Statusbar with backend switcher, #1356
- Firmware flasher for CircuitPython, #1375, #1351
- Updated firmware flasher for micro:bit, #1351
- Refactor alternative interpreter configuration page, #1079
- 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
- Improve diagnostic logging, #569
- Stop/Restart command now soft-reboots MicroPython device after reaching the prompt
- Fixed problem with saving SSH password
Version 3.3.0b2
Version 3.3 is mostly about more comfortable and more robust support for MicroPython. Another highlight: possibility for running your programs in another computer via SSH.
All new features, fixes and changes:
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
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.
- TECHNICAL: Versions of serveral dependencies were updated
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)
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)
Version 3.2.7
This version has no new features and no bugfixes in Thonny's main code.
Build changes:
- Skip some tests for newer jedi versions (required for Linux packaging)
- Upgrade bundled Python version to 3.7.7
- macOS bundle is now published as .pkg. Previously Thonny was distributed as dmg, but the new approach allows overcoming permission issues in Catalina.
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.2.7.exe
- macOs: download and open thonny-3.2.7.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.2.7.bash and execute it with Bash (
bash thonny-3.2.7.bash
)
Version 3.2.6
This release was made to fix a regression introduced in 3.2.5
Changes:
- FIXED #1035: Make highlight names work with recent Jedi versions
- FIXED #1043: Can't load files from MicroPython device (regression introduced in 3.2.5)
- FIXED: Missing "Local files" label on save target selection dialog
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.2.6.exe
- macOs: download and open thonny-3.2.6.pkg and follow the instructions. Previously Thonny was distributed as dmg, but current approach allows overcoming permission issues in Catalina. 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 this folder!
- Linux: download thonny-3.2.6.bash and execute it with Bash (
bash thonny-3.2.6.bash
)