3.0.0 - 2022-12-04
🚨 Breaking API Changes
** Renamed **
Functions & Methods:
-
Renamed keyword argument
expected_checksum
of methodCalculator.verify
toexpected
def verify(self, data: bytes, expected_checksum: int ) -> bool: ...
def verify(self, data: Union[int, ByteString, BinaryIO, Iterable[ByteString]], expected: int ) -> bool: ...
🐛 Fixes
- Fixed return type for all inputs of ByteString types
✨ Added
- Added support for other data types than
bytes
toCalculator.checksum
andCalculator.verify
(int
, ByteString
, BinaryIO
, Iterable[ByteString]
)
📚 Documentation
- Renamed "Latest - Changes" to "Unreleased"
- Added "API" section
- Added "development" section