Decancer-py

Latest version: v0.4.0

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

Scan your dependencies

Page 1 of 7

3.0.2

*decancer* v3.0.2 is here!

This is another **quick bugfix update**! This update fixes a bug that apparently causes the `disable_bidi` option to actually work the other way around and a bug that causes decancer to compare strings (the equal function) slightly incorrectly.

Happy coding as always! :heart:

3.0.1

*decancer* v3.0.1 is here!

This is a primarily a **quick bugfix update**! This update fixes a bug that causes *decancer* to erroneously match `-!?hel` with `hell`, and a bug that causes Java binding to be outdated compared to other bindings.

And since this update is released 11 hours after the [previous major update (`v3.0.0`)](https://github.com/null8626/decancer/releases/v3.0.0), i'll also quote the previous major changes to keep you updated!

> Added a way to customize *decancer*'s behavior!
> This update was proposed by 23, and now it's finally here! This makes it a **breaking change** for both Rust and C/C++ users.
> - Rust: `decancer::cure("text").unwrap();` becomes `decancer::cure!("text").unwrap();` or `decancer::cure("text", options).unwrap();`
> - C/C++: `decancer_cure(text, sizeof(text), &error_code);` becomes `decancer_cure(text, sizeof(text), DECANCER_OPTION_DEFAULT, &error_code);`
> More advanced way of matching similar strings
> Decancer now also adopts an algorithm that lets it detect more complex looking strings! Like:
> - `heeelllooooo` now matches with `hello`
> - `h-e-l-l-l-o` now matches with `hello`
> - `h e--l-l!o!o!` now matches with `hello`
>
> This way of matching strings is inspired by JPBBerry over at [CensorBot](https://censor.bot/). Soo kudos to him!
> Added Java support!
> This was [originally attempted by anominy](https://github.com/anominy/string-cure), but is now scrapped, soo i decided to do it myself! For more information, see the README.

Thank you all for supporting *decancer*! Happy coding! :heart::heart:

3.0.0

*decancer* v3.0.0 is here!

Yup, **another major update!** This update brings in three major changes:

Added a way to customize *decancer*'s behavior!
This update was proposed by 23, and now it's finally here! This makes it a **breaking change** for both Rust and C/C++ users.
- Rust: `decancer::cure("text").unwrap();` becomes `decancer::cure!("text").unwrap();` or `decancer::cure("text", options).unwrap();`
- C/C++: `decancer_cure(text, sizeof(text), &error_code);` becomes `decancer_cure(text, sizeof(text), DECANCER_OPTION_DEFAULT, &error_code);`
More advanced way of matching similar strings
Decancer now also adopts an algorithm that lets it detect more complex looking strings! Like:
- `heeelllooooo` now matches with `hello`
- `h-e-l-l-l-o` now matches with `hello`
- `h e--l-l!o!o!` now matches with `hello`

This way of matching strings is inspired by JPBBerry over at [CensorBot](https://censor.bot/). Soo kudos to him!
Added Java support!
This was [originally attempted by anominy](https://github.com/anominy/string-cure), but is now scrapped, soo i decided to do it myself! For more information, see the README.

Thank you all for supporting *decancer*! Happy coding! Much love!! :heart::heart::heart:

2.0.2

**decancer v2.0.2 is here!**

What this update brings:
- Refactored several parts of the core's code! This improvement should also affect every binding.
- Removed `node:` imports in the Node.js binding, as the `node:` protocol import is still not widely supported at the moment.
- Fixed some incorrect translations!
- Bumped several dependencies.

Thank you for supporting decancer as always! Happy coding! ❤️

2.0.1

**decancer v2.0.1 is here!**

This is a minor update following the previous major [`v2.0.0`](https://github.com/null8626/decancer/releases/v2.0.0) update. It adds 24 more codepoints and fixes several incorrect translations by incorporating codepoints from other sources/projects!

Thank you for supporting decancer as always! ❤️❤️❤️

2.0.0

**decancer v2.0.0 is here!**

This is a **major update** that brings many features with several breaking changes!

What this update brings:
- **Added unicode bidi support!** this means that the library supports Arabic, Hebrew, and many other right-to-left characters again! (19)
- As a side effect of the major bidi feature, the main cure function now can return an error. *This is a **breaking** change for the Rust and C/C++ binding.*
- Removed support for FreeBSD systems due to build issues.

Thank you for supporting decancer as always! **Happy 2024!** ❤️❤️❤️

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.