Releases: microsoft/vscode-documentdb
Releases · microsoft/vscode-documentdb
v0.7.2
Improvements
- Data Migration Discoverability: The "Data Migration…" menu is now always visible on cluster nodes and introduces announced providers infrastructure to help users discover and install migration extensions from the Marketplace. #515
- Reconnect Prompt After Credential Update: Offers a reconnect prompt when updating credentials from an error recovery node, so users no longer need to manually retry the connection. #504
- Experimental AI Query Generation Setting: Adds
documentDB.experimental.enableAIQueryGenerationsetting to control the AI query generation feature, disabled by default. Reports experimental feature status via activation telemetry. #503 - tRPC Upgrade and Abort Signal Support: Upgrades
@trpc/clientand@trpc/serverto v11.10.0 and addsAbortSignal-based cancellation for webview operations. #320, #502 - Connection String Validation: Adds defensive trimming (including BOM, NBSP) at all input entry points and simplifies credential validation to avoid unnecessary parse/serialize round-trips. #511
- Feedback Collection Documentation: Documents how the extension collects user feedback and its relation to VS Code's global telemetry setting in the README. #509
Security
- Dependency Updates: Updates
minimatch(3.1.2 → 3.1.4),qs, andbody-parserto address security vulnerabilities. #505, #514
Version 0.7.1 was reserved for an internal validation build and was not released on the Marketplace.
v0.7.0
New Features
- Collection Copy and Paste: Adds lightweight data migration to copy collections across databases and connections, with conflict resolution options and throttling-aware batching. #63, #170
- Connection Folders: Adds folders and subfolders in the Connections view to organize connections, including move/rename/delete workflows. #426
Improvements
- Accessibility: Improves screen reader announcements, keyboard navigation, and ARIA labeling across Query Insights and document editing. #374, #375, #377, #378, #379, #380, #381, #384, #385
- Alphabetical Collection Sorting: Sorts collections alphabetically in the tree view. #456, #465
- Cancellable Imports: Import operations can now be cancelled. #496
- Collection Paste Feedback: Refreshes collection metadata after paste and improves error reporting for failed writes. #482, #484
- Collection Paste Validation and Input Trimming Consistency: Fixes inconsistent trimming/validation of user input. #493
- Connection String Validation: Trims and validates connection string input to avoid empty values. #467
- Copy Connection String with Password: Adds an option to include the password when copying a connection string. #436
- Estimated Document Count: Shows an estimated document count for collections in the tree view. #170
- Import/Export Feedback: Improves user feedback and error handling for import/export operations. #495
- Query Insights Prompt Hardening: Updates the Query Insights model/prompt and adds additional prompt-injection mitigations. #468
- Release Notes Notification: Prompts users to view release notes after upgrading to a new major or minor version. #487
Fixes
- Azure Resources View Expansion: Fixes cluster expansion failures in the Azure Resources view by deriving resource group information from resource IDs. #480
- Connection String Deduplication: Fixes an issue where connection string parameters were duplicated, ensuring valid connection strings and compliance with specifications. #478
- Dark Theme Rendering: Fixes unreadable text in some dark themes by respecting theme colors. #457
- Import from Discovery View: Fixes document import for Azure Cosmos DB for MongoDB (RU) discovery when connection metadata is not yet cached. #368, #479
- Invalid Query JSON: Shows a clear error when query JSON fails to parse instead of silently using empty objects. #458, #471
- Keyboard Paste Shortcuts: Restores Ctrl+V/Cmd+V in the Query Editor and Document View by pinning Monaco to 0.52.2. #435, #470
- Query Insights Markdown Rendering: Restricts AI output formatting to avoid malformed markdown rendering. #428
Security
v0.6.3
Improvements
- Query Insights: The Query Insights feature has been updated to use the available
executionStatsinstead of running the analysis in the AI context, improving performance and reliability. #404, #423 - API Telemetry Support: Enhanced telemetry support in web views for better monitoring and diagnostics. #429
- Dependency Security Update: Updated
tRPCdependencies to address a security vulnerability. #430, #431
v0.6.2
Fixes
- Azure Tenant Filtering in Service Discovery: Resolved an issue where users could not deselect tenants when filtering from a large number of available tenants. This update improves the Azure account, tenant, and subscription management workflow. For more details on the enhanced workflow, see the updated documentation. #391, #415
- Service Discovery Defaults: The service discovery feature now starts with no pre-selected engines. Previously, the Azure Cosmos DB for MongoDB (RU) plugin was enabled by default, which has been corrected. #390, #412
- Accessibility in Query Insights: Fixed a responsive layout issue in the "Query Insights" tab where the 'AI response may be inaccurate' text would overlap with other UI elements on resize. #376, #416
Improvements
v0.6.1
New Features & Improvements
- Feedback Optimization: Introduces privacy consent and feedback signal controls for the Query Insights feature, primarily to ensure compliance with organizational data protection requirements and user telemetry settings. It also disables survey functionality and refines the feedback dialog UI. #392
Fixes
- Privacy Policy Link: Updated the outdated privacy policy link in the README to the current Microsoft privacy statement URL. #388
v0.6.0
New Features & Improvements
- Query Insights with Performance Advisor: Introduces a new "Query Insights" tab that provides a three-stage analysis of query performance. This includes a static query plan, detailed execution statistics, and AI-powered recommendations from GitHub Copilot to help understand performance bottlenecks and optimize slow queries.
- Improved Query Specification: The query editor now supports
projection,sort,skip, andlimitparameters, in addition tofilter. Autocompletion is also enabled forprojectionandsortfields. - Index Management from the Tree View: Users can now
drop,hide, andunhideindexes directly from the context menu in the Connections View. - Azure Cosmos DB for MongoDB (vCore) is now Azure DocumentDB: Renamed the service in the UI and in the documentation.
Fixes
- UI Element Visibility: Fixed issues where the autocomplete list in the query editor and tooltips in tree/table views could be hidden by other UI elements.
v0.5.2
New Features & Improvements
- Updated Migration API for Integrations: This release introduces API versioning for the DocumentDB extension API and adds support for a new, more robust v0.3.0 API. The changes update documentation, interfaces, and implementation to reflect the new API version, including stricter provider registration and context validation. The migration provider workflow and usage examples have been clarified, and deprecated API versions are documented. Additional improvements include dependency updates, better credential handling, and minor localization and client registration changes. #321, #322
v0.5.1
Fixes
- Connection String Parsing: Resolved an issue where connection strings containing special characters (e.g.,
@) in query parameters, such as those from Azure Cosmos DB (appName=@myaccount@), would fail to parse. The connection string parser now properly sanitizes query parameters before parsing, ensuring reliable connections. #314, #316
v0.5.0
New Features & Improvements
- Enhanced Microsoft Entra ID Support: Overhauled Microsoft Entra ID integration for Azure Cosmos DB for MongoDB (vCore) to fully support multi-account and multi-tenant environments, enabling uninterrupted workflows for developers working across different organizations. This includes multi-account management and multi-tenant filtering. #277, #285, #284, #265, #243
- New "Help and Feedback" View: Added a new view to the extension sidebar, providing a central place to access documentation, see the changelog, report issues, and request features. #289
Fixes
- Password Re-entry on Shell Launch: Fixed a regression where users with saved credentials were still prompted for a password when launching the shell. #285
- Tenant Information in Service Discovery: Resolved an issue where the extension would fail to respect the tenant context when interacting with Azure resources from a non-default tenant. #276
- Connection Authentication Update: Corrected a failure that occurred when updating a connection's authentication method from Entra ID to a username/password. #284
v0.4.1
Improvement
- Walkthrough Welcome Screen & Sidebar Icon Discovery: The walkthrough welcome screen behavior has been updated to help users notice the updated extension icon in the VS Code sidebar. This change highlights the new branding so users can find the extension more easily from the environment they already use. #253