-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Serializer] Remove BC layer #50736
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
[Serializer] Remove BC layer #50736
Conversation
Q | A |
---|---|
Branch? | 7.0 |
Bug fix? | no |
New feature? | no |
Deprecations? | no |
Tickets | |
License | MIT |
Doc PR |
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.
Thanks for working on this!
Blocking as the necessary CHANGELOG and UPGRADE guide changes are missing ;)
Yeah 👍🏼 But I don't remember what are the new guidelines for 7.0. Is there a summary of what I must do for each files? |
It was on my todo list for the summer, thank you for taking care of it 😌 |
UPGRADE-7.0.md needs to be updated on the branch 7.0 for each deprecated feature that is removed. As you tried before. |
See fabbot also (except the false-positive on the switch) |
src/Symfony/Component/Serializer/Normalizer/ConstraintViolationListNormalizer.php
Outdated
Show resolved
Hide resolved
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.
Please add lines to the changelog of the component, same to the root UPGRADE-7.0.md file, and possibly ake the title of this PR more useful for a changelog
525597e
to
bec40df
Compare
I don't know how to fix theses tests in https://github.com/symfony/symfony/actions/runs/5406243227/jobs/9822895029?pr=50736#step:8:9587
|
Can we stop using |
I checked, and We don't allow 7 in lower branches
I can check |
We probably can by dropping support for Serializer 5 which would be acceptable imho. |
Done ➡ #50824 |
…e anymore (lyrixx) This PR was merged into the 6.4 branch. Discussion ---------- [ErrorHandler] Do not use ContextAwareNormalizerInterface anymore | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | It's a deprecated feature + #50736 Commits ------- 133171b [ErrorHandler] Do not use ContextAwareNormalizerInterface anymore
src/Symfony/Component/Serializer/Tests/Normalizer/TestNormalizer.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Serializer/Normalizer/DataUriNormalizer.php
Outdated
Show resolved
Hide resolved
Thank you @lyrixx. |