Skip to content

Conversation

@nicolas-grekas
Copy link
Member

Q A
Branch? 8.0
Bug fix? no
New feature? yes
Deprecations? no
Issues -
License MIT

@nicolas-grekas nicolas-grekas changed the title [Translation] Remove TranslatableMessage::__toString() method, use trans() instead [Translation] Remove TranslatableMessage::__toString() method, use trans() or getMessage() instead Jul 21, 2025
@nicolas-grekas nicolas-grekas force-pushed the tr-drop-tostring branch 3 times, most recently from abd264e to a2f31e4 Compare July 21, 2025 16:58
@nicolas-grekas nicolas-grekas merged commit 474bd79 into symfony:8.0 Jul 21, 2025
5 of 9 checks passed
@nicolas-grekas nicolas-grekas deleted the tr-drop-tostring branch July 28, 2025 10:01
@fabpot fabpot mentioned this pull request Oct 27, 2025
"php": ">=8.4",
"symfony/polyfill-mbstring": "^1.0",
"symfony/translation-contracts": "^2.5|^3.0"
"symfony/translation-contracts": "^3.6.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @nicolas-grekas

There is currently no 3.6.1 tag of symfony/translation-contracts.
https://github.com/symfony/translation-contracts/tags

This lead to the error

Problem 1
    - Root composer.json requires symfony/translation ^5.4 || ^6.4 || ^7.0 || ^8.0 -> satisfiable by symfony/translation[v8.0.0-BETA1].
    - symfony/translation v8.0.0-BETA1 requires symfony/translation-contracts ^3.6.1 -> found symfony/translation-contracts[dev-main, 3.6.x-dev (alias of dev-main)] but it does not match your minimum-stability.

when trying to support 8.0 ; would it be possible to create a new tag or relax the condition ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicolas-grekas why was this requirement changed ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see #62336

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VincentLanglet 3.6.1 has been tagged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants