# What changed in pinyin-pro

> 15 changes in pinyin-pro 3 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/pinyin-pro/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## pinyin-pro 3

### New APIs and options

- Supports continuous third-tone sandhi, enabled with thirdTone, while preserving the compatible semantics of the existing toneSandhi boolean. (3.29.5) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.5)

### Performance

- Optimizes node lookup and queue processing during AC automaton construction. (3.29.5) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.5)
- Merges consecutive custom pronunciation updates to reduce repeated custom dictionary builds. (3.29.5) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.5)
- Uses backtracking pointers to reconstruct match paths, reducing array allocations during matching. (3.29.5) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.5)
- Optimizes prefix matching to reduce unnecessary string processing. (3.29.5) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.5)
- Reuses already-split text characters to avoid splitting them repeatedly. (3.29.5) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.5)
- Reuses final parsing results to reduce repeated computation in type: 'all' mode. (3.29.5) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.5)
- Optimized repeated computation in the DP process and reduced memory usage. (3.29.4) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.4)
- In Node, no longer prebuilds the AC automaton through `setTimeout`, further reducing import overhead. (3.29.4) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.4)
- Skips the repeated-character processor when text does not contain 々, contributing to a reported 20%+ performance improvement. (3.29.3) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.3)
- Avoids prefix string allocation when building the AC automaton, improving segmentation performance. (3.29.3) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.3)
- Reuses child-node lookups during AC matching to improve segmentation performance. (3.29.3) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.3)
- Uses backtracking pointers to reconstruct the maximum-probability path, improving segmentation performance. (3.29.3) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.3)
- Uses a native split fast path for BMP text. (3.29.3) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.3)

### Fixes and other changes

- Compatible with restrictions in runtimes such as Cloudflare Workers that disable timers during module initialization. (3.29.4) — [release notes](https://github.com/zh-lx/pinyin-pro/releases/tag/3.29.4)
