All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Remove
pylintdisable annotations. - Remove unused imports detected when switching to
ruff.
- Add Python 3.8 support back - it did not need to be dropped in version 2.0.0.
importlib.metadatais available in the standard library for Python 3.8 and higher, so it does not need to be included as a dependency insetup.py.
- Drop support for Python 3.7 and 3.8.
- Migrate from
pkg_resourcestoimportlib_metadata. - Rework
_dfuse_downloadslightly: Instead of always clearing the status before starting the download, only do it if a pipe error is detected. In newer STM32 devices, clearing the status seems to make the first download fail.
- Ignore all
USBErrorexceptions when exiting DFU mode.
- Set
long_descriptionof package to contents ofREADME.md.
- Initial release.