Skip to content

2.0.0 - 2022-11-27

🚨 Breaking API Changes

** Renamed **

Classes:

  • AbstractCrcRegister -> AbstractRegister
  • CrcRegisterBase -> BasicRegister
  • CrcRegister -> Register
  • TableBasedCrcRegister -> TableBasedRegister
  • CrcCalculator -> Calculator

Functions & Methods:

  • CrcCalculator.calculate_checksum -> Calculator.checksum
  • CrcCalculator.verify_checksum -> Calculator.verify
  • [public] argument_parser() -> [private] _argument_parser()

Arguments:

  • CrcCalculator(configuration, table_based=False) -> Calculator(configuration, optimized=False)

** Removed **

  • Removed CRC_TYPES mapping
  • Removed checksum function/cli-entry-point

🗑 Removed

  • Removed checksum subcommand from CLI
  • Removed CRC_TYPES mapping

✨ Added

  • Added typing support
  • Added Documentation see here

🔧 Refactorings

  • Fixed various linter warnings