kdb Insights Enterprise - Release Notes¶
This page details the release notes for the latest kdb Insights Enterprise releases. To find the release notes for an older release, refer to the Previous Releases page.
1.21.0¶
Release date: 2026-12-03
kdb Insights Enterprise 1.21.0 adds business-day support to Views, path-addressed file management in Package Manager, Stream Processor pipeline-unit support in the Python library, and Requester Pays support for S3 readers. It also updates the Python Query Client and Scratchpad query API and includes fixes across the database, Stream Processor, Package Manager, installation, and web interface.
New features¶
-
Business days for Views
Views can use business-day calendars, so relative date ranges can skip weekends and holidays. Set the workweek and holiday calendars from the Views editor header. The calendars are CSV files that are loaded from Package Manager.
Refer to Business days for more details.
-
Stream Processor pipeline units in the Python library
The KXI Python library includes Stream Processor pipeline-unit lifecycle calls in
SPCoordinatorClientandScratchpadClient. You can list units and their terms, roll a unit, and trigger reads and writes without implementing REST calls and authentication.Refer to SP Coordinator client for more details.
-
Requester Pays buckets for the S3 reader
Stream Processor can read from AWS S3 buckets that use the Requester Pays feature. Enable the option in the v2 S3 reader and the v2 Parquet (S3 paths) reader. The requester, not the bucket owner, pays the data transfer costs.
Refer to Readers for more details.
-
Manage Package Manager files from the command-line interface
You can now use the
kxi pm filecommands in the CLI to manage files without having to republish the whole package. Use these commands to automate file management, keep files in source control, and deploy the same files to multiple environments. You can manage files associated with a package or global files available to the deployment.Refer to Manage files on the Package Manager service for more details.
-
Configurable Content Security Policy for package UIs
Administrators can configure the Content Security Policy (CSP) that applies to package UIs. Use it to control which sources package UI content can load resources from.
Refer to Package UI approval for more details.
Improvements¶
kdb Insights Enterprise 1.21.0 brings improvements to the command-line interface, Python library, Scratchpad, Stream Processor, Package Manager, and installation. Expand the following sections for more details.
Command-line interface (CLI)
- Added a CLI command to list enrolled clients. Refer to Listing clients for more details.
- Added CLI autocomplete. Enable it with
kxi completion --installand disable it with--uninstall. kxi pm infolists the current deployments of a package, including the name, version, and status of each deployment.- The KXI CLI supports Python 3.11, 3.12, 3.13, and 3.14. Python 3.10 is no longer supported. Refer to Install the CLI for more details.
Python
The kdb Insights Python API has been improved as follows:
- Added the
list_clientsmethod toClientController. - Updated the Query Client to match the current query APIs. Query functions use consistent typed
scope,labels, andoptsparameters, support Query Environment routing withuse_qe, and let you select the SQL andgetMetaAPI versions. Theqsqlfunction acceptsscope,agg, andopts; itsassemblyandtargetparameters are deprecated. - Enabled TCP keepalive on Python client transports.
Scratchpad
- Added
.com_kx_edi.getDatato the Scratchpad q API, matching thegetDatanaming used elsewhere in kdb Insights Enterprise. - The Scratchpad no longer uses
INSIGHTS_CLIENT_SECRETandINSIGHTS_CLIENT_IDenvironment variables.
Stream Processor
- The v2 S3 reader supports authentication through the
AWS_WEB_IDENTITY_TOKEN_FILEenvironment variable.
Install/Upgrade
- The client Terraform scripts provision Kubernetes 1.36 on the three supported cloud providers.
- The operator supports a volume for each Storage Manager tier, including multiple local tiers that share a mount. Refer to the Storage Manager package object for the tier configuration.
- The
cnpg-databasechart exposes theenablePDBsetting, so you can set it tofalseon single-instance clusters. - The
config-nginxsettings exposessl-redirect. - You can configure the resource requests and limits for the Package Manager init containers used by Stream Processor workers and controllers. Refer to the configuration reference for more details.
Package Manager
- Package Manager detects row-level entitlements through the entitlement API and no longer uses the
KXI_ROW_ENTITLEMENTS_ENABLEDsetting. Refer to Row-level entitlements for more details. - Reduced the Package Manager server memory footprint.
- An administrator must approve a package version before its web UI scripts can run. Previously, package write access allowed a user to ship scripts that ran with the rights of anyone who opened the UI.
Refer to Package UI approval for more details. To build and serve a package UI, see Package UIs.
Fixes¶
kdb Insights Enterprise 1.21.0 resolves a number of issues across the product. Expand the following sections for more details.
Database
- Fixed an issue where
.kxi.getDatareturned an empty table forendTS=startTS+1when data existed forts=startTS. - Fixed an issue where the Storage Manager snapshot failed when end-of-day processing occurred while Database Migration (DBM) was taking place and staging directories were present.
- Storage Manager restores completed and failed ingest, delete, and schema-change statuses after a restart, so the status APIs continue to report those sessions.
- Restored the previous Resource Coordinator behavior when its connection to the Data Access Processes (DAPs) is lost. The Resource Coordinator no longer reports an incorrect DAP out-of-memory error to the query client.
- Added validation to prevent duplicate tables. A package that defines two tables with the same name is rejected.
- Fixed an issue where a
getDatarequest failed with a foreign keytypeerror when reference data was joined from more than one table. - Fixed an issue where end-of-interval (EOI) writedown failed when no data was ingested for a table during the interval and both
KXI_SM_EOI_SORTandKXI_SM_SKIP_SORT_CHECKwere enabled. - Fixed an issue where batch ingest treated a non-partitioned table as a subsession.
- Fixed an issue where
.kxi.sqlreturned incorrect results for some scalar expressions and aggregations. - Fixed an issue where a DAP failure left a core file in a tier directory and restarting it did not restore the database.
- Fixed an issue where an import into a basic table failed after the database restarted.
- Fixed an issue where automatically creating a table from CSV data sometimes inferred a
symcolumn as a string and caused documented symbol filters to fail. - Fixed an issue where qSQL or custom API calls caused later queries to time out when a database had no partitioned tables.
- Fixed an issue where the
qroute returned rows from non-partitioned tables once per DAP, which duplicated results from calls such as.kxi.selectTable. - Fixed an issue where
POST /snapshotstopped responding and blocked Storage Manager after a.gzimport left a first-in, first-out (FIFO) pipe in the staging directory. - Fixed SQL joins, set operations,
HAVINGclauses, and lowercase aliases. - Fixed an issue where a failed table creation remained in the EOI schema and caused later table creation and schema-change requests to fail.
- Fixed an issue where ingesting lists of symbols into a mixed-type column caused EOI to fail after a restart.
- Reference tables created after the DAPs start initialize their global views, so qSQL and custom API calls can use them without restarting the DAPs.
- Importing a Parquet file into a table with a
charcolumn no longer returns atypeerror.
Stream Processor
- Fixed a data loss issue in pipelines with deduplication enabled and two writers that resolve to the same stream and table, or topic. Each writer creates a separate publisher.
- The v2 S3 reader now uses service-account authentication when the S3 path contains a glob pattern.
- During pipeline testing,
.qsp.getreturns the same generic null inside a map operator as it does in a deployed pipeline. - The Process Writer reports the field that is not valid instead of incorrectly reporting that the
handlefield is missing. - If the database writer fails to persist data, both the pipeline and the pipeline unit now report an errored status.
- Fixed an issue where the Stream Processor coordinator returned a
500 internal_errorfrom the units endpoint before the worker started. - The Scratchpad returns a clear unsupported-operator error when a pipeline uses
.qsp.write.toKDB, instead of a misleading syntax error. - Scratchpad cloud storage readers use the v2 readers instead of falling back to v1. They reject files that exceed the configurable per-file limit, and the Scratchpad pod restarts when its cloud workload-identity annotations are removed.
Reliable Transport
.rt.subnow acceptstopic_prefixwhenpositionis set tolatest.- Fixed an issue where
soft_resetraised an error at the end and required a manual Reliable Transport restart.
Package Manager
- Fixed an issue where push-time template overrides left orphaned package components.
- Bundled template help now appears even if the named package doesn't exist on the server.
- Restored the
--set-fileoption forkxi pm push. - Fixed cache invalidation when files and entities are created or replaced, preventing Package Manager replicas from serving stale package data.
- Package Manager now preserves tags when you push a package created in 1.19 to a later release.
- Package list and search endpoints return package descriptions.
- Values in
deployment_config.yamlunderKXI_PACKAGESare treated aspkg:dependencies, as if they were set in the manifest. - Fixed issues where the Files API ignored a requested package version, failed to delete legacy files, and deleted a same-named global entity when a package file was uploaded.
- Fixed
kxi pm file listfailing with aNoneTypeerror when no package filter was specified.
Python
- SQL queries return a useful error when the Query Environment gateway is not deployed.
timeout=Noneconsistently means no timeout for authorization and API clients.- Fixed User-Defined Analytics (UDA) discovery when
getMetav3 returned labels as a JSON list. - UDA discovery identifies a dedicated Aggregator even when
getMetav3 returns no process list.
API
- Query timeout and internal-failure messages distinguish input errors from service failures and include clearer diagnostic context.
- Corrected the Service Gateway OpenAPI query entries for qSQL,
getMeta, andping. - Failed
.kxi.sql2requests return the cause of the failure instead of an empty error message. - Unknown Database Service APIs and Service Gateway endpoints return an unknown API error instead of an unknown table or disconnected-resource error.
Model Context Protocol (MCP) Server
- The MCP Server waits for the API Gateway during installation and upgrade instead of entering a
CrashLoopBackOffstate. - MCP query guidance matches the corrected Service Gateway OpenAPI specification.
Web Interface
- Fixed an issue where older databases were marked as having unsaved changes when opened.
- Fixed validation issues in Trigger Read fields.
- Fixed incorrect unsaved-change indicators when opening a database with
stream.topicConfigor after reverting a change on a database without saved tier compression. - The database overview displays the correct writedown disk usage and tier names.
- The Import Wizard displays the selected database name instead of its package name when the two names differ.
Install/Upgrade
- Package Manager metrics are collected when Istio is disabled.
- Fixed upgrades failing when Package Manager metrics are enabled.
- Fixed backward-compatibility deployments ignoring intraday and historical database volume settings.
- Fixed the operator failing when an intraday or historical database tier omitted its volume size, which left the assembly in the
INITIALIZINGstate. - Fixed
libsigutilfailing to load. - Fixed Helm install and upgrade failures caused by the Keycloak configuration job being removed before other resources became ready.
Security
- Package Manager file responses include hardened security headers and protect
Content-Dispositionfilenames. - Various CVE/CWEs were remediated.
Deprecations¶
.com_kx_edi.queryBuilderis deprecated. It continues to work and logs a deprecation warning, but use.com_kx_edi.getDatain new code.
Third-party Dependencies¶
kdb Insights Enterprise 1.21.0 standalone install supports the following versions of third-party dependencies:
These versions are used in the 1.21.0 release of the standalone infrastructure installation scripts.
For important information on supported versions, see the following pages:
Artifacts¶
| Type | Downloads Portal location |
|---|---|
| Enterprise | insights-1.21.0.tgz |
| Operator | kxi-operator-1.21.0.tgz |
| CLI | kxicli-1.21.0-py3-none-any.whl |
| RT q interface | rt.1.21.0.qpk |
| RT C interface | kxi-c-sdk 1.21.0 |
| RT Python interface | kxi-rtpy-1.19.0 |
| RT Java interface | kxi-java-sdk 1.16.0 |
| RT C# interface | kxi-csharp-sdk 1.18.0 |
| Infrastructure | kxi-terraform-1.21.0.tgz |
| kxi-management-service | kxi-management-service-1.1.10.tgz |
| insights-on-k8s | insights-on-k8s-1.1.60.tgz |
We look forward to bringing you even bigger features in kdb Insights Enterprise, coming soon!