
⚡ valuein/shop:5.0 → 2 🎉 → 1 🚀 → 7 🔥
- 🎉 Migrated to symfony 5
- 🎉 Added UserAuthenticator class to help authenticate
- 🚀 Improved login lock after too many process
- 🔥 Changed annotation to attributes
- 🔥 Changed translation format
- 🔥 Changed configuration for dev env
- 🔥 Changed getUsername to getUserIdentifier
- 🔥 Changed translatable interface
- 🔥 Changed logout handler to an event subscriber
- 🔥 Changed user auth
🚀 Improvements
Improved login lock after too many process
Login attempts are limited on 5 failed requests for IP address + username and 25 failed requests for IP address.
The second limit protects against an attacker using multiple usernames from bypassing the first limit, without disrupting normal users on big networks (such as offices).
One this limit is reached, the user will need to wait 5 minutes before being able to retry.
An admin user, will need to wait 15 minutes.
🔥 Breaking changes
Changed translation format
Translation now use intl-icu format
See : https://symfony.com/doc/5.4/translation/message_format.html
See : https://unicode-org.github.io/icu/userguide/format_parse/messages/
Changed configuration for dev env
Configuration are now merged by package using when@env syntax.
This mean, all the configuration for a package is now in the same file
See : https://symfony.com/blog/new-in-symfony-5-3-configure-multiple-environments-in-a-single-file
Changed getUsername to getUserIdentifier
Following Symfony 5.4 new auth system, the getUsername method is now deprecated and being replaced by getUserIdentifier
Changed translatable interface
The interface for translatable entities have been changed from Translatable::postLoad(LifecycleEventArgs $event) to Translatable::translate(TranslateEntityEventSubscriber $translateEntityEvent)
Changed user auth
Changed user auth to Symfony 5.3 authentification system
- Projects
- None
- Subscribers
- None