All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Marked
BotCallingWebhook
as deprecated (Typescript typings only)
- BREAKING: Added user state to classes marked with the
BotDeclaration
decorator. Class is instantiated with the following arguments:(ConversationState, UserState, BotFrameworkAdapter)
- Added
*.office.com
to CSP header for pages
- Unit testing
- Github code coverage integration
- Fixed in issue with CSP where the current host was not added correctly
- BREAKING: Upgraded to
botbuilder
version4.14.1
as minimum version - Dependency bump
- Moved to Github actions
- Moved to ESLint
- Bot Framework dependencies updated (PR #10)
BotDeclaration
now supports dynamically loaded parameters by supporting functions that return strings
- Support form certificate based auth for Bots (PR #6)
- Updated dev dependencies
- Updated
"Content-Security-Policy
to support US Government GCC and DoD endpoints
- Fixed an issue where arrow functions was not used, preserving
this
, for Outgoing webhooks (PR #2)
- Migrated to
[email protected]
- Bots should be extending
ActivityHandler
instead of implementing the removedIBot
interface (breaking change)
- Removed the
IBot
interface
- Fixed an issue where
this
was not correctly bound for incoming calls to the bot - Node 6 no longer supported
- Changed bot framework adapter from generic adapter to
TeamsAdapter
- Updated the
BotDeclarator
implementation to usereflect-metadata
and strict constructor checking - Modified
MessagingExtensionDeclarator
so that it supportsundefined
as argument, for catch-all scenearios
- Updated version reference for
botbuilder-teams-messagingextensions
- Fixed versions for dependencies
- Added
BotCallingWebhook
method decorator to support webhooks for Bot calling - Introduction of using
reflect-metadata
for improved decorator management
- Updated
botbuilder-teams-messagingextensions
npm package version to support newer features of messaging extensions - The bot classes are now instatiated with one additional parameter (
BotFrameworkAdapter
)
- Updated
botbuilder-teams-messagingextensions
npm package version - Updated README and inline documentation
- Added additional logging for Message extensions
- New declarator for Messaging Extensions
- New interface for Message Extensions
- Added Bot Framework 4 middleware for Messaging Extensions
- Added a new decorator for CSP policy (
PreventIframe
)
- Messaging extensions are now created using the
botbuilder-teams-messagingextensions
npm package - Updated dependencies
- Connector declaration redefined
- Updated to Bot Framework v4
- Added
Storage
property toBotDeclaration
IBot
interface changed to support new Bot Framework v4IConnector
Ping
method updated- Removed CSP depending on hardcoded file names
- Changed internal property names for decorators to alwyas start with double underscore
__
- Removed experiemental/preview bot implementation
- Removed configuration property in
ConnectorDeclaration
- Removed messaging extensions interfaces and experimental middleware, this is now defined in external
botbuilder-teams-messagingextensions
npm package
- Added outlook.office.com to the CSP policy of the page router, to support inline Connector configurations
- Connector no longer uses a redirect pages when connecting/pinging but instead returns a HTTP 200 OK
- Added more comments and documentation
- Moved logging from using console to using the
debug
package
- Replace all arguments in the IConnector with the Express Request object
- Added current host in the content security policy for tabs, so we can load ADAL renewal frames
- Ping method changed so that it accepts data
- Ping method now supports both POST and GET, data for POST is the body and data for GET is the query string
- Added *.sharepoint.com in the content security policy for tabs
- Fixed an issue with how the bot service endpoint was registered in the router
- Updated code to reflect linting changes
- Removed the (unnecessary) botId argument for the BotDeclaration decorator
- Travis-ci integration
- Linting added (npm run lint)
- Update to package-lock.json
- Updated botbuilder package to latest
- Initial release