matrix-js-sdk

Matrix Client-Server SDK for JavaScript

APACHE-2.0 License

Downloads
80.5K
Stars
1.5K
Committers
123

Bot releases are hidden (Show)

matrix-js-sdk - v0.8.3-rc.1

Published by dbkr about 7 years ago

Full Changelog

  • consume trailing slash when creating Matrix Client in HS and IS urls
    #526
  • Add ignore users API
    #539
  • Upgrade to jsdoc 3.5.5
    #540
  • Make re-emitting events much more memory efficient
    #538
  • Only re-emit events from Event objects if needed
    #536
  • Handle 'left' users in the deviceList mananagement
    #535
  • Factor out devicelist integration tests to a separate file
    #534
  • Refactor sync._sync as an async function
    #533
  • Add es6 to eslint environments
    #532
matrix-js-sdk - v0.8.2

Published by dbkr about 7 years ago

Full Changelog

  • Handle m.call.* events which are decrypted asynchronously
    #530
  • Re-emit events from, er, Event objects
    #529
matrix-js-sdk - v0.8.1

Published by dbkr about 7 years ago

Full Changelog

  • [No changes]
matrix-js-sdk - v0.8.1-rc.1

Published by dbkr about 7 years ago

Full Changelog

  • Fix error handling in interactive-auth
    #527
  • Make lots of OlmDevice asynchronous
    #524
  • Make crypto.decryptMessage return decryption results
    #523
matrix-js-sdk - v0.8.0

Published by lukebarnard1 about 7 years ago

Full Changelog
BREAKING CHANGE

In order to support a move to a more scalable storage backend, we need to make
a number of the APIs related end-to-end encryption asynchronous.
This release of the JS-SDK includes the following changes which will affect
applications which support end-to-end encryption:

  1. MatrixClient now provides a new (asynchronous) method,
    initCrypto. Applications which support end-to-end encryption must call
    this method (and wait for it to complete) before calling startClient, to
    give the crypto layer a chance to initialise.
  2. The following APIs have been changed to return promises:
  • MatrixClient.getStoredDevicesForUser
  • MatrixClient.getStoredDevice
  • MatrixClient.setDeviceVerified
  • MatrixClient.setDeviceBlocked
  • MatrixClient.setDeviceKnown
  • MatrixClient.getEventSenderDeviceInfo
  • MatrixClient.isEventSenderVerified
  • MatrixClient.importRoomKeys
    Applications using the results of any of the above methods will need to be
    updated to wait for the result of the promise.
  1. MatrixClient.listDeviceKeys has been removed altogether. It's been
    deprecated for some time. Applications using it should instead be changed to
    use MatrixClient.getStoredDevices, which is similar but returns its results
    in a slightly different format.
  • Make bits of olmlib asynchronous
    #521
  • Make some of DeviceList asynchronous
    #520
  • Make methods in crypto/algorithms async
    #519
  • Avoid sending unencrypted messages in e2e room
    #518
  • Make tests wait for syncs to happen
    #517
  • Make a load of methods in the 'Crypto' module asynchronous
    #510
  • Set rawDisplayName to userId if membership has displayname=null
    #515
  • Refactor handling of crypto events for async
    #508
  • Let event decryption be asynchronous
    #509
  • Transform async functions to bluebird promises
    #511
  • Add more group APIs
    #512
  • Retrying test: wait for localEchoUpdated event
    #507
  • Fix member events breaking on timeline reset, 2
    #504
  • Make bits of the js-sdk api asynchronous
    #503
  • Yet more js-sdk test deflakification
    #499
  • Fix racy 'matrixclient retrying' test
    #497
  • Fix spamming of key-share-requests
    #495
  • Add progress handler to uploadContent
    #500
  • Switch matrix-js-sdk to bluebird
    #490
  • Fix some more flakey tests
    #492
  • make the npm test script windows-friendly
    #489
  • Fix a bunch of races in the tests
    #488
  • Fix early return in MatrixClient.setGuestAccess
    #487
  • Remove testUtils.failTest
    #486
  • Add test:watch script
    #485
  • Make it possible to use async/await
    #484
  • Remove m.new_device support
    #483
  • Use access-token in header
    #478
  • Sanity-check response from /thirdparty/protocols
    #482
  • Avoid parsing plain-text errors as JSON
    #479
  • Use external mock-request
    #481
  • Fix some races in the tests
    #480
  • Fall back to MemoryCryptoStore if indexeddb fails
    #475
  • Fix load failure in firefox when indexedDB is disabled
    #474
  • Fix a race in a test
    #471
  • Avoid throwing an unhandled error when the indexeddb is deleted
    #470
  • fix jsdoc
    #469
  • Handle m.forwarded_room_key events
    #468
  • Improve error reporting from indexeddbstore.clearDatabase
    #466
  • Implement sharing of megolm keys
    #454
  • Process received room key requests
    #449
  • Send m.room_key_request events when we fail to decrypt an event
    #448
matrix-js-sdk - v0.7.13

Published by dbkr over 7 years ago

Full Changelog

  • Fix failure on Tor browser
    #473
  • Fix issues with firefox private browsing
    #472
matrix-js-sdk - v0.7.12

Published by dbkr over 7 years ago

Full Changelog

  • No changes
matrix-js-sdk - v0.7.12-rc.1

Published by dbkr over 7 years ago

Full Changelog

  • allow setting iceTransportPolicy to relay through forceTURN option
    #462
matrix-js-sdk - v0.7.11

Published by dbkr over 7 years ago

Full Changelog

  • Add a bunch of logging around sending messages
    #460
matrix-js-sdk - v0.7.11-rc.1

Published by dbkr over 7 years ago

Full Changelog

  • Make TimelineWindow.load resolve quicker if we have the events
    #458
  • Stop peeking when a matrix client is stopped
    #451
  • Update README: Clarify how to install libolm
    #450
matrix-js-sdk - v0.7.10

Published by ara4n over 7 years ago

Full Changelog

  • BREAKING CHANGE: The SDK no longer requires olm - instead it expects
    libolm to be provided as an Olm global. This will only affect
    applications which use end-to-end encryption. See the
    README for details.
  • indexeddb-crypto-store: fix db deletion
    #447
  • Load Olm from the global rather than requiring it.
    #446
matrix-js-sdk - v0.7.9

Published by ara4n over 7 years ago

Full Changelog

  • Initial framework for indexeddb-backed crypto store
    #445
  • Factor out reEmit to a common module
    #444
  • crypto/algorithms/base.js: Convert to es6
    #443
  • maySendRedactionForEvent for userId
    #435
  • MatrixClient: add getUserId()
    #441
  • Run jsdoc on a custom babeling of the source
    #442
  • Add in a public api getStoredDevice allowing clients to get a specific
    device
    #439
matrix-js-sdk - v0.7.8

Published by dbkr over 7 years ago

Full Changelog

  • No changes
matrix-js-sdk - v0.7.8-rc.1

Published by dbkr over 7 years ago

Full Changelog

  • Attempt to rework the release-tarball-signing stuff
    #438
  • ability to specify webrtc audio/video inputs for the lib to request
    #427
  • make screen sharing call FF friendly :D
    #434
  • Fix race in device list updates
    #431
  • WebRTC: Support recvonly for video for those without a webcam
    #424
  • Update istanbul to remove minimatch DoS Warning
    #422
  • webrtc/call: Make it much less likely that callIds collide locally
    #423
  • Automatically complete dummy auth
    #420
  • Don't leave the gh-pages branch checked out
    #418
matrix-js-sdk - v0.7.7

Published by dbkr over 7 years ago

Full Changelog

  • No changes
matrix-js-sdk - v0.7.7-rc.1

Published by dbkr over 7 years ago

Full Changelog

  • Automatically complete dummy auth
    #420
matrix-js-sdk - v0.7.6

Published by dbkr over 7 years ago

Full Changelog

  • No changes
matrix-js-sdk - v0.7.6-rc.2

Published by dbkr over 7 years ago

Full Changelog

  • Add feature detection for webworkers
    #416
  • Fix release script
    #415
matrix-js-sdk - v0.7.6-rc.1

Published by dbkr over 7 years ago

Full Changelog

  • Make indexeddb save after the first sync
    #414
  • Make indexeddb startup faster
    #413
  • Add ability to do indexeddb sync work in webworker
    #412
  • Move more functionality to the indexeddb backend
    #409
  • Indicate syncState ERROR after many failed /syncs
    #410
  • Further reorganising of indexeddb sync code
    #407
  • Change interface of IndexedDBStore: hide internals
    #406
  • Don't be SYNCING until updating from the server
    #405
  • Don't log the entire /sync response
    #403
  • webrtc/call: Assign MediaStream to video element srcObject
    #402
  • Fix undefined reference in http-api
    #400
  • Add copyright header to event-timeline.js
    #382
  • client: fix docs for user-scoped account_data events
    #397
  • Add a CONTRIBUTING for js-sdk
    #399
  • Fix leaking room state objects on limited sync responses
    #395
  • Extend 'ignoreFailure' to be 'background'
    #396
  • Add x_show_msisdn parameter to register calls
    #388
  • Update event redaction to keep sender and origin_server_ts
    #394
  • Handle 'limited' timeline responses in the SyncAccumulator
    #393
  • Give a better error message if the HS doesn't support msisdn registeration
    #391
  • Add getEmailSid
    #383
  • Add m.login.email.identity support to UI auth
    #380
  • src/client.js: Fix incorrect roomId reference in VoIP glare code
    #381
  • add .editorconfig
    #379
  • Store account data in the same way as room data
    #377
  • Upload one-time keys on /sync rather than a timer
    #376
  • Increase the WRITE_DELAY on database syncing
    #374
  • Make deleteAllData() return a Promise
    #373
  • Don't include banned users in the room name
    #372
  • Support IndexedDB as a backing store
    #363
  • Poll /sync with a short timeout while catching up
    #370
  • Make test coverage work again
    #368
  • Add docs to event
    #367
  • Keep the device-sync token more up-to-date
    #366
  • Fix race conditions in device list download
    #365
  • Fix the unban method
    #364
  • Spread out device verification work
    #362
  • Clean up/improve e2e logging
    #361
  • Fix decryption of events whose key arrives later
    #360
  • Invalidate device lists when encryption is enabled in a room
    #359
  • Switch from jasmine to mocha + expect + lolex
    #358
  • Install source-map-support in each test
    #356
  • searchMessageText: avoid setting keys=undefined
    #357
  • realtime-callbacks: pass global as this
    #355
  • Make the tests work without olm
    #354
  • Tests: Factor out TestClient and use it in crypto tests
    #353
  • Fix some lint
    #352
  • Make a sig for source tarballs when releasing
    #351
  • When doing a pre-release, don't bother merging to master and develop.
    #350
matrix-js-sdk - v0.7.5

Published by richvdh over 7 years ago

Full Changelog
No changes from 0.7.5-rc.3