Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare Releases #664

Merged
merged 5 commits into from
Oct 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/blue-peas-breathe.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/curly-lamps-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@signalwire/core': patch
---

Remove `permissions` from the valid arguments of the `demote()` method on RoomSession.
5 changes: 0 additions & 5 deletions .changeset/cyan-frogs-jam.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cyan-rocks-shout.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fresh-cheetahs-jam.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/heavy-tools-fry.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/hip-toys-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@signalwire/core': patch
'@signalwire/realtime-api': patch
---

[internal] add `addContexts` and `removeContexts` methods
5 changes: 5 additions & 0 deletions .changeset/honest-turtles-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@signalwire/core': patch
---

Add optional arguments on `promote` to pass meta, joinAudioMuted and joinVideoMuted. Add optional `meta` argument for `demote`.
5 changes: 0 additions & 5 deletions .changeset/lemon-wombats-invent.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nasty-snails-provide.md

This file was deleted.

7 changes: 7 additions & 0 deletions .changeset/new-donuts-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@signalwire/core': minor
'@signalwire/js': minor
'@signalwire/realtime-api': minor
---

Add `promote`/`demote` methods to RoomSession.
5 changes: 0 additions & 5 deletions .changeset/proud-turtles-sneeze.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/red-monkeys-give.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/rotten-crews-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@signalwire/core': patch
'@signalwire/webrtc': patch
---

[internal] add worker to handle promoted/demoted events and trigger the proper renegotiation
5 changes: 0 additions & 5 deletions .changeset/selfish-bears-tap.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-chairs-sin.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/sixty-ligers-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@signalwire/core': patch
---

Remove `meta` from the allowed parameters of `demote`.
5 changes: 5 additions & 0 deletions .changeset/thick-donkeys-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@signalwire/webrtc': patch
---

Fix check for media to enable on promotion process.
7 changes: 7 additions & 0 deletions .changeset/three-mayflies-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@signalwire/core': patch
'@signalwire/js': patch
'@signalwire/realtime-api': patch
---

Expose the `room.audience_count` event on the RoomSession
5 changes: 0 additions & 5 deletions .changeset/tiny-grapes-collect.md

This file was deleted.

6 changes: 6 additions & 0 deletions internal/e2e-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @sw-internal/e2e-js

## 0.0.6

### Patch Changes

- [#656](https://github.com/signalwire/signalwire-js/pull/656) [`8132100c`](https://github.com/signalwire/signalwire-js/commit/8132100cb237dfe69136ef175c235690cfe577db) - Add e2e tests for Chat and disconnect method for PubSub.

## 0.0.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion internal/e2e-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sw-internal/e2e-js",
"version": "0.0.5",
"version": "0.0.6",
"private": true,
"main": "index.js",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions internal/e2e-realtime-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @sw-internal/e2e-realtime-api

## 0.1.4

### Patch Changes

- [#655](https://github.com/signalwire/signalwire-js/pull/655) [`31af8209`](https://github.com/signalwire/signalwire-js/commit/31af820961f6c1cdc810b3b42a4dcf543610fcb4) - Add e2e-test for Video.

## 0.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion internal/e2e-realtime-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sw-internal/e2e-realtime-api",
"version": "0.1.3",
"version": "0.1.4",
"private": true,
"main": "index.js",
"scripts": {
Expand Down
14 changes: 14 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.12.1] - 2022-10-06

### Changed

- [#658](https://github.com/signalwire/signalwire-js/pull/658) [`b765449b`](https://github.com/signalwire/signalwire-js/commit/b765449bb22604b7f116a365027e17b10984d0af) - Change log level of an internal message.

* [#653](https://github.com/signalwire/signalwire-js/pull/653) [`be8b8dea`](https://github.com/signalwire/signalwire-js/commit/be8b8deadb8652d4ea54bd2b4c3cfd29d2f94662) - Internal review of `rootSaga` logic.

### Fixed

- [`021d9b83`](https://github.com/signalwire/signalwire-js/commit/021d9b8364777e493aa8d320d5b03a4275f640bb) - Fix `toSnakeCaseKeys` util and fix `language` type in the Prompt params.

* [#660](https://github.com/signalwire/signalwire-js/pull/660) [`e3453977`](https://github.com/signalwire/signalwire-js/commit/e3453977b7df3cd34939ee8e6f15c6d83fb08134) - Fix how Chat/PubSub client can be reused after a `.disconnect()`.

## [3.12.0] - 2022-09-21

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Shared code for the SignalWire JS SDK",
"author": "SignalWire Team <open.source@signalwire.com>",
"license": "MIT",
"version": "3.12.0",
"version": "3.12.1",
"main": "dist/index.node.js",
"module": "dist/index.esm.js",
"files": [
Expand Down
22 changes: 22 additions & 0 deletions packages/js/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.16.0] - 2022-10-06

### Changed

- [#631](https://github.com/signalwire/signalwire-js/pull/631) [`c00b343ed48305c12fcc599e46e76f2116ab2706`](https://github.com/signalwire/signalwire-js/commit/c00b343ed48305c12fcc599e46e76f2116ab2706) - Enhance `.join()` signature with an optional argument to control the media to send and receive.

### Added

- [#656](https://github.com/signalwire/signalwire-js/pull/656) [`8132100c`](https://github.com/signalwire/signalwire-js/commit/8132100cb237dfe69136ef175c235690cfe577db) - Expose `.disconnect()` on PubSub and Chat clients.

### Fixed

- [#660](https://github.com/signalwire/signalwire-js/pull/660) [`e3453977`](https://github.com/signalwire/signalwire-js/commit/e3453977b7df3cd34939ee8e6f15c6d83fb08134) - Fix how Chat/PubSub client can be reused after a `.disconnect()`.

* [#631](https://github.com/signalwire/signalwire-js/pull/631) [`c00b343ed48305c12fcc599e46e76f2116ab2706`](https://github.com/signalwire/signalwire-js/commit/c00b343ed48305c12fcc599e46e76f2116ab2706) - Fix audio/video constraints override from constructor to keep backward compatibility.

### Dependencies

- Updated dependencies [[`64e13ec6`](https://github.com/signalwire/signalwire-js/commit/64e13ec60a812ba3dbab941ea3d2bfa5f27ad5fe), [`b765449b`](https://github.com/signalwire/signalwire-js/commit/b765449bb22604b7f116a365027e17b10984d0af), [`021d9b83`](https://github.com/signalwire/signalwire-js/commit/021d9b8364777e493aa8d320d5b03a4275f640bb), [`e3453977`](https://github.com/signalwire/signalwire-js/commit/e3453977b7df3cd34939ee8e6f15c6d83fb08134), [`be8b8dea`](https://github.com/signalwire/signalwire-js/commit/be8b8deadb8652d4ea54bd2b4c3cfd29d2f94662)]:
- @signalwire/webrtc@3.5.8
- @signalwire/core@3.12.1

## [3.15.0] - 2022-09-21

### Added
Expand Down
6 changes: 3 additions & 3 deletions packages/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "SignalWire JS SDK",
"author": "SignalWire Team <open.source@signalwire.com>",
"license": "MIT",
"version": "3.15.0",
"version": "3.16.0",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"unpkg": "dist/index.umd.js",
Expand Down Expand Up @@ -43,8 +43,8 @@
"prepublishOnly": "npm run build"
},
"dependencies": {
"@signalwire/core": "3.12.0",
"@signalwire/webrtc": "3.5.7",
"@signalwire/core": "3.12.1",
"@signalwire/webrtc": "3.5.8",
"jwt-decode": "^3.1.2"
},
"types": "dist/js/src/index.d.ts"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"prepublishOnly": "npm run build"
},
"dependencies": {
"@signalwire/core": "3.12.0",
"@signalwire/webrtc": "3.5.7"
"@signalwire/core": "3.12.1",
"@signalwire/webrtc": "3.5.8"
}
}
15 changes: 15 additions & 0 deletions packages/realtime-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.5.1] - 2022-10-06

### Fixed

- [#658](https://github.com/signalwire/signalwire-js/pull/658) [`b765449b`](https://github.com/signalwire/signalwire-js/commit/b765449bb22604b7f116a365027e17b10984d0af) - Skip auto-subscribe logic for a RoomSession without valid subscriptions.

* [#657](https://github.com/signalwire/signalwire-js/pull/657) [`50f2e07f`](https://github.com/signalwire/signalwire-js/commit/50f2e07f2e51a11b202d30b38cd37bc0d2270dc6) - Hotfix for `getRecordings`, `getPlaybacks` and `getStreams` return objects without room_session_id.

- [#655](https://github.com/signalwire/signalwire-js/pull/655) [`31af8209`](https://github.com/signalwire/signalwire-js/commit/31af820961f6c1cdc810b3b42a4dcf543610fcb4) - Fix race condition on auto-connect Clients.

### Dependencies

- Updated dependencies [[`b765449b`](https://github.com/signalwire/signalwire-js/commit/b765449bb22604b7f116a365027e17b10984d0af), [`021d9b83`](https://github.com/signalwire/signalwire-js/commit/021d9b8364777e493aa8d320d5b03a4275f640bb), [`e3453977`](https://github.com/signalwire/signalwire-js/commit/e3453977b7df3cd34939ee8e6f15c6d83fb08134), [`be8b8dea`](https://github.com/signalwire/signalwire-js/commit/be8b8deadb8652d4ea54bd2b4c3cfd29d2f94662)]:
- @signalwire/core@3.12.1

## [3.5.0] - 2022-09-21

### Added
Expand Down
4 changes: 2 additions & 2 deletions packages/realtime-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "SignalWire RealTime SDK for Node.js",
"author": "SignalWire Team <open.source@signalwire.com>",
"license": "MIT",
"version": "3.5.0",
"version": "3.5.1",
"main": "dist/index.node.js",
"exports": {
"require": "./dist/index.node.js",
Expand Down Expand Up @@ -41,7 +41,7 @@
"docs:watch": "npm run docs -- --watch"
},
"dependencies": {
"@signalwire/core": "3.12.0",
"@signalwire/core": "3.12.1",
"ws": "^8.5.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/web-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"docs:watch": "npm run docs -- --watch"
},
"dependencies": {
"@signalwire/core": "3.12.0",
"@signalwire/core": "3.12.1",
"node-abort-controller": "^2.0.0",
"node-fetch": "^2.6.1"
},
Expand Down
11 changes: 11 additions & 0 deletions packages/webrtc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.5.8] - 2022-10-06

### Fixed

- [#659](https://github.com/signalwire/signalwire-js/pull/659) [`64e13ec6`](https://github.com/signalwire/signalwire-js/commit/64e13ec60a812ba3dbab941ea3d2bfa5f27ad5fe) - Fix `updateCamera` and `updateMicrophone` logic to apply changes on the localStream.

### Dependencies

- Updated dependencies [[`b765449b`](https://github.com/signalwire/signalwire-js/commit/b765449bb22604b7f116a365027e17b10984d0af), [`021d9b83`](https://github.com/signalwire/signalwire-js/commit/021d9b8364777e493aa8d320d5b03a4275f640bb), [`e3453977`](https://github.com/signalwire/signalwire-js/commit/e3453977b7df3cd34939ee8e6f15c6d83fb08134), [`be8b8dea`](https://github.com/signalwire/signalwire-js/commit/be8b8deadb8652d4ea54bd2b4c3cfd29d2f94662)]:
- @signalwire/core@3.12.1

## [3.5.7] - 2022-09-21

### Changed
Expand Down
4 changes: 2 additions & 2 deletions packages/webrtc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "SignalWire WebRTC library",
"author": "SignalWire Team <open.source@signalwire.com>",
"license": "MIT",
"version": "3.5.7",
"version": "3.5.8",
"main": "dist/cjs/webrtc/src/index.js",
"module": "dist/mjs/webrtc/src/index.js",
"files": [
Expand Down Expand Up @@ -39,7 +39,7 @@
"docs:watch": "npm run docs -- --watch"
},
"dependencies": {
"@signalwire/core": "3.12.0"
"@signalwire/core": "3.12.1"
},
"types": "dist/cjs/webrtc/src/index.d.ts"
}