github pybricks/pybricks-micropython v4.0.0b11
4.0.0b11

latest releases: v4.1.3, v4.1.2, v4.1.1...
pre-release5 months ago

4.0.0b11 - 2026-05-30

Added

  • Added power_pin (int) on UARTDevice()

Changed

  • Changed powered (bool) to power_pin (int) on I2CDevice() to make it
    generic enough for all iodevices like UARTDevice. Added permission request.
  • Moved BLE broadcasting and observing to pybricks.messaging.BLERadio instead
    of an object on each hub (support#2274).
  • Moved pybricks.tools.AppData to pybricks.messaging.AppData (support#2274).

Fixed

  • Fixed SPIKE Prime and possibly other hubs with Bluetooth stuck on shutdown in
    case of an unhandled Bluetooth issue. This fixes the forced shutdown guard.
    This would otherwise prevent shutdown and reboot in some cases if the hub
    was being shutdown while still connected to Bluetooth.
  • Fixed SPIKE Prime waiting indefinitely on sending a Bluetooth message if the
    hub became disconnected. On shutdown, this would then lead to the issue above.
  • Increased number of data messages that may be missed in the LUMP protocol before
    falling out of sync. We were more lenient about this in v3.6.1 and third
    party devices have come to rely on this, so we keep it (support#2698).

Don't miss a new pybricks-micropython release

NewReleases is sending notifications on new releases.