Saltar al contenido

Thonny Historial de versiones

Aivar Annamaa · Un IDE de Python para principiantes con intérprete integrado, inspección de variables, depuración paso a paso, visualización de expresiones y gestor gráfico de paquetes.

CaskHerramientas de desarrollo 4 mil
Inicio
Comando de instalación
brew install --cask thonny
Instalaciones en los últimos 30 días
386
Puesto 544 en Apps
Instalaciones del último año
3,8 mil
Total de los últimos 365 días
Última versión
5.0.1
Tamaño de descarga
54MB
pkg
Frecuencia de actualización
Irregular
0 versiones en 30 días
  1. 5.0.1

    ActualizadoParche

    Editado por OpenNavo Inclusión en Homebrew

    Actualiza Python y Tk incluidos, corrige los diálogos de macOS y Unicode y repara la gestión de plugins y la instalación de ESP MicroPython.

    • Los paquetes para macOS y Windows incluyen Python 3.14.10 y Tk 9.0.4 en lugar de Tk 8.6.17. Corrige bloqueos de diálogos en macOS 27 y problemas Unicode, incluida la búsqueda y sustitución de emojis.
    • Corrige NameError: name 'req' is not defined en el gestor de plugins y restaura la instalación de imágenes locales de ESP MicroPython.
    • Actualiza dependencias incluidas y exige esptool 5.0 y Python 3.10. Windows 7 y 8 dejan de ser compatibles, incluso con Python instalado por separado.

    Notas de la versión oficiales

  2. 5.0.0

    Editado por OpenNavo Inclusión en Homebrew

    Actualiza Python incluido a 3.14, añade instaladores separados para Mac con Apple silicon e Intel, admite versiones más recientes de Python y corrige un cierre inesperado al seleccionar paquetes en macOS.

    Cambios
    Actualiza Python incluido a 3.14

    🇺🇦 Thonny 5 está dedicado a Ucrania, que lucha contra la invasión rusa. ¡Por favor, apoya a Ucrania! 🇺🇦

    Originalmente estaba previsto que Thonny 5 incluyera muchas funciones nuevas, pero, como están tardando más de lo esperado, publicamos la versión 5 como una versión intermedia de corrección de errores, principalmente para añadir compatibilidad con versiones más recientes de Python. El número de versión principal se ha incrementado únicamente por las actualizaciones de dependencias en los paquetes. Todas las funciones nuevas se han trasladado al hito de la versión 6.

    Instrucciones de instalación

    ¡Atención! Se recomienda desinstalar Thonny 4 antes de instalar Thonny 5. Ten en cuenta también que puede aparecer un error al iniciar el nuevo Thonny si tu configuración anterior hacía referencia al ejecutable de Python en otra ubicación. En ese caso, haz clic en el botón de la esquina inferior derecha de la ventana de Thonny y selecciona un nuevo intérprete.

    Windows

    El instalador principal para Windows (thonny-5.0.0-x64.exe) es de 64 bits e incluye Python 3.14 -- esto significa que solo es adecuado para Windows 10 y 11 de 64 bits. Ya no se publican instaladores para Windows 7, 8 ni Windows 10 de 32 bits, pero puedes instalar una versión anterior de Python y Thonny por separado.

    Desde la versión 5.0 publicamos un instalador independiente para Windows en Arm.

    macOS

    Desde la versión 5.0 publicamos instaladores independientes para equipos Mac con Intel y Apple silicon (M1, M2, etc.) -- thonny-5.0.0-x64.pkg y thonny-5.0.0-arm64.pkg. La versión mínima de macOS compatible con estos instaladores es 10.15 (Catalina), pero puedes instalar una versión anterior de Python y Thonny por separado en versiones anteriores de macOS.

    Linux

    Desde la versión 5.0 ya no publicamos paquetes binarios para Linux. En su lugar, usa thonny-5.0.0.bash, que utiliza el Python de tu sistema y crea un venv para instalar Thonny y sus dependencias.

    ¡Atención! ~/apps/thonny/bin/thonny no funciona en esta versión; usa el lanzador de escritorio generado o ~/apps/thonny/bin/python -m thonny para iniciar la aplicación.

    Cambios desde 4.1.7

    Cambios que rompen la compatibilidad

    • Actualización de la versión de Python incluida a 3.14. ¡Esto significa que el instalador para Windows ahora requiere al menos Window 10 y el instalador para macOS requiere al menos Catalina! Python 3.8 sigue siendo compatible, por lo que, en principio, puedes usar esta versión en Windows 7, pero no ganarías mucho respecto a 4.1.7.
    • Se dejan de publicar binarios para Linux, #3210. El script de instalación para Linux ahora crea un venv privado (basado en el python3 del sistema) para Thonny incluso en x84_64.
    • Se deja de publicar el paquete XXL, ya que no es sencillo preparar paquetes para todas las arquitecturas populares y garantizar que no haya conflictos de versiones entre tantos paquetes. Para los docentes que dependían del paquete XXL, la alternativa es preparar un requirements.txt adecuado, que se puede usar como entrada en el gestor de paquetes de Thonny.
    • Se empiezan a publicar instaladores independientes para equipos Mac con Intel y Arm.
    • Se dejan de publicar instaladores para Windows de 32 bits.
    • Se empiezan a publicar instaladores para Arm-Windows.
    • La instalación «Para todos los usuarios» en Windows ahora se realiza en "C:\Program Files" en lugar de la ubicación anterior "C:\Program Files (x86)"

    Otros cambios y correcciones

    • Ahora se usan de forma predeterminada los cuadros de diálogo de archivos de Tk en lugar de Zenity en Linux (desmarca «Herramientas => Opciones => Usar los cuadros de diálogo de archivos de Tk en lugar de Zenity» para revertir esta elección)
    • Se añade compatibilidad con Python 3.11, 3.12, 3.13, 3.14, 3.15 (#3213, #3577, #3799, #2739, #3744 por @mkluson, #3082, #3729, #3552 por @plexus)
    • Se corrige un cierre inesperado en macOS al abrir el cuadro de diálogo de selección de paquetes
    • Se comprueba al iniciar si se está en un entorno virtual, #3112 por @scottfp
    • Se añade resaltado de sintaxis de Python para archivos pyx, #3450
    • Se usa subprocess.CREATE_NO_WINDOW al crear un subproceso en Windows, #2817, sugerido por @Damian-2001
    • Se permite detener el desplazamiento automático en la consola desplazándose hacia arriba, #1988
    • Se elimina una advertencia de búsqueda y reemplazo, #3593
    • Se añade compatibilidad con versiones más recientes de setuptools
    • Se añade compatibilidad con versiones más recientes de Tkinter (#3744 por @mkluson)
    • Se actualizan varias dependencias incluidas (Pylint, Mypy, esptool, etc.)
    • Se añaden traducciones al árabe, búlgaro, hindi, indonesio, islandés y malayalam. Se actualizan otras traducciones. ¡Gracias a todas las personas que han contribuido! Consulta los créditos en https://poeditor.com/projects/view?id=256075. ¡Ten en cuenta que los responsables del mantenimiento de Thonny no han revisado las traducciones!
    • Los cuadros de diálogo de escritura de firmware admiten más familias, #3847

    Regresiones corregidas desde 5.0.0b1

    • Se corrige el script de inicio de la interfaz gráfica que no funcionaba (especialmente relevante en Linux, ~/apps/thonny/bin/thonny vuelve a funcionar), #3844
    • Se corrige el envío de rutas de archivos como argumentos al lanzador de Thonny para Windows, #3835
    • Se corrige la gestión del portapapeles en Windows, #3832
    • Se corrige el error «No hay ningún bucle de eventos actual en el hilo 'MainThread'» en el cuadro de diálogo UF2 en Linux, #3775 por @matejmatuska

    Fuente: https://github.com/thonny/thonny/releases/tag/v5.0.0

  3. 5.0.0b1

    Versión preliminar

    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

    Expandir

    Editado por OpenNavo Inclusión en Homebrew

    Corrige la búsqueda de paquetes en PyPI, añade la selección de ESP32-C6, actualiza esptool incluido y corrige la falta de una dependencia en Linux.

    Cambios
    Corrige la búsqueda de paquetes en PyPI y añade la selección de ESP32-C6

    🇺🇦 Thonny 4 está dedicado a Ucrania en su lucha contra la invasión rusa. ¡Por favor, apoya a Ucrania! 🇺🇦

    Instrucciones de instalación

    Windows

    El instalador predeterminado para Windows (thonny-4.1.7.exe) es de 64 bits e incluye Python 3.10 -- esto significa que solo es compatible con Windows 8.1, 10 y 11 de 64 bits. Para Windows 7, 8 y Windows 10 de 32 bits, usa thonny-py38-4.1.7.exe, que incluye Python 3.8 de 32 bits.

    macOS

    thonny-4.1.7.pkg contiene una compilación Universal2 de Python 3.10 -- esto significa que es compatible tanto con Macs Arm como Intel.

    Linux

    thonny-4.1.7.bash es un script que descarga e instala thonny-4.1.7-x86_64.tar.gz (con Python 3.10) cuando se ejecuta en máquinas x86_64. En otras plataformas, intenta usar python3 del sistema (crea un entorno virtual para Thonny e instala thonny y sus dependencias en él)

    Cambios desde 4.1.6

    • Corregir la búsqueda de paquetes en PyPI. Thonny ahora basa los resultados de búsqueda en la lista de los 5000 paquetes más populares de PyPI. Si necesitas instalar un paquete menos popular, debes introducir el nombre exacto, #3401
    • Permitir seleccionar la familia ESP32-C6 en el diálogo de esptool, #3363
    • Actualizar org.thonny.Thonny.appdata.xml
    • Actualizar esptool incluido
    • Corregir la ausencia de la dependencia dbus-next en Linux

    Fuente: https://github.com/thonny/thonny/releases/tag/v4.1.7

  5. 4.1.6

    Expandir

    Editado por OpenNavo Inclusión en Homebrew

    Permite que el instalador de macOS funcione en Sequoia, añade permisos de la aplicación y corrige los metadatos de los paquetes, la instalación de paquetes locales y la instrumentación de MicroPython.

    Cambios
    Permite que el instalador de macOS funcione en Sequoia

    🇺🇦 Thonny 4 está dedicado a Ucrania en su lucha contra la invasión rusa. ¡Por favor, apoya a Ucrania! 🇺🇦

    Instrucciones de instalación

    Windows

    El instalador predeterminado para Windows (thonny-4.1.6.exe) es de 64 bits e incluye Python 3.10; esto significa que solo es compatible con Windows 8.1, 10 y 11 de 64 bits. Para Windows 7, 8 y Windows 10 de 32 bits, usa thonny-py38-4.1.6.exe, que incluye Python 3.8 de 32 bits.

    macOS

    thonny-4.1.6.pkg contiene una compilación Universal2 de Python 3.10; esto significa que es compatible tanto con equipos Mac con Arm como con Intel.

    Linux

    thonny-4.1.6.bash es un script que descarga e instala thonny-4.1.6-x86_64.tar.gz (con Python 3.10) al ejecutarse en equipos x86_64. En otras plataformas, intenta usar el python3 del sistema (crea un entorno virtual para Thonny e instala thonny y sus dependencias en él)

    Ten en cuenta que la versión 4.1.5 se publicó únicamente en PyPI y no se publicaron compilaciones binarias para esa versión.

    Cambios desde 4.1.4

    • Se hace que el instalador de macOS funcione en Sequoia, #3283
    • Se añaden más permisos al paquete de la aplicación para macOS (puede solucionar problemas con programas que usan la cámara o el micrófono)
    • Idiomas nuevos y actualizados gracias a los traductores de POEditor
    • Se corrige el tratamiento de valores nulos en los metadatos de PyPI (soluciona la instalación de algunos paquetes de PyPI)
    • Se evita que los cuadros de diálogo se queden bloqueados tras minimizar las ventanas, #3068
    • Se corrige la instrumentación excesiva del código de MicroPython, #3043
    • Se corrige la instalación de paquetes desde archivos locales
    • Se actualizan varias dependencias

    Fuente: https://github.com/thonny/thonny/releases/tag/v4.1.6

  6. 4.1.4

    Expandir

    GitHub Release Inclusión en 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

    Expandir

    GitHub Release Inclusión en 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

    Expandir

    GitHub Release Inclusión en 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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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