Repository navigation
Releases: int-brain-lab/tycmd-wrapper
Releases · int-brain-lab/tycmd-wrapper
Release list
v0.4.1
Immutable
release. Only release title and notes can be modified.
v0.4.0
Added
TycmdError, asubprocess.CalledProcessErrorraised whenever tycmd fails - its message is
tycmd's own error messageBoardtype for the entries returned bylist_boards(), andCapability,BoardActionand
RtcModetype aliases- warnings from tycmd are logged as they occur, and requests to press the board's button are
always logged as warnings, regardless oflog_level
Changed
- breaking: options of
upload()andreset()are keyword-only, andupload()'s
reset_boardandrtc_modearguments are renamed toresetandrtc - breaking: failing tycmd calls raise
TycmdErrorinstead ofChildProcessError - breaking:
identify()raisesValueErrorif tycmd can't load the firmware file - breaking:
version()raisesRuntimeErrorif the version can't be determined - breaking:
upload()raisesValueErrorfor an invalidrtcvalue - breaking: only the tycmd binary bundled with tycmd-wrapper is used - there is no fallback to
atycmdon the PATH anymore list_boards()always includesserialanddescription, set toNoneif a board doesn't
report themFileNotFoundErrorandIsADirectoryErrorfor firmware files carryerrnoandfilename- tycmd's output is decoded as UTF-8, independent of the system's locale
- tycmd is killed if a call is interrupted (e.g. by
KeyboardInterrupt) instead of being waited
for - tycmd-wrapper is a package (
tycmd/) instead of a single module - improved typehints
- simplified workflow for publishing to PyPI
Removed
- support for
.ehexfirmware files, which the bundled tycmd 0.9.9 can't load
Fixed
version()returns the complete version string, including suffixes such as-beta.2- board tags are stripped from every line of tycmd's output, including tags of boards without a
serial number, of secondary interfaces and of generic boards identify()handles backslashes, tabs and newlines in firmware filenames- type checkers now pick up the
py.typedmarker
Full Changelog: v0.3.1...v0.4.0
v0.3.1
v0.3.0
Changed
- macOS now ships as two separate, correctly-tagged wheels (
macosx_11_0_arm64andmacosx_11_0_x86_64) instead of a single x86_64-only wheel, fixing installation on Apple Silicon - Linux arm64 is now a published wheel target
- the tycmd binary is no longer committed to the repository; it's built from source during CI (and on demand for local installs) instead
Full Changelog: v0.2.1...v0.3.0
v0.2.1
Changed
- changed default log-level for reset() and upload() to INFO
- added a few examples to README.md
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Added
- upload() method for uploading firmware file
- status messages will be sent to log
Changed
- moved 'port' kwarg ahead of 'serial'
- raise ChildProcessError instead of RuntimeError
Full Changelog: v0.1.2...v0.2.0
v0.1.2
Changed
- dropped 'verbose' argument from list_boards()
- dropped 'full' argument from version()
Full Changelog: v0.1.1...v0.1.2
v0.1.1
v0.1.0
First release.
Full Changelog: https://github.com/int-brain-lab/tycmd-wrapper/commits/v0.1.0