Skip to content

Commit bd6bcfb

Browse files
Update Rooms SDK for PSTN GA (Azure#29019)
### Packages impacted by this PR communication-rooms ACS Rooms SDK ### Issues associated with this PR ### Describe the problem that is addressed by this PR Updating version following new Rooms version (2024-04-15) ### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen? ### Are there test cases added in this PR? _(If not, why?)_ ### Provide a list of related PRs _(if any)_ ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ### Checklists - [ ] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [ ] Added a changelog (if necessary)
1 parent 40a6141 commit bd6bcfb

File tree

12 files changed

+207
-202
lines changed

12 files changed

+207
-202
lines changed

sdk/communication/communication-rooms/CHANGELOG.md

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

3+
## 1.1.0 (2024-04-15)
4+
5+
- General Availability version of PSTN dial-out capability feature
6+
37
## 1.1.0-beta.1 (2023-09-21)
48

59
### Features Added

sdk/communication/communication-rooms/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ If `validFrom` is not provided, it is defaulted to the current datetime. If `val
8383

8484
When defining `participants`, if `role` is not specified, then it will be `attendee` by default.
8585

86-
Starting in 1.1.0-beta.1 release, `PstnDialOutEnabled` property is added to enable or disable PSTN Dial-Out feature in a room. The `PstnDialOutEnabled` is an optional property. If `PstnDialOutEnabled` is not provided, then the default for `PstnDialOutEnabled` is false.
86+
Starting in 1.1.0 release, `PstnDialOutEnabled` property is added to enable or disable PSTN Dial-Out feature in a room. The `PstnDialOutEnabled` is an optional property. If `PstnDialOutEnabled` is not provided, then the default for `PstnDialOutEnabled` is false.
8787

8888
```js
8989
// create users with CommunicationIdentityClient
@@ -122,7 +122,7 @@ const room = await roomsClient.createRoom(createRoomOptions);
122122

123123
To update the `validFrom` and `validUntil` settings of a room use the `updateRoom` method.
124124

125-
Starting in 1.1.0-beta.1 release, `PstnDialOutEnabled` property is added to enable or disable PSTN Dial-Out feature in a room.
125+
Starting in 1.1.0 release, `PstnDialOutEnabled` property is added to enable or disable PSTN Dial-Out feature in a room.
126126

127127
```js
128128
validForDays = 60;

sdk/communication/communication-rooms/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/communication/communication-rooms",
5-
"Tag": "js/communication/communication-rooms_51deddbace"
5+
"Tag": "js/communication/communication-rooms_45d70496ab"
66
}

sdk/communication/communication-rooms/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"sdk-type": "client",
44
"author": "Microsoft Corporation",
55
"description": "Azure client library for Azure Communication Rooms services",
6-
"version": "1.1.0-beta.1",
6+
"version": "1.1.0",
77
"engines": {
88
"node": ">=18.0.0"
99
},
1010
"dependencies": {
11-
"@azure/communication-common": "^2.2.0",
11+
"@azure/communication-common": "^2.3.1",
1212
"@azure/core-auth": "^1.3.2",
1313
"@azure/core-client": "^1.6.0",
1414
"@azure/core-rest-pipeline": "^1.3.0",

sdk/communication/communication-rooms/samples/v1/typescript/src/participantOperations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export async function main() {
124124
* @param participants - The Participants being printed to console.
125125
*/
126126
async function printParticipants(
127-
participants: PagedAsyncIterableIterator<Partial<RoomParticipant>>
127+
participants: PagedAsyncIterableIterator<Partial<RoomParticipant>>,
128128
): Promise<void> {
129129
var count = 0;
130130
for await (const participant of participants) {

sdk/communication/communication-rooms/samples/v1/typescript/src/roomOperations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export async function main() {
3737
var validForDays = 10;
3838
var validUntil = addDays(validFrom, validForDays);
3939
var pstnDialOutEnabled = true;
40-
40+
4141
// options payload to create a room
4242
const createRoomOptions: CreateRoomOptions = {
4343
validFrom: validFrom,

0 commit comments

Comments
 (0)