Releases: null8626/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_char
to cure a singlechar
! as suggested by #4. - feat[native]: added
decancer_cure_char
to 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.2
and older will NOT work and thedeno.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 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
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
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
ToCodepoints
not being viewable indocs.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
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 tocure
with the power of traits - feat(core): UTF-8 support! Which means that you can pass in a
u8
slice or a borrowedVec<u8>
:) - fix(core): fixed minor mistranslations
- feat(core):
contains
now supportsu8
,u16
,u32
, andchar
slices or borrowedVec
s 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
to46.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):
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
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
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 thecontrib/
scripts! see README.md for details
v1.2.3
1.2.3