The biggest change is the merge of poljar's
improved Python bindings. These bindings should be much easier to use for Python programmers, and are used by Zil0's E2E support in the Matrix Python SDK
Since the binding API has changed, existing Python code will need to be rewritten in order to work with this release.
poljar has also included comprehensive documentation for the new API.
contributed support for building olm using CMake. This should allow for easier building on different platforms. Currently the library can be built using either make or CMake. In the future, make support may be removed.
by default. WebAssembly is much faster than the previous asm.js
build, and is supported by recent versions of the most popular browsers. For compatibility with browsers that do not support WebAssembly, the asm.js version is still provided.
Due to adding support for WebAssembly, the API had to be changed slightly.
There is now an
init function that must be called before the library can be used. This function will return a promise that will resolve once the library is ready to be used. The matrix-js-sdk has not yet been updated to do this, so users of matrix-js-sdk should continue using olm 2.x until it has been updated.
The public key API has been updated to support the proposal for server-side key backups
. More details on how to use these functions will be published in the future.