Skip to content
This repository has been archived by the owner on Jun 4, 2018. It is now read-only.

Latest commit

 

History

History
88 lines (71 loc) · 3.6 KB

CHANGELOG.md

File metadata and controls

88 lines (71 loc) · 3.6 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

0.3.0 - 2017-04-19

Added

  • Advanced message attachments can now be created using AttachmentBuilder.

0.2.5 - 2016-09-21

Added

  • You can now check if a RealTimeClient is currently connected with a isConnected() method.

Fixed

  • 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

Added

  • 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 with getBots(), which resolves with an array of Bot objects.

Fixed

  • Fixed getDMById() to use the im.list method instead, since Slack removed im.info from the API.

0.2.3 - 2015-12-21

Fixed

  • 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

Added

  • Open DMs with an existing user object with ApiClient::getDMByUser().
  • Get a user by username with ApiClient::getUserByName().

0.2.1 - 2015-08-21

Added

  • Open DMs by a user ID with ApiClient::getDMbyUserId().

Fixed

  • 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

Added

  • 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.

Changed

  • New message posting API with attachment support. Messages can be created using MessageBuilder and sent using ApiClient::postMessage().
  • Channels, groups, and DMs now implement ChannelInterface which is used for any channel-like object checking.
  • ClientObject now extends the more general DataObject.
  • $data in client objects is now public.

Removed

  • PostableInterface has been superseded by ChannelInterface.

Fixed

  • Don't error when server replies to a message more than once.

0.1.1 - 2015-06-05

Fixed

  • Fix incorrect interface type used in both client types.
  • Fix client looking for okay instead of ok in server responses.

0.1.0 - 2015-06-05

Added

  • 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.