Releases: BrianPugh/belay
Releases · BrianPugh/belay
v0.21.0
Features
- Add pyproject tool.belay.ignore functionality for
belay install
.
Bug Fixes
- Fix sync ignores for directories. by @BrianPugh in #139
Full Changelog: v0.20.1...v0.21.0
v0.20.1
Bug Fixes
- remove dependency version caps by @BrianPugh in #134
belay select
fixes:- handle case where no devices are found by @BrianPugh in #135
- neopixel blinking on micropython firmware by @BrianPugh in #137
- Correctly propagate belay run exitcode by @BrianPugh in #136
Full Changelog: v0.20.0...v0.20.1
v0.20.0
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 variableBELAY_DEVICE
into aUsbSpecifier
. - Also now accepts a json-string representation of a
UsbSpecifier
.
- The first argument (port-specifier) to
- 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 ofbelay select
list_devices
now returns a list ofUsbSpecifier
s instead ofList[str]
.
Full Changelog: v0.19.2...v0.20.0
v0.19.2
v0.19.1 - setup with args bugfix
#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
Features
- Inclusion of an interactive terminal (wrapper for pyserial's miniterm):
- The
Device
class now has a methodterminal()
that will start a blocking interactive terminal. - New command:
belay terminal [port]
to open up an interactive terminal with the device.
- The
- 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. Pressctrl-c
to exit.
- If
Bug Fixes
belay install [PORT] --main script.py
now correctly renames the specified script tomain.py
on-device.- Improved Typing.
Full Changelog: v0.18.4...v0.19.0