[mgmt] deviceprovisioningservices release#36149
Merged
Siongithub merged 6 commits intoAzure:mainfrom Oct 22, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR implements a management client release for deviceprovisioningservices, migrating from an AutoRest-generated SDK to a newer modular architecture based on TypeSpec specifications.
- Migrates from legacy @azure/core-client based implementation to @azure-rest/core-client modular approach
- Updates API to use new 2025-02-01-preview version with enhanced features like device registry namespaces
- Restructures codebase with api/, classic/, and static-helpers/ directories for better organization
Reviewed Changes
Copilot reviewed 193 out of 195 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| ci.mgmt.yml | Adds branch exclusion for feature/v4 |
| vitest.esm.config.ts | Adds ESM test configuration |
| tsp-location.yaml | Defines TypeSpec specification location |
| models/models.ts | Complete rewrite with new model definitions and serializers |
| src/iotDpsClient.ts | Modernizes client implementation to use new modular architecture |
| src/index.ts | Updates exports to include new API surface and helper functions |
| test files | Updates tests to use new synchronous operations and test configuration |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)
sdk/deviceprovisioningservices/arm-deviceprovisioningservices/test/deviceprovisioningservices_operations_test.spec.ts:1
- The test switches from asynchronous LRO operations (beginCreateOrUpdateAndWait, beginDeleteAndWait) to synchronous operations (createOrUpdate, delete) but still passes polling options to the delete operation. This suggests the operations may still be LROs but the test doesn't properly handle the returned pollers, potentially missing test coverage for the actual completion of these operations.
/*
kazrael2119
commented
Oct 9, 2025
...vices/arm-deviceprovisioningservices/test/deviceprovisioningservices_operations_test.spec.ts
Show resolved
Hide resolved
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
This was referenced Oct 9, 2025
[TypeSpec] Generate SDK for Device Provisioning Services Management
Azure/azure-rest-api-specs#37923
Draft
3 tasks
Siongithub
approved these changes
Oct 17, 2025
jeremymeng
approved these changes
Oct 20, 2025
Siongithub
approved these changes
Oct 21, 2025
Contributor
MaryGao
approved these changes
Oct 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Azure/azure-rest-api-specs#37922
Azure/azure-rest-api-specs#37923
Release Plan Details
Spec pull request: Fixed 2025-02-01-preview API by Reverting Linked Hub Changes and Added DeviceRegistry Namespace azure-rest-api-specs#31635
Spec API version: 2025-02-01-preview