Skip to content

Commit 193b572

Browse files
Update .NET changelog (Azure#39882)
1 parent f3e270c commit 193b572

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

sdk/communication/Azure.Communication.JobRouter/CHANGELOG.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,33 @@
44

55
### Features Added
66

7-
#### RouterAdministrationClient
8-
- Added `RequestContext` to all methods which can override default behaviors of the client pipeline on a per-call basis.
9-
- Added `RequestConditions` to all `Update` methods which can specify HTTP options for conditional requests based on modification time.
10-
11-
#### RouterClient
12-
- Added `RequestContext` to all methods which can override default behaviors of the client pipeline on a per-call basis.
7+
#### RouterAdministrationClient && RouterClient
8+
- Added `RequestContext` to methods which can override default behaviors of the client pipeline on a per-call basis.
139
- Added `RequestConditions` to all `Update` methods which can specify HTTP options for conditional requests based on modification time.
1410

1511
### Breaking Changes
1612

1713
#### RouterAdministrationClient
18-
- `GetQueues` returns `AsyncPageable<RouterQueue>` rather than `Pageable<RouterQueueItem>`
19-
- `GetDistributionPolicies` returns `AsyncPageable<DistributionPolicy>` rather than `Pageable<DistributionPolicyItem>`
20-
- `GetClassificationPolicies` returns `AsyncPageable<ClassificationPolicy>` rather than `Pageable<ClassificationPolicyItem>`
21-
- `GetExceptionPolicies` returns `AsyncPageable<ExceptionPolicy>` rather than `Pageable<ExceptionPolicyItem>`
14+
- `GetQueues` returns `Pageable<RouterQueue>` rather than `Pageable<RouterQueueItem>`
15+
- `GetDistributionPolicies` returns `Pageable<DistributionPolicy>` rather than `Pageable<DistributionPolicyItem>`
16+
- `GetClassificationPolicies` returns `Pageable<ClassificationPolicy>` rather than `Pageable<ClassificationPolicyItem>`
17+
- `GetExceptionPolicies` returns `Pageable<ExceptionPolicy>` rather than `Pageable<ExceptionPolicyItem>`
2218
- `UpdateQueue(UpdateQueueOptions options, CancellationToken cancellationToken)` changed to `UpdateQueue(RouterQueue queue, CancellationToken cancellationToken)`
2319
- `UpdateDistributionPolicy(UpdateDistributionPolicyOptions options, CancellationToken cancellationToken)` changed to `UpdateDistributionPolicy(DistributionPolicy distributionPolicy, CancellationToken cancellationToken)`
2420
- `UpdateClassificationPolicy(UpdateClassificationPolicyOptions options, CancellationToken cancellationToken)` changed to `UpdateClassificationPolicy(ClassificationPolicy classificationPolicy, CancellationToken cancellationToken)`
2521
- `UpdateExceptionPolicy(UpdateExceptionPolicyOptions options, CancellationToken cancellationToken)` changed to `UpdateExceptionPolicy(ExceptionPolicy exceptionPolicy, CancellationToken cancellationToken)`
2622

2723
#### RouterClient
28-
- `GetJobs` returns `AsyncPageable<RouterJob>` rather than `AsyncPageable<RouterJobItem>`
29-
- `GetWorkers` returns `AsyncPageable<RouterWorker>` rather than `AsyncPageable<RouterJobWorker>`
24+
- `GetJobs` returns `Pageable<RouterJob>` rather than `Pageable<RouterJobItem>`
25+
- `GetWorkers` returns `Pageable<RouterWorker>` rather than `Pageable<RouterJobWorker>`
3026
- `UpdateJob(UpdateJobOptions options, CancellationToken cancellationToken)` changed to `UpdateJob(RouterJob job, CancellationToken cancellationToken)`
3127
- `UpdateWorker(UpdateWorkerOptions options, CancellationToken cancellationToken)` changed to `UpdateWorker(RouterWorker worker, CancellationToken cancellationToken)`
3228

3329
#### RouterJob && CreateJobOptions && CreateJobWithClassificationOptions
3430
- Property `Notes` - Changed from `List<RouterJobNote>` to `IList<RouterJobNote>`
3531
- Property `RequestedWorkerSelectors` - Changed from `List<RouterWorkerSelector>`to `IList<RouterWorkerSelector>`
36-
- Property `Labels` - Changed from `Dictionary<string, LabelValue>` to `IDictionary<string, LabelValue>`
37-
- Property `Tags` - Changed from `Dictionary<string, LabelValue>` to `IDictionary<string, LabelValue>`
32+
- Property `Labels` - Changed from `Dictionary<string, LabelValue>` to `IDictionary<string, RouterValue>`
33+
- Property `Tags` - Changed from `Dictionary<string, LabelValue>` to `IDictionary<string, RouterValue>`
3834

3935
##### RouterJobNote
4036
- Changed constructor from `RouterJobNote()` to `RouterJobNote(string message)`
@@ -106,12 +102,12 @@
106102
### Other Changes
107103

108104
#### ClassificationPolicy
109-
- Add `ETag`
105+
- Added `ETag`
110106
- Added constructor `ClassificationPolicy(string classificationPolicyId)`
111107
- Added setters to `FallbackQueueId`, `Name`, and `PrioritizationRule`
112108

113109
#### DistributionPolicy
114-
- Add `ETag`
110+
- Added `ETag`
115111
- Added constructor `DistributionPolicy(string distributionPolicyId)`
116112
- Added setters to `Mode` and `Name`
117113

0 commit comments

Comments
 (0)