-
Notifications
You must be signed in to change notification settings - Fork 179
♻️ 💥 Integrate translation behavior #3561
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
Closed
Closed
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
77040b5
:recycle: Integrate translation behavior
macintoshplus 7fbe5ba
Add upgrading documentation
macintoshplus 206c564
Merge remote-tracking branch 'origin/main' into issue_3551_integrate_…
bobvandevijver d44e9fe
Update changelog/upgrade notes
bobvandevijver 02fe77b
Run ECS to fix codestyle
bobvandevijver af3417c
Apply suggestions from code review
macintoshplus c2bc45c
add yaml migration and update UPGRADING file
macintoshplus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # From Bolt 5.2 to 6.0 | ||
|
|
||
| ## Replaced `tightenco/collect` with `illuminate/collections` | ||
|
|
||
| If you were using classes from `Tightenco\Collect\Support`, you should replace them with `Illuminate\Support\` or install the deprecated `tightenco/collect` library yourself. | ||
|
|
||
| ## Dropped `knplabs/doctrine-behaviors` dependency | ||
|
|
||
| The `knplabs/doctrine-behaviors` package has been removed from the Bolt core, but the translation behavior that was used by Bolt core has been integrated. | ||
|
|
||
| The following classes have replaced: | ||
|
|
||
| | Old class | New class | | ||
| |----------------------------------------------------------------------|------------------------------------------------------| | ||
| | Knp\DoctrineBehaviors\Contract\Entity\TranslatableInterface | Bolt\Entity\TranslatableInterface | | ||
| | Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface | Bolt\Entity\TranslationInterface | | ||
| | Knp\DoctrineBehaviors\Model\Translatable\TranslatableTrait | Use two trait below | | ||
| | Knp\DoctrineBehaviors\Model\Translatable\TranslatableMethodsTrait | Bolt\Entity\Translatable\TranslatableMethodsTrait | | ||
| | Knp\DoctrineBehaviors\Model\Translatable\TranslatablePropertiesTrait | Bolt\Entity\Translatable\TranslatablePropertiesTrait | | ||
| | Knp\DoctrineBehaviors\Model\Translatable\TranslationTrait | Use two trait below | | ||
| | Knp\DoctrineBehaviors\Model\Translatable\TranslationMethodsTrait | Bolt\Entity\Translatable\TranslationMethodsTrait | | ||
| | Knp\DoctrineBehaviors\Model\Translatable\TranslationPropertiesTrait | Bolt\Entity\Translatable\TranslationPropertiesTrait | | ||
| | Knp\DoctrineBehaviors\EventSubscriber\TranslatableEventSubscriber | Bolt\Event\Listener\TranslatableListener | | ||
| | Knp\DoctrineBehaviors\Exception\TranslatableException | Bolt\Exception\TranslatableException | | ||
| | Knp\DoctrineBehaviors\Provider\LocaleProvider | Bolt\Locale\LocaleProvider | | ||
| | Knp\DoctrineBehaviors\Contract\Provider\LocaleProviderInterface | Bolt\Locale\LocaleProviderInterface | | ||
|
|
||
| Check if this line has been removed from your `config/bundles.php` file: | ||
|
|
||
| ```php | ||
| Knp\DoctrineBehaviors\DoctrineBehaviorsBundle::class => ['all' => true], | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes to the
services.yamlwill need to have a yaml migration defined as well.