1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-23 22:42:10 +03:00

Add changelog entry for breaking change

This commit is contained in:
David Baker
2015-11-12 15:39:12 +00:00
parent 14a9f6c444
commit c0866b9787

View File

@@ -2,6 +2,11 @@ Changes in 0.3.0
================
**BREAKING CHANGES**:
* `RoomMember.getAvatarUrl()` and `MatrixClient.mxcUrlToHttp()` now return the
empty string when given anything other than an mxc:// URL. This ensures that
clients never inadvertantly reference content directly, leaking information
to third party servers. Tne allowDirectLinks option is provided if the client
wants to allow such links.
* `MatrixClient.getAvatarUrlForMember` has been removed and replaced with
`RoomMember.getAvatarUrl`. Arguments remain the same except the homeserver
URL must now be supplied from `MatrixClient.getHomeserverUrl()`.