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.13.1

Published by bwindels almost 6 years ago

Full Changelog

  • Add function to get currently joined rooms.
    #779
matrix-js-sdk - v0.13.0

Published by bwindels almost 6 years ago

Full Changelog

BREAKING CHANGE

  • MatrixClient::login now sets client access_token and user_id following successful login with username and password.
matrix-js-sdk - v0.12.1

Published by dbkr almost 6 years ago

Full Changelog

  • No changes since rc.1
matrix-js-sdk - v0.12.1-rc.1

Published by dbkr almost 6 years ago

Full Changelog

  • Add repository type to package.json to make it valid
    #762
  • Add getMediaConfig()
    #761
  • add new examples, to be expanded into a post
    #739
matrix-js-sdk - v0.12.0

Published by dbkr about 6 years ago

Full Changelog

  • No changes since rc.1
matrix-js-sdk - v0.12.0-rc.1

Published by dbkr about 6 years ago

Full Changelog

BREAKING CHANGES

  • If js-sdk finds data in the store that is incompatible with the options currently being used,
    it will emit sync state ERROR with an error of type InvalidStoreError. It will also stop trying
    to sync in this situation: the app must stop the client and then either clear the store or
    change the options (in this case, enable or disable lazy loading of members) and then start
    the client again.

All Changes

  • never replace /sync'ed memberships with OOB ones
    #760
  • Don't fail to start up if lazy load check fails
    #759
  • Make e2e work on Edge
    #754
  • throw error with same name and message over idb worker boundary
    #758
  • Default to a room version of 1 when there is no room create event
    #755
  • Silence bluebird warnings
    #757
  • allow non-ff merge from release branch into master
    #750
  • Reject with the actual error on indexeddb error
    #751
  • Update mocha to v5
    #744
  • disable lazy loading for guests as they cant create filters
    #748
  • Revert "Add getMediaLimits to client"
    #745
matrix-js-sdk - v0.11.1

Published by bwindels about 6 years ago

Full Changelog

  • No changes since rc.1
matrix-js-sdk - v0.11.1-rc.1

Published by bwindels about 6 years ago

Full Changelog

  • make usage of hub compatible with latest version (2.5)
    #747
  • Detect when lazy loading has been toggled in client.startClient
    #746
  • Add getMediaLimits to client
    #644
  • Split npm start into an init and watch script
    #742
  • Revert "room name should only take canonical alias into account"
    #738
  • fix display name disambiguation with LL
    #737
  • Introduce Room.myMembership event
    #735
  • room name should only take canonical alias into account
    #733
  • state events from context response were not wrapped in a MatrixEvent
    #732
  • Reduce amount of promises created when inserting members
    #724
  • dont wait for LL members to be stored to resolve the members
    #726
  • RoomState.members emitted with wrong argument order for OOB members
    #728
matrix-js-sdk - v0.11.0

Published by dbkr about 6 years ago

Full Changelog
BREAKING CHANGES

  • v0.11.0-rc.1 introduced some breaking changes - see the respective release notes.
    No changes since rc.1
matrix-js-sdk - v0.11.0-rc.1

Published by dbkr about 6 years ago

Full Changelog

  • Support for lazy loading members. This should improve performance for
    users who joined big rooms a lot. Pass to lazyLoadMembers = true option when calling startClient.
    BREAKING CHANGES

  • 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.
  • 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.
  • 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.
    All Changes

  • Only emit CATCHUP if recovering from conn error
    #727
  • Fix docstring for sync data.error
    #725
  • Re-apply "Don't rely on members to query if syncing user can post to room"
    #723
  • Revert "Don't rely on members to query if syncing user can post to room"
    #721
  • Don't rely on members to query if syncing user can post to room
    #717
  • Fixes for room.guessDMUserId
    #719
  • Fix filepanel also filtering main timeline with LL turned on.
    #716
  • Remove lazy loaded members when leaving room
    #711
  • Fix: show spinner again while recovering from connection error
    #702
  • Add method to query LL state in client
    #714
  • Fix: also load invited members when lazy loading members
    #707
  • Pass through function to discard megolm session
    #704
matrix-js-sdk - v0.10.9

Published by dbkr about 6 years ago

Full Changelog

  • No changes since rc.2
matrix-js-sdk - v0.10.9-rc.2

Published by dbkr about 6 years ago

Full Changelog

  • Fix for "otherMember.getAvatarUrl is not a function"
    #708
matrix-js-sdk - v0.10.9-rc.1

Published by dbkr about 6 years ago

Full Changelog

  • Fix DM avatar
    #706
  • Lazy loading: avoid loading members at initial sync for e2e rooms
    #699
  • Improve setRoomEncryption guard against multiple m.room.encryption st…
    #700
  • Revert "Lazy loading: don't block on setting up room crypto"
    #698
  • Lazy loading: don't block on setting up room crypto
    #696
  • Add getVisibleRooms()
    #695
  • Add wrapper around getJoinedMemberCount()
    #697
  • Api to fetch events via /room/.../event/..
    #694
  • Support for room upgrades
    #693
  • Lazy loading of room members
    #691
    BREAKING CHANGE

  • 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.
matrix-js-sdk - v0.10.8

Published by dbkr about 6 years ago

Full Changelog

  • No changes since rc.1
matrix-js-sdk - v0.10.8-rc.1

Published by dbkr about 6 years ago

Full Changelog

  • Add getVersion to Room
    #689
  • Add getSyncStateData()
    #680
  • Send sync error to listener
    #679
  • make sure room.tags is always a valid object to avoid crashes
    #675
  • Fix infinite spinner upon joining a room
    #673
matrix-js-sdk - v0.10.7

Published by dbkr about 6 years ago

Full Changelog

  • No changes since rc.1
matrix-js-sdk - v0.10.7-rc.1

Published by dbkr about 6 years ago

Full Changelog

  • encrypt for invited users if history visibility allows.
    #666
matrix-js-sdk - v0.10.6

Published by dbkr over 6 years ago

Full Changelog

  • No changes since rc.1
matrix-js-sdk - v0.10.6-rc.1

Published by dbkr over 6 years ago

Full Changelog

  • Expose event decryption error via Event.decrypted event
    #665
  • Add decryption error codes to base.DecryptionError
    #663
matrix-js-sdk - v0.10.5

Published by dbkr over 6 years ago

Full Changelog

  • No changes since rc.1