CHANGELOG.md in stealth-2.0.0.beta1 vs CHANGELOG.md in stealth-2.0.0.beta2
- old
+ new
@@ -47,10 +47,12 @@
* [Controllers] Improved logging when `UnrecognizedMessagesController` runs.
* [Controllers] State transitions (via `step_to`, `update_session_to`, `step_to_at`, `step_to_in`, and `set_back_to`) now accept a session `slug` argument.
* [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`
## 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.
@@ -62,9 +64,10 @@
* Leading dynamic delays in a reply are not sent again on SMS platforms.
* [Sessions] Sessions retrieved when session expiration was enabled would return as an Array rather than a slug.
* [Sessions] previous_session now respects session_ttl values.
* [Catch All] Log output from all catch_all logging now includes the session_id so they can be included in log searches.
* [NLP] Strip out values from single element arrays in the case of custom LUIS List entities.
+* [Config] Attempting to overwrite default config values with `nil` or `false` now correctly sets those config values.
## Deprecations
* [Controllers] current_user_id has now been completely removed since becoming deprecated in 1.1.0.
* [Ruby] MRI 2.4 is no longer supported as we depend on ActiveSupport 6.0 now. Rails 6.0 only supports Ruby MRI 2.5+.