All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
0.3.0 - 2017-04-19
- Advanced message attachments can now be created using
AttachmentBuilder.
0.2.5 - 2016-09-21
- You can now check if a
RealTimeClientis currently connected with aisConnected()method.
- Update dependencies to PHP 7 compatible versions.
- Channels are no longer missing when joined.
- WebSocket errors are now logged to stderr instead of being thrown away.
0.2.4 - 2016-05-28
- Get a user's profile images using
getProfileImage[SIZE]()methods for the various image sizes. - In the
RealTimeClient, get the list of active Slack bots withgetBots(), which resolves with an array ofBotobjects.
- Fixed
getDMById()to use theim.listmethod instead, since Slack removedim.infofrom the API.
0.2.3 - 2015-12-21
- The authed user is now correctly identified when using
RealTimeClient. - Fix getting DM channel by user ID to consistently work.
- Methods on
RealTimeClientwill now throw exceptions if the client is not connected.
0.2.2 - 2015-11-16
- Open DMs with an existing user object with
ApiClient::getDMByUser(). - Get a user by username with
ApiClient::getUserByName().
0.2.1 - 2015-08-21
- Open DMs by a user ID with
ApiClient::getDMbyUserId().
- Fix catchable fatal error when setting user in message builder.
- Fix
$nameundefined in named channel lookups. - Reject connection promise if connecting to the real-time API fails.
0.2.0 - 2015-06-13
- Support for listing all channel types, groups and DMs by ID.
RealTimeClientconnections can now be closed.- Client objects can now be safely serialized to JSON.
- You can now get more info about DMs.
- Groups can be opened and closed.
- New message posting API with attachment support. Messages can be created using
MessageBuilderand sent usingApiClient::postMessage(). - Channels, groups, and DMs now implement
ChannelInterfacewhich is used for any channel-like object checking. ClientObjectnow extends the more generalDataObject.$datain client objects is now public.
PostableInterfacehas been superseded byChannelInterface.
- Don't error when server replies to a message more than once.
0.1.1 - 2015-06-05
- Fix incorrect interface type used in both client types.
- Fix client looking for
okayinstead ofokin server responses.
- Initial release.
- Completely event-based, asynchronous API using React and Guzzle 6.
- Web API access with nice object abstractions, e.g. User objects, etc.
- Working client for Slack's Real-Time Messaging API with support for all server events.
- Ability to send messages to any open channel, group or DM, either with the web API or with the RTM API.