Skip to content

Release v1.5.0

Choose a tag to compare

@github-actions github-actions released this 14 Jul 14:26
· 59 commits to main since this release

Release 1.5.0

Changelog

Added

  • Named configuration profiles under nowo_auth_kit.profiles for applications with multiple user entities (e.g. App\Entity\User and App\Entity\Admin).
  • ProfileRegistry with O(1) class lookup and per-class resolution cache (inheritance supported).
  • RequestProfileResolver — resolves the active profile from the _auth_kit_profile route 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 profiles layout (flat config still accepted and normalized to profiles.default).
  • AuthKitRouteLoader registers 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.md and docs/UPGRADING.md document profiles and runtime resolution.

Fixed

  • Symfony DI: form types, AuthKitRouteLocaleParameters, and PasswordResetNotifierInterface remain correctly wired after the profiles refactor.