Skip to content

Release v1.0.0

Choose a tag to compare

@github-actions github-actions released this 14 Jul 11:45

Release 1.0.0

Initial stable release of nowo-tech/user-kit-bundle.

  • AccountStatusUserChecker (enabled/disabled accounts)
  • LastActivitySubscriber with throttled updates
  • UserPresenceResolver and user_is_online Twig helper
  • Optional session invalidation on account disable
  • Entity traits and AuthKit user_class inheritance
  • PHP 8.2+, Symfony 7/8, 100% src/ coverage

Changelog

Added

  • AccountStatusUserChecker — blocks authentication for disabled accounts via Symfony UserChecker (DisabledException).
  • LastActivitySubscriber — throttled lastActivityAt updates on authenticated HTTP requests.
  • UserPresenceResolverisOnline() based on configurable online_threshold.
  • user_is_online Twig helper — optional when symfony/twig-bundle is installed.
  • AccountDisabledListener — optional session invalidation when an account is disabled.
  • SessionInvalidatorInterface and DefaultSessionInvalidator extension point.
  • Entity contracts: AccountStatusInterface, LastActivityInterface.
  • Optional Doctrine traits: EnabledUserTrait, LastActivityTrait.
  • Configuration tree nowo_user_kit (user_class, account_status, last_activity, twig).
  • AuthKit coexistence: inherits user_class from nowo_auth_kit.user_class when present.
  • Translation catalogues en and es for domain NowoUserKitBundle.
  • GitHub Spec Kit baseline (specs/001-baseline/), operator manual (SPEC-KIT.md), and Cursor Agent skills.
  • Demo applications: demo/symfony7, demo/symfony8, demo/symfony8-php85 (FrankenPHP + SQLite).
  • CI matrix: PHP 8.2–8.5, Symfony 7.0 / 7.4 / 8.0 / 8.1 with 100% PHPUnit line coverage on src/.

Full Changelog: https://github.com/nowo-tech/UserKitBundle/commits/v1.0.0