Skip to content

v2.1

Compare
Choose a tag to compare
@jankoenig jankoenig released this 18 Mar 10:03
e18e221

馃帀 Jovo Framework v2.1is now available 馃帀

Learn more in the announcement here: https://www.jovo.tech/news/2019-03-05-jovo-v2-1


Jovo Framework v2.1

Almost 2 months ago, we released Jovo v2, an all-new Jovo that came with a new architecture and many integrations.

Since then, with help from our great community, we've worked on a lot of new additions, including new features for Amazon Alexa, Google Assistant, cross-platform improvements, and even some new platforms. You can now find everything bundled togeher in Jovo v2.1.

You can find all new features and improvements below:

Like what we're doing? Support us with a star on GitHub

New Features

Find all the new features in the sections below.

To update to Jovo v2.1, use the following command:

$ jovo update

Alexa Skill Features: Amazon Pay, Proactive Events, and more

As of today, you can build any publicly available Alexa Skill feature with the Jovo Framework (for quickly integrating private features, take a look at our new Hooks).

Newest additions to the Alexa platform integration in Jovo include:

Google Action Features: Transactions, Push Notifications, and more

Every publicly available Google Actions feature to date is available in the Jovo Framework.

Recent additions to the Google Assistant platform integration include:

Alpha: Build Bots for Platforms like Facebook Messenger and Slack

Jovo Docs: Dialogflow Integrations

Build a Slack Bot with Jovo

New experimental feature: By using Dialogflow Integrations, you can now bring your Jovo apps to bot platforms like Facebook Messenger and Slack!

Right now, this is an alpha release, so you will only be able to create text responses. Please note that, although they are similar, text based conversational experiences can differ from voice applications. Currently, there is no real difference between tell and ask, for example. We will work towards a clearer designed abstraction in upcoming releases.

However, you can already add custom payloads to the Dialogflow response with this.$dialogflowAgent.setCustomPayload, which can be used for platform specific output.

For example, you can add Facebook Messenger Quick Replies like this:

// src/app.js

app.setHandler({

   HelloWorldIntent() {
      this.$dialogflowAgent.setCustomPayload("facebook", {
         "quick_replies": [
               {
                  "content_type": "text",
                  "title": "Joe",
                  "payload": "Joe",
               },
               {
                  "content_type": "text",
                  "title": "Samantha",
                  "payload": "Samantha",
               },
               {
                  "content_type": "text",
                  "title": "Chris",
                  "payload": "Chris",
               }
         ]
      });
      this.ask('Hello World! What\'s your name?', 'Please tell me your name.');
   },

   // Other Intents

});

Extend the Jovo Framework with Hooks

Docs: Hooks

Video: https://www.youtube.com/watch?v=hBrX5srF3yU

Jovo Hooks offer the ability to customize and extend the Jovo Framework in a lightweight way, without having to build a full-fledged plugin.

This can be helpful if you wan to do quick modifications during certain parts of the request lifecycle. For example, you could add additional JSON output necessary for an Alexa Skill private beta feature before the response is sent put by hooking into before.response.

New Integrations

Besides the larger updates above, we also added and updated some integrations:

And more, including Unit Testing Improvements and Logging

There were tons of smaller updates, but the following ones were among the most anticipated updates:

Interested in all the updates? See the Jovo Framework Changelog for a more detailed overview.

A Big Thank You

Thanks a lot for all your help to the contributors of this release, including Renato Alencar, Matthew Lieder, scouzinier, Dominik Meissner, Kaan Kilic, Alex Swetlow, and everyone else who helped with ideas and feature requests in the Jovo Slack community 馃憦馃憦馃憦.