<commit_before>UPGRADE FROM 6.1 to 6.2
=======================

Security
--------

 * Add maximum username length enforcement of 4096 characters in `UserBadge` to
   prevent [session storage flooding](https://symfony.com/blog/cve-2016-4423-large-username-storage-in-session)

Validator
---------

 * Deprecate the "loose" e-mail validation mode, use "html5" instead<commit_msg>Add missing UPGRADE notes for the Security Helper<commit_after>UPGRADE FROM 6.1 to 6.2
=======================

Security
--------

 * Add maximum username length enforcement of 4096 characters in `UserBadge` to
   prevent [session storage flooding](https://symfony.com/blog/cve-2016-4423-large-username-storage-in-session)
 * Deprecate the `Symfony\Component\Security\Core\Security` class and service, use `Symfony\Bundle\SecurityBundle\Security\Security` instead

Validator
---------

 * Deprecate the `loose` e-mail validation mode, use `html5` instead
{'fraction_non_alphanumeric': 0.16970998925886144, 'fraction_numerical': 0.036519871106337275, 'mean_word_length': 4.206703910614525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5780895', 'n_tokens_mistral': 293, 'n_tokens_neox': 259, 'n_words': 77}