ENTS-Source / rocket-sheep

A bot running on tang.ents.ca to help with member actions.
GNU General Public License v3.0
9 stars 1 forks source link

Update matrix-js-sdk to the latest version 🚀 #33

Closed greenkeeper[bot] closed 6 years ago

greenkeeper[bot] commented 6 years ago

Version 0.8.0 of matrix-js-sdk just got published.

Dependency matrix-js-sdk
Current Version 0.7.13
Type dependency

The version 0.8.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of matrix-js-sdk. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes v0.8.0

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
Commits

The new version differs by 170 commits.

  • b417492 v0.8.0
  • d3ee532 Prepare changelog for v0.8.0
  • 92a75aa Merge pull request #521 from matrix-org/rav/async_crypto/olmlib
  • 906bf88 Merge remote-tracking branch 'origin/develop' into rav/async_crypto/olmlib
  • d715784 Merge pull request #520 from matrix-org/rav/async_crypto/devicelist
  • d317c1f Merge pull request #519 from matrix-org/rav/async_crypto/algorithms
  • ef88996 Rewrite olmlib.ensureOlmSessionsForDevices as async
  • a2d7b22 Make olmlib.verifySignature async
  • aff32af Make olmlib.encryptMessageForDevice async
  • 0943e0c Make some of DeviceList asynchronous
  • 18f75ec make algorithm.hasKeysForKeyRequest async
  • d821082 Prepare megolm.js for async
  • 366a88c make olm._decryptMessage asynchronous
  • 951df61 Merge pull request #518 from matrix-org/rav/no_plain_messages_in_e2e_room
  • 3e79575 Avoid sending unencrypted messages in e2e room

There are 170 commits in total.

See the full diff

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] commented 6 years ago

Version 0.8.1-rc.1 just got published.

Update to this version instead 🚀

Release Notes v0.8.1-rc.1

Full Changelog

  • Fix error handling in interactive-auth
    #527
  • Make lots of OlmDevice asynchronous
    #524
  • Make crypto.decryptMessage return decryption results
    #523
Commits

The new version differs by 30 commits.

  • b325aad v0.8.1-rc.1
  • 92e616f Prepare changelog for v0.8.1-rc.1
  • f7fee29 Merge pull request #527 from matrix-org/rav/fix_interactive_auth_error_handling
  • eccea74 Fix error handling in interactive-auth
  • 2d82a7b Merge pull request #524 from matrix-org/rav/async_crypto/1
  • ca91fba Crypto test: Bump the timeout when waiting for Ali to claim keys
  • 9f2fce4 Try harder to wait for megolm decryption
  • e194226 Add API to invite & remove users from groups (#525)
  • 1221240 Hopefully, fix racy megolm test
  • e5565c6 review comments
  • f00558d Merge remote-tracking branch 'origin/develop' into rav/async_crypto/1
  • da0dc5e Merge pull request #523 from matrix-org/rav/fix_decryption_race
  • e8be38c Add delays to tests to wait for things to decrypt
  • 38c9a05 Make Event.attemptDecryption return useful promises
  • 110bd33 Make OlmDevice.exportInboundGroupSession async

There are 30 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 0.8.1 just got published.

Update to this version instead 🚀

Release Notes v0.8.1

Full Changelog

  • [No changes]
Commits

The new version differs by 2 commits.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 0.8.2 just got published.

Update to this version instead 🚀

Release Notes v0.8.2

Full Changelog

  • Handle m.call.* events which are decrypted asynchronously
    #530
  • Re-emit events from, er, Event objects
    #529
Commits

The new version differs by 8 commits.

  • 22b213a v0.8.2
  • 7d5936a Prepare changelog for v0.8.2
  • ab8f466 Merge pull request #530 from matrix-org/rav/fix_encrypted_calls
  • 201177e Merge pull request #529 from matrix-org/dbkr/event_object_reemit
  • ec5f9a2 Handle m.call.* events which are decrypted asynchronously
  • ee5b874 Add MatrixEvent.isDecryptionFailure()
  • 8d04f8b Re-emit events from, er, Event objects
  • 033babf Groups: Sync Stream, Accept Invite & Leave (#528)

See the full diff