diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a639e73db..d4e997e85f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,49 @@ # Changelog +## v1.1.0 - 2024-11-12 + +### Highlights + +- Transactions are now exposed on `CoreCrypto`, opening the door to substantially improve performance by batching operations. + +### Features + +- implement set_data() and get_data() on context [WPB-10919] (7e88695) +- implement in-memory cache on transaction (427e0e0) +- create a keystore transaction struct to be used in the context (4c3f487) +- add decode cli tool (6f83796) +- decouple idb version from crate version (06312fe) +- implement idb migration for all remaining entities [WPB-10144] (545b376) +- implement idb migration for one entity [WPB-10144] (32fd279) +- change aad format [WPB-10108] (8e0b7e5) + +### Bug Fixes + +- avoid spaces in kotlin test names (1e53e64) +- EntityFindParams SQL clause ordering (a768db4) + +### Documentation + +- README.md: add a note regarding sed on macOS (b8f2f55) +- README.md: replace xtask usage with the update-versions.sh script (59f2530) +- README.md: update release instructions (b63f17d) +- regenerate CHANGELOG.md with plain git-cliff (e02621f) +- remove CHANGELOG.tpl (8a47ba5) +- update README.md (3eba7b3) + +### Testing + +- add js binding test verifying that we log errors thrown by the logger (1b959e2) +- add js bindning wrapper test for logger (0005d1d) +- fix jvm tests [WPB-11668] (98ce97e) +- add test for upgrading from basic to x509 credentials (9da3b88) +- test migrations for all entities (48ea746) +- factor out random method into its own trait (8fd49b0) +- interop: make sure that there exists platforms/web/index.html (d9fe1c9) +- crypto-ffi: move index.html contents into a separate file (2dab8bf) +- include E2eiEnrollment and MlsEpochEncryptionKeyPair in tests (0e5a466) + + ## v1.0.2 - 2024-08-16 ### Bug Fixes diff --git a/Cargo.lock b/Cargo.lock index dd3d016b50..7200049005 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -892,7 +892,7 @@ dependencies = [ [[package]] name = "core-crypto" -version = "1.0.2" +version = "1.1.0" dependencies = [ "async-fs", "async-lock", @@ -902,7 +902,7 @@ dependencies = [ "base64 0.22.1", "cfg-if", "core-crypto-attributes", - "core-crypto-keystore 1.0.2", + "core-crypto-keystore 1.1.0", "criterion", "cryptobox", "derive_more", @@ -951,7 +951,7 @@ dependencies = [ [[package]] name = "core-crypto-attributes" -version = "1.0.2" +version = "1.1.0" dependencies = [ "proc-macro2", "quote", @@ -960,7 +960,7 @@ dependencies = [ [[package]] name = "core-crypto-ffi" -version = "1.0.2" +version = "1.1.0" dependencies = [ "async-lock", "async-trait", @@ -1020,7 +1020,7 @@ dependencies = [ [[package]] name = "core-crypto-keystore" -version = "1.0.2" +version = "1.1.0" dependencies = [ "aes-gcm", "async-fs", @@ -1030,7 +1030,7 @@ dependencies = [ "blocking", "cfg-if", "core-crypto-keystore 1.0.0", - "core-crypto-keystore 1.0.2", + "core-crypto-keystore 1.1.0", "core-foundation 0.10.0", "criterion", "fluvio-wasm-timer", @@ -2399,7 +2399,7 @@ dependencies = [ [[package]] name = "interop" -version = "1.0.2" +version = "1.1.0" dependencies = [ "async-trait", "base64 0.22.1", @@ -2558,13 +2558,13 @@ dependencies = [ [[package]] name = "keystore-dump" -version = "1.0.2" +version = "1.1.0" dependencies = [ "chrono", "clap", "color-eyre", "core-crypto", - "core-crypto-keystore 1.0.2", + "core-crypto-keystore 1.1.0", "hex", "openmls", "openmls_basic_credential", @@ -2741,7 +2741,7 @@ dependencies = [ [[package]] name = "mls-crypto-provider" -version = "1.0.2" +version = "1.1.0" dependencies = [ "aes-gcm", "async-lock", @@ -2749,7 +2749,7 @@ dependencies = [ "async-trait", "cfg-if", "chacha20poly1305", - "core-crypto-keystore 1.0.2", + "core-crypto-keystore 1.1.0", "ecdsa", "ed25519-dalek", "fluvio-wasm-timer", diff --git a/crypto-attributes/Cargo.toml b/crypto-attributes/Cargo.toml index 229f547a67..e93790458f 100644 --- a/crypto-attributes/Cargo.toml +++ b/crypto-attributes/Cargo.toml @@ -2,7 +2,7 @@ name = "core-crypto-attributes" description = "Macros for core-crypto" repository = "https://github.com/wireapp/core-crypto" -version = "1.0.2" +version = "1.1.0" edition = "2021" license = "GPL-3.0-only" diff --git a/crypto-ffi/Cargo.toml b/crypto-ffi/Cargo.toml index 9ba679e1e4..0ed52b4d98 100644 --- a/crypto-ffi/Cargo.toml +++ b/crypto-ffi/Cargo.toml @@ -2,7 +2,7 @@ name = "core-crypto-ffi" description = "Platform-specific bindings (Android, iOS, WASM) for CoreCrypto" repository = "https://github.com/wireapp/core-crypto" -version = "1.0.2" +version = "1.1.0" edition = "2021" license = "GPL-3.0-only" publish = false diff --git a/crypto-ffi/bindings/gradle.properties b/crypto-ffi/bindings/gradle.properties index c825864c6a..57c48dd396 100644 --- a/crypto-ffi/bindings/gradle.properties +++ b/crypto-ffi/bindings/gradle.properties @@ -15,7 +15,7 @@ kotlin.code.style=official # gradle-maven-publish configuration GROUP=com.wire -VERSION_NAME=1.0.2 +VERSION_NAME=1.1.0 SONATYPE_HOST=DEFAULT SONATYPE_AUTOMATIC_RELEASE=true RELEASE_SIGNING_ENABLED=true diff --git a/crypto/Cargo.toml b/crypto/Cargo.toml index a99890c377..200cdb6cc5 100644 --- a/crypto/Cargo.toml +++ b/crypto/Cargo.toml @@ -2,7 +2,7 @@ name = "core-crypto" description = "Abstraction over OpenMLS with persistent keystore" repository = "https://github.com/wireapp/core-crypto" -version = "1.0.2" +version = "1.1.0" edition = "2021" license = "GPL-3.0-only" publish = false diff --git a/interop/Cargo.toml b/interop/Cargo.toml index a9d66ce438..1a63dcbc1c 100644 --- a/interop/Cargo.toml +++ b/interop/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "interop" -version = "1.0.2" +version = "1.1.0" edition = "2021" license = "GPL-3.0-only" diff --git a/keystore-dump/Cargo.toml b/keystore-dump/Cargo.toml index 465d1a2f08..a4ae3a0456 100644 --- a/keystore-dump/Cargo.toml +++ b/keystore-dump/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "keystore-dump" description = "Dumps a keystore to JSON on stdout" -version = "1.0.2" +version = "1.1.0" edition = "2021" license = "GPL-3.0-only" diff --git a/keystore/Cargo.toml b/keystore/Cargo.toml index 2cac19d24e..7eaf6925d9 100644 --- a/keystore/Cargo.toml +++ b/keystore/Cargo.toml @@ -2,7 +2,7 @@ name = "core-crypto-keystore" description = "Encrypted keystore with support for OpenMLS and Proteus" repository = "https://github.com/wireapp/core-crypto" -version = "1.0.2" +version = "1.1.0" edition = "2021" license = "GPL-3.0-only" publish = false diff --git a/mls-provider/Cargo.toml b/mls-provider/Cargo.toml index 25dfaa6c89..c912f35dce 100644 --- a/mls-provider/Cargo.toml +++ b/mls-provider/Cargo.toml @@ -2,7 +2,7 @@ name = "mls-crypto-provider" description = "MLS Crypto Provider wrapping core-crypto-keystore" repository = "https://github.com/wireapp/core-crypto" -version = "1.0.2" +version = "1.1.0" edition = "2021" license = "GPL-3.0-only" publish = false diff --git a/package.json b/package.json index c2482324d5..bb60d3967e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wireapp/core-crypto", - "version": "1.0.2", + "version": "1.1.0", "description": "CoreCrypto bindings for the Web", "type": "module", "module": "platforms/web/corecrypto.js", @@ -43,4 +43,4 @@ "ts-loader": "^9.5.1", "typescript": "^5.3.3" } -} \ No newline at end of file +}