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
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@ All notable changes to **Tiger Core** (`webtigers/tiger-core`). Format follows

## [Unreleased]

## [1.41.0] — 2026-10-24

### Added
- **Personal access tokens can expire + rotate** (TIGER-378). `user_credential.expires_at` (migration
`0057`, additive/nullable — `NULL` = never expires, so every existing token is unchanged):
`Tiger_Model_UserCredential::createToken($userId, ?int $ttlSeconds)` mints with an optional TTL;
`verifyTokenCredential()` refuses an expired token exactly like a revoked one; `tokensFor()` surfaces the
expiry; `rotateToken()` mints a fresh token overlap-safe; `purgeExpiredTokens()` + the daily
`core.auth.purge_expired_tokens` job sweep expired rows. Closes the long-lived-machine-token gap so a
leaked access token self-heals instead of living until a human revokes it.

### Security
- **CI guard against plaintext through `Tiger_Secret::resolve()`** (TIGER-382). A token-based unit guard
forbids handing a bare plaintext literal to `Tiger_Secret::resolve()` (which would pass it through
unchanged) — a string literal must be a recognized provider reference (`ssm:`/`env:`/`file:`/`enc:`/…);
variables and concatenations (the runtime-config path) are unaffected. Mutation-tested.

## [1.40.0] — 2026-10-23

### Added
Expand Down
2 changes: 1 addition & 1 deletion library/Tiger/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
class Tiger_Version
{
/** Current Tiger Core version. Keep in lockstep with the git tag cut for a release. */
const VERSION = '1.40.0';
const VERSION = '1.41.0';
}
Loading