MicroPython v1.28 Released
MicroPython v1.28 landed on April 6, 2026. Highlights:
machine.PWMnow available on stm32 and alif — completing PWM support across all Tier 1 and Tier 2 microcontroller-based ports- New standardized
machine.CANAPI, with stm32 as the first implementation (bxCAN and FD-CAN peripherals) - PEP 750 template strings (t-strings) — a new string literal type that keeps interpolation components as separate objects within a
Template - The
weakrefmodule withweakref.refandweakref.finalizeclasses - 11 new boards across esp32, mimxrt, rp2, and stm32
We’ve put together an interactive release notes page that runs real MicroPython in your browser via PyScript. Try editing and executing the t-string and weakref examples live.
For the full list of changes, see the v1.28.0 release on GitHub.
Written on April 19, 2026
