kdb Visual Studio Code Extension release notes¶
This page details the release notes for the latest kdb Visual Studio Code Extension releases. To find the release notes for an older release, refer to the previous releases page.
v1.21.0¶
Release date: 2026-10-11
Enhancements¶
- Queries replace data sources. A
.kxqueryfile opens in a new query editor that runs qSQL, SQL, getData, preview (where the connection offers it), and UDAs on a kdb Insights Enterprise connection. The Datasources view is now QUERIES in the left side panel, with KX: New Query and KX: Convert datasources to queries from the Command Palette.- Opening a
.kdb.jsondata source converts it to a.kxqueryfile, keeping its connection, target, aggregations, and labels. The original file is left on disk, and time ranges are rewritten to the UTC instants the data source asked for. - qSQL offers the
assembly distributedexecution target on Insights, in the query editor and the workbook target picker. getData, UDAs, and qSQL choosescopefrom the same dropdown. - Query parameters are validated against their type, with an example of the expected value. Table and column dropdowns are filled from the connection's meta, label keys and values are suggested, and blank optional parameters are left out of the request.
- Opening a
- The REPL is easier to work with.
- Pasting into the REPL never runs code as it lands. A single line goes into the input; several lines are held until
RETURNruns them orCtrl+Cdiscards them. - With
kdb.hideSourceExpressionsoff, the REPL shows each statement it runs at its own prompt, the way a q console transcript reads. - You can choose each open REPL by name in the connection picker, such as
REPL (folderA), and the status bar names the REPL a file runs on. - The REPL activates the Python environment selected for its folder in Python Environments and sets
PYKX_EXECUTABLE, so a.envfile is no longer needed for PyKX.
- Pasting into the REPL never runs code as it lands. A single line goes into the input; several lines are held until
- Use
Ctrl+D/Cmd+Dkeyboard shortcuts in a KX Notebook cell to run the selection, or the current line, and view the result in the cell output. - The welcome page now adapts to the machine. When q is already found, it shows where and offers Start REPL. On Windows, it explains that KDB-X runs in WSL and offers Set QHOME to use an existing kdb+ installation instead.
Fixes¶
- Fixed an issue where switching to a nested context such as
\d .foo.imade the REPL unresponsive. - Fixed an issue where pasted comments were run as file paths, and right-clicking the REPL ran the clipboard.
- Fixed an issue where function definitions were shown on a single line in the REPL.
- Fixed an issue where Python errors in the REPL printed the contents of
evaluatePy.qinstead of the error. - Fixed errors running the REPL on Windows.
- Fixed an issue where CSV export quoted every value and triple-quoted strings.
- Booleans in results are shown as
1b/0binstead oftrue/false. - Keyed tables, attributes, empty schemas, and single values are rendered correctly in results, and gateway stack traces are shown.
- Fixed a scratchpad issue where unknown UDAs showed an uninformative
Error: undefinedmessage; a meaningful error is now shown instead. - Transient Insights websocket errors are no longer reported.
- The connection picker is sorted.
- The Suggest a Feature link opens the KX forum. For more information, refer to Help and Feedback.