Skip to content

Commit

Permalink
[TA-Patch-Release] Monthly patch release for Text Analytics 5.1.5 (#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
mssfang authored Jan 14, 2022
1 parent 0ba3192 commit 1fec563
Show file tree
Hide file tree
Showing 15 changed files with 1,766 additions and 174 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ the main ServiceBusClientBuilder. -->
<suppress checks="WhitespaceAround" files="com.azure.search.documents.indexes.models.(DataChangeDetectionPolicy|DataDeletionDetectionPolicy|SearchIndexerDataIdentity|SimilarityAlgorithm)"/>

<!-- Suppression for bug https://github.com/checkstyle/checkstyle/issues/11001 -->
<suppress checks="ParenPad" files="com.azure.ai.textanalytics.TextAnalyticsClientTestBase" lines="1020,1024"/>
<suppress checks="ParenPad" files="com.azure.ai.textanalytics.TextAnalyticsClientTestBase" lines="946, 950"/>

<!-- These APIs have already leaked implementation and cannot be changed -->
<suppress checks="com.azure.tools.checkstyle.checks.NoImplInPublicAPI" files="com.azure.messaging.eventhubs.LogPartitionProcessor"/>
Expand Down
2 changes: 1 addition & 1 deletion eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-ai-textanalytics</artifactId>
<version>5.1.4</version> <!-- {x-version-update;com.azure:azure-ai-textanalytics;current} -->
<version>5.1.5</version> <!-- {x-version-update;com.azure:azure-ai-textanalytics;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ com.azure:azure-ai-formrecognizer-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-ai-documenttranslator;1.0.0-beta.1;1.0.0-beta.2
com.azure:azure-ai-metricsadvisor;1.0.4;1.1.0-beta.1
com.azure:azure-ai-metricsadvisor-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-ai-textanalytics;5.1.4;5.2.0-beta.3
com.azure:azure-ai-textanalytics;5.1.4;5.1.5
com.azure:azure-ai-textanalytics-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-analytics-purview-catalog;1.0.0-beta.2;1.0.0-beta.3
com.azure:azure-analytics-purview-scanning;1.0.0-beta.2;1.0.0-beta.3
Expand Down
2 changes: 1 addition & 1 deletion sdk/textanalytics/azure-ai-textanalytics-perf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-ai-textanalytics</artifactId>
<version>5.1.4</version> <!-- {x-version-update;com.azure:azure-ai-textanalytics;current} -->
<version>5.1.5</version> <!-- {x-version-update;com.azure:azure-ai-textanalytics;current} -->
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Performs custom model recognition operations.
*/
public class DetectLanguageTest extends ServiceTest<PerfStressOptions> {
List<String> documents = new ArrayList<>();
final List<String> documents = new ArrayList<>();

/**
* The DetectLanguageTest class.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

/**
* Package contains the core class shared in the Text Analytics performance tests.
*/
package com.azure.ai.textanalytics.perf.core;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

/**
* Package contains Text Analytics performance tests.
*/
package com.azure.ai.textanalytics.perf;
8 changes: 8 additions & 0 deletions sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# Release History

## 5.1.5 (2022-01-14)
### Other Changes

#### Dependency Updates
- Updated `azure-core` from `1.22.0` to `1.24.1`.
- Updated `azure-core-http-netty` from `1.11.2` to `1.11.6`.

## 5.1.4 (2021-11-11)
### Other Changes

Expand Down
166 changes: 83 additions & 83 deletions sdk/textanalytics/azure-ai-textanalytics/README.md

Large diffs are not rendered by default.

32 changes: 22 additions & 10 deletions sdk/textanalytics/azure-ai-textanalytics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>com.azure</groupId>
<artifactId>azure-ai-textanalytics</artifactId>
<version>5.1.4</version> <!-- {x-version-update;com.azure:azure-ai-textanalytics;current} -->
<version>5.1.5</version> <!-- {x-version-update;com.azure:azure-ai-textanalytics;current} -->

<name>Microsoft Azure client library for Text Analytics</name>
<description>This package contains the Microsoft Azure Cognitive Services Text Analytics SDK.</description>
Expand All @@ -32,16 +32,28 @@
<tag>HEAD</tag>
</scm>

<properties>
<!-- Configures the Java 9+ run to perform the required module exports, opens, and reads that are necessary for testing but shouldn't be part of the module-info. -->
<javaModulesSurefireArgLine>
--add-exports com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED
--add-opens com.azure.ai.textanalytics/com.azure.ai.textanalytics=ALL-UNNAMED
--add-exports com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED
</javaModulesSurefireArgLine>
<codesnippet.skip>false</codesnippet.skip>
<javadocDoclet></javadocDoclet>
<javadocDocletOptions></javadocDocletOptions>
</properties>

<dependencies>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.22.0</version> <!-- {x-version-update;com.azure:azure-core;dependency} -->
<version>1.24.1</version> <!-- {x-version-update;com.azure:azure-core;dependency} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.11.2</version> <!-- {x-version-update;com.azure:azure-core-http-netty;dependency} -->
<version>1.11.6</version> <!-- {x-version-update;com.azure:azure-core-http-netty;dependency} -->
</dependency>

<!-- Added this dependency to include necessary annotations used by reactor core.
Expand All @@ -58,43 +70,43 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.7.4</version> <!-- {x-version-update;com.azure:azure-core-test;dependency} -->
<version>1.7.7</version> <!-- {x-version-update;com.azure:azure-core-test;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-okhttp</artifactId>
<version>1.7.5</version> <!-- {x-version-update;com.azure:azure-core-http-okhttp;dependency} -->
<version>1.7.8</version> <!-- {x-version-update;com.azure:azure-core-http-okhttp;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.7.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-api;external_dependency} -->
<version>5.8.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-api;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.7.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-engine;external_dependency} -->
<version>5.8.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-engine;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>5.7.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-params;external_dependency} -->
<version>5.8.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-params;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.4.1</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<version>1.4.3</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.12.4</version> <!-- {x-version-update;org.mockito:mockito-core;external_dependency} -->
<version>4.0.0</version> <!-- {x-version-update;org.mockito:mockito-core;external_dependency} -->
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Loading

0 comments on commit 1fec563

Please sign in to comment.