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
initgets 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 nottl(#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 anunhandledRejection. - Fixed: a thrown value that is not an
Erroris logged before Kuzzle exits. Kuzzle loggedundefinedinstead of it, or, forundefineditself (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
commandTimeoutoption onservices.internalCache.optionsandservices.memoryStorage.options, for instance to5000milliseconds. 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 aservices.cache.timeouterror (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 assecurity.token.verification_errororservices.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:infoon 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
/_healthcheckanswered200and every request touching Redis hung. The node now gives up on a heartbeat Redis has not answered withincluster.heartbeat(2 seconds by default), leaves the cluster and exits with code1, 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 genericcore.fatal.service_timeouterror, 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 aservices.storage.unexpected_errorerror 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-91.1.1,kuzzle-storage-opensearch-2andkuzzle-storage-opensearch-31.0.1 (storage-es-8#9). - Fixed:
server:infoon Valkey gave every Valkey server the version7.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 newserverfield tells which server answers (redisorvalkey).server:capabilitiesgives 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-7andkuzzle-storage-es-81.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.driverto 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_capabilityerror. 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_mismatcherror. Nodes running the built-in Elasticsearch drivers are compared by Elasticsearch major version only: amajorVersion: "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-7andkuzzle-storage-es-8, which Kuzzle depends on and installs with itself: same code, same behavior, still selected bymajorVersion. Yourpackage.jsondoes not change. - Elasticsearch 9. Install the driver
kuzzle-storage-es-9next to Kuzzle and setservices.storageEngine.driverto"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) orkuzzle-storage-opensearch-3(OpenSearch 3) next to Kuzzle and name it inservices.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. majorVersionis deprecated, in the documentation only: it keeps working unchanged in Kuzzle 2, and Kuzzle 3 will select the storage engine withdriveralone. Kuzzle warns at startup only if your configuration sets bothdriverandmajorVersion, sincemajorVersionis 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 withservices.storage_driver.unsupported_major_version, which points toservices.storageEngine.driver; the startup log names the directory the driver was loaded from (#3134). - Driver names.
services.storageEngine.driveraccepts an npm alias, and a driver installed withnpm linkor 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()orapp.storage.getEngine(): the driver package, the engine family (elasticsearch,opensearch) and the engine server's version. Use it instead of guessing the engine frommajorVersion(#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.
kuzzleexports what a driver needs: theStorageDrivercontract and its types, a conformance kit (describeStorageDriverConformance) that tests a driver against its real engine, andstorageError, 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_indexorunknown_collection, or not see it in a list, for a few milliseconds. Likewise, creating an index another node had just deleted could fail withindex_already_exists. A node now checks the storage before answering so. Those checks start at most once everyservices.storageEngine.cacheMissReadInterval(default 100 ms,0to 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-7orkuzzle-storage-es-8package was missing fromnode_modules, Kuzzle stopped with a rawCannot find moduleerror (2.61.0-beta.2). It now stops with the documentedservices.storage_driver.not_founderror, as for an external driver (2.61.0-beta.3). - An external driver could load another copy of
kuzzlethan the running one, when Kuzzle runs as its own application, as in the official Docker image: some documented404or400errors then came back as500unexpected_error. A driver now always uses the Kuzzle that loads it (#3132). - Some storage engine errors reached clients as
services.storage.unexpected_bad_requestorunexpected_errorinstead 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 astoo_many_operations(thread pool or indexing pressure rejection),cannot_change_mapping,unexpected_properties,invalid_mapping_type,too_many_changes(version conflict) andunknown_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-7on 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
500on the first request using it. Kuzzle now refuses it at startup withservices.storage_driver.invalid_driver(#3137). - An unhandled rejection whose reason is not an
Errorwas logged asERROR: 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 #
kuzzledepends onkuzzle-storage-es-7andkuzzle-storage-es-8at 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-2orkuzzle-storage-opensearch-3installs a release, no beta tag needed, and Kuzzle's built-in drivers are their stable releases too. - Dependency updates (2.61.0-beta.6):
lodash4.18.1 (security fixes: prototype pollution in_.unset/_.omit, injection in_.templateimports),uuid14,zeromq6.8.0, and patch or minor updates ofeventemitter3,moment,pino-pretty,semver,validatorandyargs. No change in behavior.