Releases: TalAter/annyang
Significantly faster HTTPS results
annyang now uses non-continuous mode when the user is on HTTPS.
This allows for drastically faster results on HTTPS.
This is one more reason to use HTTPS
Unfortunately, non-continuous mode isn't practical on HTTP, because of repeating security notices (and using interimResults usually gives partial results until the final one is returned).
Grunt dev task + detailed API docs
Easily run a local server (with HTTPS) by running grunt dev
. Makes extending annyang much simpler. Thanks @PavelVanecek for the contribution.
Added detailed documentation and API specs. These will now be generated automatically from the JSDoc comments, which will be kept at their new high level.
Method removeCommands() can now remove all commands
Calling removeCommands() with no arguments will now remove all the commands registered to annyang. Previously it did nothing when no arguments were passed.
Thanks go to @James1x0 for the contribution.
Minor non-critical fix in abort() method
This release is Fully backwards compatible.
Removed need for manually running init
Calling annyang.init() is now optional. annyang will lazily initialize on its own.
The big benefit here, is that you no longer need to worry about always running init() first. Just start() listening whenever you want, addCommands() whenever, and as often as you like.
For example:
// Add commands
annyang.addCommands(commands);
// Add more commands
annyang.addCommands(anotherCommand);
// Start listening.
annyang.start();
// Just remembered a few more commands to add
annyang.addCommands(moreCommands);
// Stop listening.
annyang.abort();
This release is Fully backwards compatible. You can still run init() if you want.
Stable public release
v1.0.0 Version 1.0.0