This version comes with two new features:
Verb Option Variables
Verb options can now be a variable. Previously, you to pass in options as a list to each verb, like this:
say "Welcome...", voice: "alice"
say "Press 1 to...", voice: "alice"
Now, you can define a shared variable or private method, and share that between verbs:
options = [voice: "alice"]
say "Welcome...", options
say "Press 1 to...", options
Default Verb Options
Verbs can now have default options. For example, if you wanted the "Alice" voice to be the default, you can update your mix configuration in config/config.exs
like so:
config :ex_twiml, :defaults,
say: [voice: "alice"]
Check out the README for more details on that.