Skip to content

[FrameworkBundle] Deprecate loose as an email validation mode #60706

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

Open
wants to merge 1 commit into
base: 7.4
Choose a base branch
from

Conversation

rhel-eo
Copy link
Contributor

@rhel-eo rhel-eo commented Jun 5, 2025

Q A
Branch? 7.4
Bug fix? no
New feature? no
Deprecations? yes
License MIT

Follow up to #60705 to deprecate the loose email validation config, which is not supported. It is only allowed in 7.0 -> 7.3 for backwards compatibility with existing configs. This will need to be rebased after that PR is merged, which will also involve removing a test that will now fail.

I could not find a UPGRADE-7.4.md or a 7.4 section in FrameworkBundle/CHANGELOG.md. Should I add one?

@nicolas-grekas
Copy link
Member

I just created UPGRADE-7.4.md, please rebase and then you'll be able to amend it.

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

I merged your other PR up to 8.0. Rebase needed. But then, you'll notice that nothing will remain of this PR.
The reason is that the current patch doesn't deprecate anything. It drops the loose mode.
Deprecating would mean triggering a deprecation when this mode is configured (which means the value should still be accepted also)

This will need a line in the changelog file of the bundle.
and the test case using "loose" should be either removed or insulated in a dedicated test with the @group legacy annotation.

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.

3 participants