7.0.0 - 2024-04-19
🚨 Breaking Changes
Update of crc configurations
- Rename: The
Crc16.CCITT
configuration toCrc16.XMODEM
. - New Addition: Introduced
Crc16.KERMIT
, which matches the official configuration forCrc16.CCITT
.
Decision Rationale
It was intentionally decided not to reintroduce Crc16.CCITT
with the updated configuration. While it could have been added as an alias for Crc16.KERMIT
or a replacement, omitting Crc16.CCITT
ensures that client code will break upon update, thereby forcing maintainers to take notice and react accordingly.
Migration Guide
Below are solutions to the two common scenarios that need to be addressed due to this change:
-
If you previously used
Crc16.CCITT
and expected the configuration defined here:Solution: Replace all usages of
Crc16.CCITT
in your code withCrc16.KERMIT
. -
If you depended on or wanted to use the configuration values that
Crc16.CCITT
provided so far:Solution: Replace all usages of
Crc16.CCITT
in your code withCrc16.XMODEM
.
Related Issues
🔩 Internal
- Update
python-environment
action - Add classifiers to
pyproject.toml