跳到正文

Thonny 版本记录

Aivar Annamaa · 适合初学者的 Python IDE,内置解释器,支持变量检查、逐步调试、表达式可视化,并提供图形化软件包管理器。

Cask开发工具 4,027
主页
安装命令
brew install --cask thonny
近 30 天安装
393
App榜第 543
近一年安装
3,834
365 天累计
最新版本
5.0.1
下载大小
54MB
pkg
更新节奏
不定期
近 30 天 0 个版本
  1. 5.0.1

    最新补丁

    OpenNavo 编辑 Homebrew 收录

    更新内置 Python 和 Tk,修复 macOS 对话框、Unicode 处理、插件管理和 ESP MicroPython 安装。

    • macOS 和 Windows 安装包现内置 Python 3.14.10 和 Tk 9.0.4,替代 Tk 8.6.17。修复 macOS 27 对话框卡死及 Unicode 问题,包括表情符号查找与替换。
    • 修复插件管理器的 NameError: name 'req' is not defined,恢复本地 ESP MicroPython 镜像安装。
    • 更新内置依赖,要求 esptool 5.0 和 Python 3.10。不再支持 Windows 7 和 8,包括单独安装 Python 的方式。

    官方发布说明

  2. 5.0.0

    OpenNavo 编辑 Homebrew 收录

    将内置 Python 更新至 3.14,为搭载 Apple 芯片和 Intel 处理器的 Mac 添加独立安装程序,支持较新的 Python 版本,并修复 macOS 上选择软件包时的崩溃问题。

    变更
    将内置 Python 更新至 3.14

    🇺🇦 Thonny 5 献给正在抵抗俄罗斯入侵的乌克兰。请支持乌克兰!🇺🇦

    Thonny 5 原计划包含许多新功能,但由于开发耗时超出预期,我们将版本 5 作为过渡性的错误修复版本发布,主要用于增加对较新 Python 版本的兼容性。主版本号的提升仅仅是因为捆绑包中的依赖项升级。所有新功能都已移至版本 6 的里程碑。

    安装说明

    注意!建议在安装 Thonny 5 之前卸载 Thonny 4。另外,由于原有配置引用了其他位置的 Python 可执行文件,启动新版 Thonny 时可能会出现错误。这种情况下,请点击 Thonny 窗口右下角的按钮,选择新的解释器。

    Windows

    主要的 Windows 安装程序(thonny-5.0.0-x64.exe)为 64 位,并附带 Python 3.14——这意味着它仅适用于 64 位 Windows 10 和 11。不再发布适用于 Windows 7、8 和 32 位 Windows 10 的安装程序,但你可以分别安装较旧版本的 Python 和 Thonny。

    从 5.0 开始,我们为 Windows on Arm 发布单独的安装程序。

    macOS

    从 5.0 开始,我们分别为 Intel 和 Apple silicon Mac(M1、M2 等)发布安装程序——thonny-5.0.0-x64.pkg 和 thonny-5.0.0-arm64.pkg。这些安装程序支持的最低 macOS 版本为 10.15(Catalina),但在更旧的 macOS 上,你可以分别安装较旧版本的 Python 和 Thonny。

    Linux

    从 5.0 开始,我们不再为 Linux 发布二进制捆绑包。请改用 thonny-5.0.0.bash,它会使用系统 Python 并创建一个 venv,用于安装 Thonny 及其依赖项。

    注意! 此版本中的 ~/apps/thonny/bin/thonny 无法正常工作,请使用生成的桌面启动器或 ~/apps/thonny/bin/python -m thonny 启动。

    自 4.1.7 以来的变更

    不兼容变更

    • 将捆绑的 Python 版本升级至 3.14。这意味着 Windows 安装程序现在至少需要 Window 10,macOS 安装程序至少需要 Catalina! 仍然支持 Python 3.8,因此原则上你可以在 Windows 7 中使用此版本,但相比 4.1.7 不会有太多收益。
    • 停止发布 Linux 二进制包,#3210。Linux 安装脚本现在会为 Thonny 创建专用的 venv(基于系统 python3),即使在 x84_64 上也是如此。
    • 停止发布 XXL 捆绑包,因为为所有常见架构准备捆绑包,同时确保大量软件包之间没有版本冲突,并非易事。对于依赖 XXL 捆绑包的教师,替代方案是准备一个合适的 requirements.txt,将其作为 Thonny 软件包管理器的输入。
    • 开始为 Intel 和 Arm Mac 分别发布安装程序。
    • 停止发布 32 位 Windows 安装程序。
    • 开始发布 Arm-Windows 安装程序。
    • Windows 中的“为所有用户”安装现在会安装到“C:\Program Files”,而不是之前的“C:\Program Files (x86)”

    其他变更与修复

    • 在 Linux 中,默认使用 Tk 文件对话框,而不是 Zenity(取消勾选“工具 => 选项 => 使用 Tk 文件对话框代替 Zenity”即可恢复原来的选择)
    • 增加对 Python 3.11、3.12、3.13、3.14、3.15 的支持(#3213、#3577、#3799、#2739、#3744 由 @mkluson 贡献,#3082、#3729、#3552 由 @plexus 贡献)
    • 修复 macOS 在打开软件包选择对话框时崩溃的问题
    • 启动时检查是否处于虚拟环境中,#3112,由 @scottfp 贡献
    • 为 pyx 文件添加 Python 语法高亮,#3450
    • 在 Windows 中创建子进程时使用 subprocess.CREATE_NO_WINDOW,#2817,由 @Damian-2001 提供线索
    • 允许通过向上滚动来停止 Shell 中的自动滚动,#1988
    • 移除一条查找替换警告,#3593
    • 增加对较新 setuptools 版本的支持
    • 增加对较新 Tkinter 版本的支持(#3744,由 @mkluson 贡献)
    • 升级多个捆绑依赖项(Pylint、Mypy、esptool 等)
    • 添加阿拉伯语、保加利亚语、印地语、印度尼西亚语、冰岛语和马拉雅拉姆语翻译。更新多个其他语言的翻译。感谢所有贡献者!贡献者名单请见 https://poeditor.com/projects/view?id=256075 !请注意,Thonny 的维护者尚未审核这些翻译!
    • 让刷写对话框支持更多系列,#3847

    自 5.0.0b1 以来修复的回归问题

    • 修复损坏的 GUI 入口脚本(主要影响 Linux,~/apps/thonny/bin/thonny 现在可以再次正常工作),#3844
    • 修复向 Windows Thonny 启动器传递文件路径参数的问题,#3835
    • 修复 Windows 中的剪贴板管理,#3832
    • 修复 Linux 中 UF2 对话框出现的“There is no current event loop in thread 'MainThread'”错误,#3775,由 @matejmatuska 贡献

    来源:https://github.com/thonny/thonny/releases/tag/v5.0.0

  3. 5.0.0b1

    预发布

    GitHub Release

    🇺🇦 Thonny 5 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦

    Thonny 5 was originally planned to include many new features, but because they are taking longer than expected, we are releasing version 5 as an intermediate bug-fix release, mainly to add compatibility with newer Python versions. The major version number has been increased only because of dependency upgrades in the bundles. All new features have been moved to the version 6 milestone.

    Installation instructions

    NB! It is recommended to uninstall Thonny 4 before installing Thonny 5. Also note that you may get an error when you start up new Thonny as your previous configuration referred to the Python executable in another location. In this case click on the button in the lower-right corner of Thonny's window and select new interpreter.

    Windows

    The main Windows installer (thonny-5.0.0b1-x86_64.exe) is 64-bit and comes with Python 3.14 -- this means it is suitable only for 64-bit Windows 10 and 11. Installers for Windows 7, 8 and 32-bit Windows 10 are not published anymore, but you can install an older Python version and Thonny separately.

    Since 5.0 we publish a separate installer for Windows on Arm.

    macOS

    Since 5.0 we publish separate installers for Intel and Apple silicon Macs (M1, M2, etc) -- thonny-5.0.0b1-x86_64.pkg and thonny-5.0.0b1-arm64.pkg. The minimum supported macOS version for these installers is 10.15 (Catalina), but you can install an older Python version and Thonny separately on older macOS-s.

    Linux

    Since 5.0 we don't publish binary bundles for Linux anymore. Instead use thonny-5.0.0-b1.bash which uses your system Python and creates a venv for installing Thonny and its dependencies.

    NB! ~/apps/thonny/bin/thonny is broken in this release, use the generated desktop launcher or ~/apps/thonny/bin/python -m thonny for launching.

    Changes since 4.1.7

    Breaking changes

    • Upgrade bundled Python version to 3.14. This means the Windows installer now requires at least Window 10 and macOS installer requires at least Catalina! Python 3.8 is still supported, so in principle you can use this version in Windows 7, but you wouldn't gain much over 4.1.7.
    • Stop publishing binaries for Linux, #3210. The Linux installation script now creates a private venv (based on system python3) for Thonny even in x84_64.
    • Stop publishing XXL bundle as it is not trivial to prepare bundles for all popular architectures while making sure there are no version conflicts between the large number of packages. For teachers who relied on the XXL bundle, the work-around is to prepare a suitable requirements.txt, which can be used as input in Thonny's package manager.
    • Start publishing separate installers for Intel and Arm Macs.
    • Stop publishing installers for 32-bit Windows.
    • Start publishing installers for Arm-Windows.
    • "For all users" installation in Windows now ends up in "C:\Program Files" instead of earlier "C:\Program Files (x86)"

    Other changes and fixes

    • By default, Tk file dialogs are now used instead of Zenity in Linux (uncheck "Tools => Options => Use Tk file dialogs instead of Zenity" to revert this choice)
    • Add support for Python 3.11, 3.12, 3.13, 3.14, 3.15 (#3213, #3577, #3799, #2739, #3744 by @mkluson, #3082, #3729, #3552 by @plexus)
    • Fix macOS crash when opening package selection dialog
    • Check if in virtual environment on boot, #3112 by @scottfp
    • Add Python coloring for pyx-files, #3450
    • Use subprocess.CREATE_NO_WINDOW when creating subprocess in Windows, #2817, tipped by @Damian-2001
    • Allow stopping auto-scroll in Shell by scrolling up, #1988
    • Get rid of a find-replace warning, #3593
    • Add support for newer setuptools versions
    • Add support for newer Tkinter versions (#3744 by @mkluson)
    • Upgrade several bundled dependencies (Pylint, Mypy, esptool, etc.)
    • Add Arabic, Bulgarian, Hindi, Indonesian, Icelandic and Malayalam translation. Update several other translations. Thanks for all contributors! Please see https://poeditor.com/projects/view?id=256075 for credits! Please note that Thonny's maintainers have not reviewed the translations!
  4. 4.1.7

    展开

    OpenNavo 编辑 Homebrew 收录

    修复 PyPI 软件包搜索,新增 ESP32-C6 选项,更新内置 esptool,并修复 Linux 缺少依赖项的问题。

    变更
    修复 PyPI 软件包搜索,新增 ESP32-C6 选项

    🇺🇦 Thonny 4 献给抵抗俄罗斯入侵的乌克兰。请支持乌克兰! 🇺🇦

    安装说明

    Windows

    默认的 Windows 安装程序 (thonny-4.1.7.exe) 为 64 位,附带 Python 3.10 -- 这意味着它仅适用于 64 位 Windows 8.1、10 和 11。对于 Windows 7、8 以及 32 位 Windows 10,请使用 thonny-py38-4.1.7.exe,它附带 32 位 Python 3.8。

    macOS

    thonny-4.1.7.pkg 包含 Python 3.10 的 Universal2 构建版本 -- 这意味着它同时适用于 Arm 和 Intel Mac。

    Linux

    thonny-4.1.7.bash 是一个脚本,在 x86_64 机器上运行时会下载并安装 thonny-4.1.7-x86_64.tar.gz(附带 Python 3.10)。在其他平台上,它会尝试使用系统的 python3(为 Thonny 创建虚拟环境,并在其中安装 thonny 及其依赖项)

    自 4.1.6 以来的变更

    • 修复 PyPI 包搜索。Thonny 现在基于最热门的 5000 个 PyPI 包列表提供搜索结果。如果需要安装较冷门的包,必须输入准确的包名,#3401
    • 允许在 esptool 对话框中选择 ESP32-C6 系列,#3363
    • 更新 org.thonny.Thonny.appdata.xml
    • 更新随附的 esptool
    • 修复 Linux 中缺少 dbus-next 依赖项的问题

    来源:https://github.com/thonny/thonny/releases/tag/v4.1.7

  5. 4.1.6

    展开

    OpenNavo 编辑 Homebrew 收录

    使macOS安装程序可在Sequoia上运行,添加应用授权,并修复包元数据、本地包安装和MicroPython插桩。

    变更
    使macOS安装程序可在Sequoia上运行

    🇺🇦 Thonny 4 献给正在抵抗俄罗斯入侵的乌克兰。请支持乌克兰! 🇺🇦

    安装说明

    Windows

    默认的 Windows 安装程序 (thonny-4.1.6.exe) 为 64 位,内置 Python 3.10 -- 这意味着它仅适用于 64 位 Windows 8.1、10 和 11。对于 Windows 7、8 和 32 位 Windows 10,请使用内置 32 位 Python 3.8 的 thonny-py38-4.1.6.exe。

    macOS

    thonny-4.1.6.pkg 包含 Python 3.10 的 Universal2 构建版本 -- 这意味着它同时适用于 Arm 和 Intel Mac。

    Linux

    thonny-4.1.6.bash 是一个脚本,在 x86_64 机器上运行时会下载并安装 thonny-4.1.6-x86_64.tar.gz(内置 Python 3.10)。在其他平台上,它会尝试使用系统的 python3(为 Thonny 创建虚拟环境,并在其中安装 thonny 及其依赖项)

    请注意,版本 4.1.5 仅在 PyPI 上发布,该版本未发布二进制构建。

    自 4.1.4 以来的变更

    • 使 macOS 安装程序可在 Sequoia 上运行,#3283
    • 为 macOS 应用程序包添加更多权限授权(可能解决程序使用摄像头或麦克风时的问题)
    • 新增和更新语言,感谢 POEditor 上的翻译者
    • 修复对 PyPI 元数据中空值的处理(解决某些 PyPI 包的安装问题)
    • 规避窗口最小化后对话框卡住的问题,#3068
    • 修复对 MicroPython 代码过度插桩的问题,#3043
    • 修复从本地文件安装包的问题
    • 更新多项依赖

    来源:https://github.com/thonny/thonny/releases/tag/v4.1.6

  6. 4.1.4

    展开

    GitHub Release Homebrew 收录

    🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦

    Installation instructions

    Windows

    Default Windows installer (thonny-4.1.4.exe) is 64-bit and comes with Python 3.10 -- this means it is suitable only for 64-bit Windows 8.1, 10 and 11. For Windows 7, 8 and for 32-bit Windows 10 use thonny-py38-4.1.4.exe which comes with 32-bit Python 3.8.

    macOS

    thonny-4.1.4.pkg contains universal2 build of Python 3.10 -- this means it is suitable for both Arm and Intel Macs.

    Linux

    thonny-4.1.4.bash is a script, which downloads and installs thonny-4.1.4-x86_64.tar.gz (with Python 3.10) when run on x86_64 machines. On other platforms it tries to use system python3 (creates a virtual environment for Thonny and installs thonny and its dependencies there)

    Changes since 4.1.3

    • Fix regression in MicroPython package installation, #2979
    • Add better error message for externally managed environments, #3009
    • Fix package installation in remote virtual environments
    • Update Raspberry Pi detection
    • Silence "bad-option-value"-s given by Pylint 3
  7. 4.1.3

    展开

    GitHub Release Homebrew 收录

    🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦

    Installation instructions

    Windows

    Default Windows installer (thonny-4.1.3.exe) is 64-bit and comes with Python 3.10 -- this means it is suitable only for 64-bit Windows 8.1, 10 and 11. For Windows 7, 8 and for 32-bit Windows 10 use thonny-py38-4.1.3.exe which comes with 32-bit Python 3.8.

    macOS

    thonny-4.1.3.pkg contains universal2 build of Python 3.10 -- this means it is suitable for both Arm (M1, M2) and Intel Macs.

    Linux

    thonny-4.1.3.bash is a script, which downloads and installs thonny-4.1.3-x86_64.tar.gz (with Python 3.10) when run on x86_64 machines. On other platforms it tries to use system python3 (creates a virtual environment for Thonny and installs thonny and its dependencies there).

    Changes since 4.1.2

    • Fix first run crash on macOS (#2860)
    • Fix package upgrade and uninstall in portable variant (#2902)
    • Fix esptool flasher proposing wrong starting address for ESP32-S2 devices, #2920
    • Fix cursor jumping to Shell when program waits for input and the user types opening parenthesis in the editor, #2834
    • Add Catalan translation (by Pere)
    • Update German, French, Portuguese and Romanian translations. (See POEditor for contributions)
  8. 4.1.2

    展开

    GitHub Release Homebrew 收录

    🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦

    Installation instructions

    Windows

    Default Windows installer (thonny-4.1.2.exe) is 64-bit and comes with Python 3.10 -- this means it is suitable only for 64-bit Windows 8.1, 10 and 11. For Windows 7, 8 and for 32-bit Windows 10 use thonny-py38-4.1.2.exe which comes with 32-bit Python 3.8.

    macOS

    thonny-4.1.2.pkg contains universal2 build of Python 3.10 -- this means it is suitable for both Arm (M1, M2) and Intel Macs.

    Linux

    thonny-4.1.2.bash is a script, which downloads and installs thonny-4.1.2-x86_64.tar.gz (with Python 3.10) when run on x86_64 machines. On other platforms it tries to use system python3 (creates a virtual environment for Thonny and installs thonny and its dependencies there).

    Changes since 4.1.1

    • Avoid repetitive attempts to restart backend after connection gets lost during a Run (#2836)
    • Automatically hide tooltips if window loses focus, #2607
    • Import optional deps with augmented sys.path, fixes problems with importing plug-ins (#2816)
    • Don't leak main site-packages to virtual environment's sys.path, #2867
    • Fix Assistant error with relative imports, #2873
    • Don't attempt to save unchanged editor at run, #2804
    • Fix MicroPython upload errors by more conservative back-end isolation, #2016, #2851, #2864. Many thanks to @chechigp for patience and help!
    • Fix MicroPython code completions by fixing packaging of base MicroPython stubs, #2895
    • Fix various completion failures by reverting a jedi hack (67f2c120)
    • Avoid duplicate MicroPython completions when a module is already imported (852308fd)
    • Update Persian, Italian, Japanese, Brazilian Portuguese and Chinese translations (see POEditor for contributions)
  9. 4.1.1

    展开

    GitHub Release

    🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦

    Installation instructions

    Windows

    Default Windows installer (thonny-4.1.1.exe) is now 64-bit and comes with Python 3.10 -- this means it is suitable only for 64-bit Windows 8.1, 10 and 11. For Windows 7, 8 and for 32-bit Windows 10 use thonny-py38-4.1.1.exe which comes with 32-bit Python 3.8.

    macOS

    thonny-4.1.1.pkg contains universal2 build of Python 3.10 -- this means it is suitable both for Arm (M1, M2) and Intel Macs.

    Linux

    thonny-4.1.1.bash is a script, which downloads and installs thonny-4.1.1-x86_64.tar.gz (with Python 3.10) when run on x86_64 machines. On other platforms it tries to use system python3 (creates a virtual environment for Thonny and installs thonny and its dependencies there).

    Changes since 4.1.0

    • Fix the warning for cases where Thonny avoids user module shadowing a library module (#384)
    • Fix installing from local file in ESP flashing dialog (#2811)
    • Use a tilde to separate pre-release versions in the AppData (#2807), by @jwillikers
    • Use bigger initial width in simple mode
    • Big progress with Italian translation, by mapi68, Ribezzz and sailslack
    • Updated Chinese (TW) and English (UK) translations
  10. 4.1.0

    展开

    GitHub Release

    🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦

    Installation instructions

    Windows

    Default Windows installer (thonny-4.1.0.exe) is now 64-bit and comes with Python 3.10 -- this means it is suitable only for 64-bit Windows 8.1, 10 and 11. For Windows 7, 8 and for 32-bit Windows 10 use thonny-py38-4.1.0.exe which comes with 32-bit Python 3.8.

    macOS

    thonny-4.1.0.pkg contains universal2 build of Python 3.10 -- this means it is suitable both for Arm (M1, M2) and Intel Macs.

    Linux

    thonny-4.1.0.bash is a script, which downloads and installs thonny-4.1.0-x86_64.tar.gz (with Python 3.10) when run on x86_64 machines. On other platforms it tries to use system python3 (creates a virtual environment for Thonny and installs thonny and its dependencies there).

    Changes since 4.0.2

    New

    • Enhance esptool GUI (propose known MicroPython and CircuitPython downloads; allow setting baud rate and start address; allow querying device info), #2707, #1600, #2536, #1171, #2657
    • Ensure Thonny's backends don't get confused by other installations, #2616
    • Detect and warn if user module is shadowing a library module, #384
    • Make serial port description in interpreter selection menu more descriptive
    • Added pt_BR translation for all help pages, #2673, by @mgmalheiros
    • Add Pololu MicroPython downloads to UF2 flasher
    • Use UDisks to find mounted filesystems on Linux, #2683 by jwillikers

    Fixes

    • Fix a potential autocompletion error, #2162
    • Experiment with better MicroPython raw paste fallback, #2624
    • Fix sys.sdtout.write return value, #2629
    • Remove unnecessary shebangs, #2645
    • Add option for saving unnamed editors before Run/Debug, #2619
    • Fix blank editors in macOS, again, #2425
    • Fix todo view, #2681, by @kr-g
    • Minor corrections for English help pages, #2674, by @mgmalheiros
    • Upgrade bundled esptool from 4.4 to 4.5
    • Allow Linux installer to use existing Python 3.11 and 3.12, #2676
    • Require saving before using fast debugger, #2699, by @michaellass
    • Add missing translation sites in editors.py, #2705 by @nicolasdespres
    • Restore MicroPython completions in the shell, #2467, #2419
    • Don't use deprecated FLASK_ENV environment variable.
    • Add better shortcut for increasing font size in macOS, #2725
    • Avoid falling back to Python menu in simple mode on macOS, #2729
    • Various improvements to "Kind of Aqua" UI theme, #2760
    • Fix double paste with Command-V when CapsLock on, #2753
    • Fix Cut with Command-X when CapsLock on, #2753

    Bundled dependency changes

    • Upgrade bundled Python from 3.10.9 to 3.10.11
    • Upgrade bundled Tk from 8.6.12 to 8.6.13
    • Upgrade bundled Pylint from 2.15 to 2.17
    • Upgrade bundled MyPy from 0.991 to 1.2

    Changes since 4.1.0b1

    • Fix MicroPython config page regression introduced in 4.1.0b1 (#2724, #2763)
    • Fix remote Python 3 (SSH) connection error (regression introduced in 4.1.0b1)
    • Fix code completion shortcut displayed in macOS menu
    • Add command "Show esptool version" for ESP flasher
    • Don't disconnect for ESP flasher commands which don't touch the device
    • Close tab on middle click (#2767) by @mrexodia
    • Make package manager support new micropython-lib index (#2777)
    • Report macOS version instead of Darwin version in the About box
    • Implement more flexible Raspberry Pi detection
    • Enable thonny to open and save files with zenity 3.91+ (#2786) by @befeleme
    • Make dbus_next dependency optional (#2771)
    • Recognize ESP32 as possible CircuitPython device
    • Add menu indicator for back-end switcher
    • Allow WebREPL for RP2040 backend (experimental)
    • Use correct MicroPython start address (0x0 instead of 0x1000) when flashing ESP32-S3
    • Recognize ESP32 devices by VID 0x303A
    • Don't show irrelevant ports in port selector (e.g. /dev/cu.Bluetooth-Incoming-Port)
    • Allow setting --flash-size in ESP flasher, #2801
    • Rename "Raspberry Pi" initial settings to "Raspberry Pi (simple)"
    • Update several translations
    • Add en_GB translation
    • Attempt to overcome "window was deleted before its visibility changed" error
    • Fix pipkin directory creation in paste mode (e.g. package installation via WebREPL)
    • Upgrade bundled websockets, paramiko, docutils, mypy, Send2Trash, esptool to latest versions
  11. 4.1.0b1

    展开

    GitHub Release

    🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦

    Installation instructions

    Windows

    Default Windows installer (thonny-4.1.0b1.exe) is now 64-bit and comes with Python 3.10 -- this means it is suitable only for 64-bit Windows 8.1, 10 and 11. For Windows 7, 8 and for 32-bit Windows 10 use thonny-py38-4.1.0b1.exe which comes with 32-bit Python 3.8.

    macOS

    thonny-4.1.0b1.pkg contains universal2 build of Python 3.10 -- this means it is suitable both for Arm (M1, M2) and Intel Macs.

    Linux

    thonny-4.1.0b1.bash is a script, which downloads and installs thonny-4.1.0b1-x86_64.tar.gz (with Python 3.10) when run on x86_64 machines. On other platforms it tries to use system python3 (creates a virtual environment for Thonny and installs thonny and its dependencies there).

    Changes since 4.0.2

    4.1.0b1 is a feature and bug-fix pre-release.

    New

    • Enhance esptool GUI (propose known MicroPython and CircuitPython downloads; allow setting baud rate and start address; allow querying device info), #2707, #1600, #2536, #1171, #2657
    • Ensure Thonny's backends don't get confused by other installations, #2616
    • Detect and warn if user module is shadowing a library module, #384
    • Make serial port description in interpreter selection menu more descriptive
    • Added pt_BR translation for all help pages, #2673, by @mgmalheiros
    • Add Pololu MicroPython downloads to UF2 flasher
    • Use UDisks to find mounted filesystems on Linux, #2683 by jwillikers

    Fixes

    • Fix a potential autocompletion error, #2162
    • Experiment with better MicroPython raw paste fallback, #2624
    • Fix sys.sdtout.write return value, #2629
    • Remove unnecessary shebangs, #2645
    • Add option for saving unnamed editors before Run/Debug, #2619
    • Fix blank editors in macOS, again, #2425
    • Fix todo view, #2681, by @kr-g
    • Minor corrections for English help pages, #2674, by @mgmalheiros
    • Upgrade bundled esptool from 4.4 to 4.5
    • Allow Linux installer to use existing Python 3.11 and 3.12, #2676
    • Require saving before using fast debugger, #2699, by @michaellass
    • Add missing translation sites in editors.py, #2705 by @nicolasdespres
    • Restore MicroPython completions in the shell, #2467, #2419
    • Don't use deprecated FLASK_ENV environment variable.
    • Add better shortcut for increasing font size in macOS, #2725
    • Avoid falling back to Python menu in simple mode on macOS, #2729
    • Various improvements to "Kind of Aqua" UI theme, #2760
    • Fix double paste with Command-V when CapsLock on, #2753
    • Fix Cut with Command-X when CapsLock on, #2753

    Bundled dependency changes

    • Upgrade bundled Python from 3.10.9 to 3.10.11
    • Upgrade bundled Tk from 8.6.12 to 8.6.13
    • Upgrade bundled Pylint from 2.15 to 2.17
    • Upgrade bundled MyPy from 0.991 to 1.2
  12. 4.0.2

    展开

    GitHub Release

    🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦

    Installation instructions

    Windows

    Default Windows installer (thonny-4.0.2.exe) is now 64-bit and comes with Python 3.10 -- this means it is suitable only for 64-bit Windows 8.1, 10 and 11. For Windows 7, 8 and for 32-bit Windows 10 use thonny-py38-4.0.2.exe which comes with 32-bit Python 3.8.

    NB! Windows installers have been signed with a new certificate which hasn't built up its reputation yet! You may need to click through your browser warnings (choose "Keep" instead of "Discard" in Chrome) and Windows Defender warning (More info => Run anyway).

    macOS

    thonny-4.0.2.pkg contains universal2 build of Python 3.10 -- this means it is suitable both for Arm (M1, M2) and Intel Macs.

    Linux

    thonny-4.0.2.bash is a script, which downloads and installs thonny-4.0.2-x86_64.tar.gz (with Python 3.10) when run on x86_64 machines. On other platforms it tries to use system python3 (creates a virtual environment for Thonny and installs thonny and its dependencies there).

    Changes since 4.0.1

    4.0.2 is mainly a bug-fix release.

    • Fix Mypy logging error in the Assistant, #2491 by @kr-g and @solsword
    • Fix AttributeError on save, #2454
    • Add Thonny version as environment value for user programs, #2494 by @kr-g
    • Make __file__ contain absolute path, #2497
    • Start SSH preparation command with space to avoid adding it to shell history, #2563 by @isaacl
    • Bump pipkin version to 1.0b8 and fix various bugs with MicroPython package installation, including not being able to update a package (#2555)
    • Restore Find/Replace dialog close button and non-dialog behavior, #2461, #2550
    • Make Find/Replace dialog non-modal again, #2550
    • Fix Find/Replace seeding, #2356, #2550
    • Restore focus after using file dialogs, #2501
    • Don't remove stacktrace links after closing the process, #2471
    • Never clear shell when Stop/Restart is used for stopping a process, #2456
    • Treat .toml, .gitignore and .env as text files
    • Fix expression box glitch (lower frame box remaining visible) when debugging on macOS
    • Ignore disk flushing errors in the end of UF2 installation
    • Make port finding in the end of UF2 installation process more robust
    • Don't enable variant and version selection in UF2 dialog before variants get downloaded
    • Add Vietnamese translation, by Bui Huy Quang
    • Update several translations
    • Fix the name for Slowenian, #2611
    • Update several deps in Thonny + Python bundles (asttokens, mypy, pylint, esptool, paramiko)
  13. 4.0.1

    展开

    GitHub Release

    🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦

    Installation instructions

    Windows

    Default Windows installer (thonny-4.0.1.exe) is now 64-bit and comes with Python 3.10 -- this means it is suitable only for 64-bit Windows 8.1, 10 and 11. For Windows 7, 8 and for 32-bit Windows 10 use thonny-py38-4.0.1.exe which comes with 32-bit Python 3.8.

    NB! Windows installers have been signed with a new certificate which hasn't built up its reputation yet! You may need to click through your browser warnings (choose "Keep" instead of "Discard" in Chrome) and Windows Defender warning (More info => Run anyway).

    macOS

    thonny-4.0.1.pkg contains universal2 build of Python 3.10 -- this means it is suitable both for Arm (M1, M2) and Intel Macs.

    Linux

    thonny-4.0.1.bash is a script, which downloads and installs thonny-4.0.1-x86_64.tar.gz (with Python 3.10) when run on x86_64 machines. On other platforms it tries to use system python3 (creates a virtual environment for Thonny and installs thonny and its dependencies there).

    Changes since 4.0.0

    4.0.1 is mainly a bug-fix release.

    • Fix error when running script with closed Shell, #2412
    • Fix error with programs calling exit (more robust handing of closing the back-end process), #1786, #2433, #2423
    • Fix blank editor after switching tabs on macOS, #2425
    • Instruct saving the program before debugging, #2415
    • Fix find not highlighting selected result in block comments, #2407
    • Fix new file creation error, #2406
    • Fix Choice Dialog closing with ESC, #2406
    • Fix the error when invoking Python's help function, #2435
    • Fall back to killing current process when running and interrupt doesn't work, #2420
    • Don't close the backend process when interrupting at idle prompt, #2422
    • Fix Windows 11 version in About dialog, #2406
    • Fix outdated test, #2413
    • Make the Mac installer more compatible with Arm, #2409
    • Allow downloading latest unstable MicroPython builds, #2408
    • Allow new file command for remote file browser
    • Update Estonian, German and Chinese (TW) translations
  14. 4.0.0

    展开

    GitHub Release

    🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦

    Installation instructions

    Windows

    Default Windows installer (thonny-4.0.0.exe) is now 64-bit and comes with Python 3.10 -- this means it is suitable only for 64-bit Windows 8.1, 10 and 11. For Windows 7, 8 and for 32-bit Windows 10 use thonny-py38-4.0.0.exe which comes with 32-bit Python 3.8.

    NB! Windows installers have been signed with a new certificate which hasn't built up its reputation yet! You may need to click through your browser warnings (choose "Keep" instead of "Discard" in Chrome) and Windows Defender warning (More info => Run anyway).

    macOS

    thonny-4.0.0.pkg contains universal2 build of Python 3.10 -- this means it is suitable both for Arm (M1, M2) and Intel Macs.

    Linux

    thonny-4.0.0.bash is a script, which downloads and installs thonny-4.0.0-x86_64.tar.gz (with Python 3.10) when run on x86_64 machines. On other platforms it tries to use system python3 (creates a virtual environment for Thonny and installs thonny and its dependencies there).

    Changes since 3.3.13

    Breaking changes

    • Drop support for Python 3.5, 3.6 and 3.7
    • Require single click for toggling a breakpoint, #2293
    • Clear Shell before starting new process (Run, Debug, Stop/Restart, ...) by default. Can be turned off in Tools => Options => Shell, #1681
    • Rename "Python 3" back-end to "Local Python 3"
    • Don't SetProcessDpiAwareness for user programs anymore. This means for example, that Tkinter and Pygame programs on Windows run as if they were executed with plain Python (ie they may become blurry on modern displays). For clear picture, start your program with import ctypes; ctypes.OleDLL("shcore").SetProcessDpiAwareness(1), #2159
    • Drop support for jedi versions below 0.18.1

    Distribution

    • Upgrade bundled Python to 3.10
    • The main Windows bundle is now 64-bit. For fallback publish 32-bit bundle with Python 3.8 for 32-bit Windows 10 and 8.1 and all variants of Windows 7 and 8.
    • Mac bundle now comes with the universal2 build of Python
    • Stop publishing 32-bit Linux bundles.
    • Enhance Linux installer script (the .bash-file) to create a venv and pip-install Thonny if run on a platform for which there is no binary bundle available. This means you can now use Linux installer also on Raspberry Pi, #1736

    Code completion and analysis

    • Add the option for automatically getting completions while typing (Tools => Options => Editor)
    • Selecting a completion with Tab now replaces the name suffix right of the cursor, #1998
    • Turn off requesting completions with Tab in editors by default, #2069
    • Show documentation for the selected completion with another Ctrl-Space or automatically (Tools => Options => Editor)
    • Add "call-tips" -- a box describing the formal parameters of current method call. Invoke manually with Ctrl-Shift-Space or automatically after typing open parentheses (Tools => Options => Editor)
    • Enhance Go-to-definition (Ctrl-click). The name is now underlined while ctrl-hovering over it.

    MicroPython / CircuitPython

    • Add LEGO® EV3 back-end: "Run => Select interpreter => MicroPython (EV3)"
    • Support CircuitPython with micro:bit, #2251
    • Use pipkin for managing packages on MicroPython and CircuitPython devices. This enables proper listing of packages together with version info and proper uninstallation.
    • Use .local_rtc config parameters instead of (oppositely worded) .utc_clock in MicroPython back-ends, 116aecd714d5e94a8ad6e244deac44aece5065eb
    • Present MicroPython time options (whether to sync time and whether to use local time) in back-end configuration page, #1638
    • Automatically interrupt current process when connecting to bare-metal MicroPython or CircuitPython device. This can be turned off at device's settings page, #2059
    • Don't hide the output when Stop/Restarting MicroPython, #1805
    • Make internal MicroPython errors less intimidating. In several cases the errors are caused by bugs in MicroPython or USB driver and there is no use of showing the stacktrace. User is now directed to restart the device and stacktrace can be checked from the backend.log, #1799
    • Make MicroPython back-end advise Ctrl+C also if only whitespace characters get printed, #1755
    • Allow running MicroPython scripts without soft-rebooting first, #1565, #1716
    • Add generic "MicroPython (RP2040)" back-end in addition to the more specific "MicroPython (Raspberry Pi Pico)", #2151
    • Mention the possibility to reconfigure file types when denying opening remote files in a system app, #2148
    • Refactor MicroPython/CircuitPython flashing dialog, #2344
    • Add separate "Install ..." items to the back-end switcher menu if a device in UF2 bootloader mode is detected, #2387
    • Use "Install MicroPython" instead of "Install firmware", #2364
    • Take OSC commands into account when looking for prompts (relevant for CircuitPython 8), #2349
    • Disable "Run" command when MicroPython device is disconnected
    • Update completion stubs for MicroPython and CircuitPython (from @hlovatt and @adafruit)
    • Make Shell read-only when device is disconnected
    • Fix various problems with managing files on CircuitPython devices
    • Don't assume all CircuitPython boards have RTC, #1760
    • Fix error with evaluating globals() on MicroPython device, #1938
    • Add MicrobitImage inspector for Object inspector

    Various enhancements

    • Add TODO view (by @kr-g), #2067
    • Add possibility to activate a virtual environment via Files view (by @kr-g), #2381
    • Add new toolbar button which opens the wiki page describing ways to help Ukraine survive the attack from Russia.
    • Allow running content of untitled editors without saving, #778
    • Make stacktrace links to and pseudo-files go to the editor containing corresponding source, #778
    • Ask confirmation for adding .py extension when the user saves the file without any extension to MicroPython/CircuitPython device, #2077
    • Don't add the .py extension when the user saves a local file and selects "All files" filter.
    • Add Cut/Copy/Paste to the file browser, #2001 by @kr-g
    • Make editor remember current line when reloading external changes, #2001 by @kr-g
    • Add "Edit => Go to line..." command (Ctrl-G), #2001 by @kr-g
    • Add "Rename" command for the local file browser, #2001 by @kr-g
    • Add nicer Stop-button for higher resolutions, #1445 by @speedy-10
    • Improve icon scaling -- use larger icons when Treeview row height is larger than general.large_icon_rowheight_threshold
    • Use default font in Treeviews (including Files and Variables view). Therefore Treeview's font size is now affected by the scaling factor and is not affected by editor font size.
    • Use isolated mode for launching Thonny. This includes hiding user-site packages from Thonny's GUI process (not from user programs). Plug-ins now get installed under Thonny's data folder, #2038, #1651
    • Allow installing packages for remote CPython backend, #1319
    • Flatten the list of interpreters in the backend-switcher menu (lower-right corner of the main window)
    • Removed previously deprecated "A special virtual environment". Use regular virtual environments instead.
    • Merge "The same interpreter which runs Thonny" and "Alternative Python 3 interpreter or virtual environment" back-ends into "Local Python 3"
    • Back-end switcher now remembers several configurations for remote CPython and MicroPython.
    • Make package manager work for remote Python 3 (SSH)
    • Fix "Seed find/replace with currently-selected text" for Linux, #2356
    • Use "vista" Tk-theme instead of "xpnative" in Windows. Gives nicer combobox, #1663
    • Automatically reload saved files after external modification (with help from @kr-g), #1589, #1455, #1968
    • Support OSC sequences for setting terminal title, #2369
    • Toggle hidden files also via file-browser's context menu, #1039
    • Seed find/replace with currently-selected text, #2356
    • Add coloring for match and case soft keywords, #2358
    • Add Slovenian translation (by cspaier)
    • Add "Assistant" help page explaining the possibility to omit selected Pylint checks, #1978
    • Add command "Run => Visualize current script at Python Tutor", #2242
    • Add options for automatically making uploaded or saved shebang scripts executable (includes changing Windows line breaks to Unix ones). See "Editor" and SSH-backends' config pages.
    • Allow back-end plugins to modify sys.path, #2281
    • Warn when environment value is provided with quotes, #2184
    • Let macOS installer know the bundle is able to run in arm64 mode, #2201
    • Add Tamil translation, by Kamala Kannan K and அனிச்பிரபு தி, #2211
    • Add Thai translation, by Tomzt Pimai and Game of
    • Allow assigning Python coloring for Python-like files, #1927

    Various fixes

    • Fix issues with printouts containing more than 999 lines, #2118, #1646
    • Fall back to default theme when used 3rd party theme gets uninstalled, #2117
    • Fix problem with Files hamburger menu when nothing is selected, #2101
    • Fix Windows version detection in "Tools => Open system shell", #1961
    • Make sure Thonny's dialogs are treated as dialogs in macOS and Linux, #1790
    • Don't issue two Ctrl+C-s too quickly in row when interrupting MicroPython process, in order to give time for finally-blocks to clean up, #1757
    • Fix asm_pio error when working in with RP-pico in shell mode, #1718
    • Fix the crash when scripts longer than 4KB are sent to Python 3 SSH back-end, #1680
    • Properly interrupt MicroPython code before submitting new code when using F5 while code is running, #1668
    • Fix problems with full screen and split screen views in macOS, #1293, #1012
    • Fix the crash when pasting certain Unicode chars to editor in macOS, #32
    • Fix the crash caused by Cmd-backtick and others with Spanish keyboard in macOS, #886
    • Fix focus issues in dialogs, #2153
    • Fix automatic horizontal scrollbar not always appearing, #2169 and #659 by @jharris1993 and @lurch
    • Forward SSH password to the back-end process via stdin instead of command line.
    • Fix error when pressing Ctrl-D with unsubmitted input, #2388
    • Don't choke on relative interpreter paths, #2335
    • Don't crash when Windows network locations can't be found, #2285
    • Don't show package extra deps even when the extra is combined with another condition
    • Make paddings larger for hi-res displays
    • Work around Pylint error (make Pylint work again), #2359
    • Fix translations with bad placeholders (by @abrarwali), #2253
    • Fix debugger error when importing user modules (regression introduced in 4.0.0b1), #2246
    • Don't propose pythonw.exe as initial backend, #2236
    • Fix error when trying to open a file from file browser with ENTER, #1785
    • Fix support for remote Python 3 over SSH (regression introduced in one of the 4.0.0 betas), #2249
    • Avoid wobbling of AutomaticScrollbar, helpful report by @TooLazy0x00, #2258
    • Fix problem uninstalling MicroPython packages
    • Install packages without --user in portable mode, #1606
    • Fix the problem with scripts having declared encoding something else than UTF-8, #1650
    • Don't clear shell after automatic restart
    • Fixes certain problems with running Flask and multiprocessing programs, #2062
    • Fix KeyError: 'ESP32.url' when connecting to WebREPL, #2082 (regression introduced in b1)
    • Fix parameter completions where name of local variable was proposed with trailing '='
    • Fix error with printing (regression introduced in b1), #2233
    • Fix Find & replace dialog not appearing, #2208
    • Fix display of debugger frames (regression introduced in 4.0.0b1), #2216
    • Increase the initial top coordinate of Thonny's main window. Fixes problem of Thonny's title bar being hidden by the system menubar, #1925
  15. 4.0.0b4

    展开

    GitHub Release

    🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦

    NB! Windows installers have been signed with a new certificate which hasn't built up its reputation yet! You may need to click through your browser warnings (choose "Keep" instead of "Discard" in Chrome) and Windows Defender warning (More info => Run anyway).

    Changes and fixes since 4.0.0b3:

    • CHANGED: Require single click for toggling a breakpoint, #2293
    • Refactor MicroPython/CircuitPython flashing dialog, #2344
    • Add TODO view (by @kr-g), #2067
    • Add possibility to activate a virtual environment via Files view (by @kr-g), #2381
    • Add separate "Install ..." items to the back-end switcher menu if a device in UF2 bootloader mode is detected, #2387
    • Automatically reload saved files after external modification (with help from @kr-g), #1589, #1455, #1968
    • Add EV3 default password information to config page, #2284
    • Don't choke on relative interpreter paths, #2335
    • Don't crash when Windows network locations can't be found, #2285
    • Don't show package extra deps even when the extra is combined with another condition
    • Make paddings larger for hi-res displays
    • Take OSC commands into account when looking for prompts (relevant for CircuitPython 8), #2349
    • Support OSC sequences for setting terminal title, #2369
    • Toggle hidden files also via file-browser's context menu, #1039
    • Use "Install MicroPython" instead of "Install firmware", #2364
    • Rename "Python 3" back-end to "Local Python 3"
    • Seed find/replace with currently-selected text, #2356
    • Work around Pylint error (make Pylint work again), #2359
    • Add coloring for match and case soft keywords, #2358
    • Add Slovenian translation (by cspaier)
    • Update several translations
    • Fix translations with bad placeholders (by @abrarwali), #2253
  16. 4.0.0b3

    展开

    GitHub Release

    🇺🇦 Thonny 4 is dedicated to Ukraine fighting the Russian invasion. Please support Ukraine! 🇺🇦

    Changes since 4.0.0b2:

    • BREAKING: Don't SetProcessDpiAwareness for user programs anymore. This means for example, that Tkinter and Pygame programs on Windows run as if they were executed with plain Python (ie they may become blurry on modern displays). For clear picture, start your program with import ctypes; ctypes.OleDLL("shcore").SetProcessDpiAwareness(1), #2159
    • Add "Assistant" help page explaining the possibility to omit selected Pylint checks, #1978
    • Add command "Run => Visualize current script at Python Tutor", #2242
    • Fix debugger error when importing user modules (regression introduced in 4.0.0b1), #2246
    • Add options for automatically making uploaded or saved shebang scripts executable (includes changing Windows line breaks to Unix ones). See "Editor" and SSH-backends' config pages.
    • Don't propose pythonw.exe as initial backend, #2236
    • Fix error when trying to open a file from file browser with ENTER, #1785
    • Fix support for remote Python 3 over SSH (regression introduced in one of the 4.0.0 betas), #2249
    • Support CircuitPython with micro:bit, #2251
    • Avoid wobbling of AutomaticScrollbar, helpful report by @TooLazy0x00, #2258
    • Fix problem uninstalling MicroPython packages
    • Install packages without --user in portable mode, #1606
    • Allow back-end plugins to modify sys.path, #2281
    • Use %run instead of %Run when skipping interpreter restart, #1565
    • Updated Estonian, Thai and Brazilian Portuguese translations
    • EXPERIMENTAL: Add LEGO® EV3 back-end: "Run => Select interpreter => MicroPython (EV3)"
  17. 4.0.0b2

    展开

    GitHub Release

    🇺🇦 Thonny 4 is dedicated to Ukraine fighting the invasion of Russian orcs. Please support Ukraine! 🇺🇦

    Known issues:

    • Windows bundle proposes pythonw.exe as default interpreter. This interpreter does not allow interrupting programs with Ctrl+C. It is recommend to switch to "Thonny's Python" from the lower-right corner of the main window.

    Changes since 4.0.0b1:

    • Add 32-bit bundle with Python 3.8 for Windows (the main Windows bundle is now 64-bit and contains Python 3.10, which doesn't support Windows 7)
    • Fix the problem with scripts having declared encoding something else than UTF-8, #1650
    • Don't clear shell after automatic restart
    • Fixes certain problems with running Flask programs, #2062
    • Fix KeyError: 'ESP32.url' when connecting to WebREPL, #2082 (regression introduced in b1)
    • Fix parameter completions where name of local variable was proposed with trailing '='
    • Fix error with printing (regression introduced in b1), #2233
    • Fix Find & replace dialog not appearing, #2208
    • Fix display of debugger frames (regression introduced in 4.0.0b1), #2216
    • Warn when environment value is provided with quotes, #2184
    • Let macOS installer know the bundle is able to run in arm64 mode, #2201
    • Update completion stubs for MicroPython and CircuitPython (from @hlovatt and @adafruit)
    • Add compatibility with Python 3.8 via Windows launcher, #2206
    • Disable "Run" command when MicroPython device is disconnected
    • Make Shell read-only when device is disconnected
    • Fix various problems with managing files on CircuitPython devices
    • Don't assume all CircuitPython boards have RTC, #1760
    • Fix error with evaluating globals() on MicroPython device, #1938
    • Add MicrobitImage inspector for Object inspector
    • Add Tamil translation, by Kamala Kannan K and அனிச்பிரபு தி, #2211
    • Add Thai translation, by Tomzt Pimai and Game of
    • Update translations for German, Spanish, Japanese, Slovak, Korean, Brazilian Portuguese, Albanian
  18. 4.0.0b1

    展开

    GitHub Release

    🇺🇦 Thonny 4 is dedicated to Ukraine fighting against the invasion of Russian army Putin's terrorists. Please support Ukraine! 🇺🇦

    4.0.0b1 is a pre-release with several new features and bugfixes. Please test to find and report the remaining (and new) bugs!

    Known issues

    Changes since 3.3.13

    Distribution

    • Upgrade bundled Python to 3.10
    • Mac bundle now comes with the unversal2 build of Python
    • Drop support for Python 3.5, 3.6 and 3.7
    • The main Windows bundle is now 64-bit. For fallback publish 32-bit bundle with Python 3.8 for 32-bit Windows 10 and 8.1 and all variants of Windows 7 and 8.
    • Stop publishing 32-bit Linux bundles.
    • Enhance Linux installer script (the .bash-file) to create a venv and pip-install Thonny if run on a platform for which there is no binary bundle available. This means you can now use Linux installer also on Raspberry Pi, #1736

    Code completion and analysis

    • Add the option for automatically getting completions while typing (Tools => Options => Editor)
    • Selecting a completion with Tab now replaces the name suffix right of the cursor, #1998
    • Turn off requesting completions with Tab in editors by default, #2069
    • Show documentation for the selected completion with another Ctrl-Space or automatically (Tools => Options => Editor)
    • Add "call-tips" -- a box describing the formal parameters of current method call. Invoke manually with Ctrl-Shift-Space or automatically after typing open parentheses (Tools => Options => Editor)
    • Enhance Go-to-definition (Ctrl-click). The name is now underlined while ctrl-hovering over it.

    MicroPython

    • Use pipkin for managing packages on MicroPython and CircuitPython devices. This enables proper listing of packages together with version info and proper uninstallation.
    • Use .local_rtc config parameters instead of (oppositely worded) .utc_clock in MicroPython back-ends, 116aecd714d5e94a8ad6e244deac44aece5065eb
    • Present MicroPython time options (whether to sync time and whether to use local time) in back-end configuration page, #1638
    • Automatically interrupt current process when connecting to bare-metal MicroPython or CircuitPython device. This can be turned off at device's settings page, #2059
    • Don't hide the output when Stop/Restarting MicroPython, #1805
    • Make internal MicroPython errors less intimidating. In several cases the errors are caused by bugs in MicroPython or USB driver and there is no use of showing the stacktrace. User is now directed to restart the device and stacktrace can be checked from the backend.log, #1799
    • Make MicroPython back-end advise Ctrl+C also if only whitespace characters get printed, #1755
    • Allow running MicroPython scripts without soft-rebooting first, #1565, #1716
    • Add generic "MicroPython (RP2040)" back-end in addition to the more specific "MicroPython (Raspberry Pi Pico)", #2151
    • Mention the possibility to reconfigure file types when denying opening remote files in a system app, #2148

    Various

    • Add new toolbar button which opens the wiki page describing ways to help Ukraine survive the attack from Russia.
    • Allow running content of untitled editors without saving, #778
    • Clear Shell before starting new process (Run, Debug, Stop/Restart, ...) by default. Can be turned off in Tools => Options => Shell, #1681
    • Make stacktrace links to and pseudo-files go to the editor containing corresponding source, #778
    • Ask confirmation for adding .py extension when the user saves the file without any extension to MicroPython/CircuitPython device, #2077
    • Don't add the .py extension when the user saves a local file and selects "All files" filter.
    • Add Cut/Copy/Paste to the file browser, #2001 by @kr-g
    • Make editor remember current line when reloading external changes, #2001 by @kr-g
    • Add "Edit => Go to line..." command (Ctrl-G), #2001 by @kr-g
    • Add "Rename" command for the local file browser, #2001 by @kr-g
    • Add nicer Stop-button for higher resolutions, #1445 by @speedy-10
    • Improve icon scaling -- use larger icons when Treeview row height is larger than general.large_icon_rowheight_threshold
    • Use default font in Treeviews (including Files and Variables view). Therefore Treeview's font size is now affected by the scaling factor and is not affected by editor font size.
    • Use isolated mode for launching Thonny. This includes hiding user-site packages from Thonny's GUI process (not from user programs). Plug-ins now get installed under Thonny's data folder, #2038, #1651
    • Allow installing packages for remote CPython backend, #1319
    • Flatten the list of interpreters in the backend-switcher menu (lower-right corner of the main window)
    • Removed previously deprecated "A special virtual environment". Use regular virtual environments instead.
    • Merge "The same interpreter which runs Thonny" and "Alternative Python 3 interpreter or virtual environment" back-ends into "Local Python 3"
    • Back-end switcher now remembers several configurations for remote CPython and MicroPython.
    • Make package manager work for remote Python 3 (SSH)

    Fixes

    • Fix issues with printouts containing more than 999 lines, #2118, #1646
    • Fall back to default theme when used 3rd party theme gets uninstalled, #2117
    • Fix problem with Files hamburger menu when nothing is selected, #2101
    • Fix Windows version detection in "Tools => Open system shell", #1961
    • Make sure Thonny's dialogs are treated as dialogs in macOS and Linux, #1790
    • Don't issue two Ctrl+C-s too quickly in row when interrupting MicroPython process, in order to give time for finally-blocks to clean up, #1757
    • Fix asm_pio error when working in with RP-pico in shell mode, #1718
    • Fix the crash when scripts longer than 4KB are sent to Python 3 SSH back-end, #1680
    • Properly interrupt MicroPython code before submitting new code when using F5 while code is running, #1668
    • Use "vista" Tk-theme instead of "xpnative" in Windows. Gives nicer combobox, #1663
    • Fix problems with full screen and split screen views in macOS, #1293, #1012
    • Fix the crash when pasting certain Unicode chars to editor in macOS, #32
    • Fix the crash caused by Cmd-backtick and others with Spanish keyboard in macOS, #886
    • Fix focus issues in dialogs, #2153
    • Fix automatic horizontal scrollbar not always appearing, #2169 and #659 by @jharris1993 and @lurch
    • Forward SSH password to the back-end process via stdin instead of command line.
  19. 3.3.14

    展开

    GitHub Release

    Minor update.

    • Fix problems in org.thonny.Thonny.appdata.xml
    • Allow assigning Python coloring for Python-like files, #1927
    • Increase the initial top coordinate of Thonny's main window. Fixes problem of Thonny's title bar being hidden by the system menubar, #1925
  20. 3.3.13

    展开

    GitHub Release

    Version 3.3.12 was a bug-fix release (not released on GitHub). Version 3.3.13 adds a small metadata update relevant (relevant only for Linux packagers).

    Installation

    • Windows: download and execute thonny-3.3.13.exe. You may receive a warning dialog from Defender until it gains more reputation. Just click "More info" and "Run anyway". NB! Windows installer has been refactored, see https://github.com/thonny/thonny/wiki/DeploymentOptions#all-users-vs-current-user-install for more info!
    • macOS: download and open thonny-3.3.13.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.13.pkg may work, but if you are having problems, then try thonny-3.3.10-alt.pkg from the previous release. 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 on 32-bit and 64-bit x84: download thonny-3.3.13.bash and execute it with Bash (bash thonny-3.3.13.bash).
    • All platforms: create a virtual environment, install with pip install thonny and run with thonny.

    thonny-xxl variants have more packages preinstalled.

    Changes since 3.3.11

    • Restore syncing to localtime for RPi Pico (fixed regression introduced in 3.3.11), #1886
    • Fix installing from requirements.txt in MicroPython, #1879
    • Allow specifying different colors for method and function calls, by Jonathan Campbell, #1884
    • Extend editor API for plug-ins (close event and content load/save hooks), by Nicolas Despres, #1891
    • Fix technical errors in some translations, by Karolina Surma, #1895
    • Warn when inputting non-ascii chars in MicroPython, #1911
    • Fix installing for all users in Windows installer, #1119 and #1909. See https://github.com/thonny/thonny/wiki/DeploymentOptions#all-users-vs-current-user-install for more info.
    • Prepare Thonny for Flatpak, by Jordan Williams, #1900 and #1912
    • Update minipip to 0.1b5 in order to skip installing Blinka when installing libraries for CircuitPython
    • Update Polish translation
    • Update org.thonny.Thonny.appdata.xml
  21. 3.3.11

    展开

    GitHub Release

    This is a bug-fix release.

    Installation

    • Windows: download and execute thonny-3.3.11.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.11.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.11.pkg may work, but if you are having problems, then try thonny-3.3.10-alt.pkg from the previous release. 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 on 32-bit and 64-bit x84: download thonny-3.3.11.bash and execute it with Bash (bash thonny-3.3.11.bash).
    • All platforms: create a virtual environment, install with pip install thonny and run with thonny.

    thonny-xxl variants have more packages preinstalled.

    Changes since 3.3.10:

    • Fix MicroPython management errors when user code shadows built-in names, #1856
    • Fix package manager getting frozen when installing packages, #1871
    • Fix problem of MicroPython package manager taking module names for distribution names, #1833
    • Fix ugly error in ESP flasher dialog when esptool is not found, #1837
    • Fix Tkinter error when using venv created from bundled Python, #1835
    • Use 0..6 for weekday when synchronizing RTC via machine, #1868
    • Make esptool auto-detect chip type, #1838
    • Fix Unix MicroPython time validation (misdiagnosed time offset)
    • Update dependencies in Thonny+Python bundles
    • Update Spanish, Polish, Chinese (TW) translations
  22. 3.3.10

    展开

    GitHub Release

    This is mainly a bug-fix release with one new feature -- the ability to install pip-compatible packages for MicroPython.

    Note that 3.3.8 and 3.3.9 were not published on GitHub.

    Installation

    • Windows: download and execute thonny-3.3.10.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.10.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.10.pkg may work, but if you are having problems, then try thonny-3.3.10-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 on 32-bit and 64-bit x84: download thonny-3.3.10.bash and execute it with Bash (bash thonny-3.3.10.bash). UPDATE: pip support in Linux bundles was fixed on May 20th. If you downloaded it before this, then please download again!
    • All platforms: create a virtual environment, install with pip install thonny and run with thonny.

    thonny-xxl variants have more packages preinstalled.

    alt-variants are bundled with Python 3.9.5 (instead of 3.7.9) and Tk 8.6.11. Not all platforms have alt-variants -- see 3.3.7 for more.

    Known issues

    • Installing MicroPython packages from requirements files doesn't work (#1823).

    Changes since 3.3.7:

    • Support installing regular pip-compatible packages to MicroPython or CircuitPython (so far only upip-compatible packages were supported), #1541
    • Fix "error 403" problems when installing MicroPython packages from PyPI, #1822
    • Fix error when Object inspector is open and a MicroPython object can't be found by id, #1796
    • Reduce memory usage by Thonny's MicroPython helper (store last REPL value in global _ instead of storing N last values in a list), #1797, #1798
    • Upgraded several dependencies in binary bundles
    • Fix missing libffi6 error in Linux builds, #767
  23. 3.3.7

    展开

    GitHub Release

    This is mainly a bug-fix release.

    Installation

    • Windows: download and execute thonny-3.3.7.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.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!
    • macOS Big Sur: thonny-3.3.7.pkg may work, but if you are having problems, then try thonny-3.3.7-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.7.bash and execute it with Bash (bash thonny-3.3.7.bash)

    thonny-xxl variants have more packages preinstalled.

    alt-variants are bundled with Python 3.9.5 (instead of 3.7.9) and Tk 8.6.11. Note that alt Windows installer is 64-bit.

    thonny-3.3.7-py38.exe is with Python 3.8 (latest Python version supporting Windows 7 and 8).

    Changes since 3.3.6:

    • Make confugration dialog larger to fit French strings, by sourceperl, #1694
    • Fix "_prepare_after_soft_reboot" error in Unix MicroPython mode, #1715
    • Support interactive programs with Unix MicroPython, #1725
    • Fix read-only filesystem error for CircuitPython in non-English variants of CircuitPython, #1662
    • Fix error on right clicking in local file explorer with Italian translation, #1713
    • Fix back-end switcher menu position and theme, #1719, #1720
    • Fix "pop from empty list" error when MicroPython is having problems, #1586
    • Fix MYPYPATH / MyPy not working, #1124
    • Highlight unclosed strings even inside unclosed parens, #1770
    • Fix problem running code via WebREPL, #1762
    • Make Outline show also async, defs #1787
    • Don't show full error info when ManagementError doesn't seem to be Thonny's fault, #1788
    • Don't show error dialog when querying globals fails (error is shown on the variables table instead), #1789
    • Recover from corrupted rpc.sock ("invalid literal for int() with base 10" error), #1745
    • Add 3 translated Help files for Spanish, by José Carlos García, #1759
    • Add Korean translations of Help files, by Hyungseok Choi, #1758
    • Add first version of Finnish translation by Lrasinen
    • Update translations for Albanian, French, Korean
    • Add newer MyPy (0.812) to binary bundles
  24. 3.3.6

    展开

    GitHub Release

    The main purpose of this release is to fix a regression introduced in 3.3.4 (#1670).

    Installation

    • Windows: download and execute thonny-3.3.6.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.6.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.6.pkg may work, but if you are having problems, then try thonny-3.3.6_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.6.bash and execute it with Bash (bash thonny-3.3.6.bash)

    thonny-xxl variants have more packages preinstalled.

    Changes since 3.3.5:

    • Fix crash in Shell when negative int-s are evaluated in MicroPython (regression introduced in 3.3.4), #1670
    • Fix problems with wm_overrideredirect on macOS with Tk 8.6.11, #1659
    • Fix crash in Plotter when more than 10 numbers are plotted, #1648
    • Hide unsuitable PYTHONPATH environment variable in macOS, #1651