Skip to content

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

  1. 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.

  2. Stream Processor pipeline units in the Python library

    The KXI Python library includes Stream Processor pipeline-unit lifecycle calls in SPCoordinatorClient and ScratchpadClient. 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.

  3. 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.

  4. Manage Package Manager files from the command-line interface

    You can now use the kxi pm file commands 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.

  5. 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 --install and disable it with --uninstall.
  • kxi pm info lists 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_clients method to ClientController.
  • Updated the Query Client to match the current query APIs. Query functions use consistent typed scope, labels, and opts parameters, support Query Environment routing with use_qe, and let you select the SQL and getMeta API versions. The qsql function accepts scope, agg, and opts; its assembly and target parameters are deprecated.
  • Enabled TCP keepalive on Python client transports.
Scratchpad
  • Added .com_kx_edi.getData to the Scratchpad q API, matching the getData naming used elsewhere in kdb Insights Enterprise.
  • The Scratchpad no longer uses INSIGHTS_CLIENT_SECRET and INSIGHTS_CLIENT_ID environment variables.
Stream Processor
  • The v2 S3 reader supports authentication through the AWS_WEB_IDENTITY_TOKEN_FILE environment 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-database chart exposes the enablePDB setting, so you can set it to false on single-instance clusters.
  • The config-nginx settings expose ssl-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_ENABLED setting. 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.getData returned an empty table for endTS=startTS+1 when data existed for ts=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 getData request failed with a foreign key type error 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_SORT and KXI_SM_SKIP_SORT_CHECK were enabled.
  • Fixed an issue where batch ingest treated a non-partitioned table as a subsession.
  • Fixed an issue where .kxi.sql returned 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 sym column 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 q route returned rows from non-partitioned tables once per DAP, which duplicated results from calls such as .kxi.selectTable.
  • Fixed an issue where POST /snapshot stopped responding and blocked Storage Manager after a .gz import left a first-in, first-out (FIFO) pipe in the staging directory.
  • Fixed SQL joins, set operations, HAVING clauses, 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 char column no longer returns a type error.
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.get returns 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 handle field 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_error from 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.sub now accepts topic_prefix when position is set to latest.
  • Fixed an issue where soft_reset raised 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-file option for kxi 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.yaml under KXI_PACKAGES are treated as pkg: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 list failing with a NoneType error when no package filter was specified.
Python
  • SQL queries return a useful error when the Query Environment gateway is not deployed.
  • timeout=None consistently means no timeout for authorization and API clients.
  • Fixed User-Defined Analytics (UDA) discovery when getMeta v3 returned labels as a JSON list.
  • UDA discovery identifies a dedicated Aggregator even when getMeta v3 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, and ping.
  • Failed .kxi.sql2 requests 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 CrashLoopBackOff state.
  • 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.topicConfig or 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 INITIALIZING state.
  • Fixed libsigutil failing 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-Disposition filenames.
  • Various CVE/CWEs were remediated.

Deprecations

  • .com_kx_edi.queryBuilder is deprecated. It continues to work and logs a deprecation warning, but use .com_kx_edi.getData in 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!

Back to top