Skip to content

Commit

Permalink
Rebasing master into feature/communication-ServerCalling (#22185)
Browse files Browse the repository at this point in the history
* Exposes management node in azure-core-amqp (#22095)

* Update AmqpConnection to have a getManagementNode.

* Adding AmqpManagementNode.

* Update AmqpConnection, AmqpManagementNode, AmqpSession to use AsyncCloseable.

* Adding AsyncCloseable to AmqpLink.

* ClaimsBasedSecurityNode.java uses AsyncCloseable.

* Implements CbsNode's closeAsync() and adds tests.

* ReactorSession implements closeAsync()

* ReactorConnection uses closeAsync(). Renames dispose() to closeAsync(). Fixes errors where some close operations were not subscribed to.

* RequestResponseChannel. Remove close operation with message.

* Adding DeliveryOutcome models and DeliveryState enum.

* Add authorization scope to connection options.

* Add MessageUtils to serialize and deserialize AmqpAnnotatedMessage

* Update AmqpManagementNode to expose delivery outcomes because they can be associated with messages.

* Adding MessageUtil support for converting DeliveryOutcome and Outcomes.

* Fixing build breaks from ConnectionOptions.

* Adding management channel class.

* Adding management channel into ReactorConnection.

* Update ExceptionUtil to return instead of throwing on unknown amqp error codes.

* Moving ManagementChannel formatting.

* Add javadocs to ReceivedDeliveryOutcome.

* Add tests for ManagementChannel

* Adding tests for message utils.

* Fix javadoc on ModifiedDeliveryOutcome

* ReactorConnection: Hook up dispose method.

* EventHubs: Fixing instances of ConnectionOptions.

* ServiceBus: Fix build errors using ConnectionOptions.

* Adding MessageUtilsTests.

* Updating CHANGELOG.

* Annotate HttpRange with Immutable (#22119)

* Cosmos Spark: Changing inferSchema.forceNullableProperties default to true (#22049)

* Changing default

* Docs

* Tests

* new test

* doc update

* Change log

* Make getScopes in the ARM Authentication Policy Public (#22120)

Make getScopes in the ARM Authentication Policy Public

* [Communication]: Update version, changelog, and dependency for June release (#22061)

* Update version, changelog, and dependency for June release

* Update Chat, SMS, and PhoneNumbers for release

* Correction for chat version number

* Typo in chat pom

* Unrelease Chat; update change logs for other sdks

* Nit fix

Co-authored-by: JP Chen <jiach@microsoft.com>

* Increment version for videoanalyzer releases (#21814)

* Increment package version after release of com.azure azure-media-videoanalyzer-edge

* Update version_client.txt

Co-authored-by: giakas <giakas@microsoft.com>

* Add module-info to jca and jca test module and change package name of jca test module (#22041)

* Fix error in aad-starter-sample (#22109)

* EventGrid Add 4.4.0 new system events. (#22126)

* Updates to monitor query based on API review feedback (#22114)

* API consistency review feedback

* Remove commented code

* fix tests

* Refactor building prefer header

* Fix Management Bug (#22122)

* Adding missing return statement.

* Using common logic for status codes.

* Adding isSuccessful.

* mgmt, upgrade aks (#22136)

* Add domain_hint in aad-stater. (#22134)

* Increment version for core releases (#22124)

Increment package version after release of Core libraries

* Update datafeed tests to remove error code asserts (#22121)

* Made Tables service interfaces public (#22130)

* Made service interfaces public for Key Vault and Tables impl clients.

* Removed kvErrorStrings.properties files from Key Vault SDKs. Made KeyVaultErrorCodeStrings store the constants that were in the files.

* Added check for null credentials in Key Vault Administration Builders.

* Reverted changes made to KV libraries.

* Adding lmolkova as owner for core, opentelemetry, and azure monitor exporter (#22128)

* Re-generate EventGrid 4.4.0 events without FarmsBeat events (#22148)

* Client throughput control: Deferring store invocation (#22144)

* Dummy

* Deferring teh request when ClinetThrouhgputControl is enabled

* Client throughput control: defer store invocation

* Adding additional test-coverage in throughput tests

* Reacting to code review feedback.

* Adding back createItem_withBulk test

* Sync eng/common directory with azure-sdk-tools for PR 1633 (#22145)

* Update format of new Changelog Entry

* Add parsing of changelog sections

* Update ChangeLog Logic

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>

* [Communication]: Update readme to release version (#22149)

* Update readme to release version

* Ignore transitive API errors from core

Co-authored-by: JP Chen <jiach@microsoft.com>

* Update pom (#22155)

Co-authored-by: JP Chen <jiach@microsoft.com>

* Update EventGrid Version to 4.4.0 (#22156)

* Prepared storage for GA release of STG77 (#22152)

* Identity versions Update June 2021 (#22153)

* updated keyvault jca changelog for local jre keystore certificates (#22133)

* mgmt, support vm boot diagnostics on managed storage account (#22162)

* Cosmos Spark: Not-nullable properties to include "id" (#22143)

* Id not nullable

* Unit tests

* Adding _ts

* Integration tests

* Update the release dates (#22169)

* Increment package version after release of com.azure azure-identity (#22168)

* Added support for metadata in messages (#22158)

* Added support for metadata in messages

* Updated tests to reflect various PATCH scenarios. Reverted the autorest convention change

* Re-added V2021_03_07

Co-authored-by: Andrei Giurgiu <agiurg@microsoft.com>

* Fix Azure Core Amqp Sample issue #18806 by lihong 202105271344 (#21885)

* Change Track 2 SB sendMessages() API for messages are being sent at a slow pace (#21014)

* [BUG] Track 2 SB API (Batch Send Messages) doesn't seem to work. Messages are being sent at a slow pace. #16127

* Implement an Event Hubs Shared Access Key Credential (#21228)

* Fix issue#16466 Implement an Event Hubs Shared Access Key Credential 202105061703 by  LiHong

* Prepare for metricsadvisor Beta release (#22175)

* Prepare monitor query for release (#22166)

* Increment version for communication releases (#22171)

* Increment package version after release of com.azure azure-communication-identity

* Increment package version after release of com.azure azure-communication-common

* Increment package version after release of com.azure azure-communication-phonenumbers

* Increment package version after release of com.azure azure-communication-sms

* Increment package version after release of com.azure azure-ai-metricsadvisor (#22179)

* Update azure-search-documents After Release (#22176)

* Fix title in changelog (#22181)

* Increment version for storage releases (#22172)

* Increment package version after release of com.azure azure-storage-internal-avro

* Increment package version after release of com.azure azure-storage-common

* Increment package version after release of com.azure azure-storage-blob

* Increment package version after release of com.azure azure-storage-queue

* Increment package version after release of com.azure azure-storage-file-share

* Increment package version after release of com.azure azure-storage-blob-batch

* Increment package version after release of com.azure azure-storage-blob-nio

* Increment package version after release of com.azure azure-storage-blob-cryptography

* Increment package version after release of com.azure azure-storage-file-datalake

* Increment package version after release of com.azure azure-storage-blob-changefeed

* Adding IoT Hub connection string sample (#22157)

* Adding IoTHubConnection string sample.

* Tables list/get access policies changes (#22161)

* Fixed serialization issues with listAccessPolicies() and setAccessPolicies in TableAsyncClient and TableClient. Added tests.

* Added a test for service properties and statistics.

* Fixed CheckStyle issues.

* Applied PR feedback.

* Fixed compilation error(?).

* Made TableAccessPolicies final.

* Fixed another CheckStyle issue.

* Fixed another CheckStyle issue.

Co-authored-by: Connie Yau <conniey@microsoft.com>
Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
Co-authored-by: Jianping Chen <jp.chen.jianping@gmail.com>
Co-authored-by: JP Chen <jiach@microsoft.com>
Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: giakas <giakas@microsoft.com>
Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com>
Co-authored-by: Rujun Chen <Rujun.Chen@microsoft.com>
Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com>
Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com>
Co-authored-by: Weidong Xu <weidxu@microsoft.com>
Co-authored-by: gaohan <1135494872@qq.com>
Co-authored-by: Sameeksha Vaity <savaity@microsoft.com>
Co-authored-by: vcolin7 <vicolina@microsoft.com>
Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>
Co-authored-by: Fabian Meiswinkel <fabianm@microsoft.com>
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Gauri Prasad <51212198+gapra-msft@users.noreply.github.com>
Co-authored-by: Vinay Gera <vigera@microsoft.com>
Co-authored-by: ankitarorabit <48968483+ankitarorabit@users.noreply.github.com>
Co-authored-by: angiurgiu <angiurgiu@gmail.com>
Co-authored-by: Andrei Giurgiu <agiurg@microsoft.com>
Co-authored-by: Hong Li(MSFT) <74638143+hongli750210@users.noreply.github.com>
  • Loading branch information
1 parent d740eb5 commit c5bc2f8
Show file tree
Hide file tree
Showing 321 changed files with 6,886 additions and 4,972 deletions.
4 changes: 2 additions & 2 deletions common/smoke-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.3.0</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<version>1.3.1</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
</dependency>

<dependency>
Expand All @@ -148,7 +148,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-blob</artifactId>
<version>12.11.1</version> <!-- {x-version-update;com.azure:azure-storage-blob;dependency} -->
<version>12.12.0</version> <!-- {x-version-update;com.azure:azure-storage-blob;dependency} -->
</dependency>

<dependency>
Expand Down
34 changes: 17 additions & 17 deletions eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-ai-metricsadvisor</artifactId>
<version>1.0.0-beta.4</version> <!-- {x-version-update;com.azure:azure-ai-metricsadvisor;current} -->
<version>1.0.0-beta.5</version> <!-- {x-version-update;com.azure:azure-ai-metricsadvisor;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand All @@ -64,22 +64,22 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-communication-common</artifactId>
<version>1.0.2</version> <!-- {x-version-update;com.azure:azure-communication-common;current} -->
<version>1.1.0-beta.1</version> <!-- {x-version-update;com.azure:azure-communication-common;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-communication-identity</artifactId>
<version>1.1.1</version> <!-- {x-version-update;com.azure:azure-communication-identity;current} -->
<version>1.2.0-beta.1</version> <!-- {x-version-update;com.azure:azure-communication-identity;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-communication-sms</artifactId>
<version>1.0.3</version> <!-- {x-version-update;com.azure:azure-communication-sms;current} -->
<version>1.1.0-beta.1</version> <!-- {x-version-update;com.azure:azure-communication-sms;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-communication-phonenumbers</artifactId>
<version>1.0.3</version> <!-- {x-version-update;com.azure:azure-communication-phonenumbers;current} -->
<version>1.1.0-beta.1</version> <!-- {x-version-update;com.azure:azure-communication-phonenumbers;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down Expand Up @@ -194,7 +194,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.3.1</version> <!-- {x-version-update;com.azure:azure-identity;current} -->
<version>1.4.0-beta.1</version> <!-- {x-version-update;com.azure:azure-identity;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down Expand Up @@ -229,7 +229,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-search-documents</artifactId>
<version>11.4.0-beta.3</version> <!-- {x-version-update;com.azure:azure-search-documents;current} -->
<version>11.5.0-beta.1</version> <!-- {x-version-update;com.azure:azure-search-documents;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand All @@ -254,52 +254,52 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-common</artifactId>
<version>12.12.0</version> <!-- {x-version-update;com.azure:azure-storage-common;current} -->
<version>12.13.0-beta.1</version> <!-- {x-version-update;com.azure:azure-storage-common;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-blob</artifactId>
<version>12.12.0</version> <!-- {x-version-update;com.azure:azure-storage-blob;current} -->
<version>12.13.0-beta.1</version> <!-- {x-version-update;com.azure:azure-storage-blob;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-blob-batch</artifactId>
<version>12.10.0</version> <!-- {x-version-update;com.azure:azure-storage-blob-batch;current} -->
<version>12.11.0-beta.1</version> <!-- {x-version-update;com.azure:azure-storage-blob-batch;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-blob-changefeed</artifactId>
<version>12.0.0-beta.7</version> <!-- {x-version-update;com.azure:azure-storage-blob-changefeed;current} -->
<version>12.0.0-beta.8</version> <!-- {x-version-update;com.azure:azure-storage-blob-changefeed;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-blob-cryptography</artifactId>
<version>12.12.0</version> <!-- {x-version-update;com.azure:azure-storage-blob-cryptography;current} -->
<version>12.13.0-beta.1</version> <!-- {x-version-update;com.azure:azure-storage-blob-cryptography;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-blob-nio</artifactId>
<version>12.0.0-beta.7</version> <!-- {x-version-update;com.azure:azure-storage-blob-nio;current} -->
<version>12.0.0-beta.8</version> <!-- {x-version-update;com.azure:azure-storage-blob-nio;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-file-share</artifactId>
<version>12.10.0</version> <!-- {x-version-update;com.azure:azure-storage-file-share;current} -->
<version>12.11.0-beta.1</version> <!-- {x-version-update;com.azure:azure-storage-file-share;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-file-datalake</artifactId>
<version>12.6.0</version> <!-- {x-version-update;com.azure:azure-storage-file-datalake;current} -->
<version>12.7.0-beta.1</version> <!-- {x-version-update;com.azure:azure-storage-file-datalake;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-internal-avro</artifactId>
<version>12.0.5</version> <!-- {x-version-update;com.azure:azure-storage-internal-avro;current} -->
<version>12.1.0-beta.1</version> <!-- {x-version-update;com.azure:azure-storage-internal-avro;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-queue</artifactId>
<version>12.10.0</version> <!-- {x-version-update;com.azure:azure-storage-queue;current} -->
<version>12.11.0-beta.1</version> <!-- {x-version-update;com.azure:azure-storage-queue;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
35 changes: 17 additions & 18 deletions eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.3;1.0.0-beta.4
com.azure:azure-ai-metricsadvisor;1.0.0-beta.4;1.0.0-beta.5
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-beta.8
com.azure:azure-ai-textanalytics-perf;1.0.0-beta.1;1.0.0-beta.1
Expand All @@ -51,12 +51,11 @@ com.azure:azure-analytics-synapse-artifacts;1.0.0-beta.4;1.0.0-beta.5
com.azure:azure-analytics-synapse-spark;1.0.0-beta.3;1.0.0-beta.4
com.azure:azure-analytics-synapse-managedprivateendpoints;1.0.0-beta.3;1.0.0-beta.4
com.azure:azure-analytics-synapse-monitoring;1.0.0-beta.3;1.0.0-beta.4
com.azure:azure-communication-callingserver;1.0.0;1.0.0-beta.1
com.azure:azure-communication-chat;1.0.0;1.1.0-beta.1
com.azure:azure-communication-common;1.0.2;1.0.2
com.azure:azure-communication-sms;1.0.1;1.0.3
com.azure:azure-communication-identity;1.1.0;1.1.1
com.azure:azure-communication-phonenumbers;1.0.1;1.0.3
com.azure:azure-communication-common;1.0.2;1.1.0-beta.1
com.azure:azure-communication-sms;1.0.3;1.1.0-beta.1
com.azure:azure-communication-identity;1.1.1;1.2.0-beta.1
com.azure:azure-communication-phonenumbers;1.0.3;1.1.0-beta.1
com.azure:azure-containers-containerregistry;1.0.0-beta.2;1.0.0-beta.3
com.azure:azure-core;1.17.0;1.18.0-beta.1
com.azure:azure-core-amqp;2.0.6;2.1.0-beta.1
Expand Down Expand Up @@ -84,7 +83,7 @@ com.azure:azure-data-schemaregistry-avro;1.0.0-beta.4;1.0.0-beta.5
com.azure:azure-data-tables;12.0.0-beta.7;12.0.0-beta.8
com.azure:azure-digitaltwins-core;1.1.1;1.2.0-beta.1
com.azure:azure-e2e;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-identity;1.3.0;1.3.1
com.azure:azure-identity;1.3.1;1.4.0-beta.1
com.azure:azure-identity-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-iot-deviceupdate;1.0.0-beta.1;1.0.0-beta.2
com.azure:azure-iot-modelsrepository;1.0.0-beta.1;1.0.0-beta.2
Expand All @@ -102,7 +101,7 @@ com.azure:azure-mixedreality-remoterendering;1.0.0;1.1.0-beta.1
com.azure:azure-monitor-opentelemetry-exporter;1.0.0-beta.4;1.0.0-beta.5
com.azure:azure-monitor-query;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-quantum-jobs;1.0.0-beta.1;1.0.0-beta.2
com.azure:azure-search-documents;11.3.2;11.4.0-beta.3
com.azure:azure-search-documents;11.4.0;11.5.0-beta.1
com.azure:azure-search-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-security-attestation;1.0.0-beta.1;1.0.0-beta.2
com.azure:azure-security-confidentialledger;1.0.0-beta.2;1.0.0-beta.2
Expand All @@ -115,17 +114,17 @@ com.azure:azure-security-keyvault-secrets;4.2.8;4.3.0-beta.7
com.azure:azure-sdk-template;1.2.1-beta.2;1.2.1-beta.16
com.azure:azure-spring-data-cosmos;3.7.0;3.8.0-beta.1
com.azure:azure-spring-data-cosmos-test;3.0.0-beta.1;3.0.0-beta.1
com.azure:azure-storage-blob;12.11.1;12.12.0
com.azure:azure-storage-blob-batch;12.9.1;12.10.0
com.azure:azure-storage-blob-changefeed;12.0.0-beta.6;12.0.0-beta.7
com.azure:azure-storage-blob-cryptography;12.11.1;12.12.0
com.azure:azure-storage-blob-nio;12.0.0-beta.6;12.0.0-beta.7
com.azure:azure-storage-common;12.11.1;12.12.0
com.azure:azure-storage-file-share;12.9.1;12.10.0
com.azure:azure-storage-file-datalake;12.5.1;12.6.0
com.azure:azure-storage-internal-avro;12.0.4;12.0.5
com.azure:azure-storage-blob;12.12.0;12.13.0-beta.1
com.azure:azure-storage-blob-batch;12.10.0;12.11.0-beta.1
com.azure:azure-storage-blob-changefeed;12.0.0-beta.7;12.0.0-beta.8
com.azure:azure-storage-blob-cryptography;12.12.0;12.13.0-beta.1
com.azure:azure-storage-blob-nio;12.0.0-beta.7;12.0.0-beta.8
com.azure:azure-storage-common;12.12.0;12.13.0-beta.1
com.azure:azure-storage-file-share;12.10.0;12.11.0-beta.1
com.azure:azure-storage-file-datalake;12.6.0;12.7.0-beta.1
com.azure:azure-storage-internal-avro;12.0.5;12.1.0-beta.1
com.azure:azure-storage-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-storage-queue;12.9.1;12.10.0
com.azure:azure-storage-queue;12.10.0;12.11.0-beta.1
com.azure:azure-template-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-media-videoanalyzer-edge;1.0.0-beta.3;1.0.0-beta.4
com.azure:azure-verticals-agrifood-farming;1.0.0-beta.2;1.0.0-beta.3
Expand Down
2 changes: 1 addition & 1 deletion sdk/anomalydetector/azure-ai-anomalydetector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.3.0</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<version>1.3.1</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion sdk/appconfiguration/azure-data-appconfiguration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.3.0</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<version>1.3.1</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.3.0</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<version>1.3.1</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.3.0</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<version>1.3.1</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
2 changes: 1 addition & 1 deletion sdk/attestation/azure-security-attestation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.3.0</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<version>1.3.1</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions sdk/boms/azure-spring-boot-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
<azure.spring.boot.version>${project.version}</azure.spring.boot.version>
<azure.spring.boot.integration.version>${project.version}</azure.spring.boot.integration.version>
<azure.core.version>1.17.0</azure.core.version> <!-- {x-version-update;com.azure:azure-core;dependency} -->
<azure.identity.version>1.3.0</azure.identity.version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<azure.identity.version>1.3.1</azure.identity.version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<azure.keyvault.secret.version>4.2.8</azure.keyvault.secret.version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;dependency} -->
<azure.msal.version>1.9.1</azure.msal.version> <!-- {x-version-update;com.microsoft.azure:msal4j;external_dependency} -->
<azure.servicebus.jms.version>0.0.7</azure.servicebus.jms.version> <!-- {x-version-update;com.microsoft.azure:azure-servicebus-jms;external_dependency} -->
<azure.spring.data.cosmos.version>3.7.0</azure.spring.data.cosmos.version> <!-- {x-version-update;com.azure:azure-spring-data-cosmos;dependency} -->
<azure.storage.blob.version>12.11.1</azure.storage.blob.version> <!-- {x-version-update;com.azure:azure-storage-blob;dependency} -->
<azure.storage.fileshare.version>12.9.1</azure.storage.fileshare.version> <!-- {x-version-update;com.azure:azure-storage-file-share;dependency} -->
<azure.storage.blob.version>12.12.0</azure.storage.blob.version> <!-- {x-version-update;com.azure:azure-storage-blob;dependency} -->
<azure.storage.fileshare.version>12.10.0</azure.storage.fileshare.version> <!-- {x-version-update;com.azure:azure-storage-file-share;dependency} -->
</properties>

<issueManagement>
Expand Down
2 changes: 1 addition & 1 deletion sdk/boms/azure-spring-cloud-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<azure.eventhub.version>5.7.1</azure.eventhub.version> <!-- {x-version-update;com.azure:azure-messaging-eventhubs;dependency} -->
<azure.eventhub.checkpoint.version>1.7.1</azure.eventhub.checkpoint.version> <!-- {x-version-update;com.azure:azure-messaging-eventhubs-checkpointstore-blob;dependency} -->
<azure.servicebus.version>3.6.1</azure.servicebus.version> <!-- {x-version-update;com.microsoft.azure:azure-servicebus;external_dependency} -->
<azure.storage.queue.version>12.9.1</azure.storage.queue.version> <!-- {x-version-update;com.azure:azure-storage-queue;dependency} -->
<azure.storage.queue.version>12.10.0</azure.storage.queue.version> <!-- {x-version-update;com.azure:azure-storage-queue;dependency} -->
</properties>

<dependencyManagement>
Expand Down
1 change: 1 addition & 0 deletions sdk/communication/azure-communication-chat/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 1.1.0-beta.1 (Unreleased)
- Added method `ChatThreadAsyncClient.listParticipants(ListParticipantsOptions listParticipantsOptions)`
- Added method `ChatThreadAsyncClient.listReadReceipts(ListReadReceiptOptions listReadReceiptOptions)`
- Added support for metadata in messages.

## 1.0.1 (2021-05-27)
- Dependency versions updated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
* The versions of Chat Service supported by this client library.
*/
public enum ChatServiceVersion implements ServiceVersion {
V2021_03_07("2021-03-07");
V2021_03_07("2021-03-07"),
V2021_04_05_preview6("2021-04-05-preview6");

private final String version;

Expand All @@ -34,6 +35,6 @@ public String getVersion() {
*/
public static ChatServiceVersion getLatest() {

return V2021_03_07;
return V2021_04_05_preview6;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public AzureCommunicationChatServiceImplBuilder addPolicy(HttpPipelinePolicy cus
*/
public AzureCommunicationChatServiceImpl buildClient() {
if (apiVersion == null) {
this.apiVersion = "2021-03-07";
this.apiVersion = "2021-04-05-preview6";
}
if (pipeline == null) {
this.pipeline = createHttpPipeline();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public static ChatMessage convert(com.azure.communication.chat.implementation.mo
.setCreatedOn(obj.getCreatedOn())
.setDeletedOn(obj.getDeletedOn())
.setEditedOn(obj.getEditedOn())
.setSenderDisplayName(obj.getSenderDisplayName());
.setSenderDisplayName(obj.getSenderDisplayName())
.setMetadata(obj.getMetadata());

if (obj.getSenderCommunicationIdentifier() != null) {
chatMessage.setSender(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
import java.util.Map;

/** Chat message. */
@Fluent
Expand Down Expand Up @@ -79,6 +80,12 @@ public final class ChatMessage {
@JsonProperty(value = "editedOn")
private OffsetDateTime editedOn;

/*
* Message metadata.
*/
@JsonProperty(value = "metadata")
private Map<String, String> metadata;

/**
* Get the id property: The id of the chat message. This id is server generated.
*
Expand Down Expand Up @@ -290,4 +297,24 @@ public ChatMessage setEditedOn(OffsetDateTime editedOn) {
this.editedOn = editedOn;
return this;
}

/**
* Get the metadata property: Message metadata.
*
* @return the metadata value.
*/
public Map<String, String> getMetadata() {
return this.metadata;
}

/**
* Set the metadata property: Message metadata.
*
* @param metadata the metadata value to set.
* @return the ChatMessage object itself.
*/
public ChatMessage setMetadata(Map<String, String> metadata) {
this.metadata = metadata;
return this;
}
}
Loading

0 comments on commit c5bc2f8

Please sign in to comment.