Skip to content
This repository has been archived by the owner on May 6, 2019. It is now read-only.

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
noopkat committed Jan 7, 2018
1 parent 61d14ec commit 0dac153
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ms-bing-speech-service",
"version": "1.3.3",
"version": "2.0.0",
"description": "",
"main": "node.entry.js",
"module": "dist/MsBingSpeechService.js",
Expand Down

2 comments on commit 0dac153

@wallali
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, the major release number has changed here. Can you describe what is the breaking change please, so we can update to 2.*. Thanks

@noopkat
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there,

The release tag was published with the changelog featuring breaking changes here: https://github.com/noopkat/ms-bing-speech-service/releases/tag/v2.0.0

The TL;DR:

  • Convert the recognizer.start method to a promise call instead of a callback pattern
  • All methods and events are now on the recognizer instance. There is no longer a service object given once the recognizer has started.
  • all recognizer websocket events (close, error, etc) now return an object instead of a string

I have updated all of the examples in this repo also to use the new API.
Let me know if you need more detail on how to update to v2. Thanks!

Please sign in to comment.