Mu Changelog

What's new in Mu 1.2.0

Nov 15, 2022
  • This release introduces Snek mode, fixes some minor bugs, addresses some usability gremlins and adjusts some capabilities to make things tidier. Much of this work was done over the summer at the code-sprints at EuroPython 2022 in Dublin. Kudos and thanks to all the new contributors to Mu.
  • Thanks to @keith-packard for Snek mode. Snek is a Python inspired language for processors too small even to run MicroPython.
  • @tmontes contributed changes so Mu builds to Linux AppImages (an easy way to package application for Linux).
  • Minor fixes by @stratakis in the Russian translation.
  • @carlosperate fixed many minor glitches and gremlins.
  • @carlosperate was on fire 🔥 with fixes needed to ensure Mu continues to work with very old versions of OSX (as used in many educational institutions).
  • Again, thanks to @carlosperate, AppImage with Wayland no longer the setting of an environment variable to make it work properly.
  • The web mode includes simple and easy to use integration with beginner and education friendly web hosts, PythonAnywhere.
  • @agdales, @Jeffrey04, @johannaengland and @AnjaVerboven contributed new messages of the day as part of their onboarding at EuroPython.
  • @tonybaloney contributed several Windows based fixes and clean-ups.
  • @johannaengland and @prcutler were on fire tidying up and fixing docs at EuroPython.
  • A bug was fixed in the web mode relating to the resolution and/or recreation of the assets directory (in which images, css and templates were to be found).
  • Or friend at Adafruit, @tannewt made the necessary changes so Mu handles OSC commands gracefully (see the PR for more details).
  • New contributor, @zigit ensured "Unexpected Maker" based ESP boards are correctly detected.
  • Thanks to @Jayman2000, error messages are correctly capitalized (or not) to avoid potential confusion.

New in Mu 1.1.1 (Feb 23, 2022)

  • Minor clean ups in the Makefile.
  • Thank you to @microbit-mark for updating the board IDs to support version 2.2 of the device.
  • Updates to the Chinese translation by @CSharperMantle. 謝謝。
  • Updates to the Slovak translation by @bletvaska. Ďakujem.
  • The foundations of a brand new Russian translation of Mu by @grovz with contributions from @iamdbychkov. спасийО!
  • Thanks to @MinoruInachi (with feedback from @odaki) for a revised Japanese translation for Mu. ありがとうございます
  • Due to complicated dependency problems, we've updated the bundled version of Flask to 2.0.3. Thanks to @carlosperate for quickly resolving this problem.
  • Due to limitations in the way Windows MSI installers work, we're releasing this version as 1.1.1 (rather than 1.1.0).

New in Mu 1.0.3 (Jan 27, 2020)

  • Updated to the latest version of Qt to fix syntax highlighting issues in OSX.
  • Ensure CWD is set to the directory containing the script to be run in Python3 mode.

New in Mu 1.0.2 (Jan 16, 2019)

  • Another bugfix and translation release. No new features were added. Unless there are show-stoppers, the next release will be 1.1 with new features.
  • Updated OSX to macOS, as per Apple’s usage of the terms. Thanks Craig Steele.
  • Updates and improvements to the Chinese translation. Thank John Guan.
  • Improved locale detection on macOS. Many thanks to Tiago Montes.
  • Cosmetic stripping of trailing spaces on save. Thanks to Tim Golden.
  • Update PyQt version so pip installed Mu works with Python 3.5. Thanks to Carlos Pereira Atencio.
  • Fix incorrect setting of dataTerminalReady flag. Thanks to GitHub user @wu6692776.
  • Spanish language improvements and fixes by Juan Biondi, @yeyeto2788 and Carlos Pereira Atencio.
  • Improvements and fixes to the German translation by Eberhard Fahle.
  • Fix encoding bug on Windows which caused crashes and lost files. Many thanks to Tim Golden for this work.
  • Keyboard focus loss when closing REPL is now fixed. Thanks again Tim Golden.
  • More devices for Adafruit mode along with a capability to work with future devices which have the Adafruit vendor ID. Thanks to Limor Friend for this contribution.
  • Fix a bug introduced in 1.0.1 where output from a child Python process was being truncated.
  • Fix an off-by-one error when reading bytes from UART on MicroPython devices.
  • Ensure zoom is consistent and remembered between panes and sessions.
  • Ensure mu_code and/or current directory of current script are on Python path in Mu installed from the installer on Windows. Thanks to Tim Golden and Tim McCurrach for helping to test the fix.
  • Added Argon, Boron and Xenon boards to Adafruit mode since they’re also supported by Adafruit’s CircuitPython.
  • The directory used to start a load/save dialog is either what the user last selected, the current directory of the current file or the mode’s working directory (in order of precedence). This is reset when the mode is changed.
  • Various minor typo and bug fixes.

New in Mu 1.0.1 (Oct 2, 2018)

  • This is a bug-fix release. The only other enhancements to Mu have been updates to MicroPython on the micro:bit and more translations.

New in Mu 1.0.0 (Jul 21, 2018)

  • Fix for font related issues in OSX Mojave. Thanks to Steve Stagg for spotting and fixing.
  • Fix for encoding issue encountered during code checking. Thanks to Tim Golden for a swift fix.
  • Fix for orphaned modal dialog. Thanks for spotting this Zander Brown.
  • Minor revisions to hot-key sequences to avoid duplications. All documented at https://codewith.mu/en/tutorials/1.0/shortcuts.
  • Update to latest version of uflash and MicroPython 1.0.0-rc.2 for micro:bit.
  • Updated to latest GuiZero in Windows installers.
  • Update third party API documentation used by QScintilla for code completion and call tips. Includes CircuitPython 3 and PyGame Zero 1.2.
  • Added swag related graphics to the repository (non-functional change).

New in Mu 1.0.0 RC 1 (Jul 17, 2018)

  • Various UI style clean ups to make sure the look of Mu is more consistent between platforms. Thanks to Zander Brown for this valuable work.
  • Added French translation of the user interface. Thanks to Gerald Quintana.
  • Added Japanese translation of the user interface. Thanks to @MinoruInachi.
  • Added Spanish translation of the user interface. Thanks to Carlos Pereira Atencio with help from Oier Echaniz.
  • Added Portuguese translation of the user interface. Thanks to Tiago Montes.
  • Fixed various edge cases relating to the new-style flashing of micro:bits.
  • Fixed off-by-one error in the visual debugger highlighting of code (caused by Windows newlines not correctly handled).
  • Fixed shadow module related problem relating to Adafruit mode. It’s now possible to save “code.py” files onto boards.
  • Updated to latest version of uflash and MicroPython 1.0.0-rc.1 for micro:bit.
  • Various minor bugs and niggles have been fixed.

New in Mu 1.0.0 Beta 17 (Jul 10, 2018)

  • Update to the latest version of uflash with the latest version of MicroPython for the BBC micro:bit.
  • Change flashing the BBC micro:bit to become more efficient (based on the copying of files to the boards small “fake” filesystem, rather than re-flashing the whole device in one go).
  • Ensure user agrees to GPL3 license when installing on OSX.
  • Fix Windows “make” file to correctly report errors thanks to Tim Golden.
  • The debugger in Python mode now correctly handles user-generated exceptions.
  • The debugger in Python mode updates the stack when no breakpoints are set.
  • Major update of the OSX based automated build system.
  • Modal dialog boxes should behave better on GTK based desktops thanks to Zander Brown.
  • Right click to access context menu in file panes in micro:bit mode so local files can be opened in Mu.
  • Fix bug where REPL, Files and Plotter buttons got into a bad state on mode change.
  • Update to use PyQt 5.11.
  • On save, check for shadow modules (i.e. user’s are not allowed to save code whose filename would override an existing module name).
  • Automatic comment toggling via Ctrl-K shortcut.
  • A simple find and replace diaolog is now available via the Ctrl-F shortcut.
  • Various minor bugs and niggles have been squashed.

New in Mu 1.0.0 Beta 16 (Jun 21, 2018)

  • Updated flashing in micro:bit mode so it is more robust and doesn’t block on Windows. Thank you to Carlos Pereira Atencio for issue #350 and the polite reminder.
  • Updated the mu-debug runner so if the required filename for the target isn’t passed into the command, a helpful message is displayed to the user.
  • Developer documentation updates.
  • Updated to the latest version of uflash, which contains the latest stable release of MicroPython for the micro:bit. Many thanks to Damien George for all his continuing hard work on MicroPython for the micro:bit.
  • Inclusion of tkinter, turtle, gpiozero, guizero, pigpio, pillow and requests libraries as built-in modules.
  • Update to latest version of Pygame Zero.
  • Fix plotter axis label bug which wouldn’t display numbers if value was a float.
  • Separate session and settings into two different files. Session includes user defined changes to configuration whereas settings contains sys-admin-y configuration.
  • Update the CSS for the three themes so they display consistently on all supported platforms. Thanks to Zander Brown for his efforts on this.
  • Move the mode selection to the “Mode” button in the top left of the window.
  • Support for different encodings and default to UTF-8 where possible. Many thanks to Tim Golden for all the hard work on this rather involved fix.
  • Consistent end of line support on all platforms. Once again, many thanks to Tim Golden for his work on this difficult problem.
  • Use mu-editor instead of mu to launch the editor from the command line.
  • More sanity when dealing with cross platform paths and ensure filetypes are treated in a case insensitive manner.
  • Add support for minification of Python scripts to be flashed onto a micro:bit thanks to Zander Brown’s nudatus module.
  • Clean up logging about device discovery (it’s much less verbose).
  • Drag and drop files onto Mu to open them. Thanks to Zander Brown for this really useful feature.
  • The old logs dialog is now an admin dialog which allows users to inspect the logs, but also make various user defined configuration changes to Mu.
  • Plotter now works in Python 3 mode.
  • Fix problem in OSX with the mount command when detecting Circuit Python boards. Thanks to Frank Morton for finding and fixing this.
  • Add data flood avoidance to the plotter.
  • OSX automated packaging. Thanks to Russell Keith-Magee and the team at BeeWare for their invaluable help with this problematic task.
  • Refactoring and bug fixing of the visual debugger’s user interface. Thank you to Martin O’Hanlon and Carlos Pereira Atencio for their invaluable bug reports and testing.
  • Various fixes to the way the UI and themes are displayed (crisper icons on HiDPI displays and various other fixes). Thanks to Steve Stagg for putting lipstick on the pig. ;-)
  • A huge number of minor bug fixes, UI clean-ups and simplifications.

New in Mu 1.0.0 Beta 15 (Jun 21, 2018)

  • A new plotter works with CircuitPython and micro:bit modes. If you emit tuples of numbers via the serial connection (e.g. print((1, 2, 3)) as three arbitrary values) over time these will be plotted as line graphs. Many thanks to Limor “ladyada” Fried for contributing code for this feature.
  • Major refactoring of how Mu interacts with connected MicroPython based boards in order to enable the plotter and REPL to work independently.
  • Mu has a new mode for Pygame Zero (version 1.1). Thanks to Dan Pope for Pygame Zero and Rene Dudfield for being Pygame maintainer.
  • It’s now possible to run mu “python3 -m mu”. Thanks to Cefn Hoile for the contribution.
  • Add support for pirkey Adafruit board. Thanks again Adafruit.
  • Updated all the dependencies to the latest upstream versions.
  • Various minor bug fixes and guards to make Mu more robust (although this will always be bugs!).

New in Mu 0.9.13 (Oct 25, 2017)

  • Add ability to change default Python directory in the settings file. Thanks to Zander Brown for the contribution. See #179.

New in Mu 0.9.12 (Oct 25, 2017)

  • Change the default Python directory from ~/python to ~/mu_code.
  • Add instructions for installing PyQt5 and QScintilla on Mac OS.
  • Update to latest version of uFlash.
  • Add highlighting of search matches.
  • Check if the script produced is > 8k.
  • Use a settings file local to the Mu executable if available.
  • Fix bug with highlighting code errors in Windows.
  • Check to overwrite an existing file on the micro:bit FS.
  • Start changelog