Skip to content

Conversation

@tnaum-ms
Copy link
Collaborator

@tnaum-ms tnaum-ms commented Sep 8, 2025

This pull request introduces several significant improvements and new features, most notably deep Azure integration, a new service discovery provider, and enhanced branding and debugging. It also updates documentation, developer tooling, and ownership metadata to reflect these changes. Below are the most important updates:

Major Features and Integration:

  • Deep integration with the Azure Resources extension, allowing unified discovery and management of Azure Cosmos DB for MongoDB (RU and vCore) resources directly within the Azure view. [1] [2]
  • Added a new service discovery provider for Azure Cosmos DB for MongoDB (RU), with dedicated documentation and improved workflows for authentication and resource discovery. [1] [2] [3] [4]

Branding and Visual Updates:

  • Updated the extension’s icon and branding to use the official DocumentDB logo for improved brand recognition, including updates in README.md and documentation. [1] [2] [3]

Developer Experience and Internal Improvements:

  • Enhanced internal error handling for nonNull checks, now requiring file context for better debugging and triage; added detailed usage guidelines for these helpers in contributor docs. [1] [2] [3]
  • Updated .vscode/launch.json debugging configurations for improved clarity, new defaults, and richer debugging options. [1] [2] [3]
  • Improved CI and build instructions, including more verbose dependency installation and enforcing full builds before commit. [1] [2]

Metadata and Documentation:

  • Added release notes for v0.4 and updated documentation indices to reflect new features and releases. [1] [2] [3]
  • Updated CODEOWNERS to reflect the correct team for ownership.

Localization:

  • Added a new localized string for incomplete account information.

likely due to hardcoded provider strings in the different SDKs
likely due to hardcoded provider strings in the different SDKs
Copilot AI review requested due to automatic review settings September 8, 2025 07:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR releases version 0.4.0 of the DocumentDB for VS Code extension with significant API refactoring, Azure Resource integration, and deprecation of legacy code patterns.

Key Changes:

  • Refactors from legacy MongoDB/MongoClusters API to unified DocumentDB API
  • Integrates with Azure Resources Extension v3.0.0 for Azure resource management
  • Introduces new utility helpers for improved error reporting and null safety

Reviewed Changes

Copilot reviewed 99 out of 113 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
package.json Updates version to 0.3.2-alpha and Azure Cosmos DB dependency
src/extension.ts Adds feature detection for Azure Resources Extension integration
src/extensionVariables.ts Refactors extension variable names from legacy MongoDB to DocumentDB patterns
src/DocumentDBExperiences.ts Consolidates API enums from MongoDB/MongoClusters to CosmosDBMongoRU/DocumentDB
src/utils/nonNull.ts Enhances null safety helpers with better error context and file tracking
src/tree/ Updates context values from dot notation to underscore format (e.g., treeItem.databasetreeItem_database)
src/plugins/ Refactors discovery providers and adds new Azure RU discovery support
Multiple files Removes deprecated workspace view components and updates imports to use local nonNull helpers

@tnaum-ms tnaum-ms merged commit 5b3983d into main Sep 8, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants