Skip to content

Releases: overtrue/pinyin

5.3.2

19 Mar 08:34
Compare
Choose a tag to compare

Pinyin::abbr 新增第三个参数 bool $preserveEnglishWords = false, 以保留输入内容的英文单词 #199

Full Changelog: 5.3.1...5.3.2

5.3.1

19 Mar 07:51
Compare
Choose a tag to compare

Fixed 「仆区」应该读 pú ōu 而非 pú qū #200

Full Changelog: 5.3.0...5.3.1

5.3.0

27 Oct 02:06
Compare
Choose a tag to compare

What's Changed

  • feat: 添加sentenceFull,支持保留其他字符 by @libook in #198

New Contributors

Full Changelog: 5.2.2...5.3.0

5.2.2

27 Sep 08:12
Compare
Choose a tag to compare

Full Changelog: 5.2.1...5.2.2

5.2.1

17 Jun 13:36
Compare
Choose a tag to compare

Fixed #196

Full Changelog: 5.2.0...5.2.1

5.2.0

12 Jun 00:52
Compare
Choose a tag to compare

What's Changed

  • 新增 Pinyin::polyphonesAsArray 方法,支持多音字逐字返回,#195
  • Update phpunit/phpunit requirement from ^9.5 to ^10.1 by @dependabot in #192

Full Changelog: 5.1.1...5.2.0

5.1.1

27 Apr 10:19
Compare
Choose a tag to compare

What's Changed

  • 支持轻声替换,修复 #119 #138 问题

Full Changelog: 5.1.0...5.1.1

5.1.0

27 Apr 08:47
Compare
Choose a tag to compare

What's Added

  • 新增 Pinyin::passportName(string $name, string $toneStyle = Converter::TONE_STYLE_NONE) 方法,使用 yu 代替 ü 输出。

What's Changed

New Contributors

Full Changelog: 5.0.0...5.1.0

4.1.0

27 Apr 10:19
Compare
Choose a tag to compare

What's changed

  • 支持轻声替换,解决 #119 #138 问题。

Full Changelog: 4.0.8...4.1.0

5.0.0

24 Jul 11:46
Compare
Choose a tag to compare

BREAKING CHANGES

Warning
Completely refactored version, recommended to read the documentation before use.