DocumentDB for VS Code v0.9 Released! ๐ธ๏ธ #750
Replies: 1 comment
-
Patch Release v0.9.1This patch introduces a first-class "No Authentication" connection mode for credential-free clusters, fixes a critical bug where the Query Playground's Run button vanishes after saving a file, extends Entra ID authentication to Azure sovereign clouds, resolves long-standing issues with non-ObjectId ๐คฒ Community ContributionsA heartfelt thank you to everyone who contributed to this release!
What's Changed in v0.9.1๐ "No Authentication" Connection Mode (#755)You can now connect to DocumentDB clusters that require no credentials at all โ no username, no password, no Entra ID. This is useful for exploratory work against clusters intentionally running without authentication, such as local development instances or clusters behind a network perimeter that handles access control externally. "No Authentication" appears as a first-class option in the connection wizard alongside Native and Microsoft Entra ID auth. The selection is honored throughout: the tree expands without prompting for credentials, the integrated shell shows If you switch an existing connection from Native or Entra ID to "No Authentication", any previously stored credentials are automatically cleared so they cannot leak back in on the next load. ๐ Query Playground: Connect to Database (#740, #758)Playground files now have a first-class way to connect, reconnect, and switch databases โ and the connection is no longer lost when you save. Connect on demand: Unconnected playground files now show a Switch databases: Clicking the connection lens while a playground is already connected opens a picker to point it at a different cluster or database. The existing connection is only replaced after a new database is picked, so cancelling preserves the current one. Connections survive saves (fixes #740): The Run, Collection View, and Shell CodeLens buttons previously disappeared after saving a ๐ Non-ObjectId
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
DocumentDB for VS Code Extension v0.9 ๐ธ๏ธ
We are excited to announce the release of DocumentDB for VS Code Extension v0.9.
This release expands the extension's multicloud reach with first-class Kubernetes service discovery, letting you connect to DocumentDB clusters running on AKS, EKS, GKE, on-premises, or local Kubernetes without writing connection strings or running
kubectl port-forwardmanually. It also delivers a dramatically improved Query Insights experience with progressive streaming of AI-generated recommendations, so you can follow along as analysis unfolds rather than staring at a spinner for 15+ seconds.What's New in v0.9
โญ Kubernetes Service Discovery
We are introducing Kubernetes service discovery, bringing true multicloud and hybrid-cloud support to the extension. If you run DocumentDB-compatible clusters in any Kubernetes environment (AKS, EKS, GKE, OpenShift, or local clusters like kind, minikube, k3s, or Docker Desktop), the extension can now find them automatically and connect you without manual configuration.
Multiple kubeconfig sources
The new Kubernetes Clusters root in the Discovery view lets you register one or more kubeconfig sources side by side, each expanding independently into its own contexts โ namespaces โ targets subtree:
KUBECONFIGor the Kubernetes default path (~/.kube/config).Auto-discovery and DocumentDB Kubernetes Operator awareness
The extension discovers DocumentDB Kubernetes Operator (DKO) managed clusters first, surfacing them as named first-class cluster nodes. Generic services that opt in via an annotation or expose known DocumentDB-compatible ports are discovered as a fallback. No changes to your cluster manifests are required for DKO-managed clusters.
Transparent port-forwarding
ClusterIP services are reached through a local port-forward tunnel. The extension establishes and restores the tunnel automatically. When you open a saved connection, the tunnel restarts behind the scenes with no extra clicks. The reachability model is honest and visible:
node-routedport-forwardpendingHover any discovered target for a rich tooltip that explains reachability, lists the service type, port, namespace, and cloud provider.
For ClusterIP targets, the Copy Connection String command opens a grouped picker. The Connection string group offers connection string variants with and without the password. The Kubernetes group adds a ready-to-run
kubectl port-forwardcommand you can paste to re-establish the same tunnel or share with a teammate. See Copy Connection String for details.Per-context display aliases
Context names auto-generated by cloud CLIs (
clusterUser_*,arn:aws:eks:*,gke_*) are often opaque. You can now right-click any context and choose Rename Contextโฆ to assign a friendly display name without touching the underlying kubeconfig file.List and tree view modes
A toggle on each context node lets you switch between:
For the full feature reference, see the Kubernetes Service Discovery user manual. For a step-by-step walkthrough that creates a local or AKS cluster and validates the full flow, see the Kubernetes Service Discovery Getting Started guide.
#621
โญ Streaming Query Insights
Query Insights now streams AI-generated recommendations progressively, eliminating the ~15-second blank wait that existed before. After clicking Get AI Performance Insights, results appear as they are generated: you can read the summary while individual index recommendations are still being produced.
Previously, the extension buffered the entire AG-generated response (which took 10โ20 s to generate) before parsing and rendering it all at once. Users had no signal that anything was happening past the first second. The new experience connects the model's natural streaming output directly to the UI:
For information on which AI model is used and how billing works, see AI Performance Insights: Model and Billing.
#711
Key Fixes and Improvements
Security:
wsDoS Vulnerability Fixed: Upgradedwsfrom 8.20.0 to 8.21.0, which fixes a remote memory exhaustion denial-of-service vulnerability where a peer could crash a server or client using a high volume of tiny WebSocket fragments with modest network traffic. #744Security:
form-dataEncoding Fix: Upgradedform-datafrom 4.0.5 to 4.0.6, which fixes improper escaping of CR, LF, and"characters in multipart field names and filenames. #745Dependency Update:
launch-editor: Upgradedlaunch-editorfrom 2.13.2 to 2.14.1, including a fix for UNC path rejection. #747Changelog
See the full changelog entry for this release:
โก๏ธ CHANGELOG.md#090
Beta Was this translation helpful? Give feedback.
All reactions