Skip to content

Releases: null8626/decancer

v1.6.2

28 May 17:53

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

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

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

v1.5.5

15 Apr 10:41

Choose a tag to compare

decancer v1.5.5:

  • added and optimized the removal of diacritics. (helps with zalgo text removal)
  • added 682 more unicode confusables.
  • fixed some incorrect translations.
  • improved documentation a bit.

v1.5.4

19 Feb 10:14

Choose a tag to compare

After several weeks of pain and constantly staring at random unicode characters for hours, decancer v1.5.4 is here!

Notable changes in this update:

  • breaking[native]: removed support for UTF-16 characters, sorry windows native developers :(
  • fix: fixed a dangerous vulnerability (#4) - so if you don't want for your app to hang whenever someone inputs “ˑ” (U+02D1), please update to version v1.5.4!
  • feat: added 1,452 more confusables! which means that the library now supports 6,071 confusables!
  • feat[core]: added decancer::cure_char to cure a single char! as suggested by #4.
  • feat[native]: added decancer_cure_char to cure a single uint32_t! as suggested by #4.
  • optimized binary size by implementing several optimizing measures!

As always, thank you all for supporting decancer, love you all ❤️

v1.5.3

29 Jan 07:24

Choose a tag to compare

After several weeks of pain, decancer v1.5.3 is here!

Important things to note from now on:

  • node: In this update, the support for FreeBSD is removed because of an unfixable third-party tty bug.
  • deno: By 1 March 2023, versions v1.5.2 and older will NOT work and the deno.land page will be deleted in favor of npm specifiers (see https://deno.land/[email protected]/node/npm_specifiers)
  • wasm: By 1 March 2023, versions v1.5.2 and older will NOT work, please use version v1.5.3+ and use the new way of importing it in the README.

Changes in this update:

  • feat: Added support for C/C++!
  • feat: The library now supports 4.8K confusables! many imported from other popular like-minded confusable-decoding libraries!
  • fix: Fixed a minor bug in the Binary Search system!
  • node: Removed useless parameters to the napi procedural macro!
  • doc: Rewritten the README to be more detailed!
  • meta: The entire project uses clippy to lint it's Rust files!
  • meta: Node binaries will no longer be provided in it's GitHub Releases!
  • meta: Fixed and added more things to the helper scripts!
  • meta: Reworked the codebase's structure!
  • ci: Removed most tests, and refactored the entire CI system!

Thank you all for supporting decancer ❤️

v1.5.2

23 Dec 16:06

Choose a tag to compare

decancer update v1.5.2

just a quick update that fixes a very dangerous vulnerability which causes the program to crash whenever it cures into an empty string!

discovered right after releasing a major breaking update (v1.5.1), for the full changelog of that, see here!

have a nice day! ❤️

v1.5.1

23 Dec 15:05

Choose a tag to compare

decancer update v1.5.1 is here!!!

After 5 months of constant delaying due to school issues, decancer has now gotten another MAJOR BREAKING update! (read readme for details!)

Changelog:

  • Now it uses Binary Search for searching through it's huge list of confusables!
  • Considers ALL whitespace characters (e.g: \u2000, \u2001, \u2002, etc) as a space character!
  • Cured strings will be trimmed and duplicate spaces will be removed! (e.g: hello world haha -> hello world haha)
  • Added a LOT of confusables, (e.g: Enclosed Alphanumerics, Enclosed Alphanumeric Supplement, etc), now it supports well beyond 3000 confusables!
  • Added support for Android and FreeBSD systems!
  • Added more features! Including starts_with, ends_with, and contains!

Changelog for the GitHub repository:

  • Added scripts and a guide (CONTRIBUTING.md) to help new contributors!
  • Full rewrite of the CI system!
  • Listed Python as an unofficial binding!

Thank you ALL for your support! ❤️

v1.4.1

16 Jul 16:55

Choose a tag to compare

Just a small and insignificant documentation-based update. Use v1.4.0 for the features.

  • doc(core): fixed ToCodepoints not being viewable in docs.rs
  • doc(core): removed no_run in some of the example codeblocks
  • doc(node): fixed README.md not appearing in npm due to symlinks
  • doc: fixed and refactored invalid HTML in the README examples

v1.4.0

16 Jul 14:51

Choose a tag to compare

Another major update - Decancer v1.4.0 is here! Here are the changes made:

  • [breaking] refactor(core): cure_chars, cure_utf32, cure_utf16 is merged to cure with the power of traits
  • feat(core): UTF-8 support! Which means that you can pass in a u8 slice or a borrowed Vec<u8> :)
  • fix(core): fixed minor mistranslations
  • feat(core): contains now supports u8, u16, u32, and char slices or borrowed Vecs as inputs!
  • fix(wasm): fixed WASM not working since GitHub doesn't return an application/wasm content type.
  • doc(wasm): added a simple web app example in the readme
  • perf(wasm): the changes stripped down the WebAssembly binary from 48.1 KB to 46.9 KB
  • perf(node): the npm package now directly uses raw UTF-16 buffers (JsString) from the Node API instead of a Rust String
  • fix(core): contains now uses a proper implementation
  • doc(core): added a docs.rs landing page documentation
  • ci: merged Prettier and WebAssembly GitHub workflows
  • meta: bump LICENSE year