|
4 | 4 |
|
5 | 5 | ### Features Added |
6 | 6 |
|
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. |
13 | 9 | - Added `RequestConditions` to all `Update` methods which can specify HTTP options for conditional requests based on modification time. |
14 | 10 |
|
15 | 11 | ### Breaking Changes |
16 | 12 |
|
17 | 13 | #### 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>` |
22 | 18 | - `UpdateQueue(UpdateQueueOptions options, CancellationToken cancellationToken)` changed to `UpdateQueue(RouterQueue queue, CancellationToken cancellationToken)` |
23 | 19 | - `UpdateDistributionPolicy(UpdateDistributionPolicyOptions options, CancellationToken cancellationToken)` changed to `UpdateDistributionPolicy(DistributionPolicy distributionPolicy, CancellationToken cancellationToken)` |
24 | 20 | - `UpdateClassificationPolicy(UpdateClassificationPolicyOptions options, CancellationToken cancellationToken)` changed to `UpdateClassificationPolicy(ClassificationPolicy classificationPolicy, CancellationToken cancellationToken)` |
25 | 21 | - `UpdateExceptionPolicy(UpdateExceptionPolicyOptions options, CancellationToken cancellationToken)` changed to `UpdateExceptionPolicy(ExceptionPolicy exceptionPolicy, CancellationToken cancellationToken)` |
26 | 22 |
|
27 | 23 | #### 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>` |
30 | 26 | - `UpdateJob(UpdateJobOptions options, CancellationToken cancellationToken)` changed to `UpdateJob(RouterJob job, CancellationToken cancellationToken)` |
31 | 27 | - `UpdateWorker(UpdateWorkerOptions options, CancellationToken cancellationToken)` changed to `UpdateWorker(RouterWorker worker, CancellationToken cancellationToken)` |
32 | 28 |
|
33 | 29 | #### RouterJob && CreateJobOptions && CreateJobWithClassificationOptions |
34 | 30 | - Property `Notes` - Changed from `List<RouterJobNote>` to `IList<RouterJobNote>` |
35 | 31 | - 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>` |
38 | 34 |
|
39 | 35 | ##### RouterJobNote |
40 | 36 | - Changed constructor from `RouterJobNote()` to `RouterJobNote(string message)` |
|
106 | 102 | ### Other Changes |
107 | 103 |
|
108 | 104 | #### ClassificationPolicy |
109 | | -- Add `ETag` |
| 105 | +- Added `ETag` |
110 | 106 | - Added constructor `ClassificationPolicy(string classificationPolicyId)` |
111 | 107 | - Added setters to `FallbackQueueId`, `Name`, and `PrioritizationRule` |
112 | 108 |
|
113 | 109 | #### DistributionPolicy |
114 | | -- Add `ETag` |
| 110 | +- Added `ETag` |
115 | 111 | - Added constructor `DistributionPolicy(string distributionPolicyId)` |
116 | 112 | - Added setters to `Mode` and `Name` |
117 | 113 |
|
|
0 commit comments