vscode-azurestorage icon indicating copy to clipboard operation
vscode-azurestorage copied to clipboard

Upgrade Azure extension dependencies to their latest versions

Open Copilot opened this issue 6 months ago • 0 comments

This PR upgrades the Azure extension dependencies to their latest versions as requested:

  • @microsoft/vscode-azext-azureutils: ^3.4.5^3.5.0
  • @microsoft/vscode-azext-utils: ^3.3.1^3.4.0

The dependency @microsoft/vscode-azext-azureauth was not found in package.json and was skipped as instructed.

Compatibility Fix

The newer versions of these Azure utility packages expect the AuthenticationSessionRequest API which is not yet available in stable VS Code releases. To resolve the build errors while maintaining forward compatibility, I've added a minimal type declaration file at src/types/vscode-extensions.d.ts that provides the missing interface.

This approach allows the extension to build successfully with the latest Azure packages while being ready for when the AuthenticationSessionRequest API becomes available in VS Code stable releases.

Additional Changes

  • Updated VS Code engine requirement from ^1.95.0 to ^1.103.0 to reflect the API expectations of the newer dependencies
  • Updated @types/vscode to 1.103.0 for consistency

Verification

  • ✅ Build passes without errors (npm run build)
  • ✅ Lint passes without errors (npm run lint)
  • main.js remains unchanged as required
  • tsconfig.json remains unchanged as required

The changes are minimal and surgical, focusing only on the dependency upgrades and the necessary compatibility fixes to resolve build errors.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot avatar Aug 26 '25 18:08 Copilot