Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pypinyin from 0.40.0 to 0.47.1 #113

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 22, 2022

Bumps pypinyin from 0.40.0 to 0.47.1.

Changelog

Sourced from pypinyin's changelog.

0.47.1_ (2022-08-21) +++++++++++++++++++++++++

  • [Bugfixed] 修复无声母和韵母的场景下指定 neutral_tone_with_five=True 会返回 5 作为拼音的问题:

    .. code-block:: python

    # 修复前
    >>> lazy_pinyin('嗯', style=Style.FINALS_TONE3, neutral_tone_with_five=True)
    ['5']
    # 修复后
    >>> lazy_pinyin('嗯', style=Style.FINALS_TONE3, neutral_tone_with_five=True)
    ['']
    

0.47.0_ (2022-07-30) +++++++++++++++++++++++++

  • [New] [Changed] 自定义拼音风格的回调函数新增关键字参数 han ,用于接收对应的原始汉字:

    .. code-block:: python

      @register('new_style')
      def new_style_func(pinyin, **kwargs):
          return kwargs.get('han', '') + pinyin
    

    pinyin('北京', style='new_style') # output: [['北běi'], ['京jīng']]

  • [Improved] 使用 phrase-pinyin-data_ v0.13.0 的词语拼音数据。

  • [Improved] 使用 pinyin-data_ v0.13.0 的拼音数据。

  • [Bugfixed] 修复 tone_to_tone3 函数对空字符串的处理 via [#279](https://github.com/mozillazg/python-pinyin/issues/279)_

0.46.0_ (2022-02-12) +++++++++++++++++++++++++

  • [New] pypinyin.contrib.tone_convert 模块新增 to_finals_toneto_finals_tone2 以及 to_finals_tone3 函数,用于将拼音转换为 Style.FINALS_TONEStyle.FINALS_TONE2 以及 Style.FINALS_TONE3 风格的结果。
  • [Changed]pypinyin.contrib.tone_convert 模块中 to_tone2to_tone3tone_to_tone2tone_to_tone3 函数的 neutral_tone_with_5 参数重命名为统一的 neutral_tone_with_five 参数名称,兼容已有代码传入的 neutral_tone_with_5 参数。建议升级版本后择期修改为 使用新的 neutral_tone_with_five 参数名称。

0.45.0_ (2022-01-23) +++++++++++++++++++++++++

  • [Bugfixed] 修复韵母相关拼音风格在 strict=True 时未按预期只返回拼音标准中定义过的韵母。 (Fixes [#266](https://github.com/mozillazg/python-pinyin/issues/266), Closes [#80](https://github.com/mozillazg/python-pinyin/issues/80))

... (truncated)

Commits
  • 9f89018 Bump version: 0.47.0 → 0.47.1
  • 81f4669 Merge remote-tracking branch 'origin/develop'
  • 77bd383 v0.47.1
  • 594b286 add more tests
  • 32e5011 修复无声母和韵母的场景下指定 neutral_tone_with_five=True 会返回 5 作为拼音的问题 #284
  • 178ce33 重构代码: 从 _phrase_pinyin 中抽出一个 convert_styles 方法方便复用
  • e1f34db Bump version: 0.46.0 → 0.47.0
  • 21cc800 Merge remote-tracking branch 'origin/develop'
  • 67f5e1f [skip ci] update changelog
  • 5f4ef79 update changelog
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pypinyin](https://github.com/mozillazg/python-pinyin) from 0.40.0 to 0.47.1.
- [Release notes](https://github.com/mozillazg/python-pinyin/releases)
- [Changelog](https://github.com/mozillazg/python-pinyin/blob/master/CHANGELOG.rst)
- [Commits](mozillazg/python-pinyin@v0.40.0...v0.47.1)

---
updated-dependencies:
- dependency-name: pypinyin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 22, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 16, 2023

Superseded by #124.

@dependabot dependabot bot closed this Jan 16, 2023
@dependabot dependabot bot deleted the dependabot/pip/pypinyin-0.47.1 branch January 16, 2023 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants