Skip to content

appservice: Upgrade appservice sdk and bump package version#2184

Merged
MicroFish91 merged 13 commits intomainfrom
mwf/upgrade-sdk
Feb 6, 2026
Merged

appservice: Upgrade appservice sdk and bump package version#2184
MicroFish91 merged 13 commits intomainfrom
mwf/upgrade-sdk

Conversation

@MicroFish91
Copy link
Contributor

@MicroFish91 MicroFish91 commented Feb 5, 2026

I'm upgrading the appservice dependency by 3 major versions, so also bumped the major version for the release.

Note: I could not figure out why the typescript build was failing for CJS but not ESM without the typecast. It seems it is not recognizing that WebSiteManagementClient extends the required ServiceClient. It thinks it's a different ServiceClient definition. When I step into each type, they both point to the same definitions. I thought initially it might be because createAzureClient was pointing to a different core client type from another version, but even after upgrading the azure package to the same core client version that the SDK uses internally, the compile error still seemed to persist.

I'm not thrilled with an unknown typecast as the solution, but I'm not sure what a better solution would be. It seems to work okay extension-side AFAICT (mostly tested using Azure Functions extension).

I let Copilot churn on it for a while and it seems to think this is a ESM/CJS module resolution quirk; I'm still not confident on the exact reasoning though.

@MicroFish91 MicroFish91 requested a review from a team as a code owner February 5, 2026 21:35
@MicroFish91 MicroFish91 changed the title Upgrade appservice sdk and bump package version appservice: Upgrade appservice sdk and bump package version Feb 6, 2026
@MicroFish91 MicroFish91 enabled auto-merge (squash) February 6, 2026 21:45
@MicroFish91 MicroFish91 merged commit 5a5f9b9 into main Feb 6, 2026
4 checks passed
@MicroFish91 MicroFish91 deleted the mwf/upgrade-sdk branch February 6, 2026 21:46
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.

2 participants