UsefulKey
Additional info

Roadmap

The long term goals for UsefulKey.

This page tracks planned features and longer‑term priorities. Timelines are indicative and may shift.

See also: Known issues and Authoring plugins.

Core and data flow

Request‑scoped context for plugins

  • Status: Planned
  • Motivation: Reduce duplicate reads across plugins by exposing a shared, per‑request context that plugins can read/write, instead of each plugin fetching independently.
  • Related: Plugin authoring, Known issues

Expired key lifecycle improvements

  • Status: In progress
  • Current: uk.sweepExpired({ batchSize, olderThan, strategy }) can proactively clean up expired keys.
  • Next: More efficient cleanup strategies, scheduling guidance, and additional options.

Rate limiting

Sliding window strategy

  • Status: Planned
  • Motivation: Add sliding window support alongside existing fixed window and token bucket strategies.
  • Related: Rate limiting concepts

Adapters and schema

Custom database schemas

  • Status: Planned
  • Plan: Allow custom database schemas to be used with SQL adapters (Postgres/SQLite), including configurable table names and columns where safe.

Plugins

Basic counter plugin

  • Status: Planned
  • Plan: Provide a minimal plugin that increments a counter on successful verification for simple usage tracking.

Suggestions welcome

If you have suggestions for features or improvements, please open an issue or join the Discord.