Back to Explore

jaredwray/keyv

GitHub
3 updates · last 90 days1 watchersOpen source

Last release: 2 months ago

Keyv is a simple key-value storage library for JavaScript and TypeScript that provides a consistent interface across multiple backends using storage adapters. It supports TTL-based expiry, which makes it useful for building caches or persistent key-value stores.

Project status

  • Actively maintained and evolving: The repo shows continued upstream activity (latest push 2026-06-08), and recent updates include a progression from multiple alpha versions to a beta version (alpha.3, alpha.4, beta.1).
  • Update cadence (apparent): Major tagged updates cluster in late March to early April 2026 (alpha.3 on 03-22, alpha.4 on 03-27, beta.1 on 04-01), with additional commits after that (at least through 2026-06-08), though no newer tagged updates are shown here.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v6.0.0-beta.1

    2 months ago

    v6.0.0-beta.1 includes a major Keyv overhaul focused on adapters (memory and bridge), stats and telemetry changes, and broader hook support. It also includes BigMap hashing performance improvements and new/expanded integrations such as Dynamo enhancements and encryption adapters.

    BreakingFeatures
  • v6.0.0-alpha.4

    2 months ago

    v6.0.0-alpha.4 is a refactor-heavy release that integrates Hookified into Keyv, standardizes compression adapters, and simplifies several Keyv APIs (including iterator and storage adapter shapes). The diff shows multiple concrete signature and return-type changes in storage and compression adapters, some of which are not explicitly called out in the release notes.

    BreakingFeatures
  • v6.0.0-alpha.3

    2 months ago

    v6.0.0-alpha.3 is an alpha release focused on driver and refactors across multiple storage adapters (notably sqlite, dynamo, etcd, and memcache) plus internal work in the core keyv library. The release also introduces optional serialization in core and adds raw set capability flags, while reorganizing BigMap into the core package.

    BreakingFeatures
  • v6.0.0-alpha.2

    3 months ago

    v6.0.0-alpha.2 updates the Keyv mono-repo primarily by migrating adapters to hookified v2, and enhancing the Valkey backend with new batch APIs and a redesigned configuration surface. The release notes call out key Valkey changes like moving options to properties and renaming redis access to client, but the diff shows additional Valkey configuration and storage-key behavior changes that are not mentioned.

    BreakingFeatures
  • 6.0.0-alpha.1

    3 months ago

    Release 6.0.0-alpha.1 is a large monorepo refactor and feature wave across Keyv core, multiple storage adapters, and compression adapters. The release notes emphasize moving storage adapters to a new “hookified” structure, removing some adapter and Keyv class properties, adding SQLite WAL support, and upgrading test tooling (Vitest).

    BreakingFeatures
  • 2026-01-20

    4 months ago

    This release adds Bun-focused validation and documentation, expands KeyvGenericStore with iterator support and new integration tests, and updates CI to run on Node.js 24 and Bun. It also includes a batch of backend adapter fixes and dependency upgrades across redis, mysql, postgres, sqlite, and other adapters.

    SecurityFeatures
  • 2025-12-26

    5 months ago

    This release mainly updates development and test tooling (Biome, Vitest) and bumps dependency versions across multiple Keyv storage adapters. It also includes a Keyv bug fix to prevent duplicate namespace prefixing and adds iterator coverage around delete statistics.

  • 2025-12-10

    6 months ago

    This release primarily updates development tooling and dependencies across the monorepo (Biome, Vitest, tsup) and bumps a few runtime dependencies for specific adapters (Redis, Dynamo). It also includes documentation updates for Redis namespaces and a small TypeScript type loosening related to Keyv namespace adapter compatibility.

    Features
  • 2025-11-20

    6 months ago

    This release updates the PostgreSQL adapter to add batch setMany support, and hardens the MySQL adapter's has method against SQL injection. It also adds MySQL JSDoc coverage and introduces tests to validate the MySQL security behavior.

    SecurityFeatures
  • 2025-11-17

    6 months ago

    This release updates multiple Keyv packages to correct ESM vs CJS export entrypoints and typings, and includes functional changes to the bigmap hashing implementation. It also improves PostgreSQL getMany performance and bumps several dev/tooling dependencies across adapters.

    Features