Skip to content

Latest commit

 

History

History
443 lines (233 loc) · 21.2 KB

changelog.md

File metadata and controls

443 lines (233 loc) · 21.2 KB

Change Log

View the official Botkit roadmap for upcoming changes and features.

Want to contribute? Read our guide!

0.6.2

Fix bug in Facebook connector: call startTicking() as part of object instantiation. This was missing in 0.6 and 0.6.1

Move call to startTicking() in TwilioIPM connector to make it consistent with other connectors.

Fix: Catch 202 response code that does not have a JSON response body. This status sometimes comes back from the MS Teams API when a message has been queued for delivery.

0.6.1

Fix bugs in Botframework and ConsoleBot connectors that caused messages not to send. Resolves #1033.

Fix typo in Twilio connector that caused attached media to fail. Thanks @jpowers! PR #1023

Fix missing bodyParser module in Facebook connector. Resolves #1041.

New: Add support for the new conversations APIs for Slack. Read about this new API here.

New: Add usergroups APIs for Slack. Thanks to @digitalspecialists for this! PR #1001

Change: Facebook message_echo webhooks will now emit message_echo events instead of message_received events to distinguish them from messages sent by users.

0.6.0

This version features some BIG CHANGES!

New platform support:

Microsoft Teams is now officially supported with its own connector, including new features in Botkit Studio like authoring of Teams-specific attachments, an app package builder and configuration manager, and a new starter kit.

Read the full docs for Botkit for Microsoft Teams

Major changes to message handling code:

Introducing the Botkit Message Pipeline, a formalized process for Botkit's handling of incoming and outgoing messages. All of the platform connectors have been refactored to use this new series of middleware functions, and are now implemented in a uniform way.

Developers who make use of Botkit's middleware system should take time to read this update. Most current middleware functions will continue to work as expected, but mild changes may be desirable to update these functions to use Botkit's latest features.

In addition, developers who use third party middleware plugins should carefully retest their applications after upgrading to version 0.6, as these plugins may need to be updated for full compatibility.

Upgrade Guide:

This version of Botkit deprecates the receive_via_postback and interactive_replies options that caused button clicks to be treated as typed messages. These and other small changes to the way Botkit emits events may require minor updates to some Botkit apps.

Upgrading from Botkit 0.5 or lower? Read this guide!

0.5.8

Slack: Support for sending ephemeral messages with bot.whisper() and bot.sendEphemeral(). In addition, any message with message.ephemeral set to true will be sent with bot.sendEphemeral() automatically. Read documentation here. Thanks to @jonchurch

Slack: Add support for bot.api.files.sharedPublicURL() method. Thanks to @GitTristan

Facebook: Support for using message tags. Read documentation here. Thanks to @ouadie-lahdioui

Facebook: Support for using Facebook's new built-in NLP tools. Read documentation here. Thanks to @ouadie-lahdioui for this one too!!

Twilio SMS: Add support for sending MMS messages (file attachments) via Twilio. Read documentation here. Thanks to @krismuniz!

Cisco Spark: Emit a console warning when a bot receives messages from outside the allowed domain list. Thanks to @MathRobin!

New: Typescript declarations! Thanks to @uny and @naktibalda for their work on this.

0.5.7

Lock in ciscospark dependency at version 1.8.0 until further notice due to breaking changes in more recent versions.

0.5.6

Fix for Botkit Studio-powered bots: Facebook attachments can now be added without buttons

Fix for Cisco Spark: Bot mentions will now reliably be pruned from message, regardless of what client originated the message

Fix for Cisco Spark: startPrivateConversationWithPersonID has been fixed.

0.5.5

Introducing Botkit for SMS! Botkit bots can now send and receive messages using Twilio's Programmable SMS API! Huge thanks to @krismuniz who spearheaded this effort! Read all about Twilio SMS here

New unit tests have been added, thanks to the ongoing efforts of @colestrode, @amplicity and others. This release includes coverage of the Botkit core library and the Slack API library. This is an ongoing effort, and we encourage interested developers to get involved!

Add missing error callback to catch Slack condition where incoming messages do not match a team in the database. PR #887 thanks to @alecl!

Add support for Facebook attachment upload api PR #899 thanks @ouadie-lahdioui! Read docs about this feature here

Fixed issue with Slack message menus. PR #769

Fixed confusing parameter in JSON storage system. delete() methods now expect object id as first parameter. PR #854 thanks to @mehamasum!

All example bot scripts have been moved into the examples/ folder. Thanks @colestrode!

Fixes an instance where Botkit was not automatically responding to incoming webhooks from Cisco with a 200 status. PR #843

Updated dependencies to latest: twilio, ciscospark, https-proxy-agent, promise

0.5.4

Fix for #806 - new version of websocket didn't play nice with Slack's message servers

Support for Slack's new rtm.connect method.

Use rtm.connect instead of rtm.start when connecting an RTM bot to Slack. This should performance during connections.

0.5.3

Add a new readme file and moved other documentation into docs/ folder.

Update all dependencies to their most recent versions

Change behavior of conversation timeouts. New behavior is documented here.

Support for Facebook Messenger's new "Home URL" setting PR #793 New features documented here.

Support for including parameters in Facebook codes. PR #790 Docs here.

Support for Facebook's new "target audience" APIs PR #798

Support for additional Slack user APIs, including 'user.profile.set' and 'user.profile.get'. PR #780

Add support for createPrivateConversation() in Slack bots PR #586

beforeThread Hooks:

These new hooks allow developers to execute custom functionality as a conversation transitions from one thread to another. This enables asynchronous operations like database and API calls to be made mid-conversation, and can be used to add additional template variables (using convo.setVar()), or change the direction of the conversation (using convo.gotoThread()).

Add convo.beforeThread(), a plugin hook that fires before a conversation thread begins. Docs

Add controller.studio.beforeThread(), a plugin hook that fires before a Botkit Studio-powered conversation thread begins. Docs

0.5.2

Changes for Slack:

Add support for Slack's new chat.unfurl method for use with App Unfurls

Add additional Slack's team API methods PR #677

Botkit will now store the value of the state parameter used in the oauth flow in the team's record PR #657

Fixes slash commands when using internal webserver PR #699

Add error logging for say and spawn.run PR #691

Changes for Facebook Messenger:

Updates to Facebook's Messenger Profile APIs (previously thread settings APIs) PR #690

Add ability to retrieve Messenger Code image PR #689

Add support for Facebook's domain whitelisting API PR #573

Add tests for handleWebhookPayload in Facebook bot flow PR #678

Add Facebook account linking support PR #578

Add ability to customize api url for Facebook PR #576

Changes to Botkit Core:

Add "done" and "exit" as a utterances for "quit" PR #498

Thanks

Thanks to @jhsu @davidwneary @mbensch @alecl @ouadie-lahdioui @agamrafaeli @katsgeorgeek @jfairley

0.5.1

Fixes for Cisco Spark:

Allow port number to be included in public_address

Fix to issue when using retrieveFile()

Fixes for Slack:

Add support for channel.replies API

Fixes for Facebook:

Add support for Facebook account linking

0.5.0

Add support for bots on Cisco Spark! For information about getting started, and to learn about new Botkit features that are specific to this platform, check out our new Cisco Spark readme.

Botkit will now send a user agent header on all requests to the Slack API

When building for Slack, developers may now override the root URL of the API by specifying api_root in the configuration in order to use mocked testing endpoints or use the Slack API through a proxy.

0.4.10

Add support for Slack Enterprise Grid, for more information read

Add Support for Slack's new thread system, including:

bot.replyInThread() to create a threaded reply

bot.startConversationInThread() to create and immediately start a conversation in a thread

bot.createConversationInThread() to create a conversation in a thread

Add new heard middleware endpoint, which fires after a pattern has been matched, but before the handler function is called. This allows developers to enrich messages with NLP tools or other plugins, but do so only when the original message matches specific criteria.

Add new capture middleware endpoint, which fires after a user responds to a convo.ask question but before the related handler function is called. This allows developers to change the value that is captured, or capture additional values such as entities returned by an NLP plugin.

0.4.9

controller.version() will now report the currently installed version of Botkit.

Change to how quick replies are rendered via Botkit Studio's API

0.4.7

Add support for Facebook Messenger "location" quick replies PR #568

Add support for Slack's new users.setPresence API PR #562

Add support for Slack's new reminders API PR #580

0.4.6

Change to controller.studio.runTrigger: Will now resolve promise regardless of whether a trigger was matched

0.4.5

Bug fix: Fix detection of Slackbot interactive callbacks

0.4.4

Changes:

Add referral field to facebook_postback events, if set PR #552

Refactor handling of incoming webhooks from Slack and Facebook in order to make it easier for developers to create custom endpoints and/or integrate Botkit into existing Express applications.

Add controller.handleWebhookPayload() to process a raw webhook payload and ingest it into Botkit

Make stale connection detection configurable PR #505

DDOS Vulnerability Fix - Secure Facebook Webhook PR #555

Bug fixes:

Fix an issue where a custom redirect_uri would be rejected by Slack's oauth verification

Fix bot_channel_join and bot_group_join with Slack Events API PR #514

Fix path to static content directory PR #546

retry and send_via_rtm options are now properly associated with the controller object.

Fix some issues pertaining to typing indicators and the slack RTM PR #533

0.4.3

Adds convo.transitionTo(), a new feature for creating smoother transitions between conversation threads

Adds support for new Facebook Messenger thread settings APIs which enable developers to set and manage the 'getting started' screen and persistent menus.

Adds support for Facebook Messenger attachment in Botkit Studio

Adds a check to ensure messages are properly received by Facebook and Slack before proceeding to next message in a conversation.

Adds optional require_delivery option for Facebook and Slack bots which tells Botkit to wait to receive a delivery confirmation from the platform before sending further messages. Slack info Facebook info

Change: Receiving facebook_postback events as normal "spoken" messages now requires the {receive_via_postback:true} option be set on the controller. Read more

0.4.2

Support for Slack's Events API is here, thanks to the Botkit contributor community. Read documentation here

Bug fix:

Fixes an issue with setting the default IP address for the Express server introduced in 0.4.1

0.4.1

This release contains many small fixes and updates to keep up with the ever changing platforms!

BIG CHANGES:

Slack bots will now send messages via the Web API instead of the RTM. This behavior can be changed by passing send_via_rtm: true to controller.spawn()

Adds ConsoleBot for creating bots that work on the command line

Adds a new Middleware Readme for documenting the existing middleware modules

Adds an example for using quick replies in the Facebook Example Bot

Adds additional fields to Facebook messages to specify if they are facebook_postbacks or normal messages.

Adds optional hostname field to constructor functions to bind Express to a specific IP.

Fixes for Slack's files.upload API

Merge in numerous pull requests from the community: PR #461 PR #465 PR #466 PR #469 PR #472 PR #474 PR #434 PR #435 PR #440 PR #441 PR #443 PR #446 PR #448

0.4

Add support for Botkit Studio APIs. More Info

Substantially expanded the documentation regarding Botkit's conversation thread system.

Add support for Microsoft Bot Framework. The Microsoft Bot Framework makes it easy to create a single bot that can run across a variety of messaging channels including Skype, Group.me, Facebook Messenger, Slack, Telegram, Kik, SMS, and email. More Info

Updates to Facebook Messenger connector to support features like message echoes, read receipts, and quick replies.

Merged numerous pull requests from the community: PR #358 PR #361 PR #353 PR #363 PR #320 PR #319 PR #317 PR #299 PR #298 PR #293 PR #256 PR #403 PR #392

In order to learn about and better serve our user community, Botkit now sends anonymous usage stats to stats.botkit.ai. To learn about opting out of stats collection, read here.

0.2.2

Add support for Slack Interactive Messages.

Add example of Slack button application that provides a bot that uses interactive messages.

New functionality in Slack bot: Botkit will track spawned Slack bots and route incoming webhooks to pre-existing RTM bots. This enables RTM bots to reply to interactive messages and slash commands.

0.2.1

Improves Slack RTM reconnects thanks to @selfcontained PR #274

0.2

Adds support for Twilio IP Messenging bots

Add example bot: twilio_ipm_bot.js

0.1.2

Slack changes:

Adds authentication of incoming Slack webhooks if token specified. More info [Thanks to @sgud]

Improves support for direct_mentions of bots in Slack (Merged PR #189)

Make the oauth identity available to the user of the OAuth endpoint via req.identity (Merged PR #174)

Fix issue where single team apps had a hard time receiving slash command events without funky workaround. (closes Issue #108)

Add team_slashcommand.js and team_outgoingwebhook.js to the examples folder.

Facebook changes:

The attachment field may now be used by Facebook bots within a conversation for both convo.say and convo.ask. In addition, postback messages can now be received as the answer to a convo.ask in addition to triggering their own facebook_postback event. [Thanks to @crummy and @tkornblit]

Include attachments field in incoming Facebook messages (Merged PR #231)

Adds built-in support for opening a localtunnel.me tunnel to expose Facebook webhook endpoint while developing locally. (Merged PR #234)

0.1.1

Fix issue with over-zealous try/catch in Slack_web_api.js

0.1.0

Adds support for Facebook Messenger bots.

Rename example bot: bot.js became slack_bot.js

Add example bot: facebook_bot.js

0.0.15

Changes conversation.ask to use the same pattern matching function as is used in hears()

Adds controller.changeEars() Developers can now globally change the way Botkit matches patterns.

0.0.14

Add new middleware hooks. Developers can now change affect a message as it is received or sent, and can also change the way Botkit matches patterns in the hears() handler.

0.0.~

Next time I promise to start a change log at v0.0.0