prepare release 3.0.0
This commit is contained in:
parent
9acfd1791e
commit
ff24af601a
6 changed files with 41 additions and 17 deletions
|
@ -1,16 +1,40 @@
|
||||||
Changes in latest release
|
Changes in `3.0.0 <http://matrix.org/git/olm/commit/?h=2.3.0>`_
|
||||||
|
===============================================================
|
||||||
|
|
||||||
BREAKING CHANGE: Olm now uses WebAssembly which means it needs
|
This release includes the following changes to 2.3.0:
|
||||||
|
|
||||||
|
* Support for building using cmake. Thanks to Konstantinos Sideris.
|
||||||
|
* Add more functions for managing private keys in the public key decryption
|
||||||
|
functionality. These are meant for use with server-side encrypted key
|
||||||
|
backups. The new functions are ``olm_pk_private_key_length``,
|
||||||
|
``olm_pk_key_from_private``, and ``olm_pk_get_private_key``.
|
||||||
|
* ``olm_pk_generate_key`` and ``olm_pk_generate_key_random_length`` are
|
||||||
|
deprecated: to generate a random key, use ``olm_pk_key_from_private``
|
||||||
|
with random bytes as the private key.
|
||||||
|
|
||||||
|
Python wrapper:
|
||||||
|
|
||||||
|
* BREAKING CHANGE: This release introduces a new API for the Python wrapper,
|
||||||
|
thanks to Damir Jelić. The new API should be much easier to use for Python
|
||||||
|
developers. However, this means that existing code will need to be rewritten
|
||||||
|
to use the new API.
|
||||||
|
|
||||||
|
JavaScript wrapper:
|
||||||
|
|
||||||
|
* BREAKING CHANGE: Olm now uses WebAssembly which means it needs
|
||||||
to load the wasm file asynchronously, and therefore needs to be
|
to load the wasm file asynchronously, and therefore needs to be
|
||||||
started up asynchronously. The imported module now has an init()
|
started up asynchronously. The imported module now has an init()
|
||||||
method which returns a promise. The library cannot be used until
|
method which returns a promise. The library cannot be used until
|
||||||
this promise resolves. It will reject if the library fails to start.
|
this promise resolves. It will reject if the library fails to start.
|
||||||
|
* Using ``olm/olm.js`` will use the WebAssembly version of the library. For
|
||||||
|
environments that do not support WebAssembly, use ``olm/olm_legacy.js``.
|
||||||
|
|
||||||
olm_pk_generate_key() and olm_pk_generate_key_random_length() have
|
Objective-C wrapper:
|
||||||
been removed: to generate a random key, use olm_pk_key_from_private()
|
|
||||||
with random bytes as the private key.
|
* Add support for the public key encryption/decryption functionality.
|
||||||
|
|
||||||
Changes in `2.3.0 <http://matrix.org/git/olm/commit/?h=2.3.0>`_
|
Changes in `2.3.0 <http://matrix.org/git/olm/commit/?h=2.3.0>`_
|
||||||
|
===============================================================
|
||||||
|
|
||||||
This release includes the following changes since 2.2.2:
|
This release includes the following changes since 2.2.2:
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required(VERSION 3.1)
|
cmake_minimum_required(VERSION 3.1)
|
||||||
|
|
||||||
project(olm VERSION 2.3.0 LANGUAGES CXX C)
|
project(olm VERSION 3.0.0 LANGUAGES CXX C)
|
||||||
|
|
||||||
option(OLM_TESTS "Build tests" ON)
|
option(OLM_TESTS "Build tests" ON)
|
||||||
option(BUILD_SHARED_LIBS "Build as a shared library" ON)
|
option(BUILD_SHARED_LIBS "Build as a shared library" ON)
|
||||||
|
|
|
@ -9,9 +9,9 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 11
|
minSdkVersion 11
|
||||||
targetSdkVersion 21
|
targetSdkVersion 21
|
||||||
versionCode 230
|
versionCode 300
|
||||||
versionName "2.3.0"
|
versionName "3.0.0"
|
||||||
version "2.3.0"
|
version "3.0.0"
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
MAJOR := 2
|
MAJOR := 3
|
||||||
MINOR := 3
|
MINOR := 0
|
||||||
PATCH := 0
|
PATCH := 0
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "olm",
|
"name": "olm",
|
||||||
"version": "2.3.0",
|
"version": "3.0.0",
|
||||||
"description": "An implementation of the Double Ratchet cryptographic ratchet",
|
"description": "An implementation of the Double Ratchet cryptographic ratchet",
|
||||||
"main": "olm.js",
|
"main": "olm.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
|
@ -2,7 +2,7 @@ __title__ = "python-olm"
|
||||||
__description__ = ("python CFFI bindings for the olm "
|
__description__ = ("python CFFI bindings for the olm "
|
||||||
"cryptographic ratchet library")
|
"cryptographic ratchet library")
|
||||||
__url__ = "https://github.com/poljar/python-olm"
|
__url__ = "https://github.com/poljar/python-olm"
|
||||||
__version__ = "0.1"
|
__version__ = "3.0.0"
|
||||||
__author__ = "Damir Jelić"
|
__author__ = "Damir Jelić"
|
||||||
__author_email__ = "poljar@termina.org.uk"
|
__author_email__ = "poljar@termina.org.uk"
|
||||||
__license__ = "Apache 2.0"
|
__license__ = "Apache 2.0"
|
||||||
|
|
Loading…
Reference in a new issue