Release v1.5.0
Release 1.5.0
Changelog
Added
- Named configuration profiles under
nowo_auth_kit.profilesfor applications with multiple user entities (e.g.App\Entity\UserandApp\Entity\Admin). ProfileRegistrywith O(1) class lookup and per-class resolution cache (inheritance supported).RequestProfileResolver— resolves the active profile from the_auth_kit_profileroute default (set automatically per profile route).- Each profile carries its own routes, templates, registration, password reset, embed, and firewall settings.
Changed
RegistrationGate,UserRegistrar, password-reset services, controllers, and form types resolve settings from the matching profile (by route context or entity class).- Configuration YAML and Flex recipe migrated to the
profileslayout (flat config still accepted and normalized toprofiles.default). AuthKitRouteLoaderregisters routes for every configured profile with unique route names per profile.- Legacy container parameters (
nowo_auth_kit.user_class, routes, templates, etc.) reflect the default profile for backward compatibility. docs/CONFIGURATION.mdanddocs/UPGRADING.mddocument profiles and runtime resolution.
Fixed
- Symfony DI: form types,
AuthKitRouteLocaleParameters, andPasswordResetNotifierInterfaceremain correctly wired after the profiles refactor.