Releases: bessman/mcbootflash
Releases · bessman/mcbootflash
10.1.1
10.1.0
10.0.0
Changed
- Breaking: Rename --verbose CLI flag to --debug (
5116ffe
) - Breaking: Raise
bincopy.Error
instead ofValueError
inchunked
(452afb5
) - Improve CLI error handling (
5116ffe
) - Clarify
self_verify
docstring (fc8d16b
)
Added
- Implement
read_flash
(908aeac
) - Add
readback
utility function to read firmware image from flash (53481c2
) - Add support for Python 3.13 (
a74ed75
)
Removed
- Drop support for EOL Python 3.8 (
a74ed75
)
Fixed
- Breaking: Re-rename types.py to protocol.py to avoid shadowing built-in types.py (
2a66b7b
)
9.0.1
9.0.0
8.0.2
8.0.1
8.0.0 - 2023-11-09
Changed
- Breaking: Renamed
connection.py
toflash.py
(3319508) - Breaking: Renamed
protocol.py
totypes.py
(4d73ca0) - Renamed
file
argument to CLI tohexfile
(5a0d612) - Replace sphinx with mkdocs (4a9e854)
- Split tox.ini from pyproject.toml to separate file (08ef0ed)
- Use
from __future__ import annotations
(04ed4f9) - Improve CI time by not installing in environments that don't need it (6d381ee)
Added
- Add
BootAttrs
dataclass for holding bootloader attributes (afcfa08) - Add
Chunk
protocol for data which is to be written to flash (afcfa08) - Add
Connection
protocol for objects which provide a connection to a device in bootloader mode (afcfa08) - Add
get_boot_attrs
function to read bootloader attributes (3319508) - Add
chunked
to load and split HEX file into aligend chunks (afcfa08) - Add
erase_flash
to erase program memory range (3319508) - Add
write_flash
to write firmware chunks to flash (3319508) - Add
checksum
to compare local and remote data (3319508) - Add
self_verify
to detect installed application on device (3319508) - Add
reset
to reset device (3319508) - Add github pages (f02b7c6)
- Start using ruff for linting (82e1a95)
Removed
- Breaking: Remove
flashing.py
(969d110) - Breaking: Remove
mcbootflash.get_parser
(969d110) - Breaking: Remove
mcbootflash.flash
(969d110) - Breaking: Remove
mcbootflash.Bootloader
(3319508) - Breaking: Remove
mcbootflash.protocol.Packet.from_serial
(f5cb75c) - Stop using prospector for linting (eed8b6a)
- Stop using readthedocs (f4a128d)
v7.0.6
v7.0.5
Documentation and maintenance release.
Documentation
- Update developer guide.
Maintenance
- Use bincopy for alignment of first and final chunks in each segment.
- Use version string in sphinx conf.py.
- Narrow mypy import ignores.
- Update readthedocs python to 3.11.
- Use python3.12 instead of python3.12-dev in github-actions.