Releases: napi-rs/node-rs
@node-rs/xxhash@1.7.5
What's Changed
This release bumps the Rust version and slightly reduces the call overhead between JavaScript and Rust.
- chore: refresh the infra by @Brooooooklyn in #915
Full Changelog: https://github.com/napi-rs/node-rs/compare/@node-rs/xxhash@1.7.4..@node-rs/xxhash@1.7.5
@node-rs/jsonwebtoken@0.5.8
What's Changed
This release bumps the Rust version and slightly reduces the call overhead between JavaScript and Rust.
- fix(jsonwebtoken): disable audience validation if it was not passed in options by @pasha-vuiko in #910
- chore: refresh the infra by @Brooooooklyn in #915
New Contributors
- @pasha-vuiko made their first contribution in #910
Full Changelog: https://github.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.5.7...@node-rs/jsonwebtoken@0.5.8
@node-rs/jieba@2.0.0
What's Changed
Breaking Changes:
Now provides Jieba
and TfIdf
class for cut sentences. You can load different dicts for different Jieba
and TfIdf
instances now.
The default dicts are provided by @node-rs/jieba/dict
now, you can load them like this:
import { Jieba } from '@node-rs/jieba'
import { dict } from '@node-rs/jieba/dict'
// load jieba with the default dict
const jieba = Jieba.withDict(dict)
console.info(jieba.cut('我们中出了一个叛徒', false))
// ["我们", "中", "出", "了", "一个", "叛徒"]
import { Jieba, TfIdf } from '@node-rs/jieba'
import { dict, idf } from '@node-rs/jieba/dict'
const jieba = Jieba.withDict(dict)
const tfIdf = TfIdf.withDict(idf)
tfIdf.extractKeywords(
jieba,
'今天纽约的天气真好啊,京华大酒店的张尧经理吃了一只北京烤鸭。后天纽约的天气不好,昨天纽约的天气也不好,北京烤鸭真好吃',
3,
)
// [
// { keyword: '北京烤鸭', weight: 1.3904870323222223 },
// { keyword: '纽约', weight: 1.121759684755 },
// { keyword: '天气', weight: 1.0766573240983333 }
// ]
- feat!(jieba): upgrade to jieba@0.7 by @Brooooooklyn in #912
- chore: refresh the infra by @Brooooooklyn in #915
Full Changelog: https://github.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@1.10.4...@node-rs/jieba@2.0.0
@node-rs/crc32@1.10.5
What's Changed
This release bumps the Rust version and slightly reduces the call overhead between JavaScript and Rust.
- chore: refresh the infra by @Brooooooklyn in #915
Full Changelog: https://github.com/napi-rs/node-rs/compare/@node-rs/crc32@1.10.4...@node-rs/crc32@1.10.5
@node-rs/bcrypt@1.10.6
What's Changed
This release bumps the Rust version and slightly reduces the call overhead between JavaScript and Rust.
- bench(bcrypt): add @cwasm/openbsd-bcrypt and @cwasm/openwall-bcrypt to benchmark by @LinusU in #649
- chore: refresh the infra by @Brooooooklyn in #915
New Contributors
Full Changelog: https://github.com/napi-rs/node-rs/compare/@node-rs/bcrypt@1.10.5...@node-rs/bcrypt@1.10.6
@node-rs/argon2@2.0.1
What's Changed
This release bumps the Rust version and slightly reduces the call overhead between JavaScript and Rust.
- chore: refresh the infra by @Brooooooklyn in #915
Full Changelog: https://github.com/napi-rs/node-rs/compare/@node-rs/argon2@2.0.0...@node-rs/argon2@2.0.1
@node-rs/xxhash@1.7.4
What's Changed
- feat(*): upgrade to NAPI-RS 3.0 alpha by @Brooooooklyn in #897
Full Changelog: https://github.com/napi-rs/node-rs/compare/@node-rs/argon2@1.8.3...@node-rs/xxhash@1.7.4
@node-rs/jsonwebtoken@0.5.7
What's Changed
- feat(*): upgrade to NAPI-RS 3.0 alpha by @Brooooooklyn in #897
Full Changelog: https://github.com/napi-rs/node-rs/compare/@node-rs/argon2@1.8.3...@node-rs/jsonwebtoken@0.5.7
@node-rs/jieba@1.10.4
What's Changed
- feat(*): upgrade to NAPI-RS 3.0 alpha by @Brooooooklyn in #897
Full Changelog: https://github.com/napi-rs/node-rs/compare/@node-rs/argon2@1.8.3...@node-rs/jieba@1.10.4
@node-rs/crc32@1.10.4
What's Changed
- feat(*): upgrade to NAPI-RS 3.0 alpha by @Brooooooklyn in #897
Full Changelog: https://github.com/napi-rs/node-rs/compare/@node-rs/argon2@1.8.3...@node-rs/crc32@1.10.4