0.18.0-rc1 (Dec 19, 2016)
This version introduces breaking changes to the handling of IDs. Previously IDs used the
<token><localId>:<serverName> format, now they just use
<localId>. This greatly simplifies the use of IDs, and especially aliases.
[API CHANGE] User IDs, room IDs, event IDs and aliases are no longer prefixed with the type tag (
'@', '!', '$', '#'). They are also no longer suffixed with the server name, meaning that IDs are now plain strings and identical to the input in the case of users and aliases. Before this change a user registered with the username
'tester'would get the
'@tester:example-server', but now
user.idwill simply be
'tester'. Because of this change,
user.localIdis redundant and has been deprecated with a warning.
PowerLevelsEdithave been affected by the above change, but they now transparently translate local user IDs when used in
client.createRoom, meaning that existing code should still work.
room.creator, which exposes the user that created the room.
Client.authnow parses serverName from the credentials and is rejected if one that does not match is included in the
[[API CHANGE]] RtcComponents have been changed in the same way as
user.id, meaning that peer IDs and own ID are now the raw user IDs.
FileRef.peerhas been renamed to
FileRef.peerId. The original is deprecated with a warning.
FileTransfer.peerhas been deprecated with a warning.
FileTransfer.peerIdhas been added and should be used instead.
- Fixed a bug in the
AttachDatathat caused deleted values to no synchronize properly when reconnecting calls.