Skip to content

Commit 773de46

Browse files
JianpingChenJP Chen
andauthored
[Communication] Update files for February release (#558)
* Initial changes * Update ChangeLog.md files for release date * Update common change log with details * Update ChangeLog.md detail for common * Update ChangeLog.md detail for common * Remove some stupidity Co-authored-by: JP Chen <[email protected]>
1 parent 4ba0d82 commit 773de46

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

sdk/communication/azure-communication-chat/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 1.0.0-beta.5 (2021-02-03)
3+
## 1.0.0-beta.5 (2021-02-08)
44
### Added
55
- Support for three more types of chat message content
66
- Support adding user agent http header in chat client

sdk/communication/azure-communication-common/CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Release History
22

3-
## 1.0.0-beta.5 (Unreleased)
3+
## 1.0.0-beta.5 (2021-02-08)
4+
### Breaking Changes
5+
- Removed 'CallingApplicationIdentifier'.
6+
- Removed 'getId' method in 'CommunicationIdentifier' class.
7+
8+
### New Features
9+
- Added a new 'MicrosoftTeamsUserIdentifier' constructor that takes a non-null CommunicationCloudEnvironment parameter.
10+
- Added class 'CommunicationCloudEnvironment'.
11+
- Added class 'CommunicationCloudEnvironmentModel'.
12+
- Added class 'CommunicationIdentifierSerializer'.
13+
- Added class 'CommunicationIdentifierModel'.
14+
- Added class 'MicrosoftTeamsUserIdentifierModel'.
15+
- Added class 'PhoneNumberIdentifierModel'.
16+
- Added class 'CommunicationUserIdentifierModel'.
417

518
## 1.0.0-beta.4 (2021-01-28)
619
### Breaking Changes

sdk/communication/azure-communication-common/src/main/java/com/azure/android/communication/common/MicrosoftTeamsUserIdentifier.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
import com.azure.android.core.util.CoreUtil;
88

9+
import java.util.Objects;
10+
911
/**
1012
* Communication identifier for Microsoft Teams User
1113
*/
@@ -26,8 +28,9 @@ public class MicrosoftTeamsUserIdentifier extends CommunicationIdentifier {
2628
* @param cloudEnvironment the cloud environment in which this identifier is created
2729
* @throws IllegalArgumentException thrown if userId parameter fail the validation.
2830
*/
29-
public MicrosoftTeamsUserIdentifier(String userId, boolean isAnonymous, CommunicationCloudEnvironment cloudEnvironment) {
31+
public MicrosoftTeamsUserIdentifier(String userId, boolean isAnonymous, CommunicationCloudEnvironment cloudEnvironment) {
3032
this(userId, isAnonymous);
33+
Objects.requireNonNull(cloudEnvironment);
3134
this.cloudEnvironment = cloudEnvironment;
3235
}
3336

0 commit comments

Comments
 (0)