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

Update yiisoft/translator requirement from ^1.0|^2.0 to ^3.0.0 #55

Merged
merged 3 commits into from
Feb 15, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 20, 2023

Updates the requirements on yiisoft/translator to permit the latest version.

Release notes

Sourced from yiisoft/translator's releases.

Version 3.0.0

  • Chg #92: Implement fluent interface into TranslatorInterface: methods addCategorySources(), setLocale(), withDefaultCategory() and withLocale() returns static (@​vjik)
  • Chg #111: Adapt configuration group names to Yii conventions (@​vjik)
Changelog

Sourced from yiisoft/translator's changelog.

3.0.0 February 17, 2023

  • Chg #92: Implement fluent interface into TranslatorInterface: methods addCategorySources(), setLocale(), withDefaultCategory() and withLocale() returns static (@​vjik)
  • Chg #111: Adapt configuration group names to Yii conventions (@​vjik)

2.2.1 January 07, 2023

  • Enh #99: In SimpleMessageFormatter add support of messages where used parameters with plural modifier that contain non-supported keys (@​vjik)
  • Bug #110: Changed default value for locale to BCP-47 compatible (@​darkdef)

2.2.0 November 28, 2022

2.1.1 November 23, 2022

  • Bug #93: Throw exceptions on empty and not passed parameters, cast null to empty string in SimpleMessageFormatter (@​arogachev)

2.1.0 November 15, 2022

  • New #91: Add IdMessageReader that returns ID as message and doesn't support getting all messages at once (@​vjik)

2.0.0 November 08, 2022

  • New #75: Add NullMessageFormatter that returns message as is (@​vjik)
  • New #78: Add IntlMessageFormatter that utilizes PHP intl extension message formatting capabilities (@​vjik)
  • New #82: Add parameter $defaultCategory to Translator constructor (@​vjik)
  • Chg #81: Make category parameter in TranslatorInterface::addCategorySources() variadic, and remove TranslatorInterface::addCategorySource() method (@​vjik)
  • Chg #84: In TranslatorInterface rename method withCategory() to withDefaultCategory() (@​vjik)
  • Chg #87: Fix package configuration, remove default category source, change default locale to en_US (@​vjik)
  • Chg #90: Simplified category sources config (@​rustamwin)
  • Enh #69: Raise minimum PHP version to 8.0 (@​xepozz, @​vjik)
  • Enh #70: Add Stringable type support for $id argument in Translator::translate() (@​xepozz)
  • Enh #72, #75: Format messages when missing translation category (@​vjik)
  • Enh #73: Set en_US as default locale for translator (@​vjik)
  • Enh #74: Dispatch MissingTranslationCategoryEvent once per category (@​vjik)
  • Enh #76: Make message formatter in category source optional (@​vjik)

1.1.1 September 09, 2022

  • Bug #67: Exclude number from "plural" formatted message, handle missing options' keys (@​arogachev)

1.1.0 September 07, 2022

  • Chg #25: Move SimpleMessageFormatter from yiisoft/translator-formatter-simple package (@​DAGpro, @​vjik)

... (truncated)

Commits

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [yiisoft/translator](https://github.com/yiisoft/translator) to permit the latest version.
- [Release notes](https://github.com/yiisoft/translator/releases)
- [Changelog](https://github.com/yiisoft/translator/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yiisoft/translator/commits/3.0.0)

---
updated-dependencies:
- dependency-name: yiisoft/translator
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Feb 20, 2023
@codecov
Copy link

codecov bot commented Feb 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ec3540c) 100.00% compared to head (cea6cef) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##              master       #55   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity         9         9           
===========================================
  Files              1         1           
  Lines             18        18           
===========================================
  Hits              18        18           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vjik vjik merged commit 5d4b9bd into master Feb 15, 2024
22 of 23 checks passed
@vjik vjik deleted the dependabot/composer/yiisoft/translator-tw-3.0.0 branch February 15, 2024 17:30
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 php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant