UNPKG

159 kBMarkdownView Raw
1Changes in [5.2.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.2.0) (2020-03-30)
2================================================================================================
3[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.2.0-rc.1...v5.2.0)
4
5 * Fix isVerified returning false
6 [\#1290](https://github.com/matrix-org/matrix-js-sdk/pull/1290)
7
8Changes in [5.2.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.2.0-rc.1) (2020-03-26)
9==========================================================================================================
10[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.1.1...v5.2.0-rc.1)
11
12 * Add a flag for whether cross signing signatures are trusted
13 [\#1285](https://github.com/matrix-org/matrix-js-sdk/pull/1285)
14 * Cache user and self signing keys during bootstrap
15 [\#1282](https://github.com/matrix-org/matrix-js-sdk/pull/1282)
16 * remove unnecessary promise
17 [\#1283](https://github.com/matrix-org/matrix-js-sdk/pull/1283)
18 * Functions to cache session backups key automatically
19 [\#1281](https://github.com/matrix-org/matrix-js-sdk/pull/1281)
20 * Add function for checking cross-signing is ready
21 [\#1279](https://github.com/matrix-org/matrix-js-sdk/pull/1279)
22 * Use symmetric encryption for SSSS
23 [\#1228](https://github.com/matrix-org/matrix-js-sdk/pull/1228)
24 * Migrate SSSS to use symmetric algorithm
25 [\#1238](https://github.com/matrix-org/matrix-js-sdk/pull/1238)
26 * Migration to symmetric SSSS
27 [\#1272](https://github.com/matrix-org/matrix-js-sdk/pull/1272)
28 * Reduce number of one-time-key requests
29 [\#1280](https://github.com/matrix-org/matrix-js-sdk/pull/1280)
30 * Fix: assume the requested method is supported by other party with to_device
31 [\#1275](https://github.com/matrix-org/matrix-js-sdk/pull/1275)
32 * Use checkDeviceTrust when computing untrusted devices
33 [\#1278](https://github.com/matrix-org/matrix-js-sdk/pull/1278)
34 * Add a store for backup keys
35 [\#1271](https://github.com/matrix-org/matrix-js-sdk/pull/1271)
36 * Upload only new device signature of master key
37 [\#1268](https://github.com/matrix-org/matrix-js-sdk/pull/1268)
38 * Expose prepareToEncrypt in the client API
39 [\#1270](https://github.com/matrix-org/matrix-js-sdk/pull/1270)
40 * Don't kill the whole device download if one device gives an error
41 [\#1269](https://github.com/matrix-org/matrix-js-sdk/pull/1269)
42 * Handle racing .start event during self verification
43 [\#1267](https://github.com/matrix-org/matrix-js-sdk/pull/1267)
44 * A crypto.keySignatureUploadFailure event reported the wrong source
45 [\#1266](https://github.com/matrix-org/matrix-js-sdk/pull/1266)
46 * Fix editing of unsent messages by waiting for actual event id
47 [\#1263](https://github.com/matrix-org/matrix-js-sdk/pull/1263)
48 * Fix: ensureOlmSessionsForDevices parameter format
49 [\#1264](https://github.com/matrix-org/matrix-js-sdk/pull/1264)
50 * Remove stuff that yarn install doesn't think we need
51 [\#1261](https://github.com/matrix-org/matrix-js-sdk/pull/1261)
52 * Fix: prevent error being thrown during sync in some cases
53 [\#1258](https://github.com/matrix-org/matrix-js-sdk/pull/1258)
54 * Force `is_verified` for key backups to bool and fix computation
55 [\#1259](https://github.com/matrix-org/matrix-js-sdk/pull/1259)
56 * Add a method for legacy single device verification, returning a verification
57 request
58 [\#1257](https://github.com/matrix-org/matrix-js-sdk/pull/1257)
59 * yarn upgrade
60 [\#1256](https://github.com/matrix-org/matrix-js-sdk/pull/1256)
61
62Changes in [5.1.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.1.1) (2020-03-17)
63================================================================================================
64[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.1.1-rc.1...v5.1.1)
65
66 * Fix: ensureOlmSessionsForDevices parameter format
67 [\#1265](https://github.com/matrix-org/matrix-js-sdk/pull/1265)
68 * Fix: prevent error being thrown during sync in some cases
69 [\#1262](https://github.com/matrix-org/matrix-js-sdk/pull/1262)
70 * Force `is_verified` for key backups to bool and fix computation
71 [\#1260](https://github.com/matrix-org/matrix-js-sdk/pull/1260)
72
73Changes in [5.1.1-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.1.1-rc.1) (2020-03-11)
74==========================================================================================================
75[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.1.0...v5.1.1-rc.1)
76
77 * refactor megolm encryption to improve perceived speed
78 [\#1252](https://github.com/matrix-org/matrix-js-sdk/pull/1252)
79 * Remove v1 identity server fallbacks
80 [\#1253](https://github.com/matrix-org/matrix-js-sdk/pull/1253)
81 * Use alt_aliases instead of local ones for room names
82 [\#1251](https://github.com/matrix-org/matrix-js-sdk/pull/1251)
83 * Upload cross-signing key signatures in the background
84 [\#1250](https://github.com/matrix-org/matrix-js-sdk/pull/1250)
85 * Fix secret sharing names to match spec
86 [\#1249](https://github.com/matrix-org/matrix-js-sdk/pull/1249)
87 * Cleanup: remove crypto.verification.start event
88 [\#1248](https://github.com/matrix-org/matrix-js-sdk/pull/1248)
89 * Fix regression in key backup request params
90 [\#1246](https://github.com/matrix-org/matrix-js-sdk/pull/1246)
91 * Use cross-signing trust to mark backups verified
92 [\#1244](https://github.com/matrix-org/matrix-js-sdk/pull/1244)
93 * Check both cross-signing and local trust for key sharing
94 [\#1243](https://github.com/matrix-org/matrix-js-sdk/pull/1243)
95 * Fixed up tests to match new way that crypto stores are created
96 [\#1242](https://github.com/matrix-org/matrix-js-sdk/pull/1242)
97 * Store USK and SSK locally
98 [\#1235](https://github.com/matrix-org/matrix-js-sdk/pull/1235)
99 * Use unpadded base64 for QR code secrets
100 [\#1236](https://github.com/matrix-org/matrix-js-sdk/pull/1236)
101 * Don't require .done event for finishing self-verification
102 [\#1239](https://github.com/matrix-org/matrix-js-sdk/pull/1239)
103 * Don't cancel as 3rd party in verification request
104 [\#1237](https://github.com/matrix-org/matrix-js-sdk/pull/1237)
105 * Verification: log when switching start event
106 [\#1234](https://github.com/matrix-org/matrix-js-sdk/pull/1234)
107 * Perform crypto store operations directly after transaction
108 [\#1233](https://github.com/matrix-org/matrix-js-sdk/pull/1233)
109 * More verification request logging
110 [\#1232](https://github.com/matrix-org/matrix-js-sdk/pull/1232)
111 * Upgrade deps
112 [\#1231](https://github.com/matrix-org/matrix-js-sdk/pull/1231)
113
114Changes in [5.1.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.1.0) (2020-03-02)
115================================================================================================
116[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.1.0-rc.1...v5.1.0)
117
118 * No changes since rc.1
119
120Changes in [5.1.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.1.0-rc.1) (2020-02-26)
121==========================================================================================================
122[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.0.1...v5.1.0-rc.1)
123
124 * Add latest dist-tag for releases
125 [\#1230](https://github.com/matrix-org/matrix-js-sdk/pull/1230)
126 * Add room method for alt_aliases
127 [\#1225](https://github.com/matrix-org/matrix-js-sdk/pull/1225)
128 * Remove buildkite pipeline
129 [\#1227](https://github.com/matrix-org/matrix-js-sdk/pull/1227)
130 * don't assume verify has been called when receiving a cancellation in
131 verifier
132 [\#1226](https://github.com/matrix-org/matrix-js-sdk/pull/1226)
133 * Reduce secret size for new binary packing
134 [\#1221](https://github.com/matrix-org/matrix-js-sdk/pull/1221)
135 * misc rageshake fixes
136 [\#1223](https://github.com/matrix-org/matrix-js-sdk/pull/1223)
137 * Fix cancelled historical requests not appearing as cancelled
138 [\#1220](https://github.com/matrix-org/matrix-js-sdk/pull/1220)
139 * Fix renaming error that broke QR code verification
140 [\#1217](https://github.com/matrix-org/matrix-js-sdk/pull/1217)
141
142Changes in [5.0.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.0.1) (2020-02-19)
143================================================================================================
144[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.0.0...v5.0.1)
145
146 * add method for new /aliases endpoint
147 [\#1219](https://github.com/matrix-org/matrix-js-sdk/pull/1219)
148 * method for checking if other party supports verification method
149 [\#1213](https://github.com/matrix-org/matrix-js-sdk/pull/1213)
150 * add local echo state for accepting or declining a verif req
151 [\#1210](https://github.com/matrix-org/matrix-js-sdk/pull/1210)
152 * make logging compatible with rageshakes
153 [\#1214](https://github.com/matrix-org/matrix-js-sdk/pull/1214)
154 * Find existing requests when starting a new verification request
155 [\#1209](https://github.com/matrix-org/matrix-js-sdk/pull/1209)
156 * log MAC calculation during SAS
157 [\#1211](https://github.com/matrix-org/matrix-js-sdk/pull/1211)
158
159Changes in [5.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.0.0) (2020-02-17)
160================================================================================================
161[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v5.0.0-rc.1...v5.0.0)
162
163 * No changes since rc.1
164
165Changes in [5.0.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v5.0.0-rc.1) (2020-02-13)
166==========================================================================================================
167[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v4.0.0...v5.0.0-rc.1)
168
169BREAKING CHANGES
170---
171
172 * The verification methods API has removed an argument ([\#1206](https://github.com/matrix-org/matrix-js-sdk/pull/1206))
173
174All Changes
175---
176
177 * Remove methods argument to verification
178 [\#1206](https://github.com/matrix-org/matrix-js-sdk/pull/1206)
179 * don't do a dynamic import of request
180 [\#1207](https://github.com/matrix-org/matrix-js-sdk/pull/1207)
181 * QR self-verification fixes
182 [\#1201](https://github.com/matrix-org/matrix-js-sdk/pull/1201)
183 * Log every verification event
184 [\#1204](https://github.com/matrix-org/matrix-js-sdk/pull/1204)
185 * dont require .done event from other party
186 [\#1203](https://github.com/matrix-org/matrix-js-sdk/pull/1203)
187 * New option to fully reset Secret Storage keys in boostrapSecretStorage
188 [\#1202](https://github.com/matrix-org/matrix-js-sdk/pull/1202)
189 * Add function to estimate target device for a VerificationRequest
190 [\#1190](https://github.com/matrix-org/matrix-js-sdk/pull/1190)
191 * pass ssss item name to callback so we can differentiate UI on it
192 [\#1200](https://github.com/matrix-org/matrix-js-sdk/pull/1200)
193 * add export/import of Olm devices
194 [\#1167](https://github.com/matrix-org/matrix-js-sdk/pull/1167)
195 * Convert utils.js -> utils.ts
196 [\#1199](https://github.com/matrix-org/matrix-js-sdk/pull/1199)
197 * Don't sign ourselves as a user
198 [\#1197](https://github.com/matrix-org/matrix-js-sdk/pull/1197)
199 * Add a bunch of logging to verification
200 [\#1196](https://github.com/matrix-org/matrix-js-sdk/pull/1196)
201 * Fix: always return a valid string from InRoomChannel.getEventType
202 [\#1198](https://github.com/matrix-org/matrix-js-sdk/pull/1198)
203 * add logging when a request is being cancelled
204 [\#1195](https://github.com/matrix-org/matrix-js-sdk/pull/1195)
205 * Don't explode verification validation if we don't have an event type
206 [\#1194](https://github.com/matrix-org/matrix-js-sdk/pull/1194)
207 * Fix: verification request appearing for users that are not the receiver or
208 sender if they are in room
209 [\#1193](https://github.com/matrix-org/matrix-js-sdk/pull/1193)
210 * Fix getting secrets encoded with passthrough keys
211 [\#1192](https://github.com/matrix-org/matrix-js-sdk/pull/1192)
212 * Update QR code handling for new spec
213 [\#1175](https://github.com/matrix-org/matrix-js-sdk/pull/1175)
214 * Don't add ephemeral events to timeline when peeking
215 [\#1188](https://github.com/matrix-org/matrix-js-sdk/pull/1188)
216 * Fix typo
217 [\#1189](https://github.com/matrix-org/matrix-js-sdk/pull/1189)
218 * Verification: resolve race between .start events from both parties
219 [\#1187](https://github.com/matrix-org/matrix-js-sdk/pull/1187)
220 * Add option to bootstrap to start new key backup
221 [\#1184](https://github.com/matrix-org/matrix-js-sdk/pull/1184)
222 * Add a bunch of null guards to feature checks
223 [\#1182](https://github.com/matrix-org/matrix-js-sdk/pull/1182)
224 * docs: fix MatrixClient reference
225 [\#1183](https://github.com/matrix-org/matrix-js-sdk/pull/1183)
226 * Add helper to obtain the cancellation code for a verification request
227 [\#1180](https://github.com/matrix-org/matrix-js-sdk/pull/1180)
228 * Publish pre-releases as a separate tag on npm
229 [\#1178](https://github.com/matrix-org/matrix-js-sdk/pull/1178)
230 * Fix support for passthrough keys
231 [\#1177](https://github.com/matrix-org/matrix-js-sdk/pull/1177)
232 * Trust our own cross-signing keys if we verify them with another device
233 [\#1174](https://github.com/matrix-org/matrix-js-sdk/pull/1174)
234 * Ensure cross-signing keys are downloaded when checking trust
235 [\#1176](https://github.com/matrix-org/matrix-js-sdk/pull/1176)
236 * Don't log verification validation errors for normal messages
237 [\#1172](https://github.com/matrix-org/matrix-js-sdk/pull/1172)
238 * Fix bootstrap cleanup
239 [\#1173](https://github.com/matrix-org/matrix-js-sdk/pull/1173)
240 * QR code verification
241 [\#1155](https://github.com/matrix-org/matrix-js-sdk/pull/1155)
242 * expose deviceId prop on device channel
243 [\#1171](https://github.com/matrix-org/matrix-js-sdk/pull/1171)
244 * Move & upgrade babel runtime into dependencies (like it wants)
245 [\#1169](https://github.com/matrix-org/matrix-js-sdk/pull/1169)
246 * Add unit tests for verifying your own device, remove .event property on
247 verification request
248 [\#1166](https://github.com/matrix-org/matrix-js-sdk/pull/1166)
249 * For dm-verification, also consider events sent by other devices of same user
250 as "our" events
251 [\#1163](https://github.com/matrix-org/matrix-js-sdk/pull/1163)
252 * Add a prepare script
253 [\#1161](https://github.com/matrix-org/matrix-js-sdk/pull/1161)
254 * Remove :deviceId from /keys/upload/:deviceId as not spec-compliant
255 [\#1162](https://github.com/matrix-org/matrix-js-sdk/pull/1162)
256 * Refactor and expose some logic publicly for the TimelineWindow class.
257 [\#1159](https://github.com/matrix-org/matrix-js-sdk/pull/1159)
258 * Allow a device key upload request without auth
259 [\#1158](https://github.com/matrix-org/matrix-js-sdk/pull/1158)
260 * Support for .ready verification event (MSC2366) & other things
261 [\#1140](https://github.com/matrix-org/matrix-js-sdk/pull/1140)
262
263Changes in [4.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v4.0.0) (2020-01-27)
264================================================================================================
265[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v4.0.0-rc.1...v4.0.0)
266
267 * Move & upgrade babel runtime into dependencies (like it wants)
268 [\#1170](https://github.com/matrix-org/matrix-js-sdk/pull/1170)
269 * Add a prepare script
270 [\#1164](https://github.com/matrix-org/matrix-js-sdk/pull/1164)
271
272Changes in [4.0.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v4.0.0-rc.1) (2020-01-20)
273==========================================================================================================
274[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v3.0.0...v4.0.0-rc.1)
275
276BREAKING CHANGES
277================
278 * The js-sdk node module now exports ES6 rather than ES5. If you
279 wish to supports target that aren't compatible with ES6, you
280 will need to transpile the js-sdk to a suitable dialect.
281
282All Changes
283===========
284 * Convert secret storage to new account data API
285 [\#1154](https://github.com/matrix-org/matrix-js-sdk/pull/1154)
286 * Add v5 as a safe room version
287 [\#1157](https://github.com/matrix-org/matrix-js-sdk/pull/1157)
288 * Add API to get account data from server
289 [\#1153](https://github.com/matrix-org/matrix-js-sdk/pull/1153)
290 * Fix sourcemaps by refactoring the build system
291 [\#1151](https://github.com/matrix-org/matrix-js-sdk/pull/1151)
292 * record, report, and notify about olm errors
293 [\#1146](https://github.com/matrix-org/matrix-js-sdk/pull/1146)
294 * Send device messages for the same user in same API call.
295 [\#1148](https://github.com/matrix-org/matrix-js-sdk/pull/1148)
296 * Add an option to ignore unverified devices
297 [\#1150](https://github.com/matrix-org/matrix-js-sdk/pull/1150)
298 * Sign key backup with cross-signing key on upgrade
299 [\#1144](https://github.com/matrix-org/matrix-js-sdk/pull/1144)
300 * Emoji verification: Change name of 🔒 to lock
301 [\#1145](https://github.com/matrix-org/matrix-js-sdk/pull/1145)
302 * use a separate object for each encrypted content
303 [\#1147](https://github.com/matrix-org/matrix-js-sdk/pull/1147)
304 * Sourcemaps: develop -> feature branch
305 [\#1143](https://github.com/matrix-org/matrix-js-sdk/pull/1143)
306 * Use a safer import/export scheme for the ContentRepo utilities
307 [\#1134](https://github.com/matrix-org/matrix-js-sdk/pull/1134)
308 * Fix error handling in decryptGroupMessage
309 [\#1142](https://github.com/matrix-org/matrix-js-sdk/pull/1142)
310 * Add additional properties to package.json for riot-web's webpack
311 [\#1131](https://github.com/matrix-org/matrix-js-sdk/pull/1131)
312 * Fix import for indexeddb crypto store
313 [\#1133](https://github.com/matrix-org/matrix-js-sdk/pull/1133)
314 * Use the right request when creating clients
315 [\#1132](https://github.com/matrix-org/matrix-js-sdk/pull/1132)
316 * Target NodeJS 10, minified browser bundle, and other publishing/package
317 things
318 [\#1127](https://github.com/matrix-org/matrix-js-sdk/pull/1127)
319 * Re-focus sourcemap generation
320 [\#1126](https://github.com/matrix-org/matrix-js-sdk/pull/1126)
321 * Remove ancient polyfill for prototype inheritance
322 [\#1125](https://github.com/matrix-org/matrix-js-sdk/pull/1125)
323 * Remove "source-map-support" from tests because it makes sourcemaps worse
324 [\#1124](https://github.com/matrix-org/matrix-js-sdk/pull/1124)
325 * Remove ancient "use strict" annotations
326 [\#1123](https://github.com/matrix-org/matrix-js-sdk/pull/1123)
327 * Use ES6 imports/exports instead of older CommonJS ones
328 [\#1122](https://github.com/matrix-org/matrix-js-sdk/pull/1122)
329 * [BREAKING] Refactor the entire build process
330 [\#1113](https://github.com/matrix-org/matrix-js-sdk/pull/1113)
331
332Changes in [3.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v3.0.0) (2020-01-13)
333================================================================================================
334[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v3.0.0-rc.1...v3.0.0)
335
336 * No changes from rc.1
337
338Changes in [3.0.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v3.0.0-rc.1) (2020-01-06)
339==========================================================================================================
340[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.4.6...v3.0.0-rc.1)
341
342BREAKING CHANGES
343================
344 * matrix-js-sdk no longer uses bluebird promises, so promises returned
345 by the js-sdk no longer support the done() method. Code that calls
346 done() on promises returned by the js-sdk will break and will need
347 to be updated to remove the done() call.
348
349All Changes
350===========
351 * Make displayName disambiguation more fuzzy especially against RTL/LTR
352 content
353 [\#1141](https://github.com/matrix-org/matrix-js-sdk/pull/1141)
354 * stop trying to resend event if we get M_TOO_LARGE
355 [\#1129](https://github.com/matrix-org/matrix-js-sdk/pull/1129)
356 * Fix creating a key backup with cross signing diabled
357 [\#1139](https://github.com/matrix-org/matrix-js-sdk/pull/1139)
358 * Use checkDeviceTrust with key backup
359 [\#1138](https://github.com/matrix-org/matrix-js-sdk/pull/1138)
360 * Add support for passthrough SSSS secrets
361 [\#1128](https://github.com/matrix-org/matrix-js-sdk/pull/1128)
362 * Add support for key backups using secret storage
363 [\#1118](https://github.com/matrix-org/matrix-js-sdk/pull/1118)
364 * Remove unused user verification event
365 [\#1117](https://github.com/matrix-org/matrix-js-sdk/pull/1117)
366 * Fix check for private keys
367 [\#1116](https://github.com/matrix-org/matrix-js-sdk/pull/1116)
368 * Restore watching mode for `start:watch`
369 [\#1115](https://github.com/matrix-org/matrix-js-sdk/pull/1115)
370 * Add secret storage bootstrap flow
371 [\#1079](https://github.com/matrix-org/matrix-js-sdk/pull/1079)
372 * Part 1 of many: Upgrade to babel@7 and TypeScript
373 [\#1112](https://github.com/matrix-org/matrix-js-sdk/pull/1112)
374 * Remove Bluebird: phase 2.5
375 [\#1100](https://github.com/matrix-org/matrix-js-sdk/pull/1100)
376 * Remove Bluebird: phase 3
377 [\#1088](https://github.com/matrix-org/matrix-js-sdk/pull/1088)
378 * ignore m.key.verification.done messages when we don't expect any more
379 messages
380 [\#1104](https://github.com/matrix-org/matrix-js-sdk/pull/1104)
381 * dont cancel on remote echo of own .request event
382 [\#1111](https://github.com/matrix-org/matrix-js-sdk/pull/1111)
383 * Refactor verification request code
384 [\#1109](https://github.com/matrix-org/matrix-js-sdk/pull/1109)
385 * Fix device list's cross-signing storage path
386 [\#1105](https://github.com/matrix-org/matrix-js-sdk/pull/1105)
387 * yarn upgrade
388 [\#1103](https://github.com/matrix-org/matrix-js-sdk/pull/1103)
389
390Changes in [2.4.6](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.4.6) (2019-12-09)
391================================================================================================
392[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.4.6-rc.1...v2.4.6)
393
394 * No changes since rc.1
395
396Changes in [2.4.6-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.4.6-rc.1) (2019-12-04)
397==========================================================================================================
398[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.4.5...v2.4.6-rc.1)
399
400 * Update alias handling
401 [\#1102](https://github.com/matrix-org/matrix-js-sdk/pull/1102)
402 * increase timeout on flush to fix failing unit test
403 [\#1096](https://github.com/matrix-org/matrix-js-sdk/pull/1096)
404 * Disable broken cross-signing test
405 [\#1095](https://github.com/matrix-org/matrix-js-sdk/pull/1095)
406 * Fix a couple SAS tests
407 [\#1094](https://github.com/matrix-org/matrix-js-sdk/pull/1094)
408 * Fix Olm unwedging test
409 [\#1093](https://github.com/matrix-org/matrix-js-sdk/pull/1093)
410 * Fix empty string handling in push notifications
411 [\#1089](https://github.com/matrix-org/matrix-js-sdk/pull/1089)
412 * expand e2ee logging to better debug UISIs
413 [\#1090](https://github.com/matrix-org/matrix-js-sdk/pull/1090)
414 * Remove Bluebird: phase 2
415 [\#1087](https://github.com/matrix-org/matrix-js-sdk/pull/1087)
416 * Relax identity server discovery checks to FAIL_PROMPT
417 [\#1062](https://github.com/matrix-org/matrix-js-sdk/pull/1062)
418 * Fix incorrect return value of MatrixClient.prototype.uploadKeys
419 [\#1061](https://github.com/matrix-org/matrix-js-sdk/pull/1061)
420 * Fix calls in e2e rooms
421 [\#1086](https://github.com/matrix-org/matrix-js-sdk/pull/1086)
422 * Monitor verification request over DM as well
423 [\#1085](https://github.com/matrix-org/matrix-js-sdk/pull/1085)
424 * Remove 'check' npm script
425 [\#1084](https://github.com/matrix-org/matrix-js-sdk/pull/1084)
426 * Always process call events in batches
427 [\#1083](https://github.com/matrix-org/matrix-js-sdk/pull/1083)
428 * Fix ringing chirp on loading
429 [\#1082](https://github.com/matrix-org/matrix-js-sdk/pull/1082)
430 * Remove *most* bluebird specific things
431 [\#1081](https://github.com/matrix-org/matrix-js-sdk/pull/1081)
432 * Switch to Jest
433 [\#1080](https://github.com/matrix-org/matrix-js-sdk/pull/1080)
434
435Changes in [2.4.5](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.4.5) (2019-11-27)
436================================================================================================
437[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.4.4...v2.4.5)
438
439* Relax identity server discovery checks to FAIL_PROMPT
440* Expand E2EE debug logging to diagnose "unable to decrypt" errors
441
442Changes in [2.4.4](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.4.4) (2019-11-25)
443================================================================================================
444[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.4.4-rc.1...v2.4.4)
445
446 * No changes since rc.1
447
448Changes in [2.4.4-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.4.4-rc.1) (2019-11-20)
449==========================================================================================================
450[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.4.3...v2.4.4-rc.1)
451
452 * Fix SAS verification in encrypted DMs
453 [\#1077](https://github.com/matrix-org/matrix-js-sdk/pull/1077)
454 * Cross-signing / secret storage tweaks
455 [\#1078](https://github.com/matrix-org/matrix-js-sdk/pull/1078)
456 * Fix local trust for key backups
457 [\#1075](https://github.com/matrix-org/matrix-js-sdk/pull/1075)
458 * Add method to get last active timestamp in room
459 [\#1072](https://github.com/matrix-org/matrix-js-sdk/pull/1072)
460 * Check the right Synapse endpoint for determining admin capabilities
461 [\#1071](https://github.com/matrix-org/matrix-js-sdk/pull/1071)
462 * Cross Signing Support
463 [\#832](https://github.com/matrix-org/matrix-js-sdk/pull/832)
464 * Don't double cancel verification request
465 [\#1064](https://github.com/matrix-org/matrix-js-sdk/pull/1064)
466 * Support for verification requests in the timeline
467 [\#1067](https://github.com/matrix-org/matrix-js-sdk/pull/1067)
468 * Use stable API prefix for 3PID APIs when supported
469 [\#1066](https://github.com/matrix-org/matrix-js-sdk/pull/1066)
470 * Remove Jenkins scripts
471 [\#1063](https://github.com/matrix-org/matrix-js-sdk/pull/1063)
472
473Changes in [2.4.3](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.4.3) (2019-11-04)
474================================================================================================
475[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.4.3-rc.1...v2.4.3)
476
477 * No changes since rc.1
478
479Changes in [2.4.3-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.4.3-rc.1) (2019-10-30)
480==========================================================================================================
481[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.4.2...v2.4.3-rc.1)
482
483 * fix the path in references to logger.js
484 [\#1056](https://github.com/matrix-org/matrix-js-sdk/pull/1056)
485 * verification in DMs
486 [\#1050](https://github.com/matrix-org/matrix-js-sdk/pull/1050)
487 * Properly documented the function possible returns
488 [\#1054](https://github.com/matrix-org/matrix-js-sdk/pull/1054)
489 * Downgrade to Bluebird 3.5.5 to fix Firefox
490 [\#1055](https://github.com/matrix-org/matrix-js-sdk/pull/1055)
491 * Upgrade safe deps to latest major version
492 [\#1053](https://github.com/matrix-org/matrix-js-sdk/pull/1053)
493 * Don't include .js in the import string.
494 [\#1052](https://github.com/matrix-org/matrix-js-sdk/pull/1052)
495
496Changes in [2.4.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.4.2) (2019-10-18)
497================================================================================================
498[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.4.2-rc.1...v2.4.2)
499
500 * No changes since v2.4.2-rc.1
501
502Changes in [2.4.2-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.4.2-rc.1) (2019-10-09)
503==========================================================================================================
504[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.4.1...v2.4.2-rc.1)
505
506 * Log state of Olm sessions
507 [\#1047](https://github.com/matrix-org/matrix-js-sdk/pull/1047)
508 * Add method to get access to all timelines
509 [\#1048](https://github.com/matrix-org/matrix-js-sdk/pull/1048)
510
511Changes in [2.4.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.4.1) (2019-10-01)
512================================================================================================
513[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.4.0...v2.4.1)
514
515 * Upgrade deps
516 [\#1046](https://github.com/matrix-org/matrix-js-sdk/pull/1046)
517 * Ignore crypto events with no content
518 [\#1043](https://github.com/matrix-org/matrix-js-sdk/pull/1043)
519
520Changes in [2.4.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.4.0) (2019-09-27)
521================================================================================================
522[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.4.0-rc.1...v2.4.0)
523
524 * Clean Yarn cache during release
525 [\#1045](https://github.com/matrix-org/matrix-js-sdk/pull/1045)
526
527Changes in [2.4.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.4.0-rc.1) (2019-09-25)
528==========================================================================================================
529[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.3.2...v2.4.0-rc.1)
530
531 * Remove id_server from creds for interactive auth
532 [\#1044](https://github.com/matrix-org/matrix-js-sdk/pull/1044)
533 * Remove IS details from requestToken to HS
534 [\#1041](https://github.com/matrix-org/matrix-js-sdk/pull/1041)
535 * Add support for sending MSISDN tokens to alternate URLs
536 [\#1040](https://github.com/matrix-org/matrix-js-sdk/pull/1040)
537 * Add separate 3PID add and bind APIs
538 [\#1038](https://github.com/matrix-org/matrix-js-sdk/pull/1038)
539 * Bump eslint-utils from 1.4.0 to 1.4.2
540 [\#1037](https://github.com/matrix-org/matrix-js-sdk/pull/1037)
541 * Handle WebRTC security errors as non-fatal
542 [\#1036](https://github.com/matrix-org/matrix-js-sdk/pull/1036)
543 * Check for r0.6.0 support in addition to unstable feature flags
544 [\#1035](https://github.com/matrix-org/matrix-js-sdk/pull/1035)
545 * Update room members on member event redaction
546 [\#1030](https://github.com/matrix-org/matrix-js-sdk/pull/1030)
547 * Support hidden read receipts
548 [\#1028](https://github.com/matrix-org/matrix-js-sdk/pull/1028)
549 * Do 3pid lookups in lowercase
550 [\#1029](https://github.com/matrix-org/matrix-js-sdk/pull/1029)
551 * Add Synapse admin functions for deactivating a user
552 [\#1027](https://github.com/matrix-org/matrix-js-sdk/pull/1027)
553 * Fix addPendingEvent with pending event order == chronological
554 [\#1026](https://github.com/matrix-org/matrix-js-sdk/pull/1026)
555 * Add AutoDiscovery.getRawClientConfig() for easy .well-known lookups
556 [\#1024](https://github.com/matrix-org/matrix-js-sdk/pull/1024)
557 * Don't convert errors to JSON if they are JSON already
558 [\#1025](https://github.com/matrix-org/matrix-js-sdk/pull/1025)
559 * Send id_access_token to HS for use in proxied IS requests
560 [\#1022](https://github.com/matrix-org/matrix-js-sdk/pull/1022)
561 * Clean up JSON handling in identity server requests
562 [\#1023](https://github.com/matrix-org/matrix-js-sdk/pull/1023)
563 * Use the v2 (hashed) lookup for identity server queries
564 [\#1021](https://github.com/matrix-org/matrix-js-sdk/pull/1021)
565 * Add getIdServer() & doesServerRequireIdServerParam()
566 [\#1018](https://github.com/matrix-org/matrix-js-sdk/pull/1018)
567 * Make requestToken endpoints work without ID Server
568 [\#1019](https://github.com/matrix-org/matrix-js-sdk/pull/1019)
569 * Fix setIdentityServer
570 [\#1016](https://github.com/matrix-org/matrix-js-sdk/pull/1016)
571 * Change ICE fallback server and make fallback opt-in
572 [\#1015](https://github.com/matrix-org/matrix-js-sdk/pull/1015)
573 * Throw an exception if trying to do an ID server request with no ID server
574 [\#1014](https://github.com/matrix-org/matrix-js-sdk/pull/1014)
575 * Add setIdentityServerUrl
576 [\#1013](https://github.com/matrix-org/matrix-js-sdk/pull/1013)
577 * Add matrix base API to report an event
578 [\#1011](https://github.com/matrix-org/matrix-js-sdk/pull/1011)
579 * Fix POST body for v2 IS requests
580 [\#1010](https://github.com/matrix-org/matrix-js-sdk/pull/1010)
581 * Add API for bulk lookup on the Identity Server
582 [\#1009](https://github.com/matrix-org/matrix-js-sdk/pull/1009)
583 * Remove deprecated authedRequestWithPrefix and requestWithPrefix
584 [\#1000](https://github.com/matrix-org/matrix-js-sdk/pull/1000)
585 * Add API for checking IS account info
586 [\#1007](https://github.com/matrix-org/matrix-js-sdk/pull/1007)
587 * Support rewriting push rules when our internal defaults change
588 [\#1006](https://github.com/matrix-org/matrix-js-sdk/pull/1006)
589 * Upgrade dependencies
590 [\#1005](https://github.com/matrix-org/matrix-js-sdk/pull/1005)
591
592Changes in [2.3.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.3.2) (2019-09-16)
593================================================================================================
594[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.3.2-rc.1...v2.3.2)
595
596 * [Release] Fix addPendingEvent with pending event order == chronological
597 [\#1034](https://github.com/matrix-org/matrix-js-sdk/pull/1034)
598
599Changes in [2.3.2-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.3.2-rc.1) (2019-09-13)
600==========================================================================================================
601[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.3.1...v2.3.2-rc.1)
602
603 * Synapse admin functions to release
604 [\#1033](https://github.com/matrix-org/matrix-js-sdk/pull/1033)
605 * [To Release] Add matrix base API to report an event
606 [\#1032](https://github.com/matrix-org/matrix-js-sdk/pull/1032)
607
608Changes in [2.3.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.3.1) (2019-09-12)
609================================================================================================
610[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.3.1-rc.1...v2.3.1)
611
612 * No changes since rc.1
613
614Changes in [2.3.1-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.3.1-rc.1) (2019-09-11)
615==========================================================================================================
616[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.3.0...v2.3.1-rc.1)
617
618 * Update room members on member event redaction
619 [\#1031](https://github.com/matrix-org/matrix-js-sdk/pull/1031)
620
621Changes in [2.3.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.3.0) (2019-08-05)
622================================================================================================
623[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.3.0-rc.1...v2.3.0)
624
625 * [release] Support rewriting push rules when our internal defaults change
626 [\#1008](https://github.com/matrix-org/matrix-js-sdk/pull/1008)
627
628Changes in [2.3.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.3.0-rc.1) (2019-07-31)
629==========================================================================================================
630[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.2.0...v2.3.0-rc.1)
631
632 * Add support for IS v2 API with authentication
633 [\#1002](https://github.com/matrix-org/matrix-js-sdk/pull/1002)
634 * Tombstone bugfixes
635 [\#1001](https://github.com/matrix-org/matrix-js-sdk/pull/1001)
636 * Support for MSC2140 (terms of service for IS/IM)
637 [\#988](https://github.com/matrix-org/matrix-js-sdk/pull/988)
638 * Add a request method to /devices
639 [\#994](https://github.com/matrix-org/matrix-js-sdk/pull/994)
640
641Changes in [2.2.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.2.0) (2019-07-18)
642================================================================================================
643[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.2.0-rc.2...v2.2.0)
644
645 * Upgrade lodash dependencies
646
647Changes in [2.2.0-rc.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.2.0-rc.2) (2019-07-12)
648==========================================================================================================
649[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.2.0-rc.1...v2.2.0-rc.2)
650
651 * Fix regression from 2.2.0-rc.1 in request to /devices
652 [\#995](https://github.com/matrix-org/matrix-js-sdk/pull/995)
653
654Changes in [2.2.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.2.0-rc.1) (2019-07-12)
655==========================================================================================================
656[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.1.1...v2.2.0-rc.1)
657
658 * End the verification timer when verification is done
659 [\#993](https://github.com/matrix-org/matrix-js-sdk/pull/993)
660 * Stabilize usage of stably stable APIs (in a stable way)
661 [\#990](https://github.com/matrix-org/matrix-js-sdk/pull/990)
662 * Expose original_event for /relations
663 [\#987](https://github.com/matrix-org/matrix-js-sdk/pull/987)
664 * Process ephemeral events outside timeline handling
665 [\#989](https://github.com/matrix-org/matrix-js-sdk/pull/989)
666 * Don't accept any locally known edits earlier than the last known server-side
667 aggregated edit
668 [\#986](https://github.com/matrix-org/matrix-js-sdk/pull/986)
669 * Get edit date transparently from server aggregations or local echo
670 [\#984](https://github.com/matrix-org/matrix-js-sdk/pull/984)
671 * Add a function to flag keys for backup without scheduling a backup
672 [\#982](https://github.com/matrix-org/matrix-js-sdk/pull/982)
673 * Block read marker and read receipt from advancing into pending events
674 [\#981](https://github.com/matrix-org/matrix-js-sdk/pull/981)
675 * Upgrade dependencies
676 [\#977](https://github.com/matrix-org/matrix-js-sdk/pull/977)
677 * Add default push rule to ignore reactions
678 [\#976](https://github.com/matrix-org/matrix-js-sdk/pull/976)
679 * Fix exception whilst syncing
680 [\#979](https://github.com/matrix-org/matrix-js-sdk/pull/979)
681 * Include the error object when raising Session.logged_out
682 [\#975](https://github.com/matrix-org/matrix-js-sdk/pull/975)
683
684Changes in [2.1.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.1.1) (2019-07-11)
685================================================================================================
686[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.1.0...v2.1.1)
687
688 * Process emphemeral events outside timeline handling
689 [\#989](https://github.com/matrix-org/matrix-js-sdk/pull/989)
690
691Changes in [2.1.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.1.0) (2019-07-08)
692================================================================================================
693[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.1.0-rc.1...v2.1.0)
694
695 * Fix exception whilst syncing
696 [\#979](https://github.com/matrix-org/matrix-js-sdk/pull/979)
697
698Changes in [2.1.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.1.0-rc.1) (2019-07-03)
699==========================================================================================================
700[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.0.1...v2.1.0-rc.1)
701
702 * Handle self read receipts for fixing e2e notification counts
703 [\#974](https://github.com/matrix-org/matrix-js-sdk/pull/974)
704 * Add redacts field to event.toJSON
705 [\#973](https://github.com/matrix-org/matrix-js-sdk/pull/973)
706 * Handle associated event send failures
707 [\#972](https://github.com/matrix-org/matrix-js-sdk/pull/972)
708 * Remove irrelevant debug line from timeline handling
709 [\#971](https://github.com/matrix-org/matrix-js-sdk/pull/971)
710 * Handle relations in encrypted rooms
711 [\#969](https://github.com/matrix-org/matrix-js-sdk/pull/969)
712 * Relations endpoint support
713 [\#967](https://github.com/matrix-org/matrix-js-sdk/pull/967)
714 * Disable event encryption for reactions
715 [\#968](https://github.com/matrix-org/matrix-js-sdk/pull/968)
716 * Change the known safe room version to version 4
717 [\#966](https://github.com/matrix-org/matrix-js-sdk/pull/966)
718 * Check for lazy-loading support in the spec versions instead
719 [\#965](https://github.com/matrix-org/matrix-js-sdk/pull/965)
720 * Use camelCase instead of underscore
721 [\#963](https://github.com/matrix-org/matrix-js-sdk/pull/963)
722 * Time out verification attempts after 10 minutes of inactivity
723 [\#961](https://github.com/matrix-org/matrix-js-sdk/pull/961)
724 * Don't handle key verification requests which are immediately cancelled
725 [\#962](https://github.com/matrix-org/matrix-js-sdk/pull/962)
726
727Changes in [2.0.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.0.1) (2019-06-19)
728================================================================================================
729[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.0.1-rc.2...v2.0.1)
730
731 No changes since rc.2
732
733Changes in [2.0.1-rc.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.0.1-rc.2) (2019-06-18)
734==========================================================================================================
735[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.0.1-rc.1...v2.0.1-rc.2)
736
737 * return 'sending' status for an event that is only locally redacted
738 [\#960](https://github.com/matrix-org/matrix-js-sdk/pull/960)
739 * Key verification request fixes
740 [\#954](https://github.com/matrix-org/matrix-js-sdk/pull/954)
741 * Add flag to force saving sync store
742 [\#956](https://github.com/matrix-org/matrix-js-sdk/pull/956)
743 * Expose the inhibit_login flag to register
744 [\#953](https://github.com/matrix-org/matrix-js-sdk/pull/953)
745 * Support redactions and relations of/with unsent events.
746 [\#947](https://github.com/matrix-org/matrix-js-sdk/pull/947)
747
748Changes in [2.0.1-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.0.1-rc.1) (2019-06-12)
749==========================================================================================================
750[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v2.0.0...v2.0.1-rc.1)
751
752 * Fix content uploads for modern browsers
753 [\#952](https://github.com/matrix-org/matrix-js-sdk/pull/952)
754 * Don't overlap auth submissions with polls
755 [\#951](https://github.com/matrix-org/matrix-js-sdk/pull/951)
756 * Add funding details for GitHub sponsor button
757 [\#945](https://github.com/matrix-org/matrix-js-sdk/pull/945)
758 * Fix backup sig validation with multiple sigs
759 [\#944](https://github.com/matrix-org/matrix-js-sdk/pull/944)
760 * Don't send another token request while one's in flight
761 [\#943](https://github.com/matrix-org/matrix-js-sdk/pull/943)
762 * Don't poll UI auth again until current poll finishes
763 [\#942](https://github.com/matrix-org/matrix-js-sdk/pull/942)
764 * Provide the discovered URLs when a liveliness error occurs
765 [\#938](https://github.com/matrix-org/matrix-js-sdk/pull/938)
766 * Encode event IDs when redacting events
767 [\#941](https://github.com/matrix-org/matrix-js-sdk/pull/941)
768 * add missing logger
769 [\#940](https://github.com/matrix-org/matrix-js-sdk/pull/940)
770 * verification: don't error if we don't know about some keys
771 [\#939](https://github.com/matrix-org/matrix-js-sdk/pull/939)
772 * Local echo for redactions
773 [\#937](https://github.com/matrix-org/matrix-js-sdk/pull/937)
774 * Refresh safe room versions when the server looks more modern than us
775 [\#934](https://github.com/matrix-org/matrix-js-sdk/pull/934)
776 * Add v4 as a safe room version
777 [\#935](https://github.com/matrix-org/matrix-js-sdk/pull/935)
778 * Disable guard-for-in rule
779 [\#933](https://github.com/matrix-org/matrix-js-sdk/pull/933)
780 * Extend loglevel logging for the whole project
781 [\#924](https://github.com/matrix-org/matrix-js-sdk/pull/924)
782 * fix(login): saves access_token and user_id after login for all login types
783 [\#930](https://github.com/matrix-org/matrix-js-sdk/pull/930)
784 * Do not try to request thumbnails with non-integer sizes
785 [\#929](https://github.com/matrix-org/matrix-js-sdk/pull/929)
786 * Revert "Add a bunch of debugging to .well-known IS validation"
787 [\#928](https://github.com/matrix-org/matrix-js-sdk/pull/928)
788 * Add a bunch of debugging to .well-known IS validation
789 [\#927](https://github.com/matrix-org/matrix-js-sdk/pull/927)
790
791Changes in [2.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v2.0.0) (2019-05-31)
792================================================================================================
793[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.2.0...v2.0.0)
794
795BREAKING CHANGES
796----------------
797
798 * This package now publishes in ES6 / ES2015 syntax to NPM
799 * Saves access_token and user_id after login for all login types
800 [\#932](https://github.com/matrix-org/matrix-js-sdk/pull/932)
801 * Fix recovery key encoding for base-x 3.0.5
802 [\#931](https://github.com/matrix-org/matrix-js-sdk/pull/931)
803
804Changes in [1.2.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.2.0) (2019-05-29)
805================================================================================================
806[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.2.0-rc.1...v1.2.0)
807
808
809Changes in [1.2.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.2.0-rc.1) (2019-05-23)
810==========================================================================================================
811[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.1.0...v1.2.0-rc.1)
812
813 * interactive-auth now handles requesting email tokens
814 [\#926](https://github.com/matrix-org/matrix-js-sdk/pull/926)
815 * allow access to unreplaced message content
816 [\#923](https://github.com/matrix-org/matrix-js-sdk/pull/923)
817 * Add method to retrieve replacing event
818 [\#922](https://github.com/matrix-org/matrix-js-sdk/pull/922)
819 * More logging when signature verification fails
820 [\#921](https://github.com/matrix-org/matrix-js-sdk/pull/921)
821 * Local echo for m.replace relations
822 [\#920](https://github.com/matrix-org/matrix-js-sdk/pull/920)
823 * Track relations as pending and remove when cancelled
824 [\#919](https://github.com/matrix-org/matrix-js-sdk/pull/919)
825 * Add stringify helper to summarise events when debugging
826 [\#916](https://github.com/matrix-org/matrix-js-sdk/pull/916)
827 * Message editing: filter out replacements for senders that are not the
828 original sender
829 [\#918](https://github.com/matrix-org/matrix-js-sdk/pull/918)
830 * Wait until decrypt before aggregating
831 [\#917](https://github.com/matrix-org/matrix-js-sdk/pull/917)
832 * Message editing: mark original event as replaced instead of replacing the
833 event object
834 [\#914](https://github.com/matrix-org/matrix-js-sdk/pull/914)
835 * Support for replacing message through m.replace relationship.
836 [\#913](https://github.com/matrix-org/matrix-js-sdk/pull/913)
837 * Use a short timeout for .well-known requests
838 [\#912](https://github.com/matrix-org/matrix-js-sdk/pull/912)
839 * Redaction and change events for relations
840 [\#911](https://github.com/matrix-org/matrix-js-sdk/pull/911)
841 * Add basic read path for relations
842 [\#910](https://github.com/matrix-org/matrix-js-sdk/pull/910)
843 * Add a concept of default push rules, using it for tombstone notifications
844 [\#860](https://github.com/matrix-org/matrix-js-sdk/pull/860)
845 * yarn upgrade
846 [\#907](https://github.com/matrix-org/matrix-js-sdk/pull/907)
847
848Changes in [1.1.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.1.0) (2019-05-07)
849================================================================================================
850[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.1.0-rc.1...v1.1.0)
851
852 * No Changes since rc.1
853
854Changes in [1.1.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.1.0-rc.1) (2019-04-30)
855==========================================================================================================
856[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.0.4...v1.1.0-rc.1)
857
858 * use the release version of olm 3.1.0
859 [\#903](https://github.com/matrix-org/matrix-js-sdk/pull/903)
860 * Use new Olm repo link in README
861 [\#901](https://github.com/matrix-org/matrix-js-sdk/pull/901)
862 * Support being fed a .well-known config object for validation
863 [\#897](https://github.com/matrix-org/matrix-js-sdk/pull/897)
864 * emit self-membership event at end of handling sync update
865 [\#900](https://github.com/matrix-org/matrix-js-sdk/pull/900)
866 * Use packages.matrix.org for Olm
867 [\#898](https://github.com/matrix-org/matrix-js-sdk/pull/898)
868 * Fix tests on develop
869 [\#899](https://github.com/matrix-org/matrix-js-sdk/pull/899)
870 * Stop syncing when the token is invalid
871 [\#895](https://github.com/matrix-org/matrix-js-sdk/pull/895)
872 * change event redact, POST request to PUT request
873 [\#887](https://github.com/matrix-org/matrix-js-sdk/pull/887)
874 * Expose better autodiscovery error messages
875 [\#894](https://github.com/matrix-org/matrix-js-sdk/pull/894)
876 * Explicitly guard store usage during sync startup
877 [\#892](https://github.com/matrix-org/matrix-js-sdk/pull/892)
878 * Flag v3 rooms as safe
879 [\#893](https://github.com/matrix-org/matrix-js-sdk/pull/893)
880 * Cache failed capabilities lookups for shorter amounts of time
881 [\#890](https://github.com/matrix-org/matrix-js-sdk/pull/890)
882 * Fix highlight notifications for unencrypted rooms
883 [\#891](https://github.com/matrix-org/matrix-js-sdk/pull/891)
884 * Document checking crypto state before using `hasUnverifiedDevices`
885 [\#889](https://github.com/matrix-org/matrix-js-sdk/pull/889)
886 * Add logging to sync startup path
887 [\#888](https://github.com/matrix-org/matrix-js-sdk/pull/888)
888 * Track e2e highlights better, particularly in 'Mentions Only' rooms
889 [\#886](https://github.com/matrix-org/matrix-js-sdk/pull/886)
890 * support both the incorrect and correct MAC methods
891 [\#882](https://github.com/matrix-org/matrix-js-sdk/pull/882)
892 * Refuse to set forwards pagination token on live timeline
893 [\#885](https://github.com/matrix-org/matrix-js-sdk/pull/885)
894 * Degrade `IndexedDBStore` back to memory only on failure
895 [\#884](https://github.com/matrix-org/matrix-js-sdk/pull/884)
896 * Refuse to link live timelines into the forwards/backwards position when
897 either is invalid
898 [\#877](https://github.com/matrix-org/matrix-js-sdk/pull/877)
899 * Key backup logging improvements
900 [\#883](https://github.com/matrix-org/matrix-js-sdk/pull/883)
901 * Don't assume aborts are always from txn.abort()
902 [\#880](https://github.com/matrix-org/matrix-js-sdk/pull/880)
903 * Add a bunch of logging
904 [\#878](https://github.com/matrix-org/matrix-js-sdk/pull/878)
905 * Refuse splicing the live timeline into a broken position
906 [\#873](https://github.com/matrix-org/matrix-js-sdk/pull/873)
907 * Add existence check to local storage based crypto store
908 [\#872](https://github.com/matrix-org/matrix-js-sdk/pull/872)
909
910Changes in [1.0.4](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.0.4) (2019-04-08)
911================================================================================================
912[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.0.3...v1.0.4)
913
914 * Hotfix: more logging and potential fixes for timeline corruption issue, see ticket https://github.com/vector-im/riot-web/issues/8593.
915
916Changes in [1.0.3](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.0.3) (2019-04-01)
917================================================================================================
918[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.0.3-rc.1...v1.0.3)
919
920 * Add existence check to local storage based crypto store
921 [\#874](https://github.com/matrix-org/matrix-js-sdk/pull/874)
922
923Changes in [1.0.3-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.0.3-rc.1) (2019-03-27)
924==========================================================================================================
925[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.0.2...v1.0.3-rc.1)
926
927 * Add IndexedDB existence checks
928 [\#871](https://github.com/matrix-org/matrix-js-sdk/pull/871)
929 * Emit sync errors for capturing by clients
930 [\#869](https://github.com/matrix-org/matrix-js-sdk/pull/869)
931 * Add functions for getting room upgrade history and leaving those rooms
932 [\#868](https://github.com/matrix-org/matrix-js-sdk/pull/868)
933 * Clarify the meaning of 'real name' for contribution
934 [\#867](https://github.com/matrix-org/matrix-js-sdk/pull/867)
935 * Remove `sessionStore` to `cryptoStore` migration path
936 [\#865](https://github.com/matrix-org/matrix-js-sdk/pull/865)
937 * Add debugging for spurious room version warnings
938 [\#866](https://github.com/matrix-org/matrix-js-sdk/pull/866)
939 * Add investigation notes for browser storage
940 [\#864](https://github.com/matrix-org/matrix-js-sdk/pull/864)
941 * make sure resolve object is defined before calling it
942 [\#862](https://github.com/matrix-org/matrix-js-sdk/pull/862)
943 * Rename `MatrixInMemoryStore` to `MemoryStore`
944 [\#861](https://github.com/matrix-org/matrix-js-sdk/pull/861)
945 * Use Buildkite for CI
946 [\#859](https://github.com/matrix-org/matrix-js-sdk/pull/859)
947 * only create one session at a time per device
948 [\#857](https://github.com/matrix-org/matrix-js-sdk/pull/857)
949
950Changes in [1.0.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.0.2) (2019-03-18)
951================================================================================================
952[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.0.2-rc.1...v1.0.2)
953
954 * No changes since rc.1
955
956Changes in [1.0.2-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.0.2-rc.1) (2019-03-13)
957==========================================================================================================
958[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.0.1...v1.0.2-rc.1)
959
960 * Use modern Yarn version on Travis CI
961 [\#858](https://github.com/matrix-org/matrix-js-sdk/pull/858)
962 * Switch to `yarn` for dependency management
963 [\#856](https://github.com/matrix-org/matrix-js-sdk/pull/856)
964 * More key request fixes
965 [\#855](https://github.com/matrix-org/matrix-js-sdk/pull/855)
966 * Calculate encrypted notification counts
967 [\#851](https://github.com/matrix-org/matrix-js-sdk/pull/851)
968 * Update dependencies
969 [\#854](https://github.com/matrix-org/matrix-js-sdk/pull/854)
970 * make sure key requests get sent
971 [\#850](https://github.com/matrix-org/matrix-js-sdk/pull/850)
972 * Use 'ideal' rather than 'exact' for deviceid
973 [\#852](https://github.com/matrix-org/matrix-js-sdk/pull/852)
974 * handle partially-shared sessions better
975 [\#848](https://github.com/matrix-org/matrix-js-sdk/pull/848)
976
977Changes in [1.0.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.0.1) (2019-03-06)
978================================================================================================
979[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.0.1-rc.2...v1.0.1)
980
981 * No changes since rc.2
982
983Changes in [1.0.1-rc.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.0.1-rc.2) (2019-03-05)
984==========================================================================================================
985[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.0.1-rc.1...v1.0.1-rc.2)
986
987 * dont swallow txn errors in crypto store
988 [\#853](https://github.com/matrix-org/matrix-js-sdk/pull/853)
989 * Don't swallow txn errors in crypto store
990 [\#849](https://github.com/matrix-org/matrix-js-sdk/pull/849)
991
992Changes in [1.0.1-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.0.1-rc.1) (2019-02-28)
993==========================================================================================================
994[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.0.0...v1.0.1-rc.1)
995
996 * Fix "e is undefined" masking the original error in MegolmDecryption
997 [\#847](https://github.com/matrix-org/matrix-js-sdk/pull/847)
998
999Changes in [1.0.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.0.0) (2019-02-14)
1000================================================================================================
1001[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.0.0-rc.2...v1.0.0)
1002
1003 * Try again to commit package-lock.json
1004 [\#841](https://github.com/matrix-org/matrix-js-sdk/pull/841)
1005
1006Changes in [1.0.0-rc.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.0.0-rc.2) (2019-02-14)
1007==========================================================================================================
1008[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v1.0.0-rc.1...v1.0.0-rc.2)
1009
1010 * Release script: commit package-lock.json
1011 [\#839](https://github.com/matrix-org/matrix-js-sdk/pull/839)
1012 * Add method to force re-check of key backup
1013 [\#840](https://github.com/matrix-org/matrix-js-sdk/pull/840)
1014 * Fix: dont check for unverified devices in left members
1015 [\#838](https://github.com/matrix-org/matrix-js-sdk/pull/838)
1016
1017Changes in [1.0.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v1.0.0-rc.1) (2019-02-08)
1018==========================================================================================================
1019[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.14.3...v1.0.0-rc.1)
1020
1021 * change hex SAS verification to decimal and emoji
1022 [\#837](https://github.com/matrix-org/matrix-js-sdk/pull/837)
1023 * Trust on decrypt
1024 [\#836](https://github.com/matrix-org/matrix-js-sdk/pull/836)
1025 * Always track our own devices
1026 [\#835](https://github.com/matrix-org/matrix-js-sdk/pull/835)
1027 * Make linting rules more consistent
1028 [\#834](https://github.com/matrix-org/matrix-js-sdk/pull/834)
1029 * add method to room to check for unverified devices
1030 [\#833](https://github.com/matrix-org/matrix-js-sdk/pull/833)
1031 * Merge redesign into develop
1032 [\#831](https://github.com/matrix-org/matrix-js-sdk/pull/831)
1033 * Supporting infrastructure for educated decisions on when to upgrade rooms
1034 [\#830](https://github.com/matrix-org/matrix-js-sdk/pull/830)
1035 * Include signature info for unknown devices
1036 [\#826](https://github.com/matrix-org/matrix-js-sdk/pull/826)
1037 * Flag v2 rooms as "safe"
1038 [\#828](https://github.com/matrix-org/matrix-js-sdk/pull/828)
1039 * Update ESLint
1040 [\#821](https://github.com/matrix-org/matrix-js-sdk/pull/821)
1041
1042Changes in [0.14.3](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.14.3) (2019-01-22)
1043==================================================================================================
1044[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.14.3-rc.1...v0.14.3)
1045
1046 * No changes since rc.1
1047
1048Changes in [0.14.3-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.14.3-rc.1) (2019-01-17)
1049============================================================================================================
1050[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.14.2...v0.14.3-rc.1)
1051
1052 * Merge develop into experimental
1053 [\#815](https://github.com/matrix-org/matrix-js-sdk/pull/815)
1054 * Add a getAllEndToEndSessions to crypto store
1055 [\#812](https://github.com/matrix-org/matrix-js-sdk/pull/812)
1056 * T3chguy/fix displayname logic
1057 [\#668](https://github.com/matrix-org/matrix-js-sdk/pull/668)
1058 * Contributing: Note that rebase lets you mass signoff commits
1059 [\#814](https://github.com/matrix-org/matrix-js-sdk/pull/814)
1060 * take into account homoglyphs when calculating similar display names
1061 [\#672](https://github.com/matrix-org/matrix-js-sdk/pull/672)
1062 * Emit for key backup failures
1063 [\#809](https://github.com/matrix-org/matrix-js-sdk/pull/809)
1064 * emit oldEventId on "updatePendingEvent"
1065 [\#646](https://github.com/matrix-org/matrix-js-sdk/pull/646)
1066 * Add getThirdpartyUser to base api
1067 [\#589](https://github.com/matrix-org/matrix-js-sdk/pull/589)
1068 * Support custom status messages
1069 [\#805](https://github.com/matrix-org/matrix-js-sdk/pull/805)
1070 * Extra checks to avoid release script blowing up mid-process.
1071 [\#749](https://github.com/matrix-org/matrix-js-sdk/pull/749)
1072 * Move glob regex utilities out of the pushprocessor and into a more generic
1073 place
1074 [\#800](https://github.com/matrix-org/matrix-js-sdk/pull/800)
1075
1076Changes in [0.14.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.14.2) (2018-12-10)
1077==================================================================================================
1078[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.14.2-rc.1...v0.14.2)
1079
1080 * No changes since rc.1
1081
1082Changes in [0.14.2-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.14.2-rc.1) (2018-12-06)
1083============================================================================================================
1084[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.14.1...v0.14.2-rc.1)
1085
1086 * fix some assertions in e2e backup unit test
1087 [\#794](https://github.com/matrix-org/matrix-js-sdk/pull/794)
1088 * Config should be called with auth
1089 [\#798](https://github.com/matrix-org/matrix-js-sdk/pull/798)
1090 * Don't re-establish sessions with unknown devices
1091 [\#792](https://github.com/matrix-org/matrix-js-sdk/pull/792)
1092 * e2e key backups
1093 [\#684](https://github.com/matrix-org/matrix-js-sdk/pull/684)
1094 * WIP: online incremental megolm backups
1095 [\#595](https://github.com/matrix-org/matrix-js-sdk/pull/595)
1096 * Support for e2e key backups
1097 [\#736](https://github.com/matrix-org/matrix-js-sdk/pull/736)
1098 * Passphrase Support for e2e backups
1099 [\#786](https://github.com/matrix-org/matrix-js-sdk/pull/786)
1100 * Add 'getSsoLoginUrl' function
1101 [\#783](https://github.com/matrix-org/matrix-js-sdk/pull/783)
1102 * Fix: don't set the room name to null when heroes are missing.
1103 [\#784](https://github.com/matrix-org/matrix-js-sdk/pull/784)
1104 * Handle crypto db version upgrades
1105 [\#785](https://github.com/matrix-org/matrix-js-sdk/pull/785)
1106 * Restart broken Olm sessions
1107 [\#780](https://github.com/matrix-org/matrix-js-sdk/pull/780)
1108 * Use the last olm session that got a message
1109 [\#776](https://github.com/matrix-org/matrix-js-sdk/pull/776)
1110
1111Changes in [0.14.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.14.1) (2018-11-22)
1112==================================================================================================
1113[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.14.0...v0.14.1)
1114
1115 * Warning when crypto DB is too new to use.
1116
1117Changes in [0.14.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.14.0) (2018-11-19)
1118==================================================================================================
1119[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.14.0-rc.1...v0.14.0)
1120
1121 * No changes since rc.1
1122
1123Changes in [0.14.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.14.0-rc.1) (2018-11-15)
1124============================================================================================================
1125[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.13.1...v0.14.0-rc.1)
1126
1127BREAKING CHANGE
1128----------------
1129
1130 * js-sdk now uses Olm 3.0. Apps using Olm must update to 3.0 to
1131 continue using Olm with the js-sdk. The js-sdk will call Olm's
1132 init() method when the client is started.
1133
1134All Changes
1135-----------
1136
1137 * Prevent messages from being sent if other messages have failed to send
1138 [\#781](https://github.com/matrix-org/matrix-js-sdk/pull/781)
1139 * A unit test for olm
1140 [\#777](https://github.com/matrix-org/matrix-js-sdk/pull/777)
1141 * Set access_token and user_id after login in with username and password.
1142 [\#778](https://github.com/matrix-org/matrix-js-sdk/pull/778)
1143 * Add function to get currently joined rooms.
1144 [\#779](https://github.com/matrix-org/matrix-js-sdk/pull/779)
1145 * Remove the request-only stuff we don't need anymore
1146 [\#775](https://github.com/matrix-org/matrix-js-sdk/pull/775)
1147 * Manually construct query strings for browser-request instances
1148 [\#770](https://github.com/matrix-org/matrix-js-sdk/pull/770)
1149 * Fix: correctly check for crypto being present
1150 [\#769](https://github.com/matrix-org/matrix-js-sdk/pull/769)
1151 * Update babel-eslint to 8.1.1
1152 [\#768](https://github.com/matrix-org/matrix-js-sdk/pull/768)
1153 * Support `request` in the browser and support supplying servers to try in
1154 joinRoom()
1155 [\#764](https://github.com/matrix-org/matrix-js-sdk/pull/764)
1156 * loglevel should be a normal dependency
1157 [\#767](https://github.com/matrix-org/matrix-js-sdk/pull/767)
1158 * Stop devicelist when client is stopped
1159 [\#766](https://github.com/matrix-org/matrix-js-sdk/pull/766)
1160 * Update to WebAssembly-powered Olm
1161 [\#743](https://github.com/matrix-org/matrix-js-sdk/pull/743)
1162 * Logging lib. Fixes #332
1163 [\#763](https://github.com/matrix-org/matrix-js-sdk/pull/763)
1164 * Use new stop() method on matrix-mock-request
1165 [\#765](https://github.com/matrix-org/matrix-js-sdk/pull/765)
1166
1167Changes in [0.13.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.13.1) (2018-11-14)
1168==================================================================================================
1169[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.13.0...v0.13.1)
1170
1171 * Add function to get currently joined rooms.
1172 [\#779](https://github.com/matrix-org/matrix-js-sdk/pull/779)
1173
1174Changes in [0.13.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.13.0) (2018-11-15)
1175==================================================================================================
1176[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.12.1...v0.13.0)
1177
1178BREAKING CHANGE
1179----------------
1180 * `MatrixClient::login` now sets client `access_token` and `user_id` following successful login with username and password.
1181
1182Changes in [0.12.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.12.1) (2018-10-29)
1183==================================================================================================
1184[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.12.1-rc.1...v0.12.1)
1185
1186 * No changes since rc.1
1187
1188Changes in [0.12.1-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.12.1-rc.1) (2018-10-24)
1189============================================================================================================
1190[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.12.0...v0.12.1-rc.1)
1191
1192 * Add repository type to package.json to make it valid
1193 [\#762](https://github.com/matrix-org/matrix-js-sdk/pull/762)
1194 * Add getMediaConfig()
1195 [\#761](https://github.com/matrix-org/matrix-js-sdk/pull/761)
1196 * add new examples, to be expanded into a post
1197 [\#739](https://github.com/matrix-org/matrix-js-sdk/pull/739)
1198
1199Changes in [0.12.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.12.0) (2018-10-16)
1200==================================================================================================
1201[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.12.0-rc.1...v0.12.0)
1202
1203 * No changes since rc.1
1204
1205Changes in [0.12.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.12.0-rc.1) (2018-10-11)
1206============================================================================================================
1207[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.11.1...v0.12.0-rc.1)
1208
1209BREAKING CHANGES
1210----------------
1211 * If js-sdk finds data in the store that is incompatible with the options currently being used,
1212 it will emit sync state ERROR with an error of type InvalidStoreError. It will also stop trying
1213 to sync in this situation: the app must stop the client and then either clear the store or
1214 change the options (in this case, enable or disable lazy loading of members) and then start
1215 the client again.
1216
1217All Changes
1218-----------
1219
1220 * never replace /sync'ed memberships with OOB ones
1221 [\#760](https://github.com/matrix-org/matrix-js-sdk/pull/760)
1222 * Don't fail to start up if lazy load check fails
1223 [\#759](https://github.com/matrix-org/matrix-js-sdk/pull/759)
1224 * Make e2e work on Edge
1225 [\#754](https://github.com/matrix-org/matrix-js-sdk/pull/754)
1226 * throw error with same name and message over idb worker boundary
1227 [\#758](https://github.com/matrix-org/matrix-js-sdk/pull/758)
1228 * Default to a room version of 1 when there is no room create event
1229 [\#755](https://github.com/matrix-org/matrix-js-sdk/pull/755)
1230 * Silence bluebird warnings
1231 [\#757](https://github.com/matrix-org/matrix-js-sdk/pull/757)
1232 * allow non-ff merge from release branch into master
1233 [\#750](https://github.com/matrix-org/matrix-js-sdk/pull/750)
1234 * Reject with the actual error on indexeddb error
1235 [\#751](https://github.com/matrix-org/matrix-js-sdk/pull/751)
1236 * Update mocha to v5
1237 [\#744](https://github.com/matrix-org/matrix-js-sdk/pull/744)
1238 * disable lazy loading for guests as they cant create filters
1239 [\#748](https://github.com/matrix-org/matrix-js-sdk/pull/748)
1240 * Revert "Add getMediaLimits to client"
1241 [\#745](https://github.com/matrix-org/matrix-js-sdk/pull/745)
1242
1243Changes in [0.11.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.11.1) (2018-10-01)
1244==================================================================================================
1245[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.11.1-rc.1...v0.11.1)
1246
1247 * No changes since rc.1
1248
1249Changes in [0.11.1-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.11.1-rc.1) (2018-09-27)
1250============================================================================================================
1251[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.11.0...v0.11.1-rc.1)
1252
1253 * make usage of hub compatible with latest version (2.5)
1254 [\#747](https://github.com/matrix-org/matrix-js-sdk/pull/747)
1255 * Detect when lazy loading has been toggled in client.startClient
1256 [\#746](https://github.com/matrix-org/matrix-js-sdk/pull/746)
1257 * Add getMediaLimits to client
1258 [\#644](https://github.com/matrix-org/matrix-js-sdk/pull/644)
1259 * Split npm start into an init and watch script
1260 [\#742](https://github.com/matrix-org/matrix-js-sdk/pull/742)
1261 * Revert "room name should only take canonical alias into account"
1262 [\#738](https://github.com/matrix-org/matrix-js-sdk/pull/738)
1263 * fix display name disambiguation with LL
1264 [\#737](https://github.com/matrix-org/matrix-js-sdk/pull/737)
1265 * Introduce Room.myMembership event
1266 [\#735](https://github.com/matrix-org/matrix-js-sdk/pull/735)
1267 * room name should only take canonical alias into account
1268 [\#733](https://github.com/matrix-org/matrix-js-sdk/pull/733)
1269 * state events from context response were not wrapped in a MatrixEvent
1270 [\#732](https://github.com/matrix-org/matrix-js-sdk/pull/732)
1271 * Reduce amount of promises created when inserting members
1272 [\#724](https://github.com/matrix-org/matrix-js-sdk/pull/724)
1273 * dont wait for LL members to be stored to resolve the members
1274 [\#726](https://github.com/matrix-org/matrix-js-sdk/pull/726)
1275 * RoomState.members emitted with wrong argument order for OOB members
1276 [\#728](https://github.com/matrix-org/matrix-js-sdk/pull/728)
1277
1278Changes in [0.11.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.11.0) (2018-09-10)
1279==================================================================================================
1280[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.11.0-rc.1...v0.11.0)
1281
1282BREAKING CHANGES
1283----------------
1284 * v0.11.0-rc.1 introduced some breaking changes - see the respective release notes.
1285
1286No changes since rc.1
1287
1288Changes in [0.11.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.11.0-rc.1) (2018-09-07)
1289============================================================================================================
1290[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.9...v0.11.0-rc.1)
1291
1292 * Support for lazy loading members. This should improve performance for
1293 users who joined big rooms a lot. Pass to `lazyLoadMembers = true` option when calling `startClient`.
1294
1295BREAKING CHANGES
1296----------------
1297
1298 * `MatrixClient::startClient` now returns a Promise. No method should be called on the client before that promise resolves. Before this method didn't return anything.
1299 * A new `CATCHUP` sync state, emitted by `MatrixClient#"sync"` and returned by `MatrixClient::getSyncState()`, when doing initial sync after the `ERROR` state. See `MatrixClient` documentation for details.
1300 * `RoomState::maySendEvent('m.room.message', userId)` & `RoomState::maySendMessage(userId)` do not check the membership of the user anymore, only the power level. To check if the syncing user is allowed to write in a room, use `Room::maySendMessage()` as `RoomState` is not always aware of the syncing user's membership anymore, in case lazy loading of members is enabled.
1301
1302All Changes
1303-----------
1304
1305 * Only emit CATCHUP if recovering from conn error
1306 [\#727](https://github.com/matrix-org/matrix-js-sdk/pull/727)
1307 * Fix docstring for sync data.error
1308 [\#725](https://github.com/matrix-org/matrix-js-sdk/pull/725)
1309 * Re-apply "Don't rely on members to query if syncing user can post to room"
1310 [\#723](https://github.com/matrix-org/matrix-js-sdk/pull/723)
1311 * Revert "Don't rely on members to query if syncing user can post to room"
1312 [\#721](https://github.com/matrix-org/matrix-js-sdk/pull/721)
1313 * Don't rely on members to query if syncing user can post to room
1314 [\#717](https://github.com/matrix-org/matrix-js-sdk/pull/717)
1315 * Fixes for room.guessDMUserId
1316 [\#719](https://github.com/matrix-org/matrix-js-sdk/pull/719)
1317 * Fix filepanel also filtering main timeline with LL turned on.
1318 [\#716](https://github.com/matrix-org/matrix-js-sdk/pull/716)
1319 * Remove lazy loaded members when leaving room
1320 [\#711](https://github.com/matrix-org/matrix-js-sdk/pull/711)
1321 * Fix: show spinner again while recovering from connection error
1322 [\#702](https://github.com/matrix-org/matrix-js-sdk/pull/702)
1323 * Add method to query LL state in client
1324 [\#714](https://github.com/matrix-org/matrix-js-sdk/pull/714)
1325 * Fix: also load invited members when lazy loading members
1326 [\#707](https://github.com/matrix-org/matrix-js-sdk/pull/707)
1327 * Pass through function to discard megolm session
1328 [\#704](https://github.com/matrix-org/matrix-js-sdk/pull/704)
1329
1330Changes in [0.10.9](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.9) (2018-09-03)
1331==================================================================================================
1332[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.9-rc.2...v0.10.9)
1333
1334 * No changes since rc.2
1335
1336Changes in [0.10.9-rc.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.9-rc.2) (2018-08-31)
1337============================================================================================================
1338[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.9-rc.1...v0.10.9-rc.2)
1339
1340 * Fix for "otherMember.getAvatarUrl is not a function"
1341 [\#708](https://github.com/matrix-org/matrix-js-sdk/pull/708)
1342
1343Changes in [0.10.9-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.9-rc.1) (2018-08-30)
1344============================================================================================================
1345[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.8...v0.10.9-rc.1)
1346
1347 * Fix DM avatar
1348 [\#706](https://github.com/matrix-org/matrix-js-sdk/pull/706)
1349 * Lazy loading: avoid loading members at initial sync for e2e rooms
1350 [\#699](https://github.com/matrix-org/matrix-js-sdk/pull/699)
1351 * Improve setRoomEncryption guard against multiple m.room.encryption st…
1352 [\#700](https://github.com/matrix-org/matrix-js-sdk/pull/700)
1353 * Revert "Lazy loading: don't block on setting up room crypto"
1354 [\#698](https://github.com/matrix-org/matrix-js-sdk/pull/698)
1355 * Lazy loading: don't block on setting up room crypto
1356 [\#696](https://github.com/matrix-org/matrix-js-sdk/pull/696)
1357 * Add getVisibleRooms()
1358 [\#695](https://github.com/matrix-org/matrix-js-sdk/pull/695)
1359 * Add wrapper around getJoinedMemberCount()
1360 [\#697](https://github.com/matrix-org/matrix-js-sdk/pull/697)
1361 * Api to fetch events via /room/.../event/..
1362 [\#694](https://github.com/matrix-org/matrix-js-sdk/pull/694)
1363 * Support for room upgrades
1364 [\#693](https://github.com/matrix-org/matrix-js-sdk/pull/693)
1365 * Lazy loading of room members
1366 [\#691](https://github.com/matrix-org/matrix-js-sdk/pull/691)
1367
1368Changes in [0.10.8](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.8) (2018-08-20)
1369==================================================================================================
1370[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.8-rc.1...v0.10.8)
1371
1372 * No changes since rc.1
1373
1374Changes in [0.10.8-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.8-rc.1) (2018-08-16)
1375============================================================================================================
1376[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.7...v0.10.8-rc.1)
1377
1378 * Add getVersion to Room
1379 [\#689](https://github.com/matrix-org/matrix-js-sdk/pull/689)
1380 * Add getSyncStateData()
1381 [\#680](https://github.com/matrix-org/matrix-js-sdk/pull/680)
1382 * Send sync error to listener
1383 [\#679](https://github.com/matrix-org/matrix-js-sdk/pull/679)
1384 * make sure room.tags is always a valid object to avoid crashes
1385 [\#675](https://github.com/matrix-org/matrix-js-sdk/pull/675)
1386 * Fix infinite spinner upon joining a room
1387 [\#673](https://github.com/matrix-org/matrix-js-sdk/pull/673)
1388
1389Changes in [0.10.7](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.7) (2018-07-30)
1390==================================================================================================
1391[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.7-rc.1...v0.10.7)
1392
1393 * No changes since rc.1
1394
1395Changes in [0.10.7-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.7-rc.1) (2018-07-24)
1396============================================================================================================
1397[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.6...v0.10.7-rc.1)
1398
1399 * encrypt for invited users if history visibility allows.
1400 [\#666](https://github.com/matrix-org/matrix-js-sdk/pull/666)
1401
1402Changes in [0.10.6](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.6) (2018-07-09)
1403==================================================================================================
1404[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.6-rc.1...v0.10.6)
1405
1406 * No changes since rc.1
1407
1408Changes in [0.10.6-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.6-rc.1) (2018-07-06)
1409============================================================================================================
1410[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.5...v0.10.6-rc.1)
1411
1412 * Expose event decryption error via Event.decrypted event
1413 [\#665](https://github.com/matrix-org/matrix-js-sdk/pull/665)
1414 * Add decryption error codes to base.DecryptionError
1415 [\#663](https://github.com/matrix-org/matrix-js-sdk/pull/663)
1416
1417Changes in [0.10.5](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.5) (2018-06-29)
1418==================================================================================================
1419[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.5-rc.1...v0.10.5)
1420
1421 * No changes since rc.1
1422
1423Changes in [0.10.5-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.5-rc.1) (2018-06-21)
1424============================================================================================================
1425[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.4...v0.10.5-rc.1)
1426
1427 * fix auth header and filename=undefined
1428 [\#659](https://github.com/matrix-org/matrix-js-sdk/pull/659)
1429 * allow setting the output device for webrtc calls
1430 [\#650](https://github.com/matrix-org/matrix-js-sdk/pull/650)
1431 * arguments true and false are actually invalid
1432 [\#596](https://github.com/matrix-org/matrix-js-sdk/pull/596)
1433 * fix typo where `headers` was not being used and thus sent wrong content-type
1434 [\#643](https://github.com/matrix-org/matrix-js-sdk/pull/643)
1435 * fix some documentation typos
1436 [\#642](https://github.com/matrix-org/matrix-js-sdk/pull/642)
1437
1438Changes in [0.10.4](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.4) (2018-06-12)
1439==================================================================================================
1440[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.4-rc.1...v0.10.4)
1441
1442 * No changes since rc.1
1443
1444Changes in [0.10.4-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.4-rc.1) (2018-06-06)
1445============================================================================================================
1446[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.3...v0.10.4-rc.1)
1447
1448 * check whether notif level is undefined, because `0` is falsey
1449 [\#651](https://github.com/matrix-org/matrix-js-sdk/pull/651)
1450
1451Changes in [0.10.3](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.3) (2018-05-25)
1452==================================================================================================
1453[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.3-rc.1...v0.10.3)
1454
1455 * No changes since v0.10.3-rc.1
1456
1457Changes in [0.10.3-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.3-rc.1) (2018-05-24)
1458============================================================================================================
1459[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.2...v0.10.3-rc.1)
1460
1461BREAKING CHANGE
1462---------------
1463
1464The deprecated 'callback' parameter has been removed from MatrixBaseApis.deactivateAccount
1465
1466 * Add `erase` option to deactivateAccount
1467 [\#649](https://github.com/matrix-org/matrix-js-sdk/pull/649)
1468 * Emit Session.no_consent when M_CONSENT_NOT_GIVEN received
1469 [\#647](https://github.com/matrix-org/matrix-js-sdk/pull/647)
1470
1471Changes in [0.10.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.2) (2018-04-30)
1472==================================================================================================
1473[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.2-rc.1...v0.10.2)
1474
1475 * No changes from rc.1
1476
1477Changes in [0.10.2-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.2-rc.1) (2018-04-25)
1478============================================================================================================
1479[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.1...v0.10.2-rc.1)
1480
1481 * Ignore inserts of dup inbound group sessions, pt 2
1482 [\#641](https://github.com/matrix-org/matrix-js-sdk/pull/641)
1483 * Ignore inserts of duplicate inbound group sessions
1484 [\#639](https://github.com/matrix-org/matrix-js-sdk/pull/639)
1485 * Log IDB errors
1486 [\#638](https://github.com/matrix-org/matrix-js-sdk/pull/638)
1487 * Remove not very useful but veryv spammy log line
1488 [\#632](https://github.com/matrix-org/matrix-js-sdk/pull/632)
1489 * Switch event type to m.sticker.
1490 [\#628](https://github.com/matrix-org/matrix-js-sdk/pull/628)
1491
1492Changes in [0.10.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.1) (2018-04-12)
1493==================================================================================================
1494[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.0...v0.10.1)
1495
1496 * Log IDB errors
1497 [\#638](https://github.com/matrix-org/matrix-js-sdk/pull/638)
1498 * Ignore inserts of duplicate inbound group sessions
1499 [\#639](https://github.com/matrix-org/matrix-js-sdk/pull/639)
1500 * Ignore inserts of dup inbound group sessions, pt 2
1501 [\#641](https://github.com/matrix-org/matrix-js-sdk/pull/641)
1502
1503Changes in [0.10.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.0) (2018-04-11)
1504==================================================================================================
1505[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.0-rc.2...v0.10.0)
1506
1507 * No changes
1508
1509Changes in [0.10.0-rc.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.0-rc.2) (2018-04-09)
1510============================================================================================================
1511[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.10.0-rc.1...v0.10.0-rc.2)
1512
1513 * Add wrapper for group join API
1514 * Add wrapped API to set group join\_policy
1515
1516Changes in [0.10.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.10.0-rc.1) (2018-03-19)
1517============================================================================================================
1518[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.9.2...v0.10.0-rc.1)
1519
1520 * Fix duplicated state events in timeline from peek
1521 [\#630](https://github.com/matrix-org/matrix-js-sdk/pull/630)
1522 * Create indexeddb worker when starting the store
1523 [\#627](https://github.com/matrix-org/matrix-js-sdk/pull/627)
1524 * Fix indexeddb logging
1525 [\#626](https://github.com/matrix-org/matrix-js-sdk/pull/626)
1526 * Don't do /keys/changes on incremental sync
1527 [\#625](https://github.com/matrix-org/matrix-js-sdk/pull/625)
1528 * Don't mark devicelist dirty unnecessarily
1529 [\#623](https://github.com/matrix-org/matrix-js-sdk/pull/623)
1530 * Cache the joined member count for a room state
1531 [\#619](https://github.com/matrix-org/matrix-js-sdk/pull/619)
1532 * Fix JS doc
1533 [\#618](https://github.com/matrix-org/matrix-js-sdk/pull/618)
1534 * Precompute push actions for state events
1535 [\#617](https://github.com/matrix-org/matrix-js-sdk/pull/617)
1536 * Fix bug where global "Never send to unverified..." is ignored
1537 [\#616](https://github.com/matrix-org/matrix-js-sdk/pull/616)
1538 * Intern legacy top-level 'membership' field
1539 [\#615](https://github.com/matrix-org/matrix-js-sdk/pull/615)
1540 * Don't synthesize RR for m.room.redaction as causes the RR to go missing.
1541 [\#598](https://github.com/matrix-org/matrix-js-sdk/pull/598)
1542 * Make Events create Dates on demand
1543 [\#613](https://github.com/matrix-org/matrix-js-sdk/pull/613)
1544 * Stop cloning events when adding to state
1545 [\#612](https://github.com/matrix-org/matrix-js-sdk/pull/612)
1546 * De-dup code: use the initialiseState function
1547 [\#611](https://github.com/matrix-org/matrix-js-sdk/pull/611)
1548 * Create sentinel members on-demand
1549 [\#610](https://github.com/matrix-org/matrix-js-sdk/pull/610)
1550 * Some more doc on how sentinels work
1551 [\#609](https://github.com/matrix-org/matrix-js-sdk/pull/609)
1552 * Migrate room encryption store to crypto store
1553 [\#597](https://github.com/matrix-org/matrix-js-sdk/pull/597)
1554 * add parameter to getIdentityServerUrl to strip the protocol for invites
1555 [\#600](https://github.com/matrix-org/matrix-js-sdk/pull/600)
1556 * Move Device Tracking Data to Crypto Store
1557 [\#594](https://github.com/matrix-org/matrix-js-sdk/pull/594)
1558 * Optimise pushprocessor
1559 [\#591](https://github.com/matrix-org/matrix-js-sdk/pull/591)
1560 * Set event error before emitting
1561 [\#592](https://github.com/matrix-org/matrix-js-sdk/pull/592)
1562 * Add event type for stickers [WIP]
1563 [\#590](https://github.com/matrix-org/matrix-js-sdk/pull/590)
1564 * Migrate inbound sessions to cryptostore
1565 [\#587](https://github.com/matrix-org/matrix-js-sdk/pull/587)
1566 * Disambiguate names if they contain an mxid
1567 [\#588](https://github.com/matrix-org/matrix-js-sdk/pull/588)
1568 * Check for sessions in indexeddb before migrating
1569 [\#585](https://github.com/matrix-org/matrix-js-sdk/pull/585)
1570 * Emit an event for crypto store migration
1571 [\#586](https://github.com/matrix-org/matrix-js-sdk/pull/586)
1572 * Supporting fixes For making UnknownDeviceDialog not pop up automatically
1573 [\#575](https://github.com/matrix-org/matrix-js-sdk/pull/575)
1574 * Move sessions to the crypto store
1575 [\#584](https://github.com/matrix-org/matrix-js-sdk/pull/584)
1576 * Change crypto store transaction API
1577 [\#582](https://github.com/matrix-org/matrix-js-sdk/pull/582)
1578 * Add some missed copyright notices
1579 [\#581](https://github.com/matrix-org/matrix-js-sdk/pull/581)
1580 * Move Olm account to IndexedDB
1581 [\#579](https://github.com/matrix-org/matrix-js-sdk/pull/579)
1582 * Fix logging of DecryptionErrors to be more useful
1583 [\#580](https://github.com/matrix-org/matrix-js-sdk/pull/580)
1584 * [BREAKING] Change the behaviour of the unverfied devices blacklist flag
1585 [\#568](https://github.com/matrix-org/matrix-js-sdk/pull/568)
1586 * Support set_presence=offline for syncing
1587 [\#557](https://github.com/matrix-org/matrix-js-sdk/pull/557)
1588 * Consider cases where the sender may not redact their own event
1589 [\#556](https://github.com/matrix-org/matrix-js-sdk/pull/556)
1590
1591Changes in [0.9.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.9.2) (2017-12-04)
1592================================================================================================
1593[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.9.1...v0.9.2)
1594
1595
1596Changes in [0.9.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.9.1) (2017-11-17)
1597================================================================================================
1598[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.9.0...v0.9.1)
1599
1600 * Fix the force TURN option
1601 [\#577](https://github.com/matrix-org/matrix-js-sdk/pull/577)
1602
1603Changes in [0.9.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.9.0) (2017-11-15)
1604================================================================================================
1605[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.9.0-rc.1...v0.9.0)
1606
1607
1608Changes in [0.9.0-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.9.0-rc.1) (2017-11-10)
1609==========================================================================================================
1610[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.8.5...v0.9.0-rc.1)
1611
1612 * Modify addRoomToGroup to allow setting isPublic, create alias
1613 updateGroupRoomAssociation
1614 [\#567](https://github.com/matrix-org/matrix-js-sdk/pull/567)
1615 * Expose more functionality of pushprocessor
1616 [\#565](https://github.com/matrix-org/matrix-js-sdk/pull/565)
1617 * Function for working out notif trigger permission
1618 [\#566](https://github.com/matrix-org/matrix-js-sdk/pull/566)
1619 * keep track of event ID and timestamp of decrypted messages
1620 [\#555](https://github.com/matrix-org/matrix-js-sdk/pull/555)
1621 * Fix notifEvent computation
1622 [\#564](https://github.com/matrix-org/matrix-js-sdk/pull/564)
1623 * Fix power level of sentinel members
1624 [\#563](https://github.com/matrix-org/matrix-js-sdk/pull/563)
1625 * don't try to decrypt a redacted message (fixes vector-im/riot-web#3744)
1626 [\#554](https://github.com/matrix-org/matrix-js-sdk/pull/554)
1627 * Support room notifs
1628 [\#562](https://github.com/matrix-org/matrix-js-sdk/pull/562)
1629 * Fix the glob-to-regex code
1630 [\#558](https://github.com/matrix-org/matrix-js-sdk/pull/558)
1631
1632Changes in [0.8.5](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.8.5) (2017-10-16)
1633================================================================================================
1634[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.8.5-rc.1...v0.8.5)
1635
1636 * Make unknown pushrule conditions not match
1637 [\#559](https://github.com/matrix-org/matrix-js-sdk/pull/559)
1638
1639Changes in [0.8.5-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.8.5-rc.1) (2017-10-13)
1640==========================================================================================================
1641[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.8.4...v0.8.5-rc.1)
1642
1643 * Implement wrapper API for removing a room from a group
1644 [\#553](https://github.com/matrix-org/matrix-js-sdk/pull/553)
1645 * Fix typo which resulted in stuck key download requests
1646 [\#552](https://github.com/matrix-org/matrix-js-sdk/pull/552)
1647 * Store group when it's created
1648 [\#549](https://github.com/matrix-org/matrix-js-sdk/pull/549)
1649 * Luke/groups remove rooms users from summary
1650 [\#548](https://github.com/matrix-org/matrix-js-sdk/pull/548)
1651 * Clean on prepublish
1652 [\#546](https://github.com/matrix-org/matrix-js-sdk/pull/546)
1653 * Implement wrapper APIs for adding rooms to group summary
1654 [\#545](https://github.com/matrix-org/matrix-js-sdk/pull/545)
1655
1656Changes in [0.8.4](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.8.4) (2017-09-21)
1657================================================================================================
1658[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.8.3...v0.8.4)
1659
1660 * Fix build issue
1661
1662Changes in [0.8.3](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.8.3) (2017-09-20)
1663================================================================================================
1664[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.8.3-rc.1...v0.8.3)
1665
1666 * No changes
1667
1668Changes in [0.8.3-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.8.3-rc.1) (2017-09-19)
1669==========================================================================================================
1670[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.8.2...v0.8.3-rc.1)
1671
1672 * consume trailing slash when creating Matrix Client in HS and IS urls
1673 [\#526](https://github.com/matrix-org/matrix-js-sdk/pull/526)
1674 * Add ignore users API
1675 [\#539](https://github.com/matrix-org/matrix-js-sdk/pull/539)
1676 * Upgrade to jsdoc 3.5.5
1677 [\#540](https://github.com/matrix-org/matrix-js-sdk/pull/540)
1678 * Make re-emitting events much more memory efficient
1679 [\#538](https://github.com/matrix-org/matrix-js-sdk/pull/538)
1680 * Only re-emit events from Event objects if needed
1681 [\#536](https://github.com/matrix-org/matrix-js-sdk/pull/536)
1682 * Handle 'left' users in the deviceList mananagement
1683 [\#535](https://github.com/matrix-org/matrix-js-sdk/pull/535)
1684 * Factor out devicelist integration tests to a separate file
1685 [\#534](https://github.com/matrix-org/matrix-js-sdk/pull/534)
1686 * Refactor sync._sync as an async function
1687 [\#533](https://github.com/matrix-org/matrix-js-sdk/pull/533)
1688 * Add es6 to eslint environments
1689 [\#532](https://github.com/matrix-org/matrix-js-sdk/pull/532)
1690
1691Changes in [0.8.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.8.2) (2017-08-24)
1692================================================================================================
1693[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.8.1...v0.8.2)
1694
1695 * Handle m.call.* events which are decrypted asynchronously
1696 [\#530](https://github.com/matrix-org/matrix-js-sdk/pull/530)
1697 * Re-emit events from, er, Event objects
1698 [\#529](https://github.com/matrix-org/matrix-js-sdk/pull/529)
1699
1700Changes in [0.8.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.8.1) (2017-08-23)
1701================================================================================================
1702[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.8.1-rc.1...v0.8.1)
1703
1704 * [No changes]
1705
1706Changes in [0.8.1-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.8.1-rc.1) (2017-08-22)
1707==========================================================================================================
1708[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.8.0...v0.8.1-rc.1)
1709
1710 * Fix error handling in interactive-auth
1711 [\#527](https://github.com/matrix-org/matrix-js-sdk/pull/527)
1712 * Make lots of OlmDevice asynchronous
1713 [\#524](https://github.com/matrix-org/matrix-js-sdk/pull/524)
1714 * Make crypto.decryptMessage return decryption results
1715 [\#523](https://github.com/matrix-org/matrix-js-sdk/pull/523)
1716
1717Changes in [0.8.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.8.0) (2017-08-15)
1718================================================================================================
1719[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.13...v0.8.0)
1720
1721BREAKING CHANGE
1722---------------
1723
1724In order to support a move to a more scalable storage backend, we need to make
1725a number of the APIs related end-to-end encryption asynchronous.
1726
1727This release of the JS-SDK includes the following changes which will affect
1728applications which support end-to-end encryption:
1729
17301. `MatrixClient` now provides a new (asynchronous) method,
1731 `initCrypto`. Applications which support end-to-end encryption must call
1732 this method (and wait for it to complete) before calling `startClient`, to
1733 give the crypto layer a chance to initialise.
1734
17352. The following APIs have been changed to return promises:
1736
1737 * `MatrixClient.getStoredDevicesForUser`
1738 * `MatrixClient.getStoredDevice`
1739 * `MatrixClient.setDeviceVerified`
1740 * `MatrixClient.setDeviceBlocked`
1741 * `MatrixClient.setDeviceKnown`
1742 * `MatrixClient.getEventSenderDeviceInfo`
1743 * `MatrixClient.isEventSenderVerified`
1744 * `MatrixClient.importRoomKeys`
1745
1746 Applications using the results of any of the above methods will need to be
1747 updated to wait for the result of the promise.
1748
1749
17503. `MatrixClient.listDeviceKeys` has been removed altogether. It's been
1751 deprecated for some time. Applications using it should instead be changed to
1752 use `MatrixClient.getStoredDevices`, which is similar but returns its results
1753 in a slightly different format.
1754
1755
1756 * Make bits of `olmlib` asynchronous
1757 [\#521](https://github.com/matrix-org/matrix-js-sdk/pull/521)
1758 * Make some of DeviceList asynchronous
1759 [\#520](https://github.com/matrix-org/matrix-js-sdk/pull/520)
1760 * Make methods in crypto/algorithms async
1761 [\#519](https://github.com/matrix-org/matrix-js-sdk/pull/519)
1762 * Avoid sending unencrypted messages in e2e room
1763 [\#518](https://github.com/matrix-org/matrix-js-sdk/pull/518)
1764 * Make tests wait for syncs to happen
1765 [\#517](https://github.com/matrix-org/matrix-js-sdk/pull/517)
1766 * Make a load of methods in the 'Crypto' module asynchronous
1767 [\#510](https://github.com/matrix-org/matrix-js-sdk/pull/510)
1768 * Set `rawDisplayName` to `userId` if membership has `displayname=null`
1769 [\#515](https://github.com/matrix-org/matrix-js-sdk/pull/515)
1770 * Refactor handling of crypto events for async
1771 [\#508](https://github.com/matrix-org/matrix-js-sdk/pull/508)
1772 * Let event decryption be asynchronous
1773 [\#509](https://github.com/matrix-org/matrix-js-sdk/pull/509)
1774 * Transform `async` functions to bluebird promises
1775 [\#511](https://github.com/matrix-org/matrix-js-sdk/pull/511)
1776 * Add more group APIs
1777 [\#512](https://github.com/matrix-org/matrix-js-sdk/pull/512)
1778 * Retrying test: wait for localEchoUpdated event
1779 [\#507](https://github.com/matrix-org/matrix-js-sdk/pull/507)
1780 * Fix member events breaking on timeline reset, 2
1781 [\#504](https://github.com/matrix-org/matrix-js-sdk/pull/504)
1782 * Make bits of the js-sdk api asynchronous
1783 [\#503](https://github.com/matrix-org/matrix-js-sdk/pull/503)
1784 * Yet more js-sdk test deflakification
1785 [\#499](https://github.com/matrix-org/matrix-js-sdk/pull/499)
1786 * Fix racy 'matrixclient retrying' test
1787 [\#497](https://github.com/matrix-org/matrix-js-sdk/pull/497)
1788 * Fix spamming of key-share-requests
1789 [\#495](https://github.com/matrix-org/matrix-js-sdk/pull/495)
1790 * Add progress handler to `uploadContent`
1791 [\#500](https://github.com/matrix-org/matrix-js-sdk/pull/500)
1792 * Switch matrix-js-sdk to bluebird
1793 [\#490](https://github.com/matrix-org/matrix-js-sdk/pull/490)
1794 * Fix some more flakey tests
1795 [\#492](https://github.com/matrix-org/matrix-js-sdk/pull/492)
1796 * make the npm test script windows-friendly
1797 [\#489](https://github.com/matrix-org/matrix-js-sdk/pull/489)
1798 * Fix a bunch of races in the tests
1799 [\#488](https://github.com/matrix-org/matrix-js-sdk/pull/488)
1800 * Fix early return in MatrixClient.setGuestAccess
1801 [\#487](https://github.com/matrix-org/matrix-js-sdk/pull/487)
1802 * Remove testUtils.failTest
1803 [\#486](https://github.com/matrix-org/matrix-js-sdk/pull/486)
1804 * Add test:watch script
1805 [\#485](https://github.com/matrix-org/matrix-js-sdk/pull/485)
1806 * Make it possible to use async/await
1807 [\#484](https://github.com/matrix-org/matrix-js-sdk/pull/484)
1808 * Remove m.new_device support
1809 [\#483](https://github.com/matrix-org/matrix-js-sdk/pull/483)
1810 * Use access-token in header
1811 [\#478](https://github.com/matrix-org/matrix-js-sdk/pull/478)
1812 * Sanity-check response from /thirdparty/protocols
1813 [\#482](https://github.com/matrix-org/matrix-js-sdk/pull/482)
1814 * Avoid parsing plain-text errors as JSON
1815 [\#479](https://github.com/matrix-org/matrix-js-sdk/pull/479)
1816 * Use external mock-request
1817 [\#481](https://github.com/matrix-org/matrix-js-sdk/pull/481)
1818 * Fix some races in the tests
1819 [\#480](https://github.com/matrix-org/matrix-js-sdk/pull/480)
1820 * Fall back to MemoryCryptoStore if indexeddb fails
1821 [\#475](https://github.com/matrix-org/matrix-js-sdk/pull/475)
1822 * Fix load failure in firefox when indexedDB is disabled
1823 [\#474](https://github.com/matrix-org/matrix-js-sdk/pull/474)
1824 * Fix a race in a test
1825 [\#471](https://github.com/matrix-org/matrix-js-sdk/pull/471)
1826 * Avoid throwing an unhandled error when the indexeddb is deleted
1827 [\#470](https://github.com/matrix-org/matrix-js-sdk/pull/470)
1828 * fix jsdoc
1829 [\#469](https://github.com/matrix-org/matrix-js-sdk/pull/469)
1830 * Handle m.forwarded_room_key events
1831 [\#468](https://github.com/matrix-org/matrix-js-sdk/pull/468)
1832 * Improve error reporting from indexeddbstore.clearDatabase
1833 [\#466](https://github.com/matrix-org/matrix-js-sdk/pull/466)
1834 * Implement sharing of megolm keys
1835 [\#454](https://github.com/matrix-org/matrix-js-sdk/pull/454)
1836 * Process received room key requests
1837 [\#449](https://github.com/matrix-org/matrix-js-sdk/pull/449)
1838 * Send m.room_key_request events when we fail to decrypt an event
1839 [\#448](https://github.com/matrix-org/matrix-js-sdk/pull/448)
1840
1841Changes in [0.7.13](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.13) (2017-06-22)
1842==================================================================================================
1843[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.12...v0.7.13)
1844
1845 * Fix failure on Tor browser
1846 [\#473](https://github.com/matrix-org/matrix-js-sdk/pull/473)
1847 * Fix issues with firefox private browsing
1848 [\#472](https://github.com/matrix-org/matrix-js-sdk/pull/472)
1849
1850Changes in [0.7.12](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.12) (2017-06-19)
1851==================================================================================================
1852[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.12-rc.1...v0.7.12)
1853
1854 * No changes
1855
1856
1857Changes in [0.7.12-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.12-rc.1) (2017-06-15)
1858============================================================================================================
1859[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.11...v0.7.12-rc.1)
1860
1861 * allow setting iceTransportPolicy to relay through forceTURN option
1862 [\#462](https://github.com/matrix-org/matrix-js-sdk/pull/462)
1863
1864Changes in [0.7.11](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.11) (2017-06-12)
1865==================================================================================================
1866[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.11-rc.1...v0.7.11)
1867
1868 * Add a bunch of logging around sending messages
1869 [\#460](https://github.com/matrix-org/matrix-js-sdk/pull/460)
1870
1871Changes in [0.7.11-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.11-rc.1) (2017-06-09)
1872============================================================================================================
1873[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.10...v0.7.11-rc.1)
1874
1875 * Make TimelineWindow.load resolve quicker if we have the events
1876 [\#458](https://github.com/matrix-org/matrix-js-sdk/pull/458)
1877 * Stop peeking when a matrix client is stopped
1878 [\#451](https://github.com/matrix-org/matrix-js-sdk/pull/451)
1879 * Update README: Clarify how to install libolm
1880 [\#450](https://github.com/matrix-org/matrix-js-sdk/pull/450)
1881
1882Changes in [0.7.10](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.10) (2017-06-02)
1883==================================================================================================
1884[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.9...v0.7.10)
1885
1886 * BREAKING CHANGE: The SDK no longer ``require``s ``olm`` - instead it expects
1887 libolm to be provided as an ``Olm`` global. This will only affect
1888 applications which use end-to-end encryption. See the
1889 [README](README.md#end-to-end-encryption-support) for details.
1890
1891 * indexeddb-crypto-store: fix db deletion
1892 [\#447](https://github.com/matrix-org/matrix-js-sdk/pull/447)
1893 * Load Olm from the global rather than requiring it.
1894 [\#446](https://github.com/matrix-org/matrix-js-sdk/pull/446)
1895
1896Changes in [0.7.9](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.9) (2017-06-01)
1897================================================================================================
1898[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.8...v0.7.9)
1899
1900 * Initial framework for indexeddb-backed crypto store
1901 [\#445](https://github.com/matrix-org/matrix-js-sdk/pull/445)
1902 * Factor out reEmit to a common module
1903 [\#444](https://github.com/matrix-org/matrix-js-sdk/pull/444)
1904 * crypto/algorithms/base.js: Convert to es6
1905 [\#443](https://github.com/matrix-org/matrix-js-sdk/pull/443)
1906 * maySendRedactionForEvent for userId
1907 [\#435](https://github.com/matrix-org/matrix-js-sdk/pull/435)
1908 * MatrixClient: add getUserId()
1909 [\#441](https://github.com/matrix-org/matrix-js-sdk/pull/441)
1910 * Run jsdoc on a custom babeling of the source
1911 [\#442](https://github.com/matrix-org/matrix-js-sdk/pull/442)
1912 * Add in a public api getStoredDevice allowing clients to get a specific
1913 device
1914 [\#439](https://github.com/matrix-org/matrix-js-sdk/pull/439)
1915
1916Changes in [0.7.8](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.8) (2017-05-22)
1917================================================================================================
1918[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.8-rc.1...v0.7.8)
1919
1920 * No changes
1921
1922
1923Changes in [0.7.8-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.8-rc.1) (2017-05-19)
1924==========================================================================================================
1925[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.7...v0.7.8-rc.1)
1926
1927 * Attempt to rework the release-tarball-signing stuff
1928 [\#438](https://github.com/matrix-org/matrix-js-sdk/pull/438)
1929 * ability to specify webrtc audio/video inputs for the lib to request
1930 [\#427](https://github.com/matrix-org/matrix-js-sdk/pull/427)
1931 * make screen sharing call FF friendly :D
1932 [\#434](https://github.com/matrix-org/matrix-js-sdk/pull/434)
1933 * Fix race in device list updates
1934 [\#431](https://github.com/matrix-org/matrix-js-sdk/pull/431)
1935 * WebRTC: Support recvonly for video for those without a webcam
1936 [\#424](https://github.com/matrix-org/matrix-js-sdk/pull/424)
1937 * Update istanbul to remove minimatch DoS Warning
1938 [\#422](https://github.com/matrix-org/matrix-js-sdk/pull/422)
1939 * webrtc/call: Make it much less likely that callIds collide locally
1940 [\#423](https://github.com/matrix-org/matrix-js-sdk/pull/423)
1941 * Automatically complete dummy auth
1942 [\#420](https://github.com/matrix-org/matrix-js-sdk/pull/420)
1943 * Don't leave the gh-pages branch checked out
1944 [\#418](https://github.com/matrix-org/matrix-js-sdk/pull/418)
1945
1946Changes in [0.7.7](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.7) (2017-04-25)
1947================================================================================================
1948[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.7-rc.1...v0.7.7)
1949
1950 * No changes
1951
1952
1953Changes in [0.7.7-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.7-rc.1) (2017-04-21)
1954==========================================================================================================
1955[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.6...v0.7.7-rc.1)
1956
1957 * Automatically complete dummy auth
1958 [\#420](https://github.com/matrix-org/matrix-js-sdk/pull/420)
1959
1960
1961Changes in [0.7.6](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.6) (2017-04-12)
1962================================================================================================
1963[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.6-rc.2...v0.7.6)
1964
1965 * No changes
1966
1967Changes in [0.7.6-rc.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.6-rc.2) (2017-04-10)
1968==========================================================================================================
1969[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.6-rc.1...v0.7.6-rc.2)
1970
1971 * Add feature detection for webworkers
1972 [\#416](https://github.com/matrix-org/matrix-js-sdk/pull/416)
1973 * Fix release script
1974 [\#415](https://github.com/matrix-org/matrix-js-sdk/pull/415)
1975
1976Changes in [0.7.6-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.6-rc.1) (2017-04-07)
1977==========================================================================================================
1978[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.5...v0.7.6-rc.1)
1979
1980 * Make indexeddb save after the first sync
1981 [\#414](https://github.com/matrix-org/matrix-js-sdk/pull/414)
1982 * Make indexeddb startup faster
1983 [\#413](https://github.com/matrix-org/matrix-js-sdk/pull/413)
1984 * Add ability to do indexeddb sync work in webworker
1985 [\#412](https://github.com/matrix-org/matrix-js-sdk/pull/412)
1986 * Move more functionality to the indexeddb backend
1987 [\#409](https://github.com/matrix-org/matrix-js-sdk/pull/409)
1988 * Indicate syncState ERROR after many failed /syncs
1989 [\#410](https://github.com/matrix-org/matrix-js-sdk/pull/410)
1990 * Further reorganising of indexeddb sync code
1991 [\#407](https://github.com/matrix-org/matrix-js-sdk/pull/407)
1992 * Change interface of IndexedDBStore: hide internals
1993 [\#406](https://github.com/matrix-org/matrix-js-sdk/pull/406)
1994 * Don't be SYNCING until updating from the server
1995 [\#405](https://github.com/matrix-org/matrix-js-sdk/pull/405)
1996 * Don't log the entire /sync response
1997 [\#403](https://github.com/matrix-org/matrix-js-sdk/pull/403)
1998 * webrtc/call: Assign MediaStream to video element srcObject
1999 [\#402](https://github.com/matrix-org/matrix-js-sdk/pull/402)
2000 * Fix undefined reference in http-api
2001 [\#400](https://github.com/matrix-org/matrix-js-sdk/pull/400)
2002 * Add copyright header to event-timeline.js
2003 [\#382](https://github.com/matrix-org/matrix-js-sdk/pull/382)
2004 * client: fix docs for user-scoped account_data events
2005 [\#397](https://github.com/matrix-org/matrix-js-sdk/pull/397)
2006 * Add a CONTRIBUTING for js-sdk
2007 [\#399](https://github.com/matrix-org/matrix-js-sdk/pull/399)
2008 * Fix leaking room state objects on limited sync responses
2009 [\#395](https://github.com/matrix-org/matrix-js-sdk/pull/395)
2010 * Extend 'ignoreFailure' to be 'background'
2011 [\#396](https://github.com/matrix-org/matrix-js-sdk/pull/396)
2012 * Add x_show_msisdn parameter to register calls
2013 [\#388](https://github.com/matrix-org/matrix-js-sdk/pull/388)
2014 * Update event redaction to keep sender and origin_server_ts
2015 [\#394](https://github.com/matrix-org/matrix-js-sdk/pull/394)
2016 * Handle 'limited' timeline responses in the SyncAccumulator
2017 [\#393](https://github.com/matrix-org/matrix-js-sdk/pull/393)
2018 * Give a better error message if the HS doesn't support msisdn registeration
2019 [\#391](https://github.com/matrix-org/matrix-js-sdk/pull/391)
2020 * Add getEmailSid
2021 [\#383](https://github.com/matrix-org/matrix-js-sdk/pull/383)
2022 * Add m.login.email.identity support to UI auth
2023 [\#380](https://github.com/matrix-org/matrix-js-sdk/pull/380)
2024 * src/client.js: Fix incorrect roomId reference in VoIP glare code
2025 [\#381](https://github.com/matrix-org/matrix-js-sdk/pull/381)
2026 * add .editorconfig
2027 [\#379](https://github.com/matrix-org/matrix-js-sdk/pull/379)
2028 * Store account data in the same way as room data
2029 [\#377](https://github.com/matrix-org/matrix-js-sdk/pull/377)
2030 * Upload one-time keys on /sync rather than a timer
2031 [\#376](https://github.com/matrix-org/matrix-js-sdk/pull/376)
2032 * Increase the WRITE_DELAY on database syncing
2033 [\#374](https://github.com/matrix-org/matrix-js-sdk/pull/374)
2034 * Make deleteAllData() return a Promise
2035 [\#373](https://github.com/matrix-org/matrix-js-sdk/pull/373)
2036 * Don't include banned users in the room name
2037 [\#372](https://github.com/matrix-org/matrix-js-sdk/pull/372)
2038 * Support IndexedDB as a backing store
2039 [\#363](https://github.com/matrix-org/matrix-js-sdk/pull/363)
2040 * Poll /sync with a short timeout while catching up
2041 [\#370](https://github.com/matrix-org/matrix-js-sdk/pull/370)
2042 * Make test coverage work again
2043 [\#368](https://github.com/matrix-org/matrix-js-sdk/pull/368)
2044 * Add docs to event
2045 [\#367](https://github.com/matrix-org/matrix-js-sdk/pull/367)
2046 * Keep the device-sync token more up-to-date
2047 [\#366](https://github.com/matrix-org/matrix-js-sdk/pull/366)
2048 * Fix race conditions in device list download
2049 [\#365](https://github.com/matrix-org/matrix-js-sdk/pull/365)
2050 * Fix the unban method
2051 [\#364](https://github.com/matrix-org/matrix-js-sdk/pull/364)
2052 * Spread out device verification work
2053 [\#362](https://github.com/matrix-org/matrix-js-sdk/pull/362)
2054 * Clean up/improve e2e logging
2055 [\#361](https://github.com/matrix-org/matrix-js-sdk/pull/361)
2056 * Fix decryption of events whose key arrives later
2057 [\#360](https://github.com/matrix-org/matrix-js-sdk/pull/360)
2058 * Invalidate device lists when encryption is enabled in a room
2059 [\#359](https://github.com/matrix-org/matrix-js-sdk/pull/359)
2060 * Switch from jasmine to mocha + expect + lolex
2061 [\#358](https://github.com/matrix-org/matrix-js-sdk/pull/358)
2062 * Install source-map-support in each test
2063 [\#356](https://github.com/matrix-org/matrix-js-sdk/pull/356)
2064 * searchMessageText: avoid setting keys=undefined
2065 [\#357](https://github.com/matrix-org/matrix-js-sdk/pull/357)
2066 * realtime-callbacks: pass `global` as `this`
2067 [\#355](https://github.com/matrix-org/matrix-js-sdk/pull/355)
2068 * Make the tests work without olm
2069 [\#354](https://github.com/matrix-org/matrix-js-sdk/pull/354)
2070 * Tests: Factor out TestClient and use it in crypto tests
2071 [\#353](https://github.com/matrix-org/matrix-js-sdk/pull/353)
2072 * Fix some lint
2073 [\#352](https://github.com/matrix-org/matrix-js-sdk/pull/352)
2074 * Make a sig for source tarballs when releasing
2075 [\#351](https://github.com/matrix-org/matrix-js-sdk/pull/351)
2076 * When doing a pre-release, don't bother merging to master and develop.
2077 [\#350](https://github.com/matrix-org/matrix-js-sdk/pull/350)
2078
2079Changes in [0.7.5](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.5) (2017-02-04)
2080================================================================================================
2081[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.5-rc.3...v0.7.5)
2082
2083No changes from 0.7.5-rc.3
2084
2085Changes in [0.7.5-rc.3](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.5-rc.3) (2017-02-03)
2086==========================================================================================================
2087[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.5-rc.2...v0.7.5-rc.3)
2088
2089 * Include DeviceInfo in deviceVerificationChanged events
2090 [a3cc8eb](https://github.com/matrix-org/matrix-js-sdk/commit/a3cc8eb1f6d165576a342596f638316721cb26b6)
2091 * Fix device list update
2092 [5fd7410](https://github.com/matrix-org/matrix-js-sdk/commit/5fd74109ffc56b73deb40c2604d84c38b8032c40)
2093
2094
2095Changes in [0.7.5-rc.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.5-rc.2) (2017-02-03)
2096==========================================================================================================
2097[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.5-rc.1...v0.7.5-rc.2)
2098
2099 * Use the device change notifications interface
2100 [\#348](https://github.com/matrix-org/matrix-js-sdk/pull/348)
2101 * Rewrite the device key query logic
2102 [\#347](https://github.com/matrix-org/matrix-js-sdk/pull/347)
2103
2104Changes in [0.7.5-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.5-rc.1) (2017-02-03)
2105==========================================================================================================
2106[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.4...v0.7.5-rc.1)
2107
2108 * Support for blacklisting unverified devices, both per-room and globally
2109 [\#336](https://github.com/matrix-org/matrix-js-sdk/pull/336)
2110 * track errors when events can't be sent
2111 [\#349](https://github.com/matrix-org/matrix-js-sdk/pull/349)
2112 * Factor out device list management
2113 [\#346](https://github.com/matrix-org/matrix-js-sdk/pull/346)
2114 * Support for warning users when unknown devices show up
2115 [\#335](https://github.com/matrix-org/matrix-js-sdk/pull/335)
2116 * Enable sourcemaps in browserified distro
2117 [\#345](https://github.com/matrix-org/matrix-js-sdk/pull/345)
2118 * Record all e2e room settings in localstorage
2119 [\#344](https://github.com/matrix-org/matrix-js-sdk/pull/344)
2120 * Make Olm work with browserified js-sdk
2121 [\#340](https://github.com/matrix-org/matrix-js-sdk/pull/340)
2122 * Make browserify a dev dependency
2123 [\#339](https://github.com/matrix-org/matrix-js-sdk/pull/339)
2124 * Allow single line brace-style
2125 [\#338](https://github.com/matrix-org/matrix-js-sdk/pull/338)
2126 * Turn on comma-dangle for function calls
2127 [\#333](https://github.com/matrix-org/matrix-js-sdk/pull/333)
2128 * Add prefer-const
2129 [\#331](https://github.com/matrix-org/matrix-js-sdk/pull/331)
2130 * Support for importing and exporting megolm sessions
2131 [\#326](https://github.com/matrix-org/matrix-js-sdk/pull/326)
2132 * Fix linting on all tests
2133 [\#329](https://github.com/matrix-org/matrix-js-sdk/pull/329)
2134 * Fix ESLint warnings and errors
2135 [\#325](https://github.com/matrix-org/matrix-js-sdk/pull/325)
2136 * BREAKING CHANGE: Remove WebStorageStore
2137 [\#324](https://github.com/matrix-org/matrix-js-sdk/pull/324)
2138
2139Changes in [0.7.4](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.4) (2017-01-16)
2140================================================================================================
2141[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.4-rc.1...v0.7.4)
2142
2143 * Fix non-conference calling
2144
2145Changes in [0.7.4-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.4-rc.1) (2017-01-13)
2146==========================================================================================================
2147[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.3...v0.7.4-rc.1)
2148
2149 * Remove babel-polyfill
2150 [\#321](https://github.com/matrix-org/matrix-js-sdk/pull/321)
2151 * Update build process for ES6
2152 [\#320](https://github.com/matrix-org/matrix-js-sdk/pull/320)
2153 * 'babel' is not a babel package anymore
2154 [\#319](https://github.com/matrix-org/matrix-js-sdk/pull/319)
2155 * Add Babel for ES6 support
2156 [\#318](https://github.com/matrix-org/matrix-js-sdk/pull/318)
2157 * Move screen sharing check/error
2158 [\#317](https://github.com/matrix-org/matrix-js-sdk/pull/317)
2159 * release.sh: Bail early if there are uncommitted changes
2160 [\#316](https://github.com/matrix-org/matrix-js-sdk/pull/316)
2161
2162Changes in [0.7.3](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.3) (2017-01-04)
2163================================================================================================
2164[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.2...v0.7.3)
2165
2166 * User presence list feature
2167 [\#310](https://github.com/matrix-org/matrix-js-sdk/pull/310)
2168 * Allow clients the ability to set a default local timeout
2169 [\#313](https://github.com/matrix-org/matrix-js-sdk/pull/313)
2170 * Add API to delete threepid
2171 [\#312](https://github.com/matrix-org/matrix-js-sdk/pull/312)
2172
2173Changes in [0.7.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.2) (2016-12-15)
2174================================================================================================
2175[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.1...v0.7.2)
2176
2177 * Bump to Olm 2.0
2178 [\#309](https://github.com/matrix-org/matrix-js-sdk/pull/309)
2179 * Sanity check payload length before encrypting
2180 [\#307](https://github.com/matrix-org/matrix-js-sdk/pull/307)
2181 * Remove dead _sendPingToDevice function
2182 [\#308](https://github.com/matrix-org/matrix-js-sdk/pull/308)
2183 * Add setRoomDirectoryVisibilityAppService
2184 [\#306](https://github.com/matrix-org/matrix-js-sdk/pull/306)
2185 * Update release script to do signed releases
2186 [\#305](https://github.com/matrix-org/matrix-js-sdk/pull/305)
2187 * e2e: Wait for pending device lists
2188 [\#304](https://github.com/matrix-org/matrix-js-sdk/pull/304)
2189 * Start a new megolm session when devices are blacklisted
2190 [\#303](https://github.com/matrix-org/matrix-js-sdk/pull/303)
2191 * E2E: Download our own devicelist on startup
2192 [\#302](https://github.com/matrix-org/matrix-js-sdk/pull/302)
2193
2194Changes in [0.7.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.1) (2016-12-09)
2195================================================================================================
2196[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.1-rc.1...v0.7.1)
2197
2198No changes
2199
2200
2201Changes in [0.7.1-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.1-rc.1) (2016-12-05)
2202==========================================================================================================
2203[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.7.0...v0.7.1-rc.1)
2204
2205 * Avoid NPE when no sessionStore is given
2206 [\#300](https://github.com/matrix-org/matrix-js-sdk/pull/300)
2207 * Improve decryption error messages
2208 [\#299](https://github.com/matrix-org/matrix-js-sdk/pull/299)
2209 * Revert "Use native Array.isArray when available."
2210 [\#283](https://github.com/matrix-org/matrix-js-sdk/pull/283)
2211 * Use native Array.isArray when available.
2212 [\#282](https://github.com/matrix-org/matrix-js-sdk/pull/282)
2213
2214Changes in [0.7.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.7.0) (2016-11-18)
2215================================================================================================
2216[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.6.4...v0.7.0)
2217
2218 * Avoid a packetstorm of device queries on startup
2219 [\#297](https://github.com/matrix-org/matrix-js-sdk/pull/297)
2220 * E2E: Check devices to share keys with on each send
2221 [\#295](https://github.com/matrix-org/matrix-js-sdk/pull/295)
2222 * Apply unknown-keyshare mitigations
2223 [\#296](https://github.com/matrix-org/matrix-js-sdk/pull/296)
2224 * distinguish unknown users from deviceless users
2225 [\#294](https://github.com/matrix-org/matrix-js-sdk/pull/294)
2226 * Allow starting client with initialSyncLimit = 0
2227 [\#293](https://github.com/matrix-org/matrix-js-sdk/pull/293)
2228 * Make timeline-window _unpaginate public and rename to unpaginate
2229 [\#289](https://github.com/matrix-org/matrix-js-sdk/pull/289)
2230 * Send a STOPPED sync updated after call to stopClient
2231 [\#286](https://github.com/matrix-org/matrix-js-sdk/pull/286)
2232 * Fix bug in verifying megolm event senders
2233 [\#292](https://github.com/matrix-org/matrix-js-sdk/pull/292)
2234 * Handle decryption of events after they arrive
2235 [\#288](https://github.com/matrix-org/matrix-js-sdk/pull/288)
2236 * Fix examples.
2237 [\#287](https://github.com/matrix-org/matrix-js-sdk/pull/287)
2238 * Add a travis.yml
2239 [\#278](https://github.com/matrix-org/matrix-js-sdk/pull/278)
2240 * Encrypt all events, including 'm.call.*'
2241 [\#277](https://github.com/matrix-org/matrix-js-sdk/pull/277)
2242 * Ignore reshares of known megolm sessions
2243 [\#276](https://github.com/matrix-org/matrix-js-sdk/pull/276)
2244 * Log to the console on unknown session
2245 [\#274](https://github.com/matrix-org/matrix-js-sdk/pull/274)
2246 * Make it easier for SDK users to wrap prevailing the 'request' function
2247 [\#273](https://github.com/matrix-org/matrix-js-sdk/pull/273)
2248
2249Changes in [0.6.4](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.6.4) (2016-11-04)
2250================================================================================================
2251[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.6.4-rc.2...v0.6.4)
2252
2253 * Change release script to pass version by environment variable
2254
2255
2256Changes in [0.6.4-rc.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.6.4-rc.2) (2016-11-02)
2257==========================================================================================================
2258[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.6.4-rc.1...v0.6.4-rc.2)
2259
2260 * Add getRoomTags method to client
2261 [\#236](https://github.com/matrix-org/matrix-js-sdk/pull/236)
2262
2263Changes in [0.6.4-rc.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.6.4-rc.1) (2016-11-02)
2264==========================================================================================================
2265[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.6.3...v0.6.4-rc.1)
2266
2267Breaking Changes
2268----------------
2269 * Bundled version of the JS SDK are no longer versioned along with
2270 source files in the dist/ directory. As of this release, they
2271 will be included in the release tarball, but not the source
2272 repository.
2273
2274Other Changes
2275-------------
2276 * More fixes to the release script
2277 [\#272](https://github.com/matrix-org/matrix-js-sdk/pull/272)
2278 * Update the release process to use github releases
2279 [\#271](https://github.com/matrix-org/matrix-js-sdk/pull/271)
2280 * Don't package the world when we release
2281 [\#270](https://github.com/matrix-org/matrix-js-sdk/pull/270)
2282 * Add ability to set a filter prior to the first /sync
2283 [\#269](https://github.com/matrix-org/matrix-js-sdk/pull/269)
2284 * Sign one-time keys, and verify their signatures
2285 [\#243](https://github.com/matrix-org/matrix-js-sdk/pull/243)
2286 * Check for duplicate message indexes for group messages
2287 [\#241](https://github.com/matrix-org/matrix-js-sdk/pull/241)
2288 * Rotate megolm sessions
2289 [\#240](https://github.com/matrix-org/matrix-js-sdk/pull/240)
2290 * Check recipient and sender in Olm messages
2291 [\#239](https://github.com/matrix-org/matrix-js-sdk/pull/239)
2292 * Consistency checks for E2E device downloads
2293 [\#237](https://github.com/matrix-org/matrix-js-sdk/pull/237)
2294 * Support User-Interactive auth for delete device
2295 [\#235](https://github.com/matrix-org/matrix-js-sdk/pull/235)
2296 * Utility to help with interactive auth
2297 [\#234](https://github.com/matrix-org/matrix-js-sdk/pull/234)
2298 * Fix sync breaking when an invalid filterId is in localStorage
2299 [\#228](https://github.com/matrix-org/matrix-js-sdk/pull/228)
2300
2301Changes in [0.6.3](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.6.3) (2016-10-12)
2302================================================================================================
2303[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.6.2...v0.6.3)
2304
2305Breaking Changes
2306----------------
2307 * Add a 'RECONNECTING' state to the sync states. This is an additional state
2308 between 'SYNCING' and 'ERROR', so most clients should not notice.
2309
2310Other Changes
2311----------------
2312 * Fix params getting replaced on register calls
2313 [\#233](https://github.com/matrix-org/matrix-js-sdk/pull/233)
2314 * Fix potential 30s delay on reconnect
2315 [\#232](https://github.com/matrix-org/matrix-js-sdk/pull/232)
2316 * uploadContent: Attempt some consistency between browser and node
2317 [\#230](https://github.com/matrix-org/matrix-js-sdk/pull/230)
2318 * Fix error handling on uploadContent
2319 [\#229](https://github.com/matrix-org/matrix-js-sdk/pull/229)
2320 * Fix uploadContent for node.js
2321 [\#226](https://github.com/matrix-org/matrix-js-sdk/pull/226)
2322 * Don't emit ERROR until a keepalive poke fails
2323 [\#223](https://github.com/matrix-org/matrix-js-sdk/pull/223)
2324 * Function to get the fallback url for interactive auth
2325 [\#224](https://github.com/matrix-org/matrix-js-sdk/pull/224)
2326 * Revert "Handle the first /sync failure differently."
2327 [\#222](https://github.com/matrix-org/matrix-js-sdk/pull/222)
2328
2329Changes in [0.6.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.6.2) (2016-10-05)
2330================================================================================================
2331[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.6.1...v0.6.2)
2332
2333 * Check dependencies aren't on develop in release.sh
2334 [\#221](https://github.com/matrix-org/matrix-js-sdk/pull/221)
2335 * Fix checkTurnServers leak on logout
2336 [\#220](https://github.com/matrix-org/matrix-js-sdk/pull/220)
2337 * Fix leak of file upload objects
2338 [\#219](https://github.com/matrix-org/matrix-js-sdk/pull/219)
2339 * crypto: remove duplicate code
2340 [\#218](https://github.com/matrix-org/matrix-js-sdk/pull/218)
2341 * Add API for 3rd party location lookup
2342 [\#217](https://github.com/matrix-org/matrix-js-sdk/pull/217)
2343 * Handle the first /sync failure differently.
2344 [\#216](https://github.com/matrix-org/matrix-js-sdk/pull/216)
2345
2346Changes in [0.6.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.6.1) (2016-09-21)
2347================================================================================================
2348[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.6.0...v0.6.1)
2349
2350 * Fix the ed25519 key checking
2351 [\#215](https://github.com/matrix-org/matrix-js-sdk/pull/215)
2352 * Add MatrixClient.getEventSenderDeviceInfo()
2353 [\#214](https://github.com/matrix-org/matrix-js-sdk/pull/214)
2354
2355Changes in [0.6.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.6.0) (2016-09-21)
2356================================================================================================
2357[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.5.6...v0.6.0)
2358
2359 * Pull user device list on join
2360 [\#212](https://github.com/matrix-org/matrix-js-sdk/pull/212)
2361 * Fix sending of oh_hais on bad sessions
2362 [\#213](https://github.com/matrix-org/matrix-js-sdk/pull/213)
2363 * Support /publicRooms pagination
2364 [\#211](https://github.com/matrix-org/matrix-js-sdk/pull/211)
2365 * Update the olm library version to 1.3.0
2366 [\#205](https://github.com/matrix-org/matrix-js-sdk/pull/205)
2367 * Comment what the logic in uploadKeys does
2368 [\#209](https://github.com/matrix-org/matrix-js-sdk/pull/209)
2369 * Include keysProved and keysClaimed in the local echo for events we send.
2370 [\#210](https://github.com/matrix-org/matrix-js-sdk/pull/210)
2371 * Check if we need to upload new one-time keys every 10 minutes
2372 [\#208](https://github.com/matrix-org/matrix-js-sdk/pull/208)
2373 * Reset oneTimeKey to null on each loop iteration.
2374 [\#207](https://github.com/matrix-org/matrix-js-sdk/pull/207)
2375 * Add getKeysProved and getKeysClaimed methods to MatrixEvent.
2376 [\#206](https://github.com/matrix-org/matrix-js-sdk/pull/206)
2377 * Send a 'm.new_device' when we get a message for an unknown group session
2378 [\#204](https://github.com/matrix-org/matrix-js-sdk/pull/204)
2379 * Introduce EventTimelineSet, filtered timelines and global notif timeline.
2380 [\#196](https://github.com/matrix-org/matrix-js-sdk/pull/196)
2381 * Wrap the crypto event handlers in try/catch blocks
2382 [\#203](https://github.com/matrix-org/matrix-js-sdk/pull/203)
2383 * Show warnings on to-device decryption fail
2384 [\#202](https://github.com/matrix-org/matrix-js-sdk/pull/202)
2385 * s/Displayname/DisplayName/
2386 [\#201](https://github.com/matrix-org/matrix-js-sdk/pull/201)
2387 * OH HAI
2388 [\#200](https://github.com/matrix-org/matrix-js-sdk/pull/200)
2389 * Share the current ratchet with new members
2390 [\#199](https://github.com/matrix-org/matrix-js-sdk/pull/199)
2391 * Move crypto bits into a subdirectory
2392 [\#198](https://github.com/matrix-org/matrix-js-sdk/pull/198)
2393 * Refactor event handling in Crypto
2394 [\#197](https://github.com/matrix-org/matrix-js-sdk/pull/197)
2395 * Don't create Olm sessions proactively
2396 [\#195](https://github.com/matrix-org/matrix-js-sdk/pull/195)
2397 * Use to-device events for key sharing
2398 [\#194](https://github.com/matrix-org/matrix-js-sdk/pull/194)
2399 * README: callbacks deprecated
2400 [\#193](https://github.com/matrix-org/matrix-js-sdk/pull/193)
2401 * Fix sender verification for megolm messages
2402 [\#192](https://github.com/matrix-org/matrix-js-sdk/pull/192)
2403 * Use `ciphertext` instead of `body` in megolm events
2404 [\#191](https://github.com/matrix-org/matrix-js-sdk/pull/191)
2405 * Add debug methods to get the state of OlmSessions
2406 [\#189](https://github.com/matrix-org/matrix-js-sdk/pull/189)
2407 * MatrixClient.getStoredDevicesForUser
2408 [\#190](https://github.com/matrix-org/matrix-js-sdk/pull/190)
2409 * Olm-related cleanups
2410 [\#188](https://github.com/matrix-org/matrix-js-sdk/pull/188)
2411 * Update to fixed olmlib
2412 [\#187](https://github.com/matrix-org/matrix-js-sdk/pull/187)
2413 * always play audio out of the remoteAudioElement if it exists.
2414 [\#186](https://github.com/matrix-org/matrix-js-sdk/pull/186)
2415 * Fix exceptions where HTMLMediaElement loads and plays race
2416 [\#185](https://github.com/matrix-org/matrix-js-sdk/pull/185)
2417 * Reset megolm session when people join/leave the room
2418 [\#183](https://github.com/matrix-org/matrix-js-sdk/pull/183)
2419 * Fix exceptions when dealing with redactions
2420 [\#184](https://github.com/matrix-org/matrix-js-sdk/pull/184)
2421
2422Changes in [0.5.6](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.5.6) (2016-08-28)
2423================================================================================================
2424[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.5.5...v0.5.6)
2425
2426 * Put all of the megolm keys in one room message
2427 [\#182](https://github.com/matrix-org/matrix-js-sdk/pull/182)
2428 * Reinstate device blocking for simple Olm
2429 [\#181](https://github.com/matrix-org/matrix-js-sdk/pull/181)
2430 * support for unpacking megolm keys
2431 [\#180](https://github.com/matrix-org/matrix-js-sdk/pull/180)
2432 * Send out megolm keys when we start a megolm session
2433 [\#179](https://github.com/matrix-org/matrix-js-sdk/pull/179)
2434 * Change the result structure for ensureOlmSessionsForUsers
2435 [\#178](https://github.com/matrix-org/matrix-js-sdk/pull/178)
2436 * Factor out a function for doing olm encryption
2437 [\#177](https://github.com/matrix-org/matrix-js-sdk/pull/177)
2438 * Move DeviceInfo and DeviceVerification to separate module
2439 [\#175](https://github.com/matrix-org/matrix-js-sdk/pull/175)
2440 * Make encryption asynchronous
2441 [\#176](https://github.com/matrix-org/matrix-js-sdk/pull/176)
2442 * Added ability to set and get status_msg for presence.
2443 [\#167](https://github.com/matrix-org/matrix-js-sdk/pull/167)
2444 * Megolm: don't dereference nullable object
2445 [\#174](https://github.com/matrix-org/matrix-js-sdk/pull/174)
2446 * Implement megolm encryption/decryption
2447 [\#173](https://github.com/matrix-org/matrix-js-sdk/pull/173)
2448 * Update our push rules when they come down stream
2449 [\#170](https://github.com/matrix-org/matrix-js-sdk/pull/170)
2450 * Factor Olm encryption/decryption out to new classes
2451 [\#172](https://github.com/matrix-org/matrix-js-sdk/pull/172)
2452 * Make DeviceInfo more useful, and refactor crypto methods to use it
2453 [\#171](https://github.com/matrix-org/matrix-js-sdk/pull/171)
2454 * Move login and register methods into base-apis
2455 [\#169](https://github.com/matrix-org/matrix-js-sdk/pull/169)
2456 * Remove defaultDeviceDisplayName from MatrixClient options
2457 [\#168](https://github.com/matrix-org/matrix-js-sdk/pull/168)
2458
2459Changes in [0.5.5](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.5.5) (2016-08-11)
2460================================================================================================
2461[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.5.4...v0.5.5)
2462
2463 * Add room.getAliases() and room.getCanonicalAlias
2464 * Add API calls `/register/email/requestToken`, `/account/password/email/requestToken` and `/account/3pid/email/requestToken`
2465 * Add `User.currentlyActive` and `User.lastPresenceTs` events for changes in fields on the User object
2466 * Add `logout` and `deactivateAccount`
2467
2468 * Make sure we actually stop the sync loop on logout
2469 [\#166](https://github.com/matrix-org/matrix-js-sdk/pull/166)
2470 * Zero is a valid power level
2471 [\#164](https://github.com/matrix-org/matrix-js-sdk/pull/164)
2472 * Verify e2e keys on download
2473 [\#163](https://github.com/matrix-org/matrix-js-sdk/pull/163)
2474 * Factor crypto stuff out of MatrixClient
2475 [\#162](https://github.com/matrix-org/matrix-js-sdk/pull/162)
2476 * Refactor device key upload
2477 [\#161](https://github.com/matrix-org/matrix-js-sdk/pull/161)
2478 * Wrappers for devices API
2479 [\#158](https://github.com/matrix-org/matrix-js-sdk/pull/158)
2480 * Add deactivate account function
2481 [\#160](https://github.com/matrix-org/matrix-js-sdk/pull/160)
2482 * client.listDeviceKeys: Expose device display name
2483 [\#159](https://github.com/matrix-org/matrix-js-sdk/pull/159)
2484 * Add `logout`
2485 [\#157](https://github.com/matrix-org/matrix-js-sdk/pull/157)
2486 * Fix email registration
2487 [\#156](https://github.com/matrix-org/matrix-js-sdk/pull/156)
2488 * Factor out MatrixClient methods to MatrixBaseApis
2489 [\#155](https://github.com/matrix-org/matrix-js-sdk/pull/155)
2490 * Fix some broken tests
2491 [\#154](https://github.com/matrix-org/matrix-js-sdk/pull/154)
2492 * make jenkins fail the build if the tests fail
2493 [\#153](https://github.com/matrix-org/matrix-js-sdk/pull/153)
2494 * deviceId-related fixes
2495 [\#152](https://github.com/matrix-org/matrix-js-sdk/pull/152)
2496 * /login, /register: Add device_id and initial_device_display_name
2497 [\#151](https://github.com/matrix-org/matrix-js-sdk/pull/151)
2498 * Support global account_data
2499 [\#150](https://github.com/matrix-org/matrix-js-sdk/pull/150)
2500 * Add more events to User
2501 [\#149](https://github.com/matrix-org/matrix-js-sdk/pull/149)
2502 * Add API calls for other requestToken endpoints
2503 [\#148](https://github.com/matrix-org/matrix-js-sdk/pull/148)
2504 * Add register-specific request token endpoint
2505 [\#147](https://github.com/matrix-org/matrix-js-sdk/pull/147)
2506 * Set a valid SPDX license identifier in package.json
2507 [\#139](https://github.com/matrix-org/matrix-js-sdk/pull/139)
2508 * Configure encryption on m.room.encryption events
2509 [\#145](https://github.com/matrix-org/matrix-js-sdk/pull/145)
2510 * Implement device blocking
2511 [\#146](https://github.com/matrix-org/matrix-js-sdk/pull/146)
2512 * Clearer doc for setRoomDirectoryVisibility
2513 [\#144](https://github.com/matrix-org/matrix-js-sdk/pull/144)
2514 * crypto: use memberlist to derive recipient list
2515 [\#143](https://github.com/matrix-org/matrix-js-sdk/pull/143)
2516 * Support for marking devices as unverified
2517 [\#142](https://github.com/matrix-org/matrix-js-sdk/pull/142)
2518 * Add Olm as an optionalDependency
2519 [\#141](https://github.com/matrix-org/matrix-js-sdk/pull/141)
2520 * Add room.getAliases() and room.getCanonicalAlias()
2521 [\#140](https://github.com/matrix-org/matrix-js-sdk/pull/140)
2522 * Change how MatrixEvent manages encrypted events
2523 [\#138](https://github.com/matrix-org/matrix-js-sdk/pull/138)
2524 * Catch exceptions when encrypting events
2525 [\#137](https://github.com/matrix-org/matrix-js-sdk/pull/137)
2526 * Support for marking devices as verified
2527 [\#136](https://github.com/matrix-org/matrix-js-sdk/pull/136)
2528 * Various matrix-client refactorings and fixes
2529 [\#134](https://github.com/matrix-org/matrix-js-sdk/pull/134)
2530
2531Changes in [0.5.4](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.5.4) (2016-06-02)
2532================================================================================================
2533[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.5.3...v0.5.4)
2534
2535 * Correct fix for https://github.com/vector-im/vector-web/issues/1039
2536 * Make release.sh work on OSX
2537
2538
2539Changes in [0.5.3](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.5.3) (2016-06-02)
2540================================================================================================
2541[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.5.2...v0.5.3)
2542
2543 * Add support for the openid interface
2544 [\#133](https://github.com/matrix-org/matrix-js-sdk/pull/133)
2545 * Bugfix for HTTP upload content when running on node
2546 [\#129](https://github.com/matrix-org/matrix-js-sdk/pull/129)
2547 * Ignore missing profile (displayname and avatar_url) fields on
2548 presence events, rather than overwriting existing valid profile
2549 data from membership events or elsewhere.
2550 Fixes https://github.com/vector-im/vector-web/issues/1039
2551
2552Changes in [0.5.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.5.2) (2016-04-19)
2553================================================================================================
2554[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.5.1...v0.5.2)
2555
2556 * Track the absolute time that presence events are received, so that the
2557 relative lastActiveAgo value is meaningful.
2558 [\#128](https://github.com/matrix-org/matrix-js-sdk/pull/128)
2559 * Refactor the addition of events to rooms
2560 [\#127](https://github.com/matrix-org/matrix-js-sdk/pull/127)
2561 * Clean up test shutdown
2562 [\#126](https://github.com/matrix-org/matrix-js-sdk/pull/126)
2563 * Add methods to get (and set) pushers
2564 [\#125](https://github.com/matrix-org/matrix-js-sdk/pull/125)
2565 * URL previewing support
2566 [\#122](https://github.com/matrix-org/matrix-js-sdk/pull/122)
2567 * Avoid paginating forever in private rooms
2568 [\#124](https://github.com/matrix-org/matrix-js-sdk/pull/124)
2569 * Fix a bug where we recreated sync filters
2570 [\#123](https://github.com/matrix-org/matrix-js-sdk/pull/123)
2571 * Implement HTTP timeouts in realtime
2572 [\#121](https://github.com/matrix-org/matrix-js-sdk/pull/121)
2573
2574Changes in [0.5.1](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.5.1) (2016-03-30)
2575================================================================================================
2576[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.5.0...v0.5.1)
2577
2578 * Only count joined members for the member count in notifications.
2579 [\#119](https://github.com/matrix-org/matrix-js-sdk/pull/119)
2580 * Add maySendEvent to match maySendStateEvent
2581 [\#118](https://github.com/matrix-org/matrix-js-sdk/pull/118)
2582
2583Changes in [0.5.0](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.5.0) (2016-03-22)
2584================================================================================================
2585[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.4.2...v0.5.0)
2586
2587**BREAKING CHANGES**:
2588 * `opts.pendingEventOrdering`==`end` is no longer supported in the arguments to
2589 `MatrixClient.startClient()`. Instead we provide a `detached` option, which
2590 puts pending events into a completely separate list in the Room, accessible
2591 via `Room.getPendingEvents()`.
2592 [\#111](https://github.com/matrix-org/matrix-js-sdk/pull/111)
2593
2594Other improvements:
2595 * Log the stack when we get a sync error
2596 [\#109](https://github.com/matrix-org/matrix-js-sdk/pull/109)
2597 * Refactor transmitted-messages code
2598 [\#110](https://github.com/matrix-org/matrix-js-sdk/pull/110)
2599 * Add a method to the js sdk to look up 3pids on the ID server.
2600 [\#113](https://github.com/matrix-org/matrix-js-sdk/pull/113)
2601 * Support for cancelling pending events
2602 [\#112](https://github.com/matrix-org/matrix-js-sdk/pull/112)
2603 * API to stop peeking
2604 [\#114](https://github.com/matrix-org/matrix-js-sdk/pull/114)
2605 * update store user metadata based on membership events rather than presence
2606 [\#116](https://github.com/matrix-org/matrix-js-sdk/pull/116)
2607 * Include a counter in generated transaction IDs
2608 [\#115](https://github.com/matrix-org/matrix-js-sdk/pull/115)
2609 * get/setRoomVisibility API
2610 [\#117](https://github.com/matrix-org/matrix-js-sdk/pull/117)
2611
2612Changes in [0.4.2](https://github.com/matrix-org/matrix-js-sdk/releases/tag/v0.4.2) (2016-03-17)
2613================================================================================================
2614[Full Changelog](https://github.com/matrix-org/matrix-js-sdk/compare/v0.4.1...v0.4.2)
2615
2616 * Try again if a pagination request gives us no new messages
2617 [\#98](https://github.com/matrix-org/matrix-js-sdk/pull/98)
2618 * Add a delay before we start polling the connectivity check endpoint
2619 [\#99](https://github.com/matrix-org/matrix-js-sdk/pull/99)
2620 * Clean up a codepath that was only used for crypto messages
2621 [\#101](https://github.com/matrix-org/matrix-js-sdk/pull/101)
2622 * Add maySendStateEvent method, ported from react-sdk (but fixed).
2623 [\#94](https://github.com/matrix-org/matrix-js-sdk/pull/94)
2624 * Add Session.logged_out event
2625 [\#100](https://github.com/matrix-org/matrix-js-sdk/pull/100)
2626 * make presence work when peeking.
2627 [\#103](https://github.com/matrix-org/matrix-js-sdk/pull/103)
2628 * Add RoomState.mayClientSendStateEvent()
2629 [\#104](https://github.com/matrix-org/matrix-js-sdk/pull/104)
2630 * Fix displaynames for member join events
2631 [\#108](https://github.com/matrix-org/matrix-js-sdk/pull/108)
2632
2633Changes in 0.4.1
2634================
2635
2636Improvements:
2637 * Check that `/sync` filters are correct before reusing them, and recreate
2638 them if not (https://github.com/matrix-org/matrix-js-sdk/pull/85).
2639 * Fire a `Room.timelineReset` event when a room's timeline is reset by a gappy
2640 `/sync` (https://github.com/matrix-org/matrix-js-sdk/pull/87,
2641 https://github.com/matrix-org/matrix-js-sdk/pull/93).
2642 * Make `TimelineWindow.load()` faster in the simple case of loading the live
2643 timeline (https://github.com/matrix-org/matrix-js-sdk/pull/88).
2644 * Update room-name calculation code to use the name of the sender of the
2645 invite when invited to a room
2646 (https://github.com/matrix-org/matrix-js-sdk/pull/89).
2647 * Don't reset the timeline when we join a room after peeking into it
2648 (https://github.com/matrix-org/matrix-js-sdk/pull/91).
2649 * Fire `Room.localEchoUpdated` events as local echoes progress through their
2650 transmission process (https://github.com/matrix-org/matrix-js-sdk/pull/95,
2651 https://github.com/matrix-org/matrix-js-sdk/pull/97).
2652 * Avoid getting stuck in a pagination loop when the server sends us only
2653 messages we've already seen
2654 (https://github.com/matrix-org/matrix-js-sdk/pull/96).
2655
2656New methods:
2657 * Add `MatrixClient.setPushRuleActions` to set the actions for a push
2658 notification rule (https://github.com/matrix-org/matrix-js-sdk/pull/90)
2659 * Add `RoomState.maySendStateEvent` which determines if a given user has
2660 permission to send a state event
2661 (https://github.com/matrix-org/matrix-js-sdk/pull/94)
2662
2663Changes in 0.4.0
2664================
2665
2666**BREAKING CHANGES**:
2667 * `RoomMember.getAvatarUrl()` and `MatrixClient.mxcUrlToHttp()` now return the
2668 empty string when given anything other than an mxc:// URL. This ensures that
2669 clients never inadvertantly reference content directly, leaking information
2670 to third party servers. The `allowDirectLinks` option is provided if the client
2671 wants to allow such links.
2672 * Add a 'bindEmail' option to register()
2673
2674Improvements:
2675 * Support third party invites
2676 * More appropriate naming for third party invite rooms
2677 * Poll the 'versions' endpoint to re-establish connectivity
2678 * Catch exceptions when syncing
2679 * Room tag support
2680 * Generate implicit read receipts
2681 * Support CAS login
2682 * Guest access support
2683 * Never return non-mxc URLs by default
2684 * Ability to cancel file uploads
2685 * Use the Matrix C/S API v2 with r0 prefix
2686 * Account data support
2687 * Support non-contiguous event timelines
2688 * Support new unread counts
2689 * Local echo for read-receipts
2690
2691
2692New methods:
2693 * Add method to fetch URLs not on the home or identity server
2694 * Method to get the last receipt for a user
2695 * Method to get all known users
2696 * Method to delete an alias
2697
2698
2699Changes in 0.3.0
2700================
2701
2702 * `MatrixClient.getAvatarUrlForMember` has been removed and replaced with
2703 `RoomMember.getAvatarUrl`. Arguments remain the same except the homeserver
2704 URL must now be supplied from `MatrixClient.getHomeserverUrl()`.
2705
2706 ```javascript
2707 // before
2708 var url = client.getAvatarUrlForMember(member, width, height, resize, allowDefault)
2709 // after
2710 var url = member.getAvatarUrl(client.getHomeserverUrl(), width, height, resize, allowDefault)
2711 ```
2712 * `MatrixClient.getAvatarUrlForRoom` has been removed and replaced with
2713 `Room.getAvatarUrl`. Arguments remain the same except the homeserver
2714 URL must now be supplied from `MatrixClient.getHomeserverUrl()`.
2715
2716 ```javascript
2717 // before
2718 var url = client.getAvatarUrlForRoom(room, width, height, resize, allowDefault)
2719 // after
2720 var url = room.getAvatarUrl(client.getHomeserverUrl(), width, height, resize, allowDefault)
2721 ```
2722
2723 * `s/Room.getMembersWithMemership/Room.getMembersWithMem`b`ership/g`
2724
2725New methods:
2726 * Added support for sending receipts via
2727 `MatrixClient.sendReceipt(event, receiptType, callback)` and
2728 `MatrixClient.sendReadReceipt(event, callback)`.
2729 * Added support for receiving receipts via
2730 `Room.getReceiptsForEvent(event)` and `Room.getUsersReadUpTo(event)`. Receipts
2731 can be directly added to a `Room` using `Room.addReceipt(event)` though the
2732 `MatrixClient` does this for you.
2733 * Added support for muting local video and audio via the new methods
2734 `MatrixCall.setMicrophoneMuted()`, `MatrixCall.isMicrophoneMuted(muted)`,
2735 `MatrixCall.isLocalVideoMuted()` and `Matrix.setLocalVideoMuted(muted)`.
2736 * Added **experimental** support for screen-sharing in Chrome via
2737 `MatrixCall.placeScreenSharingCall(remoteVideoElement, localVideoElement)`.
2738 * Added ability to perform server-side searches using
2739 `MatrixClient.searchMessageText(opts)` and `MatrixClient.search(opts)`.
2740
2741Improvements:
2742 * Improve the performance of initial sync processing from `O(n^2)` to `O(n)`.
2743 * `Room.name` will now take into account `m.room.canonical_alias` events.
2744 * `MatrixClient.startClient` now takes an Object `opts` rather than a Number in
2745 a backwards-compatible way. This `opts` allows syncing configuration options
2746 to be specified including `includeArchivedRooms` and `resolveInvitesToProfiles`.
2747 * `Room` objects which represent room invitations will now have state populated
2748 from `invite_room_state` if it is included in the `m.room.member` event.
2749 * `Room.getAvatarUrl` will now take into account `m.room.avatar` events.
2750
2751Changes in 0.2.2
2752================
2753
2754Bug fixes:
2755 * Null pointer fixes for VoIP calling and push notification processing.
2756 * Set the `Content-Type` to `application/octet-stream` in the event that the
2757 file object has no `type`.
2758
2759New methods:
2760 * Added `MatrixClient.getCasServer()` which calls through to the HTTP endpoint
2761 `/login/cas`.
2762 * Added `MatrixClient.loginWithCas(ticket, service)` which logs in with the
2763 type `m.login.cas`.
2764 * Added `MatrixClient.getHomeserverUrl()` which returns the URL passed in the
2765 constructor.
2766 * Added `MatrixClient.getIdentityServerUrl()` which returns the URL passed in
2767 the constructor.
2768 * Added `getLastModifiedTime()` to `RoomMember`, `RoomState` and `User` objects.
2769 This makes it easier to see if the object in question has changed, which can
2770 be used to improve performance by only rendering when these objects change.
2771
2772Changes in 0.2.1
2773================
2774
2775**BREAKING CHANGES**
2776 * `MatrixClient.joinRoom` has changed from `(roomIdOrAlias, callback)` to
2777 `(roomIdOrAlias, opts, callback)`.
2778
2779Bug fixes:
2780 * The `Content-Type` of file uploads is now explicitly set, without relying
2781 on the browser to do it for us.
2782
2783Improvements:
2784 * The `MatrixScheduler.RETRY_BACKOFF_RATELIMIT` function will not retry when
2785 the response is a 400,401,403.
2786 * The text returned from a room invite now includes who the invite was from.
2787 * There is now a try/catch block around the `request` function which will
2788 reject/errback appropriately if an exception is thrown synchronously in it.
2789
2790New methods:
2791 * `MatrixClient.createAlias(alias, roomId)`
2792 * `MatrixClient.getRoomIdForAlias(alias)`
2793 * `MatrixClient.sendNotice(roomId, body, txnId, callback)`
2794 * `MatrixClient.sendHtmlNotice(roomId, body, htmlBody, callback)`
2795
2796Modified methods:
2797 * `MatrixClient.joinRoom(roomIdOrAlias, opts)` where `opts` can include a
2798 `syncRoom: true|false` flag to control whether a room initial sync is
2799 performed after joining the room.
2800 * `MatrixClient.getAvatarUrlForMember` has a new last arg `allowDefault` which
2801 returns the default identicon URL if `true`.
2802 * `MatrixClient.getAvatarUrlForRoom` has a new last arg `allowDefault` which
2803 is passed through to the default identicon generation for
2804 `getAvatarUrlForMember`.
2805
2806
2807Changes in 0.2.0
2808================
2809
2810**BREAKING CHANGES**:
2811 * `MatrixClient.setPowerLevel` now expects a `MatrixEvent` and not an `Object`
2812 for the `event` parameter.
2813
2814New features:
2815 * Added `EventStatus.QUEUED` which is set on an event when it is waiting to be
2816 sent by the scheduler and there are other events in front.
2817 * Added support for processing push rules on an event. This can be obtained by
2818 calling `MatrixClient.getPushActionsForEvent(event)`.
2819 * Added WebRTC support. Outbound calls can be made via
2820 `call = global.createNewMatrixCall(MatrixClient, roomId)` followed by
2821 `call.placeVoiceCall()` or `call.placeVideoCall(remoteEle, localEle)`.
2822 Inbound calls will be received via the event `"Call.incoming"` which provides
2823 a call object which can be followed with `call.answer()` or `call.hangup()`.
2824 * Added the ability to upload files to the media repository.
2825 * Added the ability to change the client's password.
2826 * Added the ability to register with an email via an identity server.
2827 * Handle presence events by updating the associated `User` object.
2828 * Handle redaction events.
2829 * Added infrastructure for supporting End-to-End encryption. E2E is *NOT*
2830 available in this version.
2831
2832New methods:
2833 * `MatrixClient.getUser(userId)`
2834 * `MatrixClient.getPushActionsForEvent(event)`
2835 * `MatrixClient.setPassword(auth, newPassword)`
2836 * `MatrixClient.loginWithSAML2(relayState, callback)`
2837 * `MatrixClient.getAvatarUrlForMember(member, w, h, method)`
2838 * `MatrixClient.mxcUrlToHttp(url, w, h, method)`
2839 * `MatrixClient.getAvatarUrlForRoom(room, w, h, method)`
2840 * `MatrixClient.uploadContent(file, callback)`
2841 * `Room.getMembersWithMembership(membership)`
2842 * `MatrixScheduler.getQueueForEvent(event)`
2843 * `MatrixScheduler.removeEventFromQueue(event)`
2844 * `$DATA_STORE.setSyncToken(token)`
2845 * `$DATA_STORE.getSyncToken()`
2846
2847Crypto infrastructure (crypto is *NOT* available in this version):
2848 * `global.CRYPTO_ENABLED`
2849 * `MatrixClient.isCryptoEnabled()`
2850 * `MatrixClient.uploadKeys(maxKeys)`
2851 * `MatrixClient.downloadKeys(userIds, forceDownload)`
2852 * `MatrixClient.listDeviceKeys(userId)`
2853 * `MatrixClient.setRoomEncryption(roomId, config)`
2854 * `MatrixClient.isRoomEncrypted(roomId)`
2855
2856New classes:
2857 * `MatrixCall`
2858 * `WebStorageStore` - *WIP; unstable*
2859 * `WebStorageSessionStore` - *WIP; unstable*
2860
2861Bug fixes:
2862 * Member name bugfix: Fixed an issue which prevented `RoomMember.name` being
2863 disambiguated if there was exactly 1 other person with the same display name.
2864 * Member name bugfix: Disambiguate both clashing display names with user IDs in
2865 the event of a clash.
2866 * Room state bugfix: Fixed a bug which incorrectly overwrote power levels
2867 locally for a room.
2868 * Room name bugfix: Ignore users who have left the room when determining a room
2869 name.
2870 * Events bugfix: Fixed a bug which prevented the `sender` and `target`
2871 properties from being set.
2872
2873Changes in 0.1.1
2874================
2875
2876**BREAKING CHANGES**:
2877 * `Room.calculateRoomName` is now private. Use `Room.recalculate` instead, and
2878 access the calculated name via `Room.name`.
2879 * `new MatrixClient(...)` no longer creates a `MatrixInMemoryStore` if
2880 `opts.store` is not specified. Instead, the `createClient` global function
2881 creates it and passes it to the constructor. This change will not affect
2882 users who have always used `createClient` to create a `MatrixClient`.
2883 * `"Room"` events will now be emitted when the Room has *finished* being
2884 populated with state rather than at the moment of creation. This will fire
2885 when the SDK encounters a room it doesn't know about (just arrived from the
2886 event stream; e.g. a room invite) and will also fire after syncing room
2887 state (e.g. after calling joinRoom).
2888 * `MatrixClient.joinRoom` now returns a `Room` object when resolved, not an
2889 object with a `room_id` property.
2890 * `MatrixClient.scrollback` now expects a `Room` arg instead of a `room_id`
2891 and `from` token. Construct a `new Room(roomId)` if you want to continue
2892 using this directly, then set the pagination token using
2893 `room.oldState.paginationToken = from`. It now resolves to a `Room` object
2894 instead of the raw HTTP response.
2895
2896New properties:
2897 * `User.events`
2898 * `RoomMember.events`
2899
2900New methods:
2901 * `Room.hasMembershipState(userId, membership)`
2902 * `MatrixClient.resendEvent(event, room)`
2903
2904New features:
2905 * Local echo. When you send an event using the SDK it will immediately be
2906 added to `Room.timeline` with the `event.status` of `EventStatus.SENDING`.
2907 When the event is finally sent, this status will be removed.
2908 * Not sent status. When an event fails to send using the SDK, it will have the
2909 `event.status` of `EventStatus.NOT_SENT`.
2910 * Retries. If events fail to send, they will be automatically retried.
2911 * Manual resending. Events which failed to send can be passed to
2912 `MatrixClient.resendEvent(event, room)` to resend them.
2913 * Queueing. Messages sent in quick succession will be queued to preserve the
2914 order in which they were submitted.
2915 * Room state is automatcally synchronised when joining a room (including if
2916 another device joins a room).
2917 * Scrollback. You can request earlier events in a room using
2918 `MatrixClient.scrollback(room, limit, callback)`.
2919
2920Bug fixes:
2921 * Fixed a bug which prevented the event stream from polling. Some devices will
2922 black hole requests when they hibernate, meaning that the callbacks will
2923 never fire. We now maintain a local timer to forcibly restart the request.
2924
\No newline at end of file