Skip to content

Bump pypinyin from 0.40.0 to 0.47.0#109

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/pypinyin-0.47.0
Closed

Bump pypinyin from 0.40.0 to 0.47.0#109
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/pypinyin-0.47.0

Conversation

@dependabot
Copy link
Contributor

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

Bumps pypinyin from 0.40.0 to 0.47.0.

Changelog

Sourced from pypinyin's changelog.

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))
  • [New] pypinyin.contrib.tone_convert 模块新增 to_initialsto_finals 函数, 用于将拼音转换为 Style.INITIALSStyle.FINALS 风格的结果。

0.44.0_ (2021-11-14) +++++++++++++++++++++++++

  • [New] 增加 Python 3.10 下的测试,正式支持 Python 3.10 。
  • [New] tone2_to_tone3tone3_to_tone2 新增 v_to_u=False 参数
  • [Bugfixed] 修复 pypinyin.contrib.tone_convert 中无声调相关风格转换没有正确处理 v_to_u 参数的问题 (Fixes [#251](https://github.com/mozillazg/python-pinyin/issues/251)_ )
  • [Improved] 使用 phrase-pinyin-data_ v0.12.0 的词语拼音数据。
  • [Improved] 使用 pinyin-data_ v0.12.0 的拼音数据。

0.43.0_ (2021-10-06)

... (truncated)

Commits
  • e1f34db Bump version: 0.46.0 → 0.47.0
  • 21cc800 Merge remote-tracking branch 'origin/develop'
  • 67f5e1f [skip ci] update changelog
  • 5f4ef79 update changelog
  • 8880f0f 自定义拼音风格的回调函数新增关键字参数 han,用于接收对应的原始汉字
  • 860f9dd 使用最新版本的 phrase-pinyin-data 和 pinyin-data 拼音数据
  • f0594f6 Merge branch 'backport-_replace_tone2_style_dict_to_default' into develop
  • 0a59df9 improve tests
  • 32222f2 backport _replace_tone2_style_dict_to_default from old version
  • 83bc347 docs: Fix a few typos (#283)
  • 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.0.
- [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.0)

---
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 1, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 22, 2022

Superseded by #113.

@dependabot dependabot bot closed this Aug 22, 2022
@dependabot dependabot bot deleted the dependabot/pip/pypinyin-0.47.0 branch August 22, 2022 11:08
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