Skip to content

Commit fc3d340

Browse files
authored
Updating Cognitive Services Computer Vision 3.2 SDK (Azure#25121)
# All SDK Contribution checklist: This checklist is used to make sure that common guidelines for a pull request are followed. - [ ] **Please open PR in `Draft` mode if it is:** - Work in progress or not intended to be merged. - Encountering multiple pipeline failures and working on fixes. - [x] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above. - [x] **I have read the [contribution guidelines](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md).** - [ ] **The pull request does not introduce [breaking changes](https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/breaking-change-rules.md).** ### [General Guidelines and Best Practices](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md#general-guidelines) - [x] Title of the pull request is clear and informative. - [x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md). ### [Testing Guidelines](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md#testing-guidelines) - [x] Pull request includes test coverage for the included changes. ### [SDK Generation Guidelines](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md#sdk-generation-guidelines) - [x] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code. (Track 2 only) > https://github.com/Azure/azure-rest-api-specs/blob/f97d1d9ec357dabb3ed5e7b974e3744f58c01564/specification/cognitiveservices/data-plane/ComputerVision/readme.md - [x] The `*.csproj` and `AssemblyInfo.cs` files have been updated with the new version of the SDK. Please double check nuget.org current release version. ## Additional management plane SDK specific contribution checklist: Note: Only applies to `Microsoft.Azure.Management.[RP]` or `Azure.ResourceManager.[RP]` - [ ] Include updated [management metadata](https://github.com/Azure/azure-sdk-for-net/tree/main/eng/mgmt/mgmtmetadata). - [ ] Update AzureRP.props to add/remove version info to maintain up to date API versions. ### Management plane SDK Troubleshooting - If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add `new service` label and/or contact assigned reviewer. - If the check fails at the `Verify Code Generation` step, please ensure: - Do not modify any code in generated folders. - Do not selectively include/remove generated files in the PR. - Do use `generate.ps1/cmd` to generate this PR instead of calling `autorest` directly. Please pay attention to the @microsoft.csharp version output after running `generate.ps1`. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version. **Note: We have recently updated the PSH module called by `generate.ps1` to emit additional data. This would help reduce/eliminate the Code Verification check error. Please run following command**: `dotnet msbuild eng/mgmt.proj /t:Util /p:UtilityName=InstallPsModules` ### Old outstanding PR cleanup Please note: If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.
1 parent 70eca57 commit fc3d340

File tree

42 files changed

+1694
-1266
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1694
-1266
lines changed

sdk/cognitiveservices/Vision.ComputerVision/CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Release History
22

3-
## 7.1.0-beta.1 (Unreleased)
3+
## 7.1.0 (2021-11-03)
44

5+
Correction patch to support v3.2 Cognitive Services Computer Vision API endpoints.
56

6-
## 6.1.0-beta.1 (Unreleased)
7+
### Changed
8+
* This patch include fixes to the Read Operation, allowing users to leverage the 'modelVersion' and 'readingOrder' parameters.
79

810
## 7.0.0 (2021-04-12)
911

sdk/cognitiveservices/Vision.ComputerVision/src/Generated/ComputerVisionClient.cs

Lines changed: 514 additions & 453 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/cognitiveservices/Vision.ComputerVision/src/Generated/ComputerVisionClientExtensions.cs

Lines changed: 155 additions & 116 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/cognitiveservices/Vision.ComputerVision/src/Generated/IComputerVisionClient.cs

Lines changed: 170 additions & 107 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/cognitiveservices/Vision.ComputerVision/src/Generated/Models/AnalyzeResults.cs

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/cognitiveservices/Vision.ComputerVision/src/Generated/SdkInfo_ComputerVisionClient.cs

Lines changed: 20 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/cognitiveservices/Vision.ComputerVision/src/Microsoft.Azure.CognitiveServices.Vision.ComputerVision.csproj

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<AssemblyTitle>Microsoft Cognitive Services ComputerVision SDK</AssemblyTitle>
44
<Description>This client library provides access to the Microsoft Cognitive Services ComputerVision APIs.</Description>
5-
<Version>7.1.0-beta.1</Version>
6-
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
7-
<ApiCompatVersion>7.0.0</ApiCompatVersion>
5+
<Version>7.1.0</Version>
86
<PackageTags>Microsoft Cognitive Services;Cognitive Services;Cognitive Services SDK;REST HTTP client;Computer Vision;Computer Vision API;Computer Vision SDK;Vision;netcore451511</PackageTags>
97
<PackageReleaseNotes>
108
<![CDATA[

sdk/cognitiveservices/Vision.ComputerVision/tests/SessionRecords/VisionAnalyzeTests/AnalyzeBrandsTest.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/cognitiveservices/Vision.ComputerVision/tests/SessionRecords/VisionAnalyzeTests/AnalyzeImageInStreamTest.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/cognitiveservices/Vision.ComputerVision/tests/SessionRecords/VisionAnalyzeTests/AnalyzeImageInvalidUrlTest.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)