Releases: null8626/decancer
v1.6.2
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
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 theCuredStringobject 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
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 usedecancerwithout depending on the Rust standard library! just add this in yourConfig.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
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
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_charto cure a singlechar! as suggested by #4. - feat[native]: added
decancer_cure_charto cure a singleuint32_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
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.2and older will NOT work and thedeno.landpage 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.2and older will NOT work, please use versionv1.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
napiprocedural macro! - doc: Rewritten the README to be more detailed!
- meta: The entire project uses
clippyto 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
v1.5.1
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, andcontains!
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
Just a small and insignificant documentation-based update. Use v1.4.0 for the features.
- doc(core): fixed
ToCodepointsnot being viewable indocs.rs - doc(core): removed
no_runin 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
Another major update - Decancer v1.4.0 is here! Here are the changes made:
- [breaking] refactor(core):
cure_chars,cure_utf32,cure_utf16is merged tocurewith the power of traits - feat(core): UTF-8 support! Which means that you can pass in a
u8slice or a borrowedVec<u8>:) - fix(core): fixed minor mistranslations
- feat(core):
containsnow supportsu8,u16,u32, andcharslices or borrowedVecs as inputs! - fix(wasm): fixed WASM not working since GitHub doesn't return an
application/wasmcontent type. - doc(wasm): added a simple web app example in the readme
- perf(wasm): the changes stripped down the WebAssembly binary from
48.1 KBto46.9 KB - perf(node): the npm package now directly uses raw UTF-16 buffers (
JsString) from the Node API instead of a RustString - fix(core):
containsnow uses a proper implementation - doc(core): added a
docs.rslanding page documentation - ci: merged Prettier and WebAssembly GitHub workflows
- meta: bump LICENSE year