Skip to content

Releases: null8626/decancer

v3.0.0

26 Feb 16:42
Compare
Choose a tag to compare

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. Soo kudos to him!

Added Java support!

This was originally attempted by anominy, 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!! ❤️❤️❤️

v2.0.2

11 Feb 16:20
Compare
Choose a tag to compare

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! ❤️

v2.0.1

27 Jan 10:57
Compare
Choose a tag to compare

decancer v2.0.1 is here!

This is a minor update following the previous major 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! ❤️❤️❤️

v2.0.0

22 Jan 14:23
Compare
Choose a tag to compare

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! ❤️❤️❤️

v1.6.5

17 Jul 17:21
Compare
Choose a tag to compare

decancer v1.6.5 is here!

this is a small update that lets me at least sleep well at night, without worrying about bugs for now :)

changelog:

  • added and fixed more confusables, courtesy of https://texteditor.com/font-converter/
  • fixed WebAssembly binding not working for some reason (thanks wasm-pack ❤️)
  • added a GitHub pages static site for demonstrating the library's WebAssembly binding! hopefully it should work now
  • improved documentation and readme!

thank you for supporting decancer as always ❤️❤️❤️

v1.6.4

14 Jul 13:02
Compare
Choose a tag to compare

decancer v1.6.4 is here!

changelogs:

  • added more codepoints, fixed several translations, and removed useless codepoints
  • improved overall rust code and added benchmarks (#14 and #16, thank you sooo much @Yossipossi1! ❤️❤️)
  • improved the mechanism on how the library performs binary search
  • improved the documentation, removed mentions of Deno and Bun from README.md as they are less relevant

thank you for using and supporting decancer! much love <3 ❤️❤️❤️❤️❤️

v1.6.3

03 Jul 18:05
Compare
Choose a tag to compare

decancer v1.6.3 is here!!! ❤️

⚠️ VULNERABILITY WARNING: the following update fixes a vulnerability that lets users crash/panic your program with a bug (#12). please consider updating to this version as soon as possible. ⚠️

other than that, the following update also does:

  • refactor: optimize core library code by a lot.
  • refactor: removes unnecessary trait implementations added in v1.6.2.
  • feat: add proptest to detect future unusual edge cases in tests (#13, thanks @emmiegit! ❤️)
  • ci: optimize the install process of wasm-pack to reduce the install process from 7 to 2 minutes!

thank you all for supporting and helping decancer! i love you all ❤️❤️

v1.6.2

28 May 17:53
Compare
Choose a tag to compare

decancer v1.6.2 is here!!! ❤️

not much of an update today, mostly a bug-fix and documentation update!

changelog:

  • fix: fixed dozens of wrong translations!
  • feat: added 28 new unicode codepoints!
  • feat[core]: added lots of new Rust trait implementations to the library's datatypes!
  • doc: reworded the README!

thank you all for supporting decancer! i love you all deep from my heart ❤️❤️

v1.6.1

13 May 15:14
Compare
Choose a tag to compare

decancer v1.6.1 is here! ❤️🥳

  • feat: added 181 new codepoints and fixed dozens of incorrect translations! making the total supported unicode codepoints 9,600!!!
  • perf: optimized ALL comparison methods! (except contains)
  • feat[node]: added CuredString#toBuffer()! it coerces the CuredString object into a UTF-8 Node.js Buffer.
  • feat[core]: added Add, Extend, and lots of other trait implementations!
  • perf[node]: refactored CuredString#toString()!
  • refactor[ci]: optimized and fixed the CI system.

thank you all for supporting decancer!!! i love you all <3 ❤️

v1.6.0

02 May 16:51
Compare
Choose a tag to compare

decancer v1.6.0 is here! 🥳

  • added thousands of new codepoints and fixed lots of mistranslations, bringing the grand total of supported unicode codepoints to 9,419!!!

  • added optional no_std support! limiting the library to just cure_char, but it also means that you can use decancer without depending on the Rust standard library! just add this in your Config.toml:

decancer = { version = "1.6", default-features = false }
  • added optional serde support! which means that you can serialize/deserialize types (like JSON) while also curing the input at the same time! just add this in your Config.toml:
decancer = { version = "1.6", features = ["serde"] }

read the documentation for more details.

thank you all for supporting decancer!!! ❤️