Skip to content

Releases: pybricks/pybricks-code

v2.0.0-beta.12

02 Dec 18:22
Compare
Choose a tag to compare

Added

  • Added in-app LEGO firmware restore for USB/DFU hubs.
  • Added Pybricks logo when no files open.

Changed

  • Firmware restore for hubs with USB is now done in-app (pybricks-code#1104).

  • Moved Tour button from toolbar to settings.

  • Updated docs, code completion and other dependencies.

  • Updated firmware to v3.2.0b6:

    • Added support for PBIO_PYBRICKS_COMMAND_REBOOT_TO_UPDATE_MODE Pybricks
      Profile BLE command.
    • Implemented Motor.load() which now measures load both during active
      conditions (run) and passive conditions (dc).

    Changed

    • The Pybricks Code stop button will force the program to exit even if the user
      catches the SystemExit exception (pybricks-micropython#117).
    • Changed PrimeHub.display.image() to PrimeHub.display.icon() and renamed
      its kwarg from image to icon (support#409).
    • Deprecated Control.load(), Control.stalled(), and Control.done()
      methods ([support#822]).

    Fixed

    • Fixed connecting Remote on BOOST move hub (support#793).

    Removed

    • Removed hub.system.reset() method.
    • Disabled micropython module on Move Hub.

Fixed

  • Fixed missing warning sign icon.
  • Fixed error message for program too big for download (support#810).

v2.0.0-beta.11

11 Nov 19:14
Compare
Choose a tag to compare

Fixed

  • Fixed app freezing when checking for updates and update server is unreachable (pybricks-code#1299).
  • Added delay to try to mitigate errors when flashing firmware on city hubs (support#792).

v2.0.0-beta.10

11 Nov 18:03
Compare
Choose a tag to compare

Added

Changed

  • Updated documentation.

  • Updated other dependencies.

  • Update Pybricks firmware to v3.2.0a5:

    Added

    • Added DriveBase.stalled() for convenient stall detection.
    • Added DriveBase.done() for convenient completion detection.
    • Added Motor.done() for convenient completion detection.

    Fixed

    • Fixed brief hub freeze on pybricks.common.Logger.save() when not connected
      to the computer (support#738).
    • Fixed drive base stall flags being set while not stalled (support#767).
    • Fixed Motor.run_target raising exception for short moves (support#786).

Fixed

  • Fixed firmware checksum validation when checksum === 0.
  • Fixed activity views not scrolling when contents don't fit (support#782).

v2.0.0-beta.9

27 Oct 18:26
Compare
Choose a tag to compare

Added

  • Added feature to close editor tab on middle click (support#758).

Fixed

  • Fixed long time until UI visible on resource-constrained systems.

Removed

v2.0.0-beta.8

25 Oct 16:51
Compare
Choose a tag to compare

Fixed

  • Fixed crash when user program contains syntax error (support#755).

v2.0.0-beta.7

24 Oct 20:31
Compare
Choose a tag to compare

Fixed

  • Fixed UI temporary freeze when downloading and running programs (support#750).

v2.0.0-beta.6

21 Oct 21:31
Compare
Choose a tag to compare

Added

Changed

  • Updated dependencies.

  • Updated documentation.

  • Updated APIs for code completions.

  • Update hub firmware to v3.2.0b4:

    Added

    • Added hub shutdown status light indication.
    • Added boot and shutdown light matrix animations.
    • Added new indication for over-charging battery (blinking green light).
    • Added iterator protocol support to geometry.Matrix class.
    • Added support for multi-file projects (pybricks-micropython#115).
    • Added new System.storage() API (support#85).

    Changed

    • Battery full indication (green light) comes on earlier (support#647).
    • User program is saved to non-volatile memory at shutdown on all hubs.
    • Restored the Motor.speed() method and DriveBase equivalent to provide
      speed as a numerical derivative of the motor position.
    • Starting REPL automatically imports all modules (support#741).
    • Updated Bluetooth to Pybricks Profile v1.2.0.
    • Bluetooth now uses random private address instead of static public address
      (support#600).

    Fixed

    • Fixed motors going out of sync when starting program (support#679).
    • Fixed motor torque signal overflowing under load (support#729).
    • Fixed city hub turning back on after shutdown (support#692).
    • Fixed IMU I2C bus lockup on SPIKE hubs (support#232).
    • Fixed REPL history corrupt after soft reset (support#699).
    • Fixed "ValueError: incompatible .mpy file" when pressing the button when
      there is no program yet (support#599).

Fixed

  • Fixed run button enabled when no file open (support#691).
  • Fixed flash firmware dialog not showing when settings not open (support#694).
  • Fixed errors not handled while flashing firmware via USB (pybricks-code#1011).
  • Fixed imports with invalid file name silently ignored (support#717).
  • Fixed code completion not working when offline (pybricks-code#938).

Removed

  • Removed feature to include custom main.py when flashing firmware.
  • Removed support for file names containing -.

v2.0.0-beta.5

28 Jul 17:05
Compare
Choose a tag to compare

Fixed

v2.0.0-beta.4

28 Jul 17:05
Compare
Choose a tag to compare

Added

  • Added better error message when no files to backup (support#681).
  • Added multi-step firmware flashing dialog.
  • Added support for flashing firmware via USB DFU (support#659).
  • Added an interactive introductory tour of the app.
  • Added restore official LEGO firmware dialog.

Changed

  • Updated dependencies.

  • Updated firmware to Pybricks v3.2.0b3:

    Fixed

    • Fix integral control not working properly.

    Changed

    • Motor.run_time no longer raises an exception for negative time values.

Fixed

  • Fixed deleting files that are not open in the editor.

v2.0.0-beta.3

06 Jul 19:50
Compare
Choose a tag to compare

Changed

  • Updated dependencies.

  • Updated firmware to Pybricks v3.2.0b2:

    Added

    • Added Motor.stalled() method.

    Fixed

    • Fixed motor not stopping at the end of run_until_stalled (support#662).
    • Fixed incorrect battery current reading on Technic hub (support#665).
    • Fixed non-zero speed reported when motor stalled.
    • Fixed I/O devices not syncing at high baud rate.
    • Fixed ENODEV error while device connection manager is busy (support#674).

    Changed

    • Reworked internal motor model that is used to estimate speed.
    • Speed methods now use estimated speed instead of reported speed.
    • Changed drive base default speed to go a little slower.
    • Updated MicroPython to v1.19.