- Upgraded Phoenix to 1.7.10.
- HTTP requests are now sent with User-Agent specifying the SDK version.
- Upgraded Phoenix to 1.7.7.
- New chat message type:
attachment(docs). - Rooms:
postMessagecan now post attachment messages (docs).
- Kabelwerk object: new method
updateDevice()for storing and updating push notifications settings for the currently connected device (docs). - Rooms: new method
deleteMessage()(docs). - Rooms: new event
message_deleted(docs). - Upgraded Phoenix to 1.6.15.
- New chat message type:
image(docs). - Chat messages have a new field:
upload(docs). - Rooms: new method
postUpload(file)(docs). - Rooms:
postMessagecan now post image messages (docs).
- Chat message objects have a new
htmlfield (docs). - Kabelwerk object:
ConnectionErrorinstances now have acauseproperty. - Upgraded Phoenix to 1.6.10.
- Kabelwerk object: new method
ping()for pinging the server (docs).
- Kabelwerk object:
openRoom()now could be called without a parameter as well (docs). - Rooms: fixed the response of
loadEarlier()when called on an empty room.
- Kabelwerk object: new method
getState()for checking the current connection state (docs). - Kabelwerk object: removed the
isConnected()method; please use the newgetState()method instead (see above). - Kabelwerk object: removed the
reconnectedevent; please use theconnectedevent instead (docs). - Kabelwerk object: the
tokenconfig option is no longer required; when not provided, the function supplied to therefreshTokenconfig option will be used to obtain an initial auth token (docs). - Kabelwerk object: added the
ensureRoomsconfig option (docs). - Upgraded Phoenix to 1.6.7.
- Rooms: fixed
updateHubUserto acceptnull(docs). - Rooms: providing a
messageIdtomoveMarkeris now optional; the default value is the ID of the last message in the room the client is aware of (docs). - Kabelwerk object:
createRoomcan now also accept a hub's slug (previously it could only work a hub's ID) as a parameter (docs).
- New feature: notifiers (docs).
- Rooms: enabled access to the other side's marker (docs).
- Upgraded Phoenix to 1.6.6.
- Change in the API: inboxes now contain items instead of rooms (docs).
- New feature: inbox search (docs).
- New feature: markers (docs).
- Inboxes: updates missed while disconnected are emitted when reconnected.
- Parameter validation for most SDK methods.
- Chat message objects have a new
typefield, for now only relevant on the hub side (docs). - Inboxes: rooms are automatically removed when they cease to match the filters (only relevant on the hub side).
- Upgraded Phoenix to 1.5.13.
- New event emitted by the
Kabelwerkobject:reconnected(docs). - All
.disconnect()methods now implicitly call.off(). - Rooms:
loadAttributes()→getAttributes()(docs). - Rooms: new method
getUser()for retrieving the room's user. - Rooms: implemented methods for checking and updating the room's archive status (docs).
- Rooms: changed the methods for retrieving and updating the hub user assigned to the room (docs).
- Upgraded Phoenix to 1.5.12.
- Changed the API: a new
Kabelwerkobject.
- Fixed the issue where inboxes get broken by rooms without messages.
- Updated some callback payloads and promise resolves as per the docs.
- More functionality.
- More docs.
- Fixed the Phoenix import.
- First operational release.