CHANGELOG.md in stealth-2.0.0.beta4 vs CHANGELOG.md in stealth-2.0.0.beta5
- old
+ new
@@ -51,9 +51,12 @@
* [Replies] Added support for sub-state replies. `step_to` can now take a `pos` argument that will force any resulting `send_replies` to be sent starting at the `pos` specified. `pos` can also be negative, for example, `-1` will force `send_replies` to send replies starting at (only) the last reply.
* [Replies] Dynamic delays are automatically sent before each reply. This can be disabled by setting `Stealth.config.auto_insert_delays` to `false`. If a delay is already included, the auto-delay is skipped.
* [Controllers] `handle_message` now supports `Regexp` keys.
* [Configuration] `database.yml` is now parsed with ERB in order to support environment variables. Thanks @malkovro.
* [Replies] Speech and SSML replies now use `speech` and `ssml` as keys, respectively, instead of `text`
+* [Replies] Voice services (determined by having "voice" in the name) now automatically skip auto-delays.
+* [Controllers] `current_message` now has a `confidence` attribute containing a float with the confidence value of the transcription (from 0 to 1).
+* [Controllers] Added a `halt!` method that can be used with the controller error handlers to stop code execution.
## Bug Fixes
* [Catch All] Errors triggered within CatchAlls no longer trigger a CatchAll. They are simply ignored. This prevents infinite looping scenarios.
* [Interrupt] If CatchAll runs and doesn't `step_to`, it releases the session lock.