Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 55a956d
Author: twilio-vblocks-ci <[email protected]>
Date:   Mon Oct 16 17:41:14 2023 +0000

    2.8.1-dev

commit 6f08d3b
Author: twilio-vblocks-ci <[email protected]>
Date:   Mon Oct 16 17:41:06 2023 +0000

    2.8.0

commit cb8ab39
Author: charliesantos <[email protected]>
Date:   Mon Oct 16 10:33:34 2023 -0700

    Release prep: Changelog date

commit 9bd4a14
Author: Charlemagne Santos <[email protected]>
Date:   Mon Oct 16 10:22:24 2023 -0700

    VBLOCKS-2054 | Missing generated errors (twilio#209)

    * [VBLOCKS-2054] Missing generated errors (twilio#192)

    * feat: add errors and unit tests to check for missing errors

    * docs: changelog entry

    * fix: call hangup handler

    * docs: update changelog

    * feat: add error feature flag and handling

    * chore: unit tests

    * chore: update voice errors version

    * feat: add new errors to generation scripts

    * chore: commit generated errors

    * fix: add error codes to feature flag set

    * docs: update changelog entry

    * docs: update docstring for option

    * docs: less enthusiasm

    * fix: rename variables and functions

    * fix: rename test case

    * chore: bump versions (twilio#206)

    * 2.8.0-rc1

    * 2.8.0-dev

    ---------

    Co-authored-by: Michael Huynh <[email protected]>
    Co-authored-by: twilio-vblocks-ci <[email protected]>

commit 895aa3d
Author: twilio-vblocks-ci <[email protected]>
Date:   Fri Oct 6 17:56:11 2023 +0000

    2.7.4-dev

commit b835382
Author: twilio-vblocks-ci <[email protected]>
Date:   Fri Oct 6 17:56:02 2023 +0000

    2.7.3

commit 864ae5f
Author: charliesantos <[email protected]>
Date:   Fri Oct 6 10:49:36 2023 -0700

    Release prep: Changelog date

commit 8ce585d
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Oct 5 20:22:03 2023 +0000

    2.7.3-dev

commit e0faeaf
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Oct 5 20:21:55 2023 +0000

    2.7.3-rc1

commit 17b13b9
Author: charliesantos <[email protected]>
Date:   Thu Oct 5 13:17:02 2023 -0700

    RC Prep: Sync lock file

commit 200b50e
Author: Manjesh Malavalli <[email protected]>
Date:   Thu Oct 5 15:05:07 2023 -0500

    VBLOCKS-1690 Call reconnect() only when pstream is not null. (twilio#203)

    * VBLOCKS-1690 Call reconnect() only when pstream is not null.

    * VBLOCKS-1690 Add unit tests.

    * VIDEO-1690 Add changelog entry.

commit 884aba3
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Sep 21 19:27:55 2023 +0000

    2.7.3-dev

commit ec951b3
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Sep 21 19:27:47 2023 +0000

    2.7.2

commit 17a2c67
Author: charliesantos <[email protected]>
Date:   Thu Sep 21 12:19:31 2023 -0700

    Release prep: Changelog date

commit 03dbf74
Author: twilio-vblocks-ci <[email protected]>
Date:   Wed Sep 20 21:36:20 2023 +0000

    2.7.2-dev

commit f311f8c
Author: twilio-vblocks-ci <[email protected]>
Date:   Wed Sep 20 21:36:13 2023 +0000

    2.7.2-rc1

commit 2a06b5c
Author: charliesantos <[email protected]>
Date:   Wed Sep 20 14:26:38 2023 -0700

    RC prep: syncing lock file

commit 85392a2
Author: Charlemagne Santos <[email protected]>
Date:   Wed Sep 20 12:37:06 2023 -0700

    VBLOCKS-2214 | Remove unnecessary enumerateDevices calls (twilio#199)

    * VBLOCKS-2214 | Remove unnecessary enumerateDevices calls

    * changelog

    * Using callback instead

    * Changelog tweak

commit d34665c
Author: Charlemagne Santos <[email protected]>
Date:   Wed Sep 13 14:57:35 2023 -0700

    Remove broken support email (twilio#198)

    * Remove broken support email

    * Update README.md

    * Update README.md

commit 17ca278
Author: Charlemagne Santos <[email protected]>
Date:   Wed Sep 13 09:45:11 2023 -0700

    VBLOCKS-2175 | Fix events docs (twilio#195)

    * VBLOCKS-2175 | Fix events documentation

    * Adding changelog

    * Update call.ts

    * Update device.ts

commit 590d6bb
Author: Michael Huynh <[email protected]>
Date:   Wed Sep 6 16:13:49 2023 -0700

    Update CHANGELOG.md (twilio#194)

commit 5205c59
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Aug 3 22:55:57 2023 +0000

    2.7.2-dev

commit 6a056bf
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Aug 3 22:55:50 2023 +0000

    2.7.1

commit be7e5f1
Author: Charlemagne Santos <[email protected]>
Date:   Thu Aug 3 15:46:41 2023 -0700

    Add 2.7.1 changelog (twilio#186)

commit 1888047
Author: Charlemagne Santos <[email protected]>
Date:   Thu Aug 3 12:52:51 2023 -0700

    Add important message regarding new DNS/IP in changelog

    Approved here https://twilio.slack.com/archives/C020DUH6R1B/p1691091612273979

commit ed27059
Author: twilio-vblocks-ci <[email protected]>
Date:   Wed Aug 2 19:39:58 2023 +0000

    2.7.1-dev

commit 7edf306
Author: twilio-vblocks-ci <[email protected]>
Date:   Wed Aug 2 19:39:50 2023 +0000

    2.7.1-rc1

commit bd69f76
Author: charliesantos <[email protected]>
Date:   Wed Aug 2 12:32:58 2023 -0700

    RC Prep: Sync lock file version.

commit 88ed101
Author: Manjesh Malavalli <[email protected]>
Date:   Wed Aug 2 12:29:37 2023 -0700

    VBLOCKS-1980 If md5 is exported as a default, then use it. (twilio#185)

commit 38280f8
Author: twilio-vblocks-ci <[email protected]>
Date:   Tue Aug 1 20:42:30 2023 +0000

    2.7.1-dev

commit b79a21a
Author: twilio-vblocks-ci <[email protected]>
Date:   Tue Aug 1 20:42:22 2023 +0000

    2.7.0

commit e595aa4
Author: charliesantos <[email protected]>
Date:   Tue Aug 1 13:00:04 2023 -0700

    Adding arch info to fix caching issue on ci

commit f514222
Author: charliesantos <[email protected]>
Date:   Tue Aug 1 12:47:36 2023 -0700

    Fix CI caching issue

commit 8ec94d6
Author: charliesantos <[email protected]>
Date:   Tue Aug 1 12:28:27 2023 -0700

    Adding changelog date and sync lockfile version for release

commit 9f36a2a
Author: Charlemagne Santos <[email protected]>
Date:   Wed Jul 26 12:33:39 2023 -0700

    Update CHANGELOG.md for ESM (twilio#184)

    * Update CHANGELOG.md

    * Update CHANGELOG.md

    Co-authored-by: Manjesh Malavalli <[email protected]>

    ---------

    Co-authored-by: Manjesh Malavalli <[email protected]>

commit 538a50a
Author: twilio-vblocks-ci <[email protected]>
Date:   Tue Jul 25 20:45:33 2023 +0000

    2.7.0-dev

commit f857261
Author: twilio-vblocks-ci <[email protected]>
Date:   Tue Jul 25 20:45:26 2023 +0000

    2.7.0-rc1

commit c8e339e
Author: charliesantos <[email protected]>
Date:   Tue Jul 25 13:33:40 2023 -0700

    Sync lock file for RC

commit 2f52f2a
Author: Manjesh Malavalli <[email protected]>
Date:   Mon Jul 24 13:22:06 2023 -0700

    VBLOCKS-1301 Add esm output. (twilio#182)

    * VBLOCKS-1301 Add esm output.
    * VBLOCKS-1301 Adding es6 module check and updating .release.json and config.yml.

commit 10dda21
Author: twilio-vblocks-ci <[email protected]>
Date:   Fri Jul 7 17:19:23 2023 +0000

    2.6.2-dev

commit a722987
Author: twilio-vblocks-ci <[email protected]>
Date:   Fri Jul 7 17:19:15 2023 +0000

    2.6.1

commit fb5f256
Author: charliesantos <[email protected]>
Date:   Fri Jul 7 10:13:37 2023 -0700

    Adding date for release

commit 91fc9bd
Author: Charlemagne Santos <[email protected]>
Date:   Thu Jul 6 12:15:37 2023 -0700

    Adjust flaky test (twilio#181)

commit 4daf1e3
Author: Charlemagne Santos <[email protected]>
Date:   Thu Jul 6 10:26:36 2023 -0700

    VBLOCKS-1818 | Adding healthchecks and posting failures to slack (twilio#180)

    * VBLOCKS-1818 | Adding healthchecks and posting failures to slack

    * Adding build url

    * Keeping integration test npm script

commit 27dcfd6
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Jul 6 17:25:44 2023 +0000

    2.6.1-dev

commit 580b5e5
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Jul 6 17:25:35 2023 +0000

    2.6.1-rc2

commit ec9b190
Author: Kamal Bennani <[email protected]>
Date:   Thu Jul 6 00:08:31 2023 +0200

    (GH178) fix(audio): Persist enabled sounds state (twilio#179)

    * test: change the test to reflect the reality

    * fix(audio): persist enabled sounds state when calling device.updateOptions

    * docs: update changelog

    * docs: make the enabled sounds getter as private

    ---------

    Co-authored-by: Kamal Bennani <[email protected]>

commit f551b3b
Author: twilio-vblocks-ci <[email protected]>
Date:   Fri Jun 30 15:34:43 2023 +0000

    2.6.1-dev

commit 065ea6e
Author: twilio-vblocks-ci <[email protected]>
Date:   Fri Jun 30 15:34:35 2023 +0000

    2.6.1-rc1

commit 576d353
Author: Charlemagne Santos <[email protected]>
Date:   Tue Jun 27 15:42:07 2023 -0700

    VBLOCKS-1299 | Making all integration tests green (twilio#177)

commit 4e3addc
Author: Manjesh Malavalli <[email protected]>
Date:   Mon Jun 26 15:54:17 2023 -0700

    VBLOCKS-1808 Trimming dependencies + require => import. (twilio#175)

    * VBLOCKS-1808 Removing some unwanted dependencies.
    * VBLOCKS-1808 Removing deprecated dependencies as much as possible.
    * VBLOCKS-1808 s/require/import/g wherever possible.

commit fdb0098
Author: Charlemagne Santos <[email protected]>
Date:   Mon Jun 26 13:54:38 2023 -0700

    VBLOCKS-1805 | Fix dtmf tones overrides (twilio#176)

    * VBLOCKS-1805 | Fix dtmf tones overrides

    * Address feedback

commit cb12c95
Author: twilio-vblocks-ci <[email protected]>
Date:   Tue Jun 20 21:49:00 2023 +0000

    2.6.1-dev

commit 11b1865
Author: twilio-vblocks-ci <[email protected]>
Date:   Tue Jun 20 21:48:52 2023 +0000

    2.6.0

commit 5fdfe3a
Author: Charlemagne Santos <[email protected]>
Date:   Tue Jun 20 14:33:14 2023 -0700

    Changelog for 2.0.6 (twilio#174)

    * Changelog for 2.0.6

    * Adding review suggestion

    * Adding Kumkum's suggestion.

commit 49faadb
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Jun 15 22:23:06 2023 +0000

    2.6.0-dev

commit fc582fd
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Jun 15 22:22:57 2023 +0000

    2.6.0-rc2

commit dadc02a
Merge: 53b5271 ef47b34
Author: Charlemagne Santos <[email protected]>
Date:   Thu Jun 15 14:43:24 2023 -0700

    Merge pull request twilio#172 from twilio/feature/2-x-betterments

    Merge Feature/2 x betterments

commit ef47b34
Merge: 0850355 53b5271
Author: charliesantos <[email protected]>
Date:   Thu Jun 15 14:37:04 2023 -0700

    Merge from master

commit 53b5271
Author: Charlemagne Santos <[email protected]>
Date:   Thu Jun 15 14:23:38 2023 -0700

    VBLOCKS-1767 | Migrate AudioPlayer (twilio#171)

commit 0850355
Merge: 1fcbed6 1aba954
Author: charliesantos <[email protected]>
Date:   Thu Jun 15 13:23:10 2023 -0700

    Merge from master

commit 1fcbed6
Author: Manjesh Malavalli <[email protected]>
Date:   Thu Jun 15 13:20:29 2023 -0700

    VBLOCKS-1301 Remove ws and xmlhttprequest dependencies. (twilio#170)

    * VBLOCKS-1301 Remove ws and xmlhttprequest dependencies.

    * VBLOCKS-1301 Remove options from request() and ws import from wstransport.ts.

commit acfca74
Author: Manjesh Malavalli <[email protected]>
Date:   Wed Jun 7 15:55:29 2023 -0700

    VBLOCKS-1301 Support node versions 16 and above. (twilio#169)

    * VBLOCKS-1301 Support node versions 16 and above.
    * VBLOCKS-1301 Removing --legacy-peer-deps flag from circleci jobs.
    * VBLOCKS-1301 Updating package "twilio" to 3.84.1, which does not depend on express. Hence, no need to add the "types" config to the TypeScript compiler.

commit 1aba954
Author: Charlemagne Santos <[email protected]>
Date:   Wed Jun 7 13:53:01 2023 -0700

    VBLOCKS-1578 | Adding typechecks to all public APIs (twilio#168)

    * VBLOCKS-1578 | Adding typechecks to all public APIs

    * Remove unnecessary file

commit e375c4b
Author: twilio-vblocks-ci <[email protected]>
Date:   Wed May 31 23:28:34 2023 +0000

    2.6.0-dev

commit 489d7ee
Author: twilio-vblocks-ci <[email protected]>
Date:   Wed May 31 23:28:26 2023 +0000

    2.6.0-rc1

commit 5fd3bbe
Author: Charlemagne Santos <[email protected]>
Date:   Wed May 31 15:54:58 2023 -0700

    VBLOCKS-1718 | Remove default node modules (twilio#167)

    * VBLOCKS-1716 | Convert JS pipeline to TS

    * Update npmignore

    * adding browser events and removing backoff

    * Adding backoff module

    * Use new backoff in call class

    * Use new backoff in wstransport

    * lint

    * fix tsdocs

    * Adding changelog

    * Adding tests

    * adding test file

    * Updating changelog

commit d2b59bc
Author: Charlemagne Santos <[email protected]>
Date:   Tue May 30 10:38:33 2023 -0700

    VBLOCKS-1716 | Convert JS pipeline to TS (twilio#166)

    * VBLOCKS-1716 | Convert JS pipeline to TS

    * Update CHANGELOG.md

commit 1706b94
Merge: 0bf28a2 97b6fd5
Author: Charlemagne Santos <[email protected]>
Date:   Tue May 23 14:28:30 2023 -0700

    Merge pull request twilio#165 from twilio/daily-builds

    Adding daily builds

commit 97b6fd5
Author: Charlemagne Santos <[email protected]>
Date:   Tue May 23 10:18:42 2023 -0700

    Adding daily builds

commit 0bf28a2
Author: twilio-vblocks-ci <[email protected]>
Date:   Tue May 9 19:52:02 2023 +0000

    2.5.1-dev

commit 361d0a9
Author: twilio-vblocks-ci <[email protected]>
Date:   Tue May 9 19:51:54 2023 +0000

    2.5.0

commit eee0f98
Merge: 6add098 e029216
Author: Charlemagne Santos <[email protected]>
Date:   Tue May 9 12:41:14 2023 -0700

    Merge pull request twilio#164 from twilio/feature/vdi

    Merge feature branch for VDI support

commit e029216
Author: charliesantos <[email protected]>
Date:   Tue May 9 10:26:06 2023 -0700

    Add changelog for release

commit d9e64c9
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Apr 27 20:52:57 2023 +0000

    2.5.0-dev

commit 1838e2d
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Apr 27 20:52:50 2023 +0000

    2.5.0-rc1

commit 7d0300b
Author: Charlemagne Santos <[email protected]>
Date:   Thu Apr 27 13:36:56 2023 -0700

    Adding build checks to the ci pipeline (twilio#161)

commit bb3c6d6
Author: charliesantos <[email protected]>
Date:   Thu Apr 27 12:50:05 2023 -0700

    Syncing lockfile version for RC

commit fe1be12
Author: Charlemagne Santos <[email protected]>
Date:   Thu Apr 27 08:59:06 2023 -0700

    Updating documentation to prevent setRemoteDescription error (twilio#160)

commit 3367771
Author: Charlemagne Santos <[email protected]>
Date:   Wed Apr 26 10:07:52 2023 -0700

    VDI Support 2.x initial implementation (twilio#158)

    * VDI Support initial implementation

    * Rename connection -> call

commit 6add098
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Apr 6 20:27:18 2023 +0000

    2.4.1-dev

commit 94ea6b6
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Apr 6 20:27:10 2023 +0000

    2.4.0

commit 5b3be01
Author: charliesantos <[email protected]>
Date:   Thu Apr 6 12:29:28 2023 -0700

    Prep for release: Changelog date and syncing lockfile version

commit 7d286b9
Author: Charlemagne Santos <[email protected]>
Date:   Thu Apr 6 10:37:25 2023 -0700

    Update CircleCI Badge link

commit 72770ed
Merge: 5d6c5e2 900a237
Author: Charlemagne Santos <[email protected]>
Date:   Thu Apr 6 10:29:19 2023 -0700

    Merge pull request twilio#156 from twilio/bugfix/github_issues

    Merge branch: Bugfix/GitHub issues

commit 900a237
Author: twilio-vblocks-ci <[email protected]>
Date:   Wed Apr 5 23:29:56 2023 +0000

    2.4.0-dev

commit 896b4f3
Author: twilio-vblocks-ci <[email protected]>
Date:   Wed Apr 5 23:29:48 2023 +0000

    2.4.0-rc1

commit 62f9a62
Author: charliesantos <[email protected]>
Date:   Wed Apr 5 16:17:27 2023 -0700

    Prep for RC: Sync lockfile version

commit 364a4b2
Author: Charlemagne Santos <[email protected]>
Date:   Wed Apr 5 14:50:29 2023 -0700

    VBLOCKS-1269 | Don't dispatch deviceinfochange indefinitely (twilio#155)

    * Don't unnecessary emit deviceinfochange

    * Exporting mediadevices properly

    * Only init nativeMediaDevices before instantiation

    * Lint

    * Properly initing

    * Tests

    * Changelog

    * Adding todo note

    * Review comments

commit e9d5dd8
Author: Charlemagne Santos <[email protected]>
Date:   Mon Apr 3 15:03:01 2023 -0700

    VBLOCKS-1473 | Fix PeerConnection leak (twilio#154)

    * Remove unnecessary bind

    * Tests and changelog

commit 9de4ceb
Author: Charlemagne Santos <[email protected]>
Date:   Fri Mar 31 12:45:40 2023 -0700

    VBLOCKS-1111 | Fix sound definitions (twilio#153)

    * VBLOCKS-1534 | Stop using deprecated RTCIceCandidateStats

    * VBLOCKS-1111 | Fix sound definitions

    * Tests and changelog

    * Update docs

commit e0d4b3c
Author: Charlemagne Santos <[email protected]>
Date:   Thu Mar 30 17:42:59 2023 -0700

    VBLOCKS-1534 | Stop using deprecated RTCIceCandidateStats (twilio#152)

commit 5d6c5e2
Author: Charlemagne Santos <[email protected]>
Date:   Wed Mar 29 14:05:16 2023 -0700

    Uploading test coverage (twilio#150)

commit fd85cb9
Author: Charlemagne Santos <[email protected]>
Date:   Fri Mar 24 08:56:06 2023 -0700

    VBLOCKS-1371 | Remove handlers for rejected calls (twilio#149)

    * VBLOCKS-1371 | Remove handlers for rejected calls

    * Unit tests

commit a7b8d95
Author: twilio-vblocks-ci <[email protected]>
Date:   Mon Feb 27 18:40:00 2023 +0000

    2.3.3-dev

commit 9e12fab
Author: twilio-vblocks-ci <[email protected]>
Date:   Mon Feb 27 18:39:53 2023 +0000

    2.3.2

commit a83de45
Author: charliesantos <[email protected]>
Date:   Mon Feb 27 10:29:06 2023 -0800

    Set date for the release

commit bb74d01
Author: twilio-vblocks-ci <[email protected]>
Date:   Wed Feb 22 18:31:11 2023 +0000

    2.3.2-dev

commit fd6393f
Author: twilio-vblocks-ci <[email protected]>
Date:   Wed Feb 22 18:31:04 2023 +0000

    2.3.2-rc1

commit e540c5d
Author: charliesantos <[email protected]>
Date:   Wed Feb 22 10:25:53 2023 -0800

    Syncing lock file version for RC

commit 7fac702
Author: Charlemagne Santos <[email protected]>
Date:   Wed Feb 22 10:09:52 2023 -0800

    GH95 | error is not returned when mic access is blocked (twilio#144)

    * GH95 | error is not returned when mic access is blocked

    * PR Review

commit 05abfa4
Author: twilio-vblocks-ci <[email protected]>
Date:   Fri Feb 3 23:08:54 2023 +0000

    2.3.2-dev

commit 3e34a26
Author: twilio-vblocks-ci <[email protected]>
Date:   Fri Feb 3 23:08:46 2023 +0000

    2.3.1

commit e7ea503
Author: charliesantos <[email protected]>
Date:   Fri Feb 3 15:04:31 2023 -0800

    Setting date for release

commit 9e6132a
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Feb 2 18:42:14 2023 +0000

    2.3.1-dev

commit 5d2de05
Author: twilio-vblocks-ci <[email protected]>
Date:   Thu Feb 2 18:42:07 2023 +0000

    2.3.1-rc1

commit 16dfd25
Author: charliesantos <[email protected]>
Date:   Thu Feb 2 10:36:51 2023 -0800

    Syncing package-lock.json

commit 85633af
Author: Charlemagne Santos <[email protected]>
Date:   Thu Feb 2 09:35:15 2023 -0800

    Add 2.3.1 changelog entry (twilio#141)

commit dce8847
Author: Kamal Bennani <[email protected]>
Date:   Wed Feb 1 22:00:35 2023 +0100

    fix(incoming-sound): stop incoming sound when the call gets disconnected (twilio#134)

    * fix(incoming-sound): stop incoming sound when the call gets disconnected

    * test(incoming-sound): add a unit test to cover the fixed bug

    * test: cover missing incoming sound unit tests

    ---------

    Co-authored-by: Kamal Bennani <[email protected]>

commit 0d03edb
Author: twilio-vblocks-ci <[email protected]>
Date:   Mon Jan 23 22:42:27 2023 +0000

    2.3.1-dev

commit 4f6fe11
Author: twilio-vblocks-ci <[email protected]>
Date:   Mon Jan 23 22:42:20 2023 +0000

    2.3.0

commit 1434529
Author: charliesantos <[email protected]>
Date:   Mon Jan 23 14:37:38 2023 -0800

    Syncing lockfile version

commit 8e922a0
Author: Charlemagne Santos <[email protected]>
Date:   Mon Jan 23 13:53:12 2023 -0800

    Feature/voice js dns (twilio#138)

    * Update gitignore

    * VBLOCKS-1086 Use voice-js DNS names directly (twilio#119)

    * VBLOCKS-1086 Use voice-js DNS names directly

    * Update CSP policies

    * Adding changelog

    * Updating tests

    * Updating lockfile

    * 2.3.0-rc1

    * 2.3.0-dev

    * Prep for release. Adding release date.

    Co-authored-by: twilio-vblocks-ci <[email protected]>

commit 89b2900
Author: Charlemagne Santos <[email protected]>
Date:   Tue Jan 17 11:32:23 2023 -0800

    Update copyrightL 2021 -> 2023

commit 068961a
Author: twilio-vblocks-ci <[email protected]>
Date:   Mon Dec 5 21:53:42 2022 +0000

    2.2.1-dev

commit 7161f1f
Author: twilio-vblocks-ci <[email protected]>
Date:   Mon Dec 5 21:53:34 2022 +0000

    2.2.0

commit 54166a0
Author: charliesantos <[email protected]>
Date:   Mon Dec 5 13:21:52 2022 -0800

    Adding release date

commit 10ab6f5
Author: twilio-vblocks-ci <[email protected]>
Date:   Mon Dec 5 19:13:28 2022 +0000

    2.2.0-dev

commit 6db4b53
Author: twilio-vblocks-ci <[email protected]>
Date:   Mon Dec 5 19:13:21 2022 +0000

    2.2.0-rc3

commit a48d7c9
Author: Charlemagne Santos <[email protected]>
Date:   Fri Dec 2 11:57:03 2022 -0800

    Feature/sdk eventing (twilio#129)

    * feat: option for event registration; send option over vsp invite

    * Update peerconnection.js

    * [VBLOCKS-505] feat: sdk eventing; listener and event (twilio#112)

    * feat: sdk eventing; listener and event

    * fix: rename registerFor

    * chore: unit tests

    * feat: send message api (twilio#114)

    * feat: send message api

    * feat: address feedback

    * fix: add callsid check

    * fix: remove call status check

    * VBLOCKS-981 VBLOCKS-1093 | Updating eventing API per latest specs (twilio#116)

    * VBLOCKS-981 VBLOCKS-1093 | Updating eventing API per latest specs

    * Adding note about the key

    * VBLOCKS-1095 | Updating API docs

    * Adding docs

    * Addressed feedback

    * [VBLOCKS-1127] Consume new SDK eventing errors (twilio#120)

    * chore: update voice-error dependency

    * fix: update voice-errors dep and generate new error classes

    * Adding changelog draft (twilio#123)

    * Adding changelog draft

    * Adding Kumkum's suggestion.

    * Syncing lock file version

    * 2.2.0-rc1

    * 2.2.0-dev

    * Adding placeholder links to public docs

    * VBLOCKS-1218 Adding 31209 error for max payload size limit (twilio#125)

    * Updating gitignore for test webpack

    * Fixing release pipeline: removing unused webpack test

    * 2.2.0-rc2

    * 2.2.0-dev

    * Prep for release (twilio#128)

    * Using latest errors

    * Using latest errors

    * Updating docs

    * Update changelog

    * Update changelog

    Co-authored-by: Michael Huynh <[email protected]>
    Co-authored-by: Michael Huynh <[email protected]>
    Co-authored-by: twilio-vblocks-ci <[email protected]>

commit f518b24
Author: twilio-vblocks-ci <[email protected]>
Date:   Wed Oct 26 16:29:13 2022 +0000

    2.1.3-dev

commit 4081a4d
Author: twilio-vblocks-ci <[email protected]>
Date:   Wed Oct 26 16:29:05 2022 +0000

    2.1.2

commit 380b8b5
Author: charliesantos <[email protected]>
Date:   Wed Oct 26 09:24:34 2022 -0700

    Changelog date for 2.1.2 release

commit 0838c65
Author: twilio-vblocks-ci <[email protected]>
Date:   Tue Oct 25 21:08:42 2022 +0000

    2.1.2-dev

commit cb4230c
Author: twilio-vblocks-ci <[email protected]>
Date:   Tue Oct 25 21:08:35 2022 +0000

    2.1.2-rc1

commit 5cca360
Author: Charlemagne Santos <[email protected]>
Date:   Tue Oct 25 13:30:58 2022 -0700

    VBLOCKS-1155 Make sure publisher host is inited if home region exists (twilio#122)

    * VBLOCKS-1155 Making sure publisher host is inited if home region is available

    * Changelog and tests
  • Loading branch information
brentjr committed Nov 17, 2023
1 parent 1e6f847 commit 5a9fcf8
Show file tree
Hide file tree
Showing 26 changed files with 1,832 additions and 262 deletions.
56 changes: 43 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ commands:
steps:
- get-code
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency-cache-{{ arch }}-{{ checksum "package.json" }}
- run:
name: Installing dependencies
command: node -v && npm install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency-cache-{{ arch }}-{{ checksum "package.json" }}
paths:
- ./node_modules
build:
Expand All @@ -83,7 +83,7 @@ commands:
- build
- run:
name: Running build checks
command: npm run test:es5 && npm run test:typecheck && npm run lint && npm run test:unit
command: npm run test:es5 && npm run test:esm && npm run test:typecheck && npm run lint && npm run test:unit
- store_artifacts:
path: coverage
destination: coverage
Expand All @@ -92,7 +92,7 @@ commands:
- build
- run:
name: Running integration tests
command: npm run test:integration
command: chmod +x ./scripts/run-integration-tests.sh && ./scripts/run-integration-tests.sh
network-tests:
steps:
- get-code
Expand Down Expand Up @@ -126,13 +126,20 @@ jobs:
type: string
browser:
type: string
build_label:
type: string
integration_test_files:
type: string
default: ""
executor:
name: docker-with-browser
browser: <<parameters.browser>>
bver: <<parameters.bver>>
environment:
BROWSER: <<parameters.browser>>
BVER: <<parameters.bver>>
BUILD_LABEL: <<parameters.build_label>>
INTEGRATION_TEST_FILES: <<parameters.integration_test_files>>
steps: [integration-tests]
run-release:
parameters:
Expand Down Expand Up @@ -168,6 +175,26 @@ jobs:
# Workflows
###
workflows:
healthcheck-workflow:
triggers:
- schedule:
cron: "0 * * * *"
filters:
branches:
only:
- master
jobs:
- run-integration-tests:
name: Integration tests <<matrix.browser>> <<matrix.bver>>
context:
- dockerhub-pulls
- vblocks-js
matrix:
parameters:
browser: ["chrome"]
bver: ["stable"]
build_label: ["Healthcheck"]
integration_test_files: ["tests/integration/device.ts"]
daily-build-workflow:
triggers:
- schedule:
Expand All @@ -182,14 +209,15 @@ workflows:
- vblocks-js
name: Build Checks
- run-integration-tests:
name: Integration Tests <<matrix.browser>> <<matrix.bver>>
name: Integration tests <<matrix.browser>> <<matrix.bver>>
context:
- dockerhub-pulls
- vblocks-js
matrix:
parameters:
browser: ["chrome", "firefox"]
bver: ["beta", "unstable", "stable"]
build_label: ["Daily build"]
pull-request-workflow:
when:
and:
Expand All @@ -201,14 +229,15 @@ workflows:
- vblocks-js
name: Build Checks
- run-integration-tests:
name: Integration Tests <<matrix.browser>> <<matrix.bver>>
name: Integration tests <<matrix.browser>> <<matrix.bver>>
context:
- dockerhub-pulls
- vblocks-js
matrix:
parameters:
browser: ["chrome", "firefox"]
bver: ["beta", "unstable", "stable"]
build_label: ["Integration tests"]
# NOTE(csantos): Will be addressed on a future epic
# - run-network-tests:
# name: Network Tests <<matrix.browser>> <<matrix.bver>>
Expand All @@ -230,11 +259,12 @@ workflows:
context:
- dockerhub-pulls
- vblocks-js
name: Integration Tests <<matrix.browser>> <<matrix.bver>>
name: Integration tests <<matrix.browser>> <<matrix.bver>>
matrix:
parameters:
browser: ["chrome", "firefox"]
bver: ["beta", "unstable", "stable"]
build_label: ["Release build"]
# NOTE(csantos): Will be addressed on a future epic
# - run-network-tests:
# context:
Expand All @@ -255,13 +285,13 @@ workflows:
- Build Checks
# NOTE(mhuynh): Temporarily allow release without these tests passing
# # Chrome integration tests
# - Integration Tests chrome beta
# - Integration Tests chrome unstable
# - Integration Tests chrome stable
# - Integration tests chrome beta
# - Integration tests chrome unstable
# - Integration tests chrome stable
# # Firefox integration tests
# - Integration Tests firefox beta
# - Integration Tests firefox unstable
# - Integration Tests firefox stable
# - Integration tests firefox beta
# - Integration tests firefox unstable
# - Integration tests firefox stable
# # Chrome network tests
# - Network Tests chrome stable
# # Firefox network tests
Expand Down
6 changes: 3 additions & 3 deletions .release.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"node ./node_modules/.bin/release --bump ${CURRENT_VERSION} ${RELEASE_VERSION}",
"git config user.name \"${GIT_USER_NAME}\"",
"git config user.email \"${GIT_USER_EMAIL}\"",
"git rm -rf --ignore-unmatch dist es5 docs lib/twilio/constants.ts",
"git rm -rf --ignore-unmatch dist es5 esm docs lib/twilio/constants.ts",
"npm run build:release",
"git add package.json",
"git add -f dist es5 docs lib/twilio/constants.ts",
"git add -f dist es5 esm docs lib/twilio/constants.ts",
"git commit -nm \"${RELEASE_VERSION}\"",
"git tag ${RELEASE_VERSION}",
"git remote set-url origin \"https://${GH_TOKEN}@${GH_REF}\"",
Expand All @@ -40,7 +40,7 @@
"development": {
"commands": [
"node ./node_modules/.bin/release --bump ${RELEASE_VERSION} ${DEVELOPMENT_VERSION}",
"git rm -rf dist es5 docs lib/twilio/constants.ts",
"git rm -rf dist es5 esm docs lib/twilio/constants.ts",
"npm run clean",
"npm run docs:clean",
"git add package.json",
Expand Down
124 changes: 122 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,121 @@
2.6.1 (In Progress)
===================
:warning: **Important**: If you are upgrading to version 2.3.0 or later and have firewall rules or network configuration that blocks any unknown traffic by default, you need to update your configuration to allow connections to the new DNS names and IP addresses. Please refer to this [changelog](#230-january-23-2023) for more details.

2.8.0 (October 16, 2023)
=======================

New Features
------------

- Added a new feature flag `enableImprovedSignalingErrorPrecision` to enhance the precision of errors emitted by `Device` and `Call` objects.

```ts
const token = ...;
const device = new Device(token, {
enableImprovedSignalingErrorPrecision: true,
});
```

The default value of this option is `false`.

When this flag is enabled, some errors that would have been described with a generic error code are now described with a more precise error code. With this feature, the following errors now have their own error codes. Please see this [page](https://www.twilio.com/docs/api/errors) for more details about each error.

- Device Error Changes

```ts
const device = new Device(token, {
enableImprovedSignalingErrorPrecision: true,
});
device.on('error', (deviceError) => {
// the following table describes how deviceError will change with this feature flag
});
```

| Device Error Name | Device Error Code with Feature Flag Enabled | Device Error Code with Feature Flag Disabled |
| --- | --- | --- |
| `GeneralErrors.ApplicationNotFoundError` | `31001` | `53000` |
| `GeneralErrors.ConnectionDeclinedError` | `31002` | `53000` |
| `GeneralErrors.ConnectionTimeoutError` | `31003` | `53000` |
| `MalformedRequestErrors.MissingParameterArrayError` | `31101` | `53000` |
| `MalformedRequestErrors.AuthorizationTokenMissingError` | `31102` | `53000` |
| `MalformedRequestErrors.MaxParameterLengthExceededError` | `31103` | `53000` |
| `MalformedRequestErrors.InvalidBridgeTokenError` | `31104` | `53000` |
| `MalformedRequestErrors.InvalidClientNameError` | `31105` | `53000` |
| `MalformedRequestErrors.ReconnectParameterInvalidError` | `31107` | `53000` |
| `SignatureValidationErrors.AccessTokenSignatureValidationFailed` | `31202` | `53000` |
| `AuthorizationErrors.NoValidAccountError` | `31203` | `53000` |
| `AuthorizationErrors.JWTTokenExpirationTooLongError` | `31207` | `53000` |
| `ClientErrors.NotFound` | `31404` | `53000` |
| `ClientErrors.TemporarilyUnavilable` | `31480` | `53000` |
| `ClientErrors.BusyHere` | `31486` | `53000` |
| `SIPServerErrors.Decline` | `31603` | `53000` |

- Call Error Changes

```ts
const device = new Device(token, {
enableImprovedSignalingErrorPrecision: true,
});
const call = device.connect(...);
call.on('error', (callError) => {
// the following table describes how callError will change with this feature flag
});
```

| Call Error Name | Call Error Code with Feature Flag Enabled | Call Error Code with Feature Flag Disabled |
| --- | --- | --- |
| `GeneralErrors.ConnectionDeclinedError` | `31002` | `31005` |
| `AuthorizationErrors.InvalidJWTTokenError` | `31204` | `31005` |
| `AuthorizationErrors.JWTTokenExpiredError` | `31205` | `31005` |

_**IMPORTANT:** If your application logic currently relies on listening to the generic error code `53000` or `31005`, and you opt into enabling the feature flag, then your applicaton logic needs to be updated to anticipate the new error code when any of the above errors happen._

2.7.3 (October 6, 2023)
======================

Bug Fixes
---------

- Fixed an [issue](https://github.com/twilio/twilio-voice.js/issues/163) where, sometimes a TypeError is raised while handling an incoming call under the following circumstances:
- Network interruptions
- updating the token before accepting the call

2.7.2 (September 21, 2023)
=========================

Changes
-------

- Fixed an [issue](https://github.com/twilio/twilio-voice.js/issues/197) where audio in the Chrome browser is choppy when another application is also using the audio devices.
- Added missing documentation for the following events:
- `call.on('ringing', handler)`
- `call.on('warning', handler)`
- `call.on('warning-cleared', handler)`
- `device.on('destroyed', handler)`

2.7.1 (August 3, 2023)
======================

Bug Fixes
---------

- Fixed an issue where `call.sendMessage()` API throws an error if the SDK is imported as an [ECMAScript Module (ESM)](https://nodejs.org/api/esm.html) using the `@twilio/voice-sdk/esm` path.

2.7.0 (August 1, 2023)
======================

ECMAScript Module Support
-------------------------

Currently, the SDK is imported as a [CommonJS Module (CJS)](https://nodejs.org/api/modules.html) using the root path `@twilio/voice-sdk`. With this release, the SDK contains an **experimental feature** that allows it to be imported as an [ECMAScript Module (ESM)](https://nodejs.org/api/esm.html) using the `@twilio/voice-sdk/esm` path. As this is an experimental feature, some frameworks using bundlers like `Vite` and `Rollup` may not work. Full support for ESM will be available in a future release and will become the default import behavior of the SDK.

Example:

```ts
import { Device } from '@twilio/voice-sdk/esm';
```

2.6.1 (July 7, 2023)
====================

Changes
-------
Expand Down Expand Up @@ -166,7 +282,11 @@ Bug Fixes
- Use DOMException instead of DOMError, which has been deprecated
- Removed npm util from the package, instead favoring native functions

<<<<<<< HEAD
2.1.0 (December 16, 2021)
=======
2.1.0 (January 6, 2022)
>>>>>>> 55a956dc49644ec896d53a522e926513daf985c7
=========================

New Features
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ Twilio's Voice SDK allows you to add real-time voice and PSTN calling to your we
* [Quickstart](https://www.twilio.com/docs/voice/client/javascript/quickstart)
* [Changelog](https://github.com/twilio/twilio-voice.js/blob/master/CHANGELOG.md)

### Technical Support
If you need technical support, contact
[[email protected]](mailto:[email protected]).
### Issues and Support
Please check out our [common issues](COMMON_ISSUES.md) page or file any issues you find here on Github. For general inquiries related to the Voice SDK you can file a support ticket. Please ensure that you are not sharing any [Personally Identifiable Information(PII)](https://www.twilio.com/docs/glossary/what-is-personally-identifiable-information-pii) or sensitive account information (API keys, credentials, etc.) when reporting an issue.

Installation
------------
Expand Down
Loading

0 comments on commit 5a9fcf8

Please sign in to comment.