Skip to content

Releases: danielinoa/seshlock

v0.2.0

Choose a tag to compare

@danielinoa danielinoa released this 14 Jan 22:36

Added

  • Session Listing: user.seshlock_sessions returns all active sessions for a user, ordered by most recent first.
  • Revoke All Sessions: user.revoke_all_seshlock_sessions! revokes all active sessions for a user (logout everywhere).
  • Revoke Other Sessions: user.revoke_other_seshlock_sessions!(except_refresh_token:) revokes all sessions except the specified one.
  • Controller Helpers:
    • seshlock_list_sessions - Returns array of session info with id, device, created_at, expires_at, and current flag.
    • seshlock_revoke_all - Revokes all sessions for the current user.
    • seshlock_revoke_others - Revokes all sessions except the current one.
    • seshlock_revoke_session(session_id:) - Revokes a specific session by ID.

v0.1.3

Choose a tag to compare

@danielinoa danielinoa released this 17 Dec 01:15

Add user association to AccessToken via has_one :through

v0.1.2

Choose a tag to compare

@danielinoa danielinoa released this 11 Dec 23:20

Fixed token table names and association lookup; see CHANGELOG.md

v0.1.1

Choose a tag to compare

@danielinoa danielinoa released this 11 Dec 10:38

Changed

  • Added CI badge to README
  • Added GitHub Actions workflow for tests
  • Code style improvements

v0.1.0

Choose a tag to compare

@danielinoa danielinoa released this 11 Dec 10:33

Initial release of Seshlock - session tokens (access + refresh) for Rails apps.