Releases: TankerHQ/sdk-js
Releases · TankerHQ/sdk-js
v2.13.0
- Introduce the
IdentityAlreadyAttached
error: this error occurs when a provisional identity is used instead of the permanent one it was attached to. - API breakage:
attachProvisionalIdentity()
andverifyProvisionalIdentity()
now throw anIdentityAlreadyAttached
error instead of anInvalidArgument
when given a provisional identity aleady attached to a permanent one. - Bump Dexie to version 3
@tanker/client-browser
is now Content Security Policy (CSP) compliant
v2.12.0
Streams
- In addition to data encrypted with streams,
DecryptionStream
can now be used to decrypt data encrypted without streams (e.g. via encryptData) - Add
createUploadStream
and its associated classUploadStream
to efficiently encrypt and upload large resources - Add
createDownloadStream
and its associated classDownloadStream
to efficiently download and decrypt large resources - Improve backpressure handling in streams, i.e. uses less RAM when piped to "slow" destinations
- The Encrypt and upload to a cloud storage provider in JavaScript guide will help you getting started with file upload and download
Bug fix
- improve performance in session token verification mode
v2.11.0
- Introduce session token verification
v2.10.0
v2.9.1
v2.9.0
- New group blocks incompatible with versions < 2.7, see the supported versions for more details.
v2.8.0
Core
- Faster operations on existing groups (share with group, group updates...)
- Fix error when passing duplicated resource IDs to the share() method
- Deprecate the revokeDevice() method and the deviceRevoked event
- Throw
UpgradeRequired
error when the Core SDK version used is not supported anymore - Drop backward compatibility with no longer supported Core SDK versions < 2.4.0
- Add recovery when detecting unexpected cases of corrupted local data: the session is automatically stopped and the corrupted local data is wiped from the device. It is safe to start a new session and proceed to a new identity verification
v2.7.0
Core
- Add forward compatibility for an upcoming feature that will allow removing users from groups
- Various internal improvements and optimizations
v2.6.4
v2.6.3
Core
- Add
UpgradeRequired
error - Improve future compatibility. This release introduces forward compatibility needed for future releases concerning group operations. We strongly advise that you update to this version quickly so that future upgrades are done smoothly.