-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Use UUID for error codes for Form validator. #20011
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
Conversation
7a9e533
to
0b0479c
Compare
2.8.12 | ||
----- | ||
|
||
* [BC BREAK] Changed values of the Symfony\Component\Form\Extension\Validator\Constraints\Form constants. |
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.
We cannot have a BC break in a patch release. Is it really a BC break? People MUST use the constant anyway, not the value.
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.
Ok, so can I just remove [BC BREAK]
from the changelog?
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.
You should remove everything here :) Changelogs for patch versions are generated automatically.
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.
@fabpot done!
0b0479c
to
3693e83
Compare
👍 |
Thank you @Koc. |
This PR was submitted for the 2.8 branch but it was merged into the 2.7 branch instead (closes #20011). Discussion ---------- Use UUID for error codes for Form validator. | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | no | BC breaks? | tiny, but it allowed http://symfony.com/doc/current/contributing/code/bc.html#changing-classes | Deprecations? | no | Tests pass? | I hope so :) | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 6dbb186 Use UUID for error codes for Form validator.
@fabpot I've choosen 2.8 branch because uuid codes was added in 2.8, not in 2.7 |
See #15154 for details |
I agree with @Koc. We should revert the merge on the |
Oops, sorry about that. Going to fix that now. |
Done |
* 2.7: Revert "minor #20011 Use UUID for error codes for Form validator. (Koc)" Use UUID for error codes for Form validator. Fixed regression when exception message swallowed when logging it. [HttpFoundation] Enable memcached tests with the latest memcached extension
This PR was merged into the 2.8 branch. Discussion ---------- Use UUID for error codes for Form validator. | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | no | BC breaks? | tiny, but it allowed http://symfony.com/doc/current/contributing/code/bc.html#changing-classes | Deprecations? | no | Tests pass? | I hope so :) | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 3693e83 Use UUID for error codes for Form validator.
* 2.8: [VarDumper] Fix test Revert "minor #20011 Use UUID for error codes for Form validator. (Koc)" Use UUID for error codes for Form validator. Use UUID for error codes for Form validator. Fixed regression when exception message swallowed when logging it. [HttpFoundation] Enable memcached tests with the latest memcached extension
* 3.1: [VarDumper] Fix test Revert "minor #20011 Use UUID for error codes for Form validator. (Koc)" Use UUID for error codes for Form validator. Use UUID for error codes for Form validator. Fixed regression when exception message swallowed when logging it. [HttpFoundation] Enable memcached tests with the latest memcached extension
Uh oh!
There was an error while loading. Please reload this page.