Skip to content

Commit

Permalink
fix: 修复 surname: 'head' 对于复姓不生效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoulixiang committed May 30, 2024
1 parent f8806c8 commit 323175e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 更新日志

## 3.21.1

- 【fix】修复 `surname: 'head'` 对于复姓不生效的问题

## 3.21.0

- 【feat】`pinyin` api 新增 `surname` 选项,支持只识别字符串开头的姓氏
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pinyin-pro",
"version": "3.21.0",
"version": "3.21.1",
"description": "准确率和性能最优异的汉字转拼音库。获取中文拼音、韵母、声母、声调、首字母,支持拼音匹配",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down

0 comments on commit 323175e

Please sign in to comment.