Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .changeset/great-otters-count.md

This file was deleted.

21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @seamless-auth/types

## 0.17.0

### Minor Changes

- b5b056b: Add `max_concurrent_sessions` to the system configuration.

How many sessions one user may hold at once. `null` means no limit, and that is
the default, so a deployment that predates the key keeps behaving exactly as it
does today.

`null` rather than `0` for unlimited: zero would otherwise read as "no sessions
allowed", which is a plausible way for someone to try to remove a cap and lock
every user out. The schema refuses zero and any negative or fractional value, on
both the full config and a patch.

The server side of this is NIST 800-53 AC-10, concurrent session control. It is
also an operational concern wherever workstations are shared, since an unbounded
session count leaves sessions alive on machines a user has walked away from.

This publishes the key. Enforcing it is the consuming server's job.

## 0.16.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seamless-auth/types",
"version": "0.16.0",
"version": "0.17.0",
"description": "Shared TypeScript types and Zod schemas for SeamlessAuth.",
"author": "Fells Code, LLC",
"license": "AGPL-3.0-only",
Expand Down