Memcache

Changelog

v1.12.0 Release

Add maxPendingCommands, fix connection and timeout behavior, and speed up commands.

  • add maxPendingCommands to fail requests fast under overload (#162)

    const client = new Memcache({
      nodes: ['localhost:11211'],
      maxPendingCommands: 1000, // default 0: no limit
    });
    

    While a node has that many requests waiting for a response or for its connection to open, a new request to it fails at once instead of waiting: set() resolves false and get()...

Read more →
v1.11.0 Release

TLS Auto Discovery and TLS+SASL composition, plus pnpm 12 and dependency maintenance.

  • bring TLS to SASL-level support (769ac99, #134)

    const client = new Memcache({
      nodes: [],
      tls: true,
      autoDiscover: {
        enabled: true,
        configEndpoint: 'my-cluster.cfg.use1.cache.amazonaws.com:11211',
      },
    });
    
    const client = new Memcache({
      nodes: ['my-cluster.use1.cache.amazonaws.com:11211'],
      tls: true,
      sasl:...
    
Read more →
v1.10.0 Release

Adds TLS connections (tls / memcaches://), publishes memcachejs.org, and hardens CI/publish.

  • add TLS support (7a822b9, #115)

    import { Memcache } from 'memcache';
    
    const client = new Memcache({
      nodes: ['my-cache.example.com:11211'],
      tls: true, // or a tls.ConnectionOptions object, e.g. { ca }
    });
    
    // Per-node TLS without a client-level tls option
    const client = new...
    
Read more →
v1.9.0 Release

Maintenance release: dependency and CI upgrades. Minimum supported Node is now 22.19.

  • pin the memcached test-service image to 1.6.44 for reproducible test runs (e3d6b4c, #101)
  • upgrade hashery runtime dependency to v3 — no API or hash-output changes (109dd19, #100)
  • upgrade hookified runtime dependency to 3.0.1 (f598fe9, #99)
  • raise minimum Node to 22.19 (engines.node >=22.19.0) (8eabc21, #98)
  • upgrade docula docs tooling to 2.1.0 (477160a, #97)
Read more →
v1.8.0 Release

Maintenance release: dependency, build, and CI upgrades. Minimum supported Node is now 22.

  • raise minimum Node to 22 and adopt pnpm 11 via corepack; CI matrix now Node 22/24/26 (c3f68e2, #90)
  • upgrade hookified runtime dependency to v3 — no API changes (f660f54, #89)
  • upgrade all GitHub Actions to their latest majors (67d8b27, #88)
  • upgrade docula docs tooling to v2 (f6e881b, #87)
  • upgrade TypeScript build tooling — tsx, tsdown (109cf2d, #86)
Read more →
v1.7.0 Release
Read more →
v1.6.0 Release
Read more →
v1.5.0 Release
Read more →
v1.4.0 Release
Read more →
v1.3.0 Release
Read more →
v1.2.0 Release
Read more →
v1.1.0 Release
Read more →
v1.0.0 Release
Read more →