From c6be7be9398cd1848306188af47e1be411f397da Mon Sep 17 00:00:00 2001 From: Anu Thomas Chandy Date: Thu, 8 Jul 2021 12:20:22 -0700 Subject: [PATCH] [MA] Increment MA version to 1.0.0 for July Release (#22846) * [ma]: updating changelog for changes made after 1.0.0-beta.4 * [MA]: Updating the version_client.txt for GAing MA --- eng/jacoco-test-coverage/pom.xml | 2 +- eng/versioning/version_client.txt | 2 +- .../azure-ai-metricsadvisor-perf/pom.xml | 2 +- .../azure-ai-metricsadvisor/CHANGELOG.md | 24 ++++++++++++++++++- .../azure-ai-metricsadvisor/README.md | 4 ++-- .../azure-ai-metricsadvisor/pom.xml | 2 +- sdk/metricsadvisor/pom.xml | 2 +- 7 files changed, 30 insertions(+), 8 deletions(-) diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index 5e8966a54ce55..2129155d6108b 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -49,7 +49,7 @@ com.azure azure-ai-metricsadvisor - 1.0.0-beta.5 + 1.0.0 com.azure diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 51ef038eae49d..25d403173d87f 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -40,7 +40,7 @@ com.azure:azure-ai-anomalydetector;3.0.0-beta.2;3.0.0-beta.3 com.azure:azure-ai-formrecognizer;3.0.8;3.1.0 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.0-beta.4;1.0.0-beta.5 +com.azure:azure-ai-metricsadvisor;1.0.0;1.0.0 com.azure:azure-ai-metricsadvisor-perf;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-ai-textanalytics;5.0.6;5.1.0 com.azure:azure-ai-textanalytics-perf;1.0.0-beta.1;1.0.0-beta.1 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor-perf/pom.xml b/sdk/metricsadvisor/azure-ai-metricsadvisor-perf/pom.xml index aa497580a92e8..77081006a1c66 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor-perf/pom.xml +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor-perf/pom.xml @@ -32,7 +32,7 @@ com.azure azure-ai-metricsadvisor - 1.0.0-beta.5 + 1.0.0 diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md index 5f2d4831dc9fc..bc9ee8b464a06 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/CHANGELOG.md @@ -1,7 +1,29 @@ # Release History -## 1.0.0-beta.5 (Unreleased) +## 1.0.0 (2021-07-08) +### Features added + +- Added `getAdmins` and `setAdmins` methods to `NotificationHook` model +- Added the `getMeasureType` and `setMeasureType` to `MetricBoundaryCondition` model +- Added `getViewers` and `setViewers` methods to `DataFeedOptions` model + +### Breaking changes + +- Removed the prefix `Anomaly` from all Alert Configuration APIs +- Removed the prefix `MetricAnomaly` from all Detection Configuration APIs +- Renamed `MetricAnomalyAlertConfiguration` to `MetricAlertConfiguration` +- Renamed `DetectionConditionsOperator` to `DetectionConditionOperator` +- Renamed the `getDimensionsToSplitAlert` method in the model `AnomalyAlertConfiguration` to `getDimensionsToSplitAlert` +- Renamed the `setDimensionsToSplitAlert` method in the model `AnomalyAlertConfiguration` to `setDimensionsToSplitAlert` +- Updated the model getter and setter methods for primitive types to use corresponding reference types +- Renamed `setCrossConditionOperator` method in all detection configuration condition models to `setConditionOperator` +- Renamed `getCrossConditionOperator` method in all detection configuration condition models to `getConditionOperator` +- Updated the constructors of `DataFeedMetric`, `DataFeedDimension`, `ChangeThresholdCondition`, `HardThresholdCondition`, `SmartDetectionCondition`, `SeverityCondition`, `MetricAnomalyAlertSnoozeCondition` and `TopNGroupScope` to take required parameters. +- Removed `SingleBoundaryCondition` model +- Removed `setSingleBoundary` and `setBothBoundary` methods in `MetricBoundaryCondition` model +- Replaced `listAnomalies` API with `listAnomaliesForAlert` and `listAnomaliesForDetectionConfig` +- Replaced `listIncidents` API with `listIncidentsForAlert` and `listIncidentsForDetectionConfig` ## 1.0.0-beta.4 (2021-06-09) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md index c266537797ffe..8e95613bf8568 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/README.md @@ -20,7 +20,7 @@ of business dataFeedMetrics. com.azure azure-ai-metricsadvisor - 1.0.0-beta.3 + 1.0.0 ``` [//]: # ({x-version-update-end}) @@ -81,7 +81,7 @@ Authentication with AAD requires some initial setup: com.azure azure-identity - 1.2.3 + 1.3.3 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/pom.xml b/sdk/metricsadvisor/azure-ai-metricsadvisor/pom.xml index 3c635e2e88c56..f2845d6add8db 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/pom.xml +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/pom.xml @@ -13,7 +13,7 @@ com.azure azure-ai-metricsadvisor - 1.0.0-beta.5 + 1.0.0 Microsoft Azure client library for Metrics Advisor This package contains the Microsoft Azure Cognitive Services Metrics Advisor SDK. diff --git a/sdk/metricsadvisor/pom.xml b/sdk/metricsadvisor/pom.xml index 292ea536ad856..7c0391f384dba 100644 --- a/sdk/metricsadvisor/pom.xml +++ b/sdk/metricsadvisor/pom.xml @@ -19,7 +19,7 @@ com.azure azure-ai-metricsadvisor - 1.0.0-beta.5 + 1.0.0