Kuzzle 2.61 #

Released: 2.61.0 on 2026-11-04, after nine betas (2.61.0-beta.1 on 2026-10-30 to 2.61.0-beta.9). Patches 2.61.1 released on 2026-11-12, 2.61.2 on 2026-11-14 and 2.61.3 on 2026-11-20. 2.61.4 had two betas but no stable release: its changes ship in 2.62.0.

The GitHub release notes list every commit. This page tells you what changes for you. For what to check before you upgrade, read Upgrading from 2.60.

2.61.4 #

Not released as stable. 2.61.4-beta.1 (2026-11-22) and 2.61.4-beta.2 (2026-11-23) were published, then their changes moved to 2.62.0 with the next features.

2.61.3 #

Released: 2.61.3 on 2026-11-20, after two betas (2.61.3-beta.1 on 2026-11-19, then 2.61.3-beta.2 on 2026-11-20 for every cluster-wide lock below).

Fixes for a cluster node stopped abruptly while the cluster starts, and for error logs. No new feature, no configuration change.

  • What you need to do: nothing.
  • Fixed: a node stopped while the cluster starts blocks the others for less time. Every node creates a plugin's collections in turn, under a cluster-wide lock. When the node holding it was stopped abruptly, the lock stayed for 30 seconds, longer than the 10 seconds a plugin init gets by default (plugins.common.initTimeout): the other nodes could fail to start, then started again once restarted. The lock now expires after 10 seconds (#3156). Since 2.61.3-beta.2, so does every other cluster-wide lock, including the ones the storage drivers take while creating collections and the startup imports' (60 seconds before), and plugins' withLock calls that set no ttl (#3207, #3208). A node that is alive renews its locks every 3.3 seconds instead of 24, so it can stall as long as before without losing them.
  • Fixed: a plugin init that times out says what it was waiting for. When it was waiting for a cluster-wide lock, the error now names that lock, and whether this node or another one holds it, instead of only suggesting a longer timeout.
  • Fixed: a failed start is logged once. When the application does not catch app.start(), as in the project templates, the error was logged a second time as an unhandledRejection.
  • Fixed: a thrown value that is not an Error is logged before Kuzzle exits. Kuzzle logged undefined instead of it, or, for undefined itself (in development mode, a promise rejected with no reason), failed in its own error handler, with no useful log and no dump.

2.61.2 #

Released: 2.61.2 on 2026-11-14, after two betas (2.61.2-beta.1 on 2026-11-13, then 2.61.2-beta.2 the same day for the token check below).

Two fixes for a Redis that stops answering, and a new opt-in setting for it. Nothing changes until you set it.

  • What you need to do: nothing. To make requests fail instead of waiting on a Redis that stopped answering, set commandTimeout (see below).
  • New: requests can stop waiting on a Redis that stopped answering. Since 2.61.1, a node whose Redis stops answering leaves the cluster within seconds. But the API requests already waiting on Redis kept waiting, and the node only exited after 30 seconds. Set the ioredis commandTimeout option on services.internalCache.options and services.memoryStorage.options, for instance to 5000 milliseconds. A command Redis has not answered within that delay then fails, and so does its request. It is not set by default, as it applies to every Redis command: read When Redis stops answering before you set it.
  • Fixed: a command that timed out is reported as the cache not answering. It used to reach the client as core.fatal.unexpected_error (500), which reads as a Kuzzle bug. It is now a services.cache.timeout error (503), naming the delay. This includes the cache read that checks the request's authentication token: in 2.61.2-beta.1, that one still reached the client as security.token.verification_error or services.cache.read_failed (500).
  • Fixed: a Redis key scan that fails no longer crashes Kuzzle. Kuzzle scans Redis keys to list or expire authentication tokens and for statistics. If the scan failed midway (a timeout, a lost connection), the process crashed, or the operation never finished. It now fails with an error.

2.61.1 #

Released: 2.61.1 on 2026-11-12, after two betas (2.61.1-beta.1 and 2.61.1-beta.2, both on 2026-11-12).

Three fixes, for clusters, Valkey and the startup of the storage. No new feature, no configuration change.

  • What you need to do: nothing. If a monitoring tool reads the cache version in server:info on Valkey, it now gets Valkey's own version (see the upgrade notes).
  • Fixed: a node whose Redis stops answering leaves the cluster within seconds. When Redis stopped answering without closing the connection (a network policy or a partition dropping packets, a failover that does not reset connections), a node took about 10 minutes to notice, while its cluster registration had expired after 4 seconds. Meanwhile /_healthcheck answered 200 and every request touching Redis hung. The node now gives up on a heartbeat Redis has not answered within cluster.heartbeat (2 seconds by default), leaves the cluster and exits with code 1, so that your orchestrator restarts it (#3181).
  • Fixed: the storage engine no longer fails silently at startup (built-in drivers 1.1.1). With a certificate the driver does not trust, a host name missing from the certificate or a wrong password, Kuzzle stayed on Trying to connect to Elasticsearch... until the init timeout (2 minutes by default), then stopped with a generic core.fatal.service_timeout error, with nothing in its logs telling why. It now logs why the engine does not answer yet, as a warning, and stops at once, with a services.storage.unexpected_error error naming the cause, on a TLS failure or refused credentials (401, 403). A cluster that is not up yet is still waited for. The external drivers carry the same fix: kuzzle-storage-es-9 1.1.1, kuzzle-storage-opensearch-2 and kuzzle-storage-opensearch-3 1.0.1 (storage-es-8#9).
  • Fixed: server:info on Valkey gave every Valkey server the version 7.2.4, the Redis version Valkey announces for compatibility, and an empty mode on Valkey 9. It now gives Valkey's own version and mode, and a new server field tells which server answers (redis or valkey). server:capabilities gives the real version too.
  • New in the docs: a compatibility matrix: the Node.js versions, systems, storage engines and cache servers (Redis 6.2 or later, Valkey 7.2 or later) Kuzzle runs on, and which ones the CI tests.
  • Under the hood: kuzzle-storage-es-7 and kuzzle-storage-es-8 1.1.1.

2.61.0 #

In short #

2.61 opens Kuzzle to other storage engines. A storage engine can now come as a separate npm package, a storage driver, that you install next to Kuzzle and name in the configuration. Elasticsearch 7 and 8 keep working exactly as before: they are now Kuzzle's built-in drivers, shipped as packages Kuzzle installs with itself.

What you need to do #

Nothing. An Elasticsearch 7 or 8 setup needs no change, in its configuration or its dependencies.

Before you move to another storage engine, check your plugins and your application: with a driver set, majorVersion no longer tells which client app.storage.storageClient or context.constructors.ESClient gives. Ask Kuzzle with app.storage.getEngine() or context.accessors.getStorageEngine() instead (see Upgrading from 2.60).

If your code or your clients match the text of storage error messages, check it: they no longer say "Elasticsearch" (see Upgrading from 2.60).

What's new #

  • Storage drivers. Set services.storageEngine.driver to the name of a driver package to run Kuzzle on another storage engine. Kuzzle checks the driver at startup and refuses to start if it is missing, invalid or not made for this Kuzzle version. The API does not change: queries and mappings are still written in the Elasticsearch format. Read Storage Drivers.
  • Capabilities. A driver may not support every feature (aggregations, mapping changes, statistics, update by query). A request needing one it does not support is rejected with a clear services.storage_driver.unsupported_capability error. The built-in drivers support them all.
  • Same driver on every cluster node. A node running another driver, or another version of it, than the rest of the cluster is refused when it joins, with a cluster.join.storage_driver_mismatch error. Nodes running the built-in Elasticsearch drivers are compared by Elasticsearch major version only: a majorVersion: "8" node is refused by "7" nodes, and a rolling upgrade from 2.60 with an unchanged configuration still works. A refused node is refused before it connects to the storage, so it writes nothing there (#3139).
  • Elasticsearch 7 and 8 as packages (2.61.0-beta.2). The built-in drivers now live in their own packages, kuzzle-storage-es-7 and kuzzle-storage-es-8, which Kuzzle depends on and installs with itself: same code, same behavior, still selected by majorVersion. Your package.json does not change.
  • Elasticsearch 9. Install the driver kuzzle-storage-es-9 next to Kuzzle and set services.storageEngine.driver to "kuzzle-storage-es-9". It is Kuzzle's Elasticsearch 8 driver on the Elasticsearch 9 client: same mappings, same queries, same errors.
  • OpenSearch 2 and 3 (2.61.0-beta.5). Install kuzzle-storage-opensearch-2 (OpenSearch 2.19 and later 2.x) or kuzzle-storage-opensearch-3 (OpenSearch 3) next to Kuzzle and name it in services.storageEngine.driver. Both are Kuzzle's Elasticsearch 7 driver on the OpenSearch client: same mappings, same queries, same errors. They do not move your data: copy it from Elasticsearch with a snapshot or a remote reindex.
  • majorVersion is deprecated, in the documentation only: it keeps working unchanged in Kuzzle 2, and Kuzzle 3 will select the storage engine with driver alone. Kuzzle warns at startup only if your configuration sets both driver and majorVersion, since majorVersion is then ignored.
  • Clearer storage driver errors. A missing driver says how to install it, without Node's whole Require stack; an installed package that is not a usable driver (such as a name-reservation placeholder) says so; majorVersion: "9" without a driver stops Kuzzle with services.storage_driver.unsupported_major_version, which points to services.storageEngine.driver; the startup log names the directory the driver was loaded from (#3134).
  • Driver names. services.storageEngine.driver accepts an npm alias, and a driver installed with npm link or from a directory now works. A path is refused, with a hint to install the package and name it (#3142).
  • Which storage engine Kuzzle runs on (2.61.0-beta.6). Plugins and applications can ask it with context.accessors.getStorageEngine() or app.storage.getEngine(): the driver package, the engine family (elasticsearch, opensearch) and the engine server's version. Use it instead of guessing the engine from majorVersion (#3133).
  • Storage connections closed on shutdown (2.61.0-beta.6). A driver can implement an optional close() hook, which Kuzzle calls on a graceful shutdown to release its engine connections; every official driver does. If it fails, Kuzzle logs a warning and carries on shutting down (#3141). Since 2.61.0-beta.7, Kuzzle also waits for the requests plugins are running before closing the storage: in 2.61.0-beta.6, stopping Kuzzle right after it started could make it exit with code 1, in development mode, when a plugin was still working at startup (#3160).
  • Engine-neutral messages (2.61.0-beta.6). Storage error messages and logs say "storage engine" instead of "Elasticsearch", which was wrong on OpenSearch. Error ids and codes do not change (#3143).
  • For driver authors. kuzzle exports what a driver needs: the StorageDriver contract and its types, a conformance kit (describeStorageDriverConformance) that tests a driver against its real engine, and storageError, so that a driver returns the same errors as Kuzzle. Read the new Write storage drivers guide.
  • Drivers documentation. Each official driver has its own documentation (install, configuration, TypeScript, compatibility, troubleshooting) in the new Drivers section.

What's fixed #

  • A node joining a cluster could still list an index or a collection that another node had deleted before it joined, and keep a collection lock that was already released. It now replaces its cache with what the storage holds when it loads it.
  • In a cluster, a request served by one node right after another node created an index or a collection could fail with services.storage.unknown_index or unknown_collection, or not see it in a list, for a few milliseconds. Likewise, creating an index another node had just deleted could fail with index_already_exists. A node now checks the storage before answering so. Those checks start at most once every services.storageEngine.cacheMissReadInterval (default 100 ms, 0 to check on every miss), so a request on a missing index or collection can fail up to 100 ms later (#3140).
  • If the kuzzle-storage-es-7 or kuzzle-storage-es-8 package was missing from node_modules, Kuzzle stopped with a raw Cannot find module error (2.61.0-beta.2). It now stops with the documented services.storage_driver.not_found error, as for an external driver (2.61.0-beta.3).
  • An external driver could load another copy of kuzzle than the running one, when Kuzzle runs as its own application, as in the official Docker image: some documented 404 or 400 errors then came back as 500 unexpected_error. A driver now always uses the Kuzzle that loads it (#3132).
  • Some storage engine errors reached clients as services.storage.unexpected_bad_request or unexpected_error instead of their documented code, since before 2.61: the error mapping expected messages the current engine clients no longer produce. With every official driver, they now come back as too_many_operations (thread pool or indexing pressure rejection), cannot_change_mapping, unexpected_properties, invalid_mapping_type, too_many_changes (version conflict) and unknown_query_keyword.
  • A driver now refuses to start on an engine it does not support: an Elasticsearch driver on another Elasticsearch major (e.g. kuzzle-storage-es-7 on an 8.x cluster) or on OpenSearch, which reports itself as Elasticsearch 7.10.2. The OpenSearch drivers name OpenSearch, not Elasticsearch, in their logs and messages.
  • A driver missing a method of the storage contract started, then failed with a 500 on the first request using it. Kuzzle now refuses it at startup with services.storage_driver.invalid_driver (#3137).
  • An unhandled rejection whose reason is not an Error was logged as ERROR: unhandledRejection: [object Object], or [object Promise] with no reason at all. The log now shows the reason's content, or the promise's (2.61.0-beta.9).

Under the hood #

  • kuzzle depends on kuzzle-storage-es-7 and kuzzle-storage-es-8 at pinned versions: a new version of a built-in driver reaches you with a Kuzzle release.
  • All five official drivers have stable releases (2.61.0-beta.8): npm install kuzzle-storage-es-9, kuzzle-storage-opensearch-2 or kuzzle-storage-opensearch-3 installs a release, no beta tag needed, and Kuzzle's built-in drivers are their stable releases too.
  • Dependency updates (2.61.0-beta.6): lodash 4.18.1 (security fixes: prototype pollution in _.unset / _.omit, injection in _.template imports), uuid 14, zeromq 6.8.0, and patch or minor updates of eventemitter3, moment, pino-pretty, semver, validator and yargs. No change in behavior.