Thonny

Latest version: v4.1.7

Safety actively analyzes 714860 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 20

3.0.0b1

====================

Note: This version is successor of 2.2.0b4 and 2.1.21. Stable release of 2.2.0 was skipped.
(Incrementing the major version felt more appropriate considering the amount of new and changed features.)

* NEW: Thonny now has two debug modes: beside original AST based debug mode (the "nicer" one, Ctrl+F5) there is now also line-based mode (the "faster" one, Shift+F5), which is not so intuitive but much more efficient.
* NEW: Both debug modes now support breakpoints (switch on line numbers and double-click on the margin). Big thanks to Raspberry Pi Foundation for the support!
* NEW: Alternative presentation for call stack (in single window, just like in most debuggers; see Tools => Options => Debugger)
* NEW: Clicking on the links in stacktrace now shows the variables of those frames.
* NEW: You can re-run your changed program without closing it first (relevant for graphical programs).
* NEW: Checking "Run => Dock user windows" makes your Tkinter windows stay on top and appear always on the same location. This allows tweaking your turtle programs while looking at current output.
* NEW: "View => Program arguments" opens a box where you can write the argument string for your program
* NEW: "Tools => Options => Backend => Custom Python interpreter" now allows creating virtual environments
* NEW: "Tools => Manage packages" now allows installing new packages with all CPython backends, not only virtual environments. If the backend is not a virtual environment it installs to user site packages (with `pip install --user`)
* NEW: Thonny now includes basic support for MicroPython (former `thonny_microbit` plug-in). See https://bitbucket.org/plas/thonny/wiki/MicroPython for more info.
* CHANGED: Upgraded Python to version 3.7.0 in Thonny+Python bundles
* CHANGED: Dropped support for Python 3.4 (both for front-end and back-end)
* CHANGED: Dropped support for Tk 8.5. All bundles (including Mac's) now come with Tk 8.6.8
* CHANGED: Default back-end is now "Same as front-end" (was "A special virtual environment"). This makes deployment easier in classroom setting and it is simpler scheme in general. "Special virtual environment" backend may be removed in future versions.
* CHANGED: Plug-ins will be now installed to regular user site packages directory (was ~/.thonny/plugins)
* CHANGED: If Thonny (front-end) is run from a virtual environment, user directory (with configuration.ini and logs) will be .thonny under virtual environment's root directory (instead of usual ~/.thonny).
* ENHANCEMENT: Better Windows installer (run as administrator for all-users install)
* ENHANCEMENT: thonny.exe is now digitally signed
* ENHANCEMENT: On Linux Thonny now uses native file dialogs (via zenity)
* ENHANCEMENT: Nicer debugger can now step into your functions defined in other modules
* ENHANCEMENT: Nicer debugger can now stop before the assignement of loop variable in for-loops
* ENHANCEMENT: "Run to cursor" can be called by right-clicking desired line in the editor and selecting the command from context menu
* ENHANCEMENT: Great time and memory optimizations in nicer debug mode. The ability to step back in time is not so expensive anymore.
* ENHANCEMENT: Thonny now detects external file modifications and proposes to reload
* ENHANCEMENT: New Windows installer (run as administrator for all-users install)
* FIXED 163: Uninstaller now correctly removes "Open with Thonny" context menu entry
* FIXED 340: Validate geometry before loading
* FIXED 358: sys.exit() in user programs doesn't show stacktrace anymore
* FIXED 363: subprocess.run causes Thonny backend to hang
* FIXED 375: Files are now saved with linebreaks suitable for current platform
* FIXED 419: logging doesn't work in user programs
* FIXED 422: Make Ctrl+C, Ctrl+V etc. work on Greek keyboard
* FIXED 440: In Linux paste over selection doesn't remove the selection
* FIXED 450: Locals marker doesn't work with jedi 0.12
* FIXED 468: Problem with changing backend interpreter
* FIXED 471: Problem when Thonny uses jedi 0.11 or newer
* FIXED 475: Heap view misbehaving on startup
* FIXED: "Run => Run to cursor" works again
* FIXED: Thonny now honors PEP 263 style encoding markers when saving files. (UTF-8 is still the default)
* FIXED: Problem when jedi 0.10 and parso are both installed
* TECHNICAL: Plug-in writers can now control each import in user programs (thonny.backend.VM.add_import_handler)
* TECHNICAL: Communication messages between back-end and front-end were changed
* TECHNICAL: Thonny doesn't tweak PYTHONUSERBASE anymore to put plugins under ~/.thonny. Regular user site packages is used instead
* TECHNICAL: Dependency to "packaging" introduced in 2.2 betas is now replaced with "setuptools"

2.2.0b4

====================
* FIXED: Couldn't open menus with None backend

2.2.0b3

====================
* FIXED 425: Too big automatic scaling
* FIXED 427: Can't run files with spaces in filename
* FIXED: Fixed a bug when debugging and encountering an exception (by Alar Leemet)
* ENHANCEMENT: Show indicator about stepping in the past in the text of editor tabs
* ENHANCEMENT: Added Thonny version guards for installing plug-ins
* EXPERIMENTAL: Preliminary support for running system commands in Thonny shell (eg. `!ls` or `!dir`)
* TECHNICAL: thonny.exe in Windows bundle is now signed
* TECHNICAL: Delay starting of Runner until UI is shown
* TECHNICAL: Various enhancements to support MicroPython plug-ins

2.2.0b2

====================
* FIXED: Options dialog crashes when Variables view hasn't been created yet

2.2.0b1

====================
* NEW: Added support for stepping back in time during debugging (Run => Step back) by Alar Leemet. If you accidentally stepped over an interesting part of code, then now you can step back and step into.
* NEW: Added support for UI and syntax theming (https://bitbucket.org/plas/thonny/wiki/Theming)
* NEW: Added several built-in dark themes
* NEW: Added support for display scaling / high-DPI screens (Tools => Options => General)
* NEW: Added closing buttons to the tabs of all views
* NEW: Added support for (CPython) back-end plug-ins (https://bitbucket.org/plas/thonny/wiki/Plugins)
* NEW: Current editor line can be highlighted (Tools => Options => Editor)
* NEW: Thonny can be started in simple mode (https://bitbucket.org/plas/thonny/wiki/Modes)
* NEW: Variables view now allows viewing variables from other modules beside __main__ (Tools => Options => General)
* CHANGED: Dropped support for Python 3.4 (both for front-end and back-end)
* CHANGED: Reorganized back-end configuration ("Tools => Options => Back-end" instead of "Tools => Options => Interpreter")
* CHANGED: The roles of Interrupt and Stop commands are now more clear: Stop always restarts the backend and Interrupt only tries to interrupt
* CHANGED: Editing the running program doesn't interrupt it anymore.
* CHANGED: Object inspector now shows attributes and object overview on different tabs
* CHANGED: Can't set thonny.THONNY_USER_DIR directly in customize.py anymore (https://bitbucket.org/plas/thonny/wiki/DeploymentOptions)
* CHANGED: For plug-in writers: Unified early and late plug-ins (load_early_plugin should be renamed to load_plugin)
* CHANGED: For plug-in writers: get_workbench and get_runner moved from thonny.globals to thonny
* FIXED 358: Hide the stacktrace of SystemExit
* FIXED 368: "Open system shell" doesn't work in Xfce (fix by Miro Hrončok)
* FIXED 370: Made zooming with Ctrl++ / Ctrl+- work on the numpad on Linux
* FIXED 372: Now it's possible to specify a link as backend interpreter (fix by Miro Hrončok)
* FIXED 396: exec causes range marker to crash
* FIXED 403: Window width may become negative
* TECHNICAL: Changed the location and sharing of backend.py, common.py, ast_utils.py
* TECHNICAL: Cleaner approach for sharing jedi with the back-end
* TECHNICAL: Package manager now uses pypi.org instead of pypi.python.org
* TECHNICAL: Several changes in Runner and BackendProxy interface
* TECHNICAL: Saving an editor now forces writing to disk (see https://learn.adafruit.com/adafruit-circuit-playground-express/creating-and-editing-code#1-use-an-editor-that-writes-out-the-file-completely-when-you-save-it)

2.1.22

===================
Happy re-independence day to Estonia!

* ENHANCEMENT: Less intrusive logging for AST marking problems
* FIXED 340: Validate geometry before loading
* FIXED 363: subprocess.run causes Thonny backend to hang
* FIXED 419: logging doesn't work in user programs
* FIXED 440: In Linux paste over selection doesn't remove the selection
* FIXED 487: Use PyPI.org and turn off pip warnings in package manager
* FIXED 490: Debugger gets confused with f-strings
* FIXED: In case of back-end problems, kill backend instead of resetting
* FIXED: Colorize f-string prefixes

Page 13 of 20

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.