|
1 | 1 | # Release History
|
2 |
| - |
3 |
| -## 1.0.1 (Unreleased) |
4 |
| - |
5 |
| -### Features Added |
6 |
| - |
7 |
| -### Breaking Changes |
8 |
| - |
9 |
| -### Bugs Fixed |
10 |
| - |
11 |
| -### Other Changes |
12 |
| - |
13 |
| -## 1.0.0 (2023-12-13) |
14 |
| - |
| 2 | + |
| 3 | +## 2.0.0 (2024-11-08) |
| 4 | + |
15 | 5 | ### Features Added
|
16 | 6 |
|
17 |
| -- Support AAD Authentication |
18 |
| -- Support 8 severity levels output for Text Analyze |
| 7 | + - Added operation group DetectTextProtectedMaterial |
| 8 | + - Added operation in Routes for path: "/text:detectProtectedMaterial" |
| 9 | + - Added Interface ContentSafetyClientOptions |
| 10 | + - Added Interface DetectTextProtectedMaterial200Response |
| 11 | + - Added Interface DetectTextProtectedMaterialResultOutput |
| 12 | + - Added Interface TextProtectedMaterialAnalysisResultOutput |
| 13 | + - Added Type Alias AnalyzeImageOutputType |
| 14 | + - Added Type Alias AnalyzeTextOutputType |
| 15 | + - Added Type Alias ImageCategory |
| 16 | + - Added Type Alias ImageCategoryOutput |
| 17 | + - Added Type Alias TextCategory |
| 18 | + - Added Type Alias TextCategoryOutput |
| 19 | + - Interface TextBlocklistItem has a new optional parameter isRegex |
| 20 | + - Interface TextBlocklistItemOutput has a new optional parameter isRegex |
| 21 | + - Added function overload "export function isUnexpected(response: DetectTextProtectedMaterial200Response | DetectTextProtectedMaterialDefaultResponse): response is DetectTextProtectedMaterialDefaultResponse;" |
19 | 22 |
|
20 | 23 | ### Breaking Changes
|
21 | 24 |
|
22 |
| -Contract change for AnalyzeText, AnalyzeImage, Blocklist management related parameters |
23 |
| - |
24 |
| -#### AnalyzeText |
25 |
| - |
26 |
| -- AnalyzeTextOptions |
27 |
| - - Renamed `breakByBlocklists` to `haltOnBlocklistHit` |
28 |
| - - Add `outputType` |
29 |
| -- AnalyzeTextResultOutput |
30 |
| - - Renamed `blocklistsMatchResults` to `blocklistsMatch` |
31 |
| - - Replaced `TextAnalyzeSeverityResultOutput` by `TextCategoriesAnalysisOutput` |
32 |
| - |
33 |
| -#### AnalyzeImage |
34 |
| - |
35 |
| -- AnalyzeImageOptions |
36 |
| - - Add `outputType` |
37 |
| -- AnalyzeImageResultOutput |
38 |
| - - Replaced `ImageAnalyzeSeverityResultOutput` by `ImageCategoriesAnalysisOutput` |
39 |
| - |
40 |
| -#### Blocklist management |
41 |
| - |
42 |
| -- Renamed `"/text/blocklists/{blocklistName}:addBlockItems"` to `"/text/blocklists/{blocklistName}:addOrUpdateBlocklistItems"` |
43 |
| -- Renamed `"/text/blocklists/{blocklistName}:removeBlockItems"` to `"/text/blocklists/{blocklistName}:removeBlocklistItems"` |
44 |
| -- Renamed `"/text/blocklists/{blocklistName}/blockItems"` to `"/text/blocklists/{blocklistName}/blocklistItems"` |
45 |
| -- Renamed `"/text/blocklists/{blocklistName}/blockItems/{blockItemId}"` to `"/text/blocklists/{blocklistName}/blocklistItems/{blocklistItemId}"` |
46 |
| -- Renamed `AddBlockItemsOptions` to `AddOrUpdateTextBlocklistItemsOptions` |
47 |
| - - Renamed `blockItems` to `blocklistItems` |
48 |
| -- Renamed `AddBlockItemsResultOutput` to `AddOrUpdateTextBlocklistItemsResultOutput` |
49 |
| - - Renamed `value` to `blocklistItems` |
50 |
| -- Renamed `RemoveBlockItemsOptions` to `RemoveTextBlocklistItemsOptions` |
51 |
| - - Renamed `blockItemIds` to `blocklistItemIds` |
52 |
| -- Renamed `TextBlockItemInfo` to `TextBlocklistItem` |
53 |
| - |
54 |
| -## 1.0.0-beta.1 (2023-09-28) |
55 |
| - |
56 |
| -- This is the initial beta release for Azure AI Content Safety, see README.md for details. |
| 25 | + - Type of parameter categories of interface AnalyzeImageOptions is changed from string[] to ImageCategory[] |
| 26 | + - Type of parameter outputType of interface AnalyzeImageOptions is changed from string to AnalyzeImageOutputType |
| 27 | + - Type of parameter categories of interface AnalyzeTextOptions is changed from string[] to TextCategory[] |
| 28 | + - Type of parameter outputType of interface AnalyzeTextOptions is changed from string to AnalyzeTextOutputType |
| 29 | + - Type of parameter category of interface ImageCategoriesAnalysisOutput is changed from string to ImageCategoryOutput |
| 30 | + - Type of parameter category of interface TextCategoriesAnalysisOutput is changed from string to TextCategoryOutput |
| 31 | + |
0 commit comments