5 Star 3 Fork 5

Gitee 极速下载 / Botkit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/howdyai/botkit
克隆/下载
changelog.md 56.46 KB
一键复制 编辑 原始数据 按行查看 历史
Ben Brown 提交于 2021-12-01 10:28 . update changelog

Change Log

View the official Botkit roadmap for upcoming changes and features.

Want to contribute? Read our guide!

4.15.0

  • Update dependencies to Bot Framework 4.15
  • Update various dev dependencies and external libraries
  • CHANGE: Correct from field to be user rather than bot with Slack button clicks. Thanks to @mdrichardson for the pull request.

4.10.0

4.9.0

4.8.1

  • FIX: Fixing a bug introduced in 4.8 pertaining to spawning proactive bots for Slack. #1937

4.8

In addition to fixing a bunch of bugs and adding some new features, this version brings Botkit up to date with Bot Framework's latest release - Change log here.

There are lots of interesting things happening in the Bot Framework world including a new GUI for dialog management called Bot Framework Composer, a new templating system called Language Generation, and more. Check out the main hub repo for more information.

NEW

FIXED

  • FIX: Facebook Adapter will not attempt to set up web routes if webserver is not configured. #1916
  • FIX: Exclude activity.conversation.properties field when generating state storage key. #1849
  • FIX: Allow startConversationWithUser to work with Bot Framework Emulator. #1834
  • FIX: Using beginDialog inside an ask() caused weird behaviors. Fixes for #1878 and #1932
  • FIX: Webex - remove empty files key #1906
  • FIX: Slack - authed_users added to message #1911
  • Update: all dependencies to latest, including bot framework 4.7->4.8 and mustache 3.0 -> 4.0

4.6.1

Version 4.6.1 includes some security and bugfix updates along with bumping many dependencies to the latest versions. We recommend updating both Botkit core and your platform adapter to the latest version.

  • Update Bot Framework dependencies to 4.7.1. Resolved #1882 and #1894.
  • Remove hbs depencency from Botkit. Not used! Thanks @naktibaldi #1855
  • Botkit feature modules can now be written in ES6 syntax. Thanks @cooperka!! #1854
  • Allow attachmentLayout field in Botkit Conversations -- thanks @innorag #1865
  • Update dependencies and some minor eslint syntax fixes across all the adapters and sub-packages.
  • Fixes in botbuilder-adapter-slack
  • Fixes in botbuilder-adapter-web

4.6

Version 4.6 includes security and bugfix updates to many dependencies, as well as fixes to some issues in Botkit core. We recommend updating both Botkit core and your platform adapter to the latest version.

New Features

Fixes

This update includes the following packages:

0.7.5

A maintenance release to the legacy branch was released as 0.7.5.

  • Update out of date dependencies to address security issues
  • Add support for Slack's new modals

4.5

We're skipping a few version numbers here to keep in sync with the rest of Microsoft Bot Framework. Welcome to Botkit 4.5! This release contains a host of improvements and bug fixes affecting Botkit's conversation system, as well the behavior of some of the platform adapters. We recommend that all developers currently using Botkit v4 upgrade to 4.5.

Specific Changes:

  • NEW: It is now possible to create dynamic quick replies, and attachments within a BotkitConversation. See full docs.

  • NEW: Previously, there was no way to bind middleware to the internally created Express webserver. It is now possible to do so using the webserver_middlewares parameter. Full docs

  • NEW: Quick replies and suggestedActions are now procssed as mustache templates. Thanks to @InnoraG for the pull request.

  • NEW: Slack block actions and other button clicks now are message type events and get included in dialogs. Thanks to @apemberton for the pull request.

  • NEW: The key name passed in to convo.ask and convo.addQuestion can now be set to null in order to discard the answer. Thanks to @adantoscano for the pull request

  • FIX: Botkit will no longer improperly prune platform specific fields like quick replies and attachments specified inside BotkitConversations. Fix for #1664, #1679, and #1699.

  • FIX: The text field in BotkitConversations was expected to always be an array, causing some confusion. It is now possible to pass in a string OR an array. Passing an array will cause Botkit to choose a random entry in the array for the message text.

  • FIX: Several updates have been made to the middleware pipeline so that it better matches expected behavior. The receive and send middlewares will now fire for every incoming message - previously, there were cases where these would not fire. Thanks to @adantoscano for this pull request and also this one.

  • FIX: The method for passing in a URI for communicating with Botkit CMS has been made more reliable, thanks to @adantoscano. See #1675 and #1677.

  • FIX: Webex adapter has been updated to better support file uploads. Thanks to @Teamop for the pull request

  • FIX: Improve mapping of Bot Framework "Activity" fields. Thanks to @Naktibalda for the pull request.

  • FIX: Expand typedefs for Slack dialogs. Thanks to @roger-king for the pull request

  • UPDATE: Update to v4.5.2 of all Bot Framework packages

  • UPDATE: ws websocket module updated to v7.1.1

This update includes the following packages:


4.0.2

  • Added disable_console option to controller. When set to true, Botkit will not emit normal console output.
  • Fix Typerscript signature of controller.spawn() - Thanks to @naktibalda for the fix
  • Fix for allowing typing messages in dialogs - Details
  • Remove useless try/catch blocks - - Thanks to @naktibalda for the fix
  • Fix an issue where the convo.before hook would not fire as expected when looping a thread.

Coinciding with 4.0.2, the adapters and plugin have also been updated with bug fixes and minor updates:

Sub-package release notes

4.0.1

This is the first major release of the new version of Botkit!

  • The same hears(), says() and ask() syntax you know and love, but now with modern Javascript conventions like async/await.
  • New capabilities like interruptions and composable dialogs.
  • All new platform adapters for Web chat, Slack, Webex, Facebook, Google Hangouts and Twilio SMS.
  • Built-in support for Microsoft Bot Framework features like:
  • Long awaited fixes and improvements like:
    • Multi-page support for Facebook
    • Conversation state persistence between across app nodes / app restarts
    • Full Typescript support

The all new docs for Botkit 4 can be found here. All of the Glitch starter kits have been updated with the latest version.

The best way to get started with 4.0 is to boot up a brand new bot using the Yeoman generator, and connect it to the Bot Framework Emulator. You'll be chatting with your new bot in minutes!

npm install -g yo botkit
yo botkit

0.7.4

0.7.3

0.7.2

Update dependency on request to latest to fix security warnings in dependency tree.

0.7.1

Update dependency on botbuilder to 3.16 to fix security warnings in dependency tree.

0.7.0

This release is the first major step towards deprecating Botkit Studio, and introducing a more general system for scripted dialogs and content from Botkit CMS.

We urge all Botkit users to update to the most recent version of Botkit. This may require an update to your project's package.json file.

  • Remove all functionality pertaining to Botkit Studio statistics and analytics APIs. All stats related services provided by Botkit Studio will cease operation on Dec 15.
  • Remove stats_optout flag from configuration.
  • Remove Botkit Studio options from command line interface.
  • Calls to Botkit Studio and/or Botkit CMS will no longer include the user's id

New features and changes:

0.6.21

  • Add support for Slack's chat.getPermalink

0.6.20

  • Fix bug introduced in 0.6.19 that caused events to improperly fire twice.
  • Emit a warning if Slack webhook validation is not enabled.
  • To prepare for upcoming changes to Botkit Studio and Botkit stats collection:
    • Prevent bots without Botkit Studio credentials from sending stat events
    • Emit a message about stats data collection at startup

0.6.19

No new features, but updates throughout the dependency tree for security and stability purposes.

  • Updated dependency versions to latest available

  • Rewrote Botkit command line tool to remove dependency on abandoned library. Upgrade to the latest: npm install -g botkit

  • Switched from using jscs to eslint for linting purposes.

0.6.18

  • Fix syntax error in Web connector. Oops! Thanks for reporting this issue @iworkforthem!

  • Add support for Google Hangouts "card_clicked" event. Thanks to @ouadie-lahdioui

0.6.17

In addition to minor fixes, dependency version updates, and documentation updates, this version includes:

  • Google Hangouts support is here! Thanks to @ouadie-lahdioui's hard work, your bot can now operate in Hangouts Chat.

    Get started with the Botkit Starter Kit for Google Hangouts.

    Botkit docs for Google Hangouts connector

  • CiscoSpark bots are now officially WebexBots. Everything is backwards compatible thanks to the hard work of @ObjectIsAdvantag, but you should move to using Botkit.webexbot() instead of Botkit.sparkbot() ASAP.

    Botkit docs for Cisco Webex Teams

    Read more about these changes.

  • Tests have been reorganized and updated thanks to @fastbean-au.

  • Errors that occur in the middleware pipeline will now cause pipeline_error event to be emitted. In addition, errors at specific stages of the pipeline will also emit their own events: ingest_error, normalize_error, categorize_error and receive_error. This should make it easier to debug problems in middleware. Thanks to @Nop0x. Docs

    Handle a pipeline error:

    controller.on('pipeline_error', function(err, bot, message, stage_name) {
        // ... handle it!
    });

    Handle a specific stage error:

    controller.on('ingest_error', function(err, bot, message) {
        // ... handle it!
    });

0.6.16

  • Fixed issue in Cisco adapter introduced in 0.6.15

0.6.15

Some minor tweaks:

  • Update to the way Webex Teams bots identify themselves PR #1397 Thank you to @jpjpjp

  • Externalize the utterances object #1085 thanks to @hannanabdul55

  • For Botkit web adapter, add typingDelayFactor config option, as well as controller.setTypingDelayFactor() to change how fast the bot types. Values between 0-1 will speed up the bot's typing, values above 1 will slow it down. - Docs - PR #1387 Thanks to @schmitzl

Several updates to the TypeScript definitions:

  • Add collectResponse to CoreBot's public types #1358 thanks to @pducks32
  • Add missing methods to d.ts #1359 thanks to @ypresto
  • Updating typings for interactive messages #1318 thanks to @jaalger

Thanks to frequent contributor @ouadie-lahdioui for the updates to Facebook Messenger:

Support for Slack's new security feature:

  • Request Signing with Slack Signing Secret - Docs - #1406 thanks to @shishirsharma

0.6.14

  • Fix for require_delivery option in Facebook bots. PR #1312

  • Errors encountered during Slack RTM connection process will now be reported to the callback function PR #1335

  • Updated methodology used to validate email addresses when restricting access to Cisco Spark bots

  • Updated dependencies to latest stable versions

0.6.13

  • Fix bugs and refactor handling of message actions, particularly as they relate to Botkit Studio scripts

  • Adjust mechanism used to construct facebook quick reply payload in order to support future formats. PR #1301

  • Promisify Facebook Messenger profile API. PR #1300

  • Lower the log priority from 'log' to 'debug' for several messages in Botkit Core and Botkit Slack.

0.6.12

  • Botkit has a brand new docs site! We have begun transitioning the documentation out of this repo into a dedicated documentation repo.

  • Remove dependency on Python introduced in 0.6.10. Thanks to @qiongfangzhang for the attention on that!

  • Fix for Facebook Messenger send broadcast function. PR #1280 Thanks @OmranAbazid

  • Extend Facebook's user profile object with locale. PR #1265 Thanks @julianusti

  • Added 'picture' to Facebook User Profile endpoint. PR #1264 Thanks @se

  • Add FB request thread control PR #1257 Thanks as always to @ouadie-lahdioui

  • Remove requirement that Cisco Spark endpoint be SSL. PR #1284 thanks @akalsey and your beard.

  • Add support for Slack's users.lookupByEmail API. PR #1285 Thanks to @piglovesyou

  • Fix to the way variables are copied between conversations while using Botkit Studio scripts

0.6.11

  • For Botkit Studio users, added controller.studio.getById() for loading scripts by their unique ID rather than by name or trigger. Docs here

0.6.10

  • Add support for Cisco Jabber. Thanks to @qiongfangzhang and @panx981389 and their team at Cisco for the contribution!

Documentation for the Cisco Jabber adapter can be found here

  • Updated ciscospark dependency to latest version and fixed some bugs in the example bot

  • Update Twilio dependency to latest, along with small updates to adapter. Thanks @nishant-chaturvedi! PR #1140

0.6.9

  • Add 2 new middleware endpoints that occur during conversations - conversationStart(bot, convo, next) and conversationEnd(bot, convo, next). Some new documentation
  • Conversations powered by Botkit Studio will now include convo.context.script_name and convo.context.script_id which point back to the script loaded from the Botkit Studio API
  • When using Botkit Studio's execute script action, the resulting conversation object will have 2 additional context fields: convo.context.transition_from and convo.context.transition_from_id which will point to the script from which the user transitioned
  • When using Botkit Studio's execute script action, the original conversation from which the user is transitioning will have 2 additional context fields: convo.context.transition_to and convo.context.transition_to_id which will point to the script to which the user transitioned
  • Fix for Botkit Studio scripts which used "end and mark successful" action from a condition. Previously this would end, but not mark successful.

Merged Pull Requests:

  • Make sure Facebook API errors are passed to callback if specified PR #1225
  • Refresh Microsoft Teams token when it has expired. PR #1230
  • Update TypeScript definition for Web bots PR #1231
  • Update TypeScript definition for bot.replyAndUpdate PR #1232
  • Fix for Microsoft teams button builder function PR #1233

0.6.8

BIG UPDATE:

Botkit now works on the web! The new web connector supports websocket and webhook connections for sending and receiving messages. The brand new Botkit Anywhere starter kit includes a customizable web chat client, and a built-in chat server. Of course, this works with the existing stack of Botkit tools and plugins!

New for Botkit Studio:

Developers using Botkit Studio to create and manage script content can now utilize a new message action in their conditional statements, or at the end of any thread. It is now possible to direct your bot to seamlessly transition to a different Botkit Studio script. This allows for new patterns like interconnected menus, loops and branching conversations.

New core features:

Developers can now exclude specific types of events from being included in conversations using controller.excludeFromConversations(event_name). This has been applied to the Facebook connector, which will now exclude certain events automatically. Docs

The tick interval used for driving conversations can now be adjusted using controller.setTickDelay(ms). Docs

Merged pull requests:

Our community of Botkit Core developers is more than 150 people strong! Thank you to all of the contributors who spent their precious time improving Botkit for everyone. There are more than a dozen pull requests included in this release!!

Core:

Facebook:

This release contains a ton of updates to the Facebook connector, many of which were contributed by @ouadie-lahdioui!

Botkit will now exclude message_delivered, message_echo and message_read events from inclusion in conversations using the new excludeFromConversations() function. Docs

Slack:

These fixes for the Slack connector add more ways to protect your bot from potentially malicious incoming webhook events. Use them!!

0.6.7

Add controller.studio.getScripts() to load all a list of available scripts from Botkit Studio Docs

Add handling (and error messages) for 401 response codes from Botkit Studio APIs that indicate a bad access token

0.6.6

Important fixes to Facebook and Cisco Spark connectors: A breaking change was introduced in 0.6.5 which has now been fixed.

Remove crypto dependency, now use built-in crypto library.

Update botkit-studio-sdk dependency to latest version.

0.6.5

Introducing the Botkit command line tool!

Run: npm install -g botkit

Then, you'll be able to set up a new Botkit project (based on one of our excellent starter kits!) by typing:

botkit new --name "my bot"

New helper functions:

Botkit bots for Slack, Cisco Spark, Microsoft Teams and Facebook now have support for additional helper functions:

bot.getMessageUser(message) returns a Promise that will receive a normalized user profile object for the user who sent the message.

bot.getInstanceInfo() returns a Promise that will receive a normalized instance object, with identity and team fields.

0.6.4

Fix for Cisco Spark: improved methodology for detecting and handling @mentions

Fix for Slack: allow multiple validation errors to be passed in to bot.dialogError(). Thanks @cfs! PR #1080

Fix for Slack: fix for bot.whisper() Thanks to @jonchurch and @fletchrichman!

New: Botkit Studio scripts may now contain custom fields in message objects. This is in support of an upcoming feature in Botkit Studio which will allow developers to add define these custom fields in the Studio IDE.

0.6.3

New: Support for Slack Dialogs, including:

  • bot.createDialog() function Docs
  • bot.replyWithDialog() function Docs
  • bot.api.dialog.open() function
  • dialog_submission event Docs
  • bot.dialogOk() function Docs
  • bot.dialogError() function Docs

Fix: Cisco Spark bots will once again receive direct_message and direct_mention events. (Fix for #1059)

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 Messaging 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

JavaScript
1
https://gitee.com/mirrors/Botkit.git
git@gitee.com:mirrors/Botkit.git
mirrors
Botkit
Botkit
main

搜索帮助