Skip to content

Commit 2167472

Browse files
authored
1.3.2 Pre-Releases (#565)
* Add directive to remove breaking undocumented API. * Bump all modules to 1.3.2 * Add rename directive to duplicate device management cmdlets. * Update readme.md
1 parent 367f12a commit 2167472

File tree

8 files changed

+82
-6
lines changed

8 files changed

+82
-6
lines changed

src/Authentication/Authentication/Microsoft.Graph.Authentication.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = './Microsoft.Graph.Authentication.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '1.3.1'
15+
ModuleVersion = '1.3.2'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'

src/DeviceManagement.Actions/DeviceManagement.Actions/readme.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ directive:
4141
# Remove invalid paths that exceed Windows file name limit.
4242
- remove-path-by-operation: ^deviceManagement.(deviceShellScripts.userRunStates.deviceRunStates.managedDevice_.*|windowsAutopilotDeploymentProfiles.(assignedDevices_updateDeviceProperties|assignedDevices.deploymentProfile_assign|assignedDevices.intendedDeploymentProfile_assign|assignedDevices_assignResourceAccountToDevice|assignedDevices_unassignResourceAccountFromDevice)|deviceComplianceScripts.deviceRunStates.managedDevice_.*|deviceCustomAttributeShellScripts.(deviceRunStates.managedDevice_.*|userRunStates.deviceRunStates.managedDevice_.*)|deviceManagementScripts.deviceRunStates.managedDevice(_updateWindowsDeviceAccount|_logoutSharedAppleDeviceActiveUser|_deleteUserFromSharedAppleDevice|_createDeviceLogCollectionRequest|_sendCustomNotificationToCompanyPortal|_triggerConfigurationManagerAction|_windowsDefenderUpdateSignatures)|deviceManagementScripts.userRunStates.deviceRunStates.managedDevice_.*|deviceConfigurations.groupAssignments.deviceConfiguration(_assignedAccessMultiModeProfiles|_windowsPrivacyAccessControls)|deviceHealthScripts.deviceRunStates.managedDevice(_sendCustomNotificationToCompanyPortal|_createDeviceLogCollectionRequest)|deviceShellScripts.deviceRunStates.managedDevice_sendCustomNotificationToCompanyPortal)$
4343

44+
# Remove cmdlets.
45+
- where:
46+
verb: New
47+
subject: ^DeviceManagementComanagedDeviceLogCollectionRequest$
48+
remove: true
49+
- where:
50+
verb: Update
51+
subject: ^DeviceManagementComanagedDevice.*
52+
remove: true
53+
4454
# Rename cmdlets.
4555
- where:
4656
verb: Get
@@ -56,8 +66,23 @@ directive:
5666
set:
5767
verb: Invoke
5868
subject: $1WindowsPrivacyAccessControl
69+
- where:
70+
verb: Update
71+
subject: ^(DeviceManagementGroupPolicyConfiguration)(DefinitionValue)$
72+
set:
73+
subject: $1Multiple$2
74+
- where:
75+
verb: Update
76+
subject: ^(DeviceManagementIntent)(Setting)$
77+
set:
78+
subject: $1Multiple$2
79+
- where:
80+
verb: Update
81+
subject: ^(DeviceManagementManagedDevice)$
82+
set:
83+
verb: New
84+
subject: $1WindowsDefenderUpdateSignature
5985
```
60-
6186
### Versioning
6287
6388
``` yaml

src/DeviceManagement.Administration/DeviceManagement.Administration/readme.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,24 @@ require:
3131
title: $(service-name)
3232
subject-prefix: ''
3333
```
34+
35+
### Directives
36+
37+
> see https://github.com/Azure/autorest/blob/master/docs/powershell/directives.md
38+
39+
``` yaml
40+
directive:
41+
# Remove cmdlets.
42+
- where:
43+
verb: New
44+
subject: ^DeviceManagementGroupPolicyMigrationReport$
45+
remove: true
46+
- where:
47+
verb: Remove
48+
subject: ^DeviceManagementGroupPolicyUploadedDefinitionFile$
49+
remove: true
50+
```
51+
3452
### Versioning
3553
3654
``` yaml

src/DeviceManagement.Functions/DeviceManagement.Functions/readme.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,30 @@ require:
3131
title: $(service-name)
3232
subject-prefix: ''
3333
```
34+
35+
### Directives
36+
37+
> see https://github.com/Azure/autorest/blob/master/docs/powershell/directives.md
38+
39+
``` yaml
40+
directive:
41+
# Rename cmdlets.
42+
- where:
43+
subject: ^(DeviceManagement(Condition|ConditionStatementManagementCondition|ConditionStatementManagementConditionStatement))$
44+
set:
45+
subject: $1ForPlatform
46+
- where:
47+
subject: ^(DeviceManagementRoleScopeTag)$
48+
variant: ^Get$
49+
set:
50+
subject: $1ById
51+
- where:
52+
subject: ^(DeviceManagementRoleScopeTag)$
53+
variant: ^Get1$|^GetViaIdentity$
54+
set:
55+
subject: $1ByResource
56+
```
57+
3458
### Versioning
3559
3660
``` yaml

src/DeviceManagement/DeviceManagement/readme.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ directive:
4141
# Remove invalid paths.
4242
- remove-path-by-operation: ^deviceManagement.(deviceManagementScripts.userRunStates.deviceRunStates_SetRefManagedDevice|groupPolicyConfigurations.definitionValues.presentationValues_SetRefDefinitionValue|groupPolicyConfigurations.definitionValues.presentationValues_SetRefPresentation|deviceShellScripts.userRunStates.deviceRunStates_SetRefManagedDevice)$
4343

44+
# Remove cmdlets.
45+
- where:
46+
verb: New
47+
subject: ^DeviceManagement(Managed|Comanaged)DeviceLogCollectionRequest$
48+
remove: true
49+
- where:
50+
verb: Update
51+
subject: ^DeviceManagementComanagedDevice$
52+
remove: true
53+
4454
# Rename cmdlets.
4555
- where:
4656
subject: ^(DeviceManagementUserExperienceAnalyticAppHealthApplicationPerformance)$
@@ -64,7 +74,6 @@ directive:
6474
set:
6575
subject: $1ForWorkSetting
6676
```
67-
6877
### Versioning
6978
7079
``` yaml

src/Devices.CorporateManagement/Devices.CorporateManagement/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ subject-prefix: ''
3939
``` yaml
4040
directive:
4141
# Remove paths that are too long.
42-
- remove-path-by-operation: ^deviceAppManagement.wdacSupplementalPolicies.deviceStatuses(.policy_assign|_GetPolicy|_GetRefPolicy|_UpdateRefPolicy|_DeleteRefPolicy|_SetRefPolicy)$|^deviceManagement.deviceHealthScripts.deviceRunStates.managedDevice_deleteUserFromSharedAppleDevice$
42+
- remove-path-by-operation: ^deviceAppManagement.wdacSupplementalPolicies.deviceStatuses(.policy_assign|_GetPolicy|_GetRefPolicy|_UpdateRefPolicy|_DeleteRefPolicy|_SetRefPolicy)$|^deviceManagement.deviceHealthScripts.deviceRunStates.managedDevice_deleteUserFromSharedAppleDevice|^deviceAppManagement.mobileApps.userStatuses.deviceStatuses.app.microsoft.graph.iosVppApp_.*$
4343
# Rename cmdlets with duplicates in their name.
4444
- where:
4545
subject: ^(DeviceAppManagement)(\1)+

src/Financials/Financials/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ directive:
5757
### Versioning
5858
5959
``` yaml
60-
module-version: 1.3.1
60+
module-version: 1.3.2
6161
release-notes: See https://aka.ms/GraphPowerShell-Release.
6262
```

src/Notes/Notes/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ directive:
4444
### Versioning
4545
4646
``` yaml
47-
module-version: 1.3.1
47+
module-version: 1.3.2
4848
release-notes: See https://aka.ms/GraphPowerShell-Release.
4949
```

0 commit comments

Comments
 (0)