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
RealTimeClient
is 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 ofBot
objects.
- Fixed
getDMById()
to use theim.list
method instead, since Slack removedim.info
from 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
RealTimeClient
will 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
$name
undefined 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.
RealTimeClient
connections 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
MessageBuilder
and sent usingApiClient::postMessage()
. - Channels, groups, and DMs now implement
ChannelInterface
which is used for any channel-like object checking. ClientObject
now extends the more generalDataObject
.$data
in client objects is now public.
PostableInterface
has 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
okay
instead ofok
in 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.