Skip to content

Releases: BrianPugh/belay

v0.21.0

30 May 23:16
Compare
Choose a tag to compare

Features

  • Add pyproject tool.belay.ignore functionality for belay install.

Bug Fixes

Full Changelog: v0.20.1...v0.21.0

v0.20.1

29 May 06:02
Compare
Choose a tag to compare

Bug Fixes

Full Changelog: v0.20.0...v0.20.1

v0.20.0

24 Apr 17:11
c180818
Compare
Choose a tag to compare

Features

  • Implementation-specific executers by @BrianPugh in #125
  • Add ignore_errors=False parameter to global executers. by @BrianPugh in #126
  • UsbSpecifier for fine-grained device target selection. by @BrianPugh in #122
    • The first argument (port-specifier) to belay.Device is now optional. If not provided will attempt to deserialize environment variable BELAY_DEVICE into a UsbSpecifier.
    • Also now accepts a json-string representation of a UsbSpecifier.
  • New interactive CLI command belay select to assist in device selection. by @BrianPugh in #127
  • Cleanup CLI commands stack traces:
    • Remove belay-internal stacktrace for install/run/exec cli commands by @BrianPugh in #130
    • Remove belay-internal stacktrace for 'belay run executable' command. by @BrianPugh in #129
  • "Bad" devices are naively removed from list_devices (e.g. cu.Bluetooth-Incoming-Port on MacOS). by @BrianPugh in #127

Bug Fixes

  • loosen dependency versions by @BrianPugh in #128
  • Fixed develop=True if a version didn't exist in the cached .belay/dependencies folder by @BrianPugh in #121
  • Add the current directory to the MICROPYPATH in belay run micropython

Breaking Changes

  • CLI belay identify has been removed in favor of belay select
  • list_devices now returns a list of UsbSpecifiers instead of List[str].

Full Changelog: v0.19.2...v0.20.0

v0.19.2

17 Mar 20:41
9ac6ddd
Compare
Choose a tag to compare

Bug Fixes

  • Fix reconnection issues #119 .

Misc Improvements

  • Higher performance serial reader; should result in lower host CPU usage.

Infrastructure Improvements

  • Greatly increased speed/reliability of integration tests.

Full Changelog: v0.19.1...v0.19.2

v0.19.1 - setup with args bugfix

13 Mar 18:13
16f6bf2
Compare
Choose a tag to compare

#Bug Fixes

  • Fixed providing arguments to a @Device.setup decorated method (Addresses #113).

Full Changelog: v0.19.0...v0.19.1

v0.19.0 - Terminal, Better Install, Better Typing

05 Mar 18:39
d5de3b2
Compare
Choose a tag to compare

Features

  • Inclusion of an interactive terminal (wrapper for pyserial's miniterm):
    • The Device class now has a method terminal() that will start a blocking interactive terminal.
    • New command: belay terminal [port] to open up an interactive terminal with the device.
  • Improvements to belay install:
    • If --main my_script.py is specified, device will now restart after installation so that the script will automatically execute.
    • New flag --follow: after flashing, the output of the main script will be monitored and printed to stdout. Press ctrl-c to exit.

Bug Fixes

  • belay install [PORT] --main script.py now correctly renames the specified script to main.py on-device.
  • Improved Typing.

Full Changelog: v0.18.4...v0.19.0

v0.18.4

18 Feb 16:40
dc9a0f4
Compare
Choose a tag to compare

Bug Fixes

  • Fix some git repo issues when switching a package manager dependency branch.

v0.18.3

16 Feb 19:45
c558220
Compare
Choose a tag to compare

Bug Fixes

  • On device close, we now issue 2 ctrl-c commands to make sure that any currently long-running command is canceled prior to issuing additional teardown commands.
  • Fix some typing issues.

v0.18.2

14 Feb 03:14
Compare
Choose a tag to compare

Bug Fixes

  • Fix broken @Device.teardown(). teardown was only broken when () was supplied. @Device.teardown worked fine.
  • Register device.close with atexit, so the teardown executers will be more robustly called.

v0.18.1

12 Feb 19:51
17fdfbb
Compare
Choose a tag to compare

Bug Fixes

  • Fixes a bug where relative path dependencies specified in pyproject.toml were resolved relative to current working directory. Fixed to always be relative to project root.
  • belay run micropython now respects develop=true sources.