PHP Classes
elePHPant
Icontem

File: CHANGELOG.md

Recommend this page to a friend!
  Classes of Marcel Pociot  >  PHP Slack Bot  >  CHANGELOG.md  >  Download  
File: CHANGELOG.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP Slack Bot
Robot to automate interactions with Slack users
Author: By
Last change: Update CHANGELOG.md
Date: 5 days ago
Size: 2,618 bytes
 

Contents

Class file image Download

Change Log

All notable changes to this project will be documented in this file.

[Unreleased]

Added

  • Added methods to set typing indicators $botman->types() and $botman->typesAndWaits(2);.
  • Added api.ai middleware.
  • Added additional parameters to $botman->say method.
  • Added ability to load command-specific middleware: `php $bot->hears('foo', function($bot){})->middleware(new TestMiddleware()); `

Changed

  • Fixed an error that occured when responding to the Facebook driver with thumbs up.
  • Fixed SlackRTM driver to respond using the RTM API (Fixes issues #99 and #67).
  • Moved listening to Facebook Postback payloads into a separate driver (FacebookPostbackDriver) so it does not interfere with normal user text
  • Correctly handle Skype group chats #128

[1.3.0]

Added

  • Added WeChat messaging driver.
  • Added BotMan state methods to store user, channel or driver related data. - $botman->userStorage() - $botman->channelStorage() - $botman->driverStorage()

Changed

  • Forced opis/closure $this scope serialization.

[1.2.2]

Added

  • Added support for Slack slash commands. Just hear for the complete slash command $bot->hears('/command foo', ....

Changed

  • Fixed an error when trying to originate a message using a specific driver name (Issue #70).

[1.2.1]

Added

  • Added support for Microsoft Bot Framework Web Chat

[1.2.0]

Added

  • Added the SlackRTMDriver to make use of the Slack Realtime API.
  • Added a new Message class to compose messages with images.
  • Image support is available for these drivers: - Facebook - Telegram - Slack - Microsoft Bot Framework

Changed

  • Middleware classes now receive a third parameter $regexMatched inside the isMessageMatching method. You can use this method to determine if the regular expression was also matched, in case you do not want to replace the complete hears logic, but only add custom logic to it. Note: This will require you to modify your custom middleware classes.

[1.1.1]

Changed

  • Fixed a bug where middleware isMessageMatching of false would still match the message.

[1.1.0]

Added

  • The hears method can now handle ClassName@method syntax.

Changed

  • Fixed a bug in combination with middleware classes and regular expression matches

[1.0.1]

Added

  • Added send method to BotMan, to allow originating messages

Changed

  • The hears regular expression now checks for the start of the string https://github.com/mpociot/botman/issues/52

Changed

[1.0.0] - 2016-12-08

  • Initial release