Crc

Latest version: v7.1.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

7.1.0

🚀 This release is powered by **Allen-saltedfish**, thank you for your contribution!

✨ Features

* Add support for the following Crc8 configurations:
- ITU
- ROHC

* Add support for the following Crc16 configurations:
- IBM
- MAXIM
- USB
- X25 (X-25)
- DNP

🔩 Internal
* Re-lock dependencies

7.0.0

🚨 Breaking Changes

Update of crc configurations
- **Rename:** The `Crc16.CCITT` configuration to `Crc16.XMODEM`.
- **New Addition:** Introduced `Crc16.KERMIT`, which matches the official configuration for `Crc16.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:

1. **If you previously used `Crc16.CCITT` and expected the configuration defined [here](https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-kermit):**

**Solution:** Replace all usages of `Crc16.CCITT` in your code with `Crc16.KERMIT`.

2. **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 with `Crc16.XMODEM`.

Related Issues
- [148](https://github.com/Nicoretti/crc/issues/148)
- [145](https://github.com/Nicoretti/crc/issues/145)

🔩 Internal
* Update `python-environment` action
* Add classifiers to `pyproject.toml`

6.1.2

🐞 Bug Fixes
* Fixed unstable return values of `digest` function. For more details, see issue [151](https://github.com/Nicoretti/crc/issues/151).

!!! bug
This issue specifically affected scenarios where the CRC register was manually manipulated. Standard usages of the `Calculator` class were not impacted.
Furthermore, this issue primarily occurred in configurations that required reverse output.

📚 Documentation
* Add overview of crc configurations

🔩 Internal
* Re-lock dependencies

6.1.1

🚀 This release is powered by **Ramya-Ab**, thank you for your contribution!

📚 Documentation
* Fix typos in README

🔩 Internal
* Re-lock dependencies

6.1.0

🚀 This release is powered by **Riccardo Malavolti**, thank you for your contribution!

✨ Features
* Add support for IBM-3740 (also known as CCITT-FALSE)

🔩 Internal
* Update GitHub Action(s)
* Re-lock dependencies

6.0.0

🚨️ Breaking Changes

* Remove Python 3.7 support
* Changed SAE1850J configuration (see Bug fixes)

🐞 Bug Fix
* Adjusted the SAE-J1850 configuration to match the specification

🚨️ For users which do rely on the previously misconfigured `SAEJ1850` settings a configuration named `SAE_J1850_ZERO` was added.


🔩 Internal / Development
* Add `python 3.12` to test matrix
* Re-lock dev dependencies

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.