Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.27 KB

CHANGELOG.md

File metadata and controls

34 lines (26 loc) · 1.27 KB

v2.2.0

  • Add tag function #12
  • Enable hmm by default in cut, cut_for_search, tokenize and tag function 13bcc7e

v2.1.1

Fix wasm-opt process, provided smaller wasm file e66e29a.

v2.1.0

  • Add deno exports condition and denosubpath exports #9
  • Add npm provenance statements

v2.0.1

  • Add dedicated export paths for Node.js and web versions in package.json. Reorder exports field #8

v2.0.0

  • Switch to exports field instead of subpath import (#6)

Instead of

import init, {cut} from 'jieba-wasm/pkg/web/jieba_rs_wasm';

Use

import init, {cut} from 'jieba-wasm';

More info on exports field https://nodejs.org/api/packages.html#community-conditions-definitions and typescript customCondition config

v1.0.0

  • Stable semver version
  • compress data at build time shrink wasm about 3MB
  • add deno build at pkg/deno dir
  • add better documentation and github page playground