You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New Features
Context-Aware Autocompletion in Collection View: The filter, project, sort, and aggregation editors now provide schema-aware field suggestions, type-aware operator ordering, hover documentation, real-time syntax validation, and relaxed query syntax (unquoted keys, BSON constructors, JavaScript expressions). #508, #506, #513, #518
Query Playground: Introduces .documentdb.js files for writing and running JavaScript scripts against your cluster with CodeLens execution (per-block and Run All), console.log()/print()/printjson() support, per-file connections, and autocompletion for db.* chains and schema fields. No external tools required: the runtime is bundled and works with Entra ID. #508, #573, #589
Interactive Shell: A full REPL terminal in VS Code with shell commands (show dbs, use <db>, help, it, exit), persistent eval context (variables carry over between commands), syntax highlighting, tab completion with ghost text, Ctrl+C cancellation, and clickable result links. Bundled runtime, no external tools needed, works with Entra ID. #508, #573, #576, #580
Cross-Feature Navigation: Collection View, Query Playground, and Interactive Shell are linked with toolbar buttons, CodeLens actions, clickable terminal links, and clipboard copy/paste for seamless query movement between surfaces. #589
About Dialog: Adds an "About" entry to the Help & Feedback view with extension version, VS Code version, OS details, and registered plugins, plus a Copy button for bug reporting. #612
Improvements
Query Insights: Static Analysis: Improved performance evaluation with selectivity and fetch overhead metrics, three-color badge system, index strategy advisories, and edge case fixes. AI analysis now aligns with static analysis to avoid contradictions. Demoted score for single-field bitmap indexes on high-selectivity queries. #615, #616, #623
Double-Click to Open Collection View: The Documents tree item now requires a double-click to open the Collection View, preventing tabs from opening accidentally on single-click browse.
Custom Editor Tab Icons: Collection View, Document View, and Query Playground tabs now display dedicated icons instead of the default webview icon.
Telemetry: Simplified and standardized telemetry instrumentation across connection, discovery, shell, and playground features. #601, #544, #599
Internal Package Rename: Renamed internal packages to @documentdb-js scope for consistency. #613
Prerelease Version Migration: Implemented migration for prerelease version handling in notifications. #610
Fixes
Duplicate Connection Reveal: Fixed an issue where revealing a duplicate connection failed when the connection was inside a folder. #602