Skip to content

Releases: null8626/decancer

v1.5.5

15 Apr 10:41
Compare
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
Compare
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
Compare
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/manual@v1.29.4/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
Compare
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
Compare
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
Compare
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
Compare
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

v1.3.3

11 Jul 14:40
Compare
Choose a tag to compare

decancer update v1.3.3:

A major update to decancer!

  • It's now a package in crates.io! See here: https://crates.io/crates/decancer (as requested by some popular bot developer)
  • It's now a package in deno.land! See here: https://deno.land/x/decancer@v1.3.3
  • It's now a package in browsers through the power of WebAssembly!:tm:
  • Added more confusables!!! How many? i don't know - the count in the README.md is removed ._.

v1.3.2

28 Jun 10:26
Compare
Choose a tag to compare

After 3-4 days of rewriting and refactoring, the major update for decancer is here!

  • breaking: removed support for Android devices :sdSadge:
  • feat: added support for more codepoints!
  • refactor: removed duplicate codepoints
  • feat: the parser is now in UTF-32 instead of UTF-16/UCS-2 encoding!
  • perf: rewrote the entire rust codebase to be more efficient!
  • refactor: every confusable is stored in a binary instead of the rust sources!
  • refactor: rewrote and refactored the entire JavaScript portion in TypeScript!
  • style: added ESLint, Prettier, and EditorConfig to the codebase!
  • doc: added help to use the .node binary directly in README.md!
  • doc: removed supported platforms list from README.md!
  • ci: removed tests from GitHub actions as they are unnecessary!
  • meta: added help for Contributors who wanted to contribute to decancer by adding the contrib/ scripts! see README.md for details

v1.2.3

23 May 12:59
Compare
Choose a tag to compare
1.2.3