From 898fea71296a5ac9d24b850d2e0b8e52d89cf6e2 Mon Sep 17 00:00:00 2001 From: Edoardo Gallo Date: Thu, 22 Aug 2019 23:08:55 +0200 Subject: [PATCH] Release JS SDK v1.2.0 (#164) * bump JS SDK version to 1.2.0 * update react-native CHANGELOG Unreleased section --- packages/js/CHANGELOG.md | 2 +- packages/js/package-lock.json | 2 +- packages/js/package.json | 2 +- packages/react-native/CHANGELOG.md | 5 +++++ 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/js/CHANGELOG.md b/packages/js/CHANGELOG.md index 92f34002..e2f20354 100644 --- a/packages/js/CHANGELOG.md +++ b/packages/js/CHANGELOG.md @@ -3,7 +3,7 @@ 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). -## [Unreleased] +## [1.2.0] - 2019-08-22 ### Fixed - Try to re-establish the previous protocol only if the signature has not changed. ### Security diff --git a/packages/js/package-lock.json b/packages/js/package-lock.json index d3ce7841..ef7699d8 100644 --- a/packages/js/package-lock.json +++ b/packages/js/package-lock.json @@ -1,6 +1,6 @@ { "name": "@signalwire/js", - "version": "1.2.0-beta.1", + "version": "1.2.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/js/package.json b/packages/js/package.json index e232e440..316fcfa4 100644 --- a/packages/js/package.json +++ b/packages/js/package.json @@ -1,6 +1,6 @@ { "name": "@signalwire/js", - "version": "1.2.0-beta.1", + "version": "1.2.0", "description": "Relay SDK for JavaScript to connect to SignalWire.", "author": "SignalWire Team ", "main": "dist/index.min.js", diff --git a/packages/react-native/CHANGELOG.md b/packages/react-native/CHANGELOG.md index 8570630b..ae524a37 100644 --- a/packages/react-native/CHANGELOG.md +++ b/packages/react-native/CHANGELOG.md @@ -4,6 +4,11 @@ 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). ## [Unreleased] +### Added +- New methods to manage devices: `getDevices()`, `getVideoDevices()`, `getAudioInDevices()`, `getAudioOutDevices()`. +### Deprecated +- Deprecated getters to retrieve cached values for devices: `devices`, `videoDevices`, `audioInDevices`, `audioOutDevices`. +- Deprecated `refreshDevices()` method to refresh cached devices. Use `getDevices()` instead. ### Fixed - Try to re-establish the previous protocol only if the signature has not changed.