DocumentDB for VS Code

Release NotesBack to Release Notes


DocumentDB for VS Code Extension v0.7

We are excited to announce the release of DocumentDB for VS Code Extension v0.7. This is a major update for our DocumentDB and MongoDB GUI, delivering long-awaited features that improve data management workflows.

It includes Lightweight Data Migration for collection copying, adds Folder Management for Connections to organize your workspace, and delivers Accessibility Improvements that make the extension more inclusive.

What’s New in v0.7

1️⃣ Lightweight Data Migration

We’re introducing Lightweight Data Migration (also known as “Collection Copy-and-Paste”). This feature enables you to copy collections and paste them into new or existing collections, across different databases or even different servers - all directly within VS Code.

Lightweight Data Migration Overview

Designed for smaller-to-medium datasets that can be streamed through your local machine, this feature simplifies moving data between environments. It’s useful for:

Conflict Resolution

When pasting into an existing collection, the migration wizard offers four conflict resolution strategies:

  1. Abort on Conflict - Stop immediately if a duplicate _id is detected
  2. Skip Conflicting Documents - Keep existing documents unchanged, only insert new ones
  3. Overwrite Existing Documents - Replace existing documents with source data
  4. Generate New IDs for All Documents - Create unique copies while preserving original IDs in _original_id

Lightweight Data Migration streams data through your local machine, reading from the source and writing to the target in efficient batches. For production-scale migrations with terabytes of data, we recommend using dedicated migration services. However, for development workflows and smaller datasets, this feature provides a convenient option.

📖 For complete details on using this feature, including all conflict resolution strategies and best practices, see our comprehensive documentation: ➡️ Collection Copy-and-Paste User Guide

#63, #170

2️⃣ Folder Management for Connections

Managing multiple database connections is now easier with hierarchical folder organization. We’ve redesigned the Connections View to support hierarchical folder organization, converting what was previously a flat list into an organized system.

Folder Management in Connections View

Key Capabilities

Additional Features

This feature is particularly valuable for developers managing:

#426

3️⃣ Accessibility Improvements

Accessibility is a core value for us, and this release includes improvements to ensure the extension is usable by everyone, regardless of ability. We’ve addressed nine accessibility issues reported by the Microsoft Accessibility Testing team, focusing on screen reader support, keyboard navigation, and ARIA labeling.

Screen Reader Enhancements

Keyboard Navigation Improvements

ARIA Labeling Fixes

User Impact

These improvements help developers using screen readers (NVDA, JAWS, Narrator, VoiceOver), keyboard-only navigation, or voice control software interact with extension features. This work aligns with WCAG 2.1 AA standards and reflects our ongoing commitment to inclusive design.

🤲 Community Contributions

We’re grateful for the contributions from our open-source community! This release includes both code contributions and valuable bug reports that helped improve the extension:

1️⃣ Alphabetical Collection Sorting (#465)

Collections within DocumentDB databases are now displayed in alphabetical order, making it much easier to find the collection you’re looking for. This improvement enhances usability when working with databases that contain many collections.

Contributed by @VanitasBlade, fixing issue #456 originally reported by @majelbstoat and @MattParkerDev.

2️⃣ Bug Reports from the Community

Additional Improvements

Cancellable Import Operations

Long-running import operations can now be cancelled. A cancel button is available in the progress notification, allowing you to stop the import process if needed. #496

Connection String Handling (#467)

Connection string inputs are now automatically trimmed and validated. This prevents issues when pasting connection strings that may contain leading or trailing whitespace, ensuring successful connections every time.

Copy Connection String with Password (#436)

When copying connection details to the clipboard, you can now choose whether to include the password. Previously, it wasn’t possible to copy connection strings with passwords included—this option provides the flexibility needed for different security contexts.

Estimated Document Count Display

Collections in the tree view now display an estimated document count, helping you assess collection sizes without running explicit count queries. This makes it easier to understand your data at a glance.

Improved AI Response Formatting (#428)

Fixed markdown formatting issues in AI-generated responses from the Query Insights feature. The extension now restricts formatting options to prevent malformed output, ensuring recommendations are always readable and properly rendered.

Improved Data Migration Feedback

Two enhancements improve the collection paste experience:

Query Insights Performance Enhancement (#468)

The Query Insights feature has been improved with an updated AI model (GPT-4o) and refined prompt architecture. Key improvements include:

These changes make the Query Insights feature faster and more reliable for analyzing query performance.

Release Notes Notification on Upgrade (#487)

When you upgrade the extension to a new major or minor version, DocumentDB for VS Code can now prompt you to view the latest release notes so you do not miss new features and important changes.

The notification appears when the Connections View becomes visible, and lets you:

Key Fixes

Azure Resources View Connectivity (#480)

Resolved connection failures when expanding Azure DocumentDB clusters in the Azure Resources view. Previously, undefined resource group metadata caused cryptic API errors. The extension now correctly extracts resource group information from resource IDs, ensuring reliable connectivity to vCore and Azure Cosmos DB for MongoDB (RU) clusters.

Dark Theme Support (#457)

Resolved UI rendering issues that affected users of dark themes like Nord. Text in certain controls was dark-on-dark and invisible, making parts of the interface unusable. All UI elements now properly respect theme colors for better visibility in both light and dark modes. Reported by @majelbstoat in #457.

Document Import from Discovery View (#479)

Fixed document import failures when using the Azure Service Discovery View with Azure Cosmos DB for MongoDB (RU) resources. The extension now properly retrieves connection strings even when metadata cache hasn’t fully populated, ensuring reliable imports from discovered resources. Resolves #368.

Monaco Editor Keyboard Paste (#470)

Restored keyboard paste functionality (Ctrl+V / Cmd+V) in the Query Editor and Document View. A regression in Monaco Editor 0.53.x/0.54.x broke keyboard shortcuts for paste operations. Downgrading to Monaco 0.52.2 resolves this issue. Context menu paste always worked, but keyboard shortcuts are now functional again. Reported by @cveld in #435.

Query Parsing Error Handling (#471)

Fixed an issue where invalid JSON in query fields (filter, projection, sort) was silently replaced with empty objects, making it difficult to understand why queries weren’t working as expected. Parse failures now display clear error dialogs with helpful JSON syntax examples. Reported by @majelbstoat in #458.

Security Dependency Updates (#434, #494)

Updated qs, express and webpack dependencies to address security vulnerabilities, ensuring the extension maintains high security standards.

Changelog

See the full changelog entry for this release: ➡️ CHANGELOG.md#070