From a159a73e1faeb1a3a464a1d892dd40b8317c6eea Mon Sep 17 00:00:00 2001 From: beltram Date: Mon, 4 Dec 2023 15:08:25 +0100 Subject: [PATCH] build: release v1.0.0-rc.20 --- CHANGELOG.md | 22 ++++++++++++++++++++++ CHANGELOG.tpl | 14 +++++++++++++- crypto-attributes/Cargo.toml | 2 +- crypto-ffi/Cargo.toml | 6 +++--- crypto-ffi/bindings/gradle.properties | 2 +- crypto/Cargo.toml | 12 ++++++------ interop/Cargo.toml | 2 +- keystore-dump/Cargo.toml | 2 +- keystore/Cargo.toml | 2 +- mls-provider/Cargo.toml | 6 +++--- package.json | 2 +- 11 files changed, 53 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24e6a20f2d..08f0fc04dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,28 @@ Platform support legends: * Note: the papercuts will majorly be with the build process. Things might be very rough to integrate as no polish at all has been given yet. * ❌ = tier 3 support. It doesn't work just yet, but we plan to make it work. +## [1.0.0-rc.20] - 2023-12-04 + +
+ git-conventional changelog + +### Features + +- Better errors: 'ImplementationError' was way too often used as a fallback when the developer was too lazy to create a new error. This tries to cure that, especially with e2ei errors. It also tries to distinguish client errors from internal errors +- [**breaking**] Simplify API of 'add_clients_to_conversation' by not requiring to repeat the ClientId of the new members alongside their KeyPackage when the former can now be extracted from the latter +- [**breaking**] Introduce handle & team in the client dpop token + +### Testing + +- Test DB migration from 0.9.2 + +
+ +* feat!: `addClientToConversation` API has been simplified. It just requires bare `KeyPackage`s without the `ClientId` +* feat!(e2ei): better errors ; almost got rid of `ImplementationError` used too much so far. This should help debugging +* feat!(e2ei): added `Team` and `Handle` in the client DPoP token +* build: bumped tls_codec from 0.3.0 to 0.4.0 + ## [1.0.0-rc.19] - 2023-11-20
diff --git a/CHANGELOG.tpl b/CHANGELOG.tpl index 71195bf4b7..c9623ade0d 100644 --- a/CHANGELOG.tpl +++ b/CHANGELOG.tpl @@ -7,11 +7,23 @@ Platform support legends: * Note: the papercuts will majorly be with the build process. Things might be very rough to integrate as no polish at all has been given yet. * ❌ = tier 3 support. It doesn't work just yet, but we plan to make it work. +## [1.0.0-rc.20] - 2023-12-04 + +
+ git-conventional changelog +{{git-cliff tag="v1.0.0-rc.20" unreleased=true}} +
+ +* feat!: `addClientToConversation` API has been simplified. It just requires bare `KeyPackage`s without the `ClientId` +* feat!(e2ei): better errors ; almost got rid of `ImplementationError` used too much so far. This should help debugging +* feat!(e2ei): added `Team` and `Handle` in the client DPoP token +* build: bumped tls_codec from 0.3.0 to 0.4.0 + ## [1.0.0-rc.19] - 2023-11-20
git-conventional changelog -{{git-cliff tag="v1.0.0-rc.19" unreleased=true}} +{{git-cliff tag="v1.0.0-rc.19"}}
* feat!(e2ei): ~~`get_user_identities`~~ becomes `get_device_identities` and a new `get_user_identities` added to list identities in a group belonging to the same user diff --git a/crypto-attributes/Cargo.toml b/crypto-attributes/Cargo.toml index f4a03ff2ca..f17d88ff60 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.0-rc.19" +version = "1.0.0-rc.20" edition = "2021" license = "GPL-3.0-only" diff --git a/crypto-ffi/Cargo.toml b/crypto-ffi/Cargo.toml index 5c95f65bfd..1390bfcf43 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.0-rc.19" +version = "1.0.0-rc.20" edition = "2021" license = "GPL-3.0-only" publish = false @@ -35,7 +35,7 @@ sha2 = { version = "0.10", features = ["force-soft"] } [target.'cfg(not(target_family = "wasm"))'.dependencies] # UniFFI - Android + iOS bindings - Runtime support uniffi = { workspace = true } -core-crypto = { version = "^1.0.0-rc.19", path = "../crypto", features = ["uniffi"] } +core-crypto = { version = "^1.0.0-rc.20", path = "../crypto", features = ["uniffi"] } [target.wasm32-unknown-unknown.dependencies] wasm-bindgen = "0.2" @@ -46,7 +46,7 @@ serde = { version = "1.0", features = ["derive"] } js-sys = "0.3" web-sys = "0.3" strum = "0.25" -core-crypto = { version = "^1.0.0-rc.19", path = "../crypto" } +core-crypto = { version = "^1.0.0-rc.20", path = "../crypto" } # UniFFI - Android + iOS bindings - Build support diff --git a/crypto-ffi/bindings/gradle.properties b/crypto-ffi/bindings/gradle.properties index 854b6e3c72..bcba0cda1e 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.0-rc.19 +VERSION_NAME=1.0.0-rc.20 SONATYPE_HOST=DEFAULT SONATYPE_AUTOMATIC_RELEASE=true RELEASE_SIGNING_ENABLED=true diff --git a/crypto/Cargo.toml b/crypto/Cargo.toml index 96593a7a13..a493a05a81 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.0-rc.19" +version = "1.0.0-rc.20" edition = "2021" license = "GPL-3.0-only" publish = false @@ -75,13 +75,13 @@ rexie = { version = "0.4", optional = true } base64 = { version = "0.21", optional = true } [target.'cfg(not(target_os = "ios"))'.dependencies] -core-crypto-keystore = { version = "^1.0.0-rc.18", path = "../keystore" } +core-crypto-keystore = { version = "^1.0.0-rc.19", path = "../keystore" } [target.'cfg(target_os = "ios")'.dependencies] -core-crypto-keystore = { version = "^1.0.0-rc.19", path = "../keystore", features = ["ios-wal-compat"] } +core-crypto-keystore = { version = "^1.0.0-rc.20", path = "../keystore", features = ["ios-wal-compat"] } [dependencies.mls-crypto-provider] -version = "^1.0.0-rc.19" +version = "^1.0.0-rc.20" path = "../mls-provider" [dev-dependencies] @@ -110,7 +110,7 @@ tag = "v1.2.2-pre.core-crypto-0.7.0" version = "=0.9.2" [dev-dependencies.core-crypto-keystore] -version = "^1.0.0-rc.19" +version = "^1.0.0-rc.20" path = "../keystore" features = ["dummy-entity"] @@ -123,7 +123,7 @@ version = "0.5" features = ["async_std", "html_reports"] [dev-dependencies.core-crypto-attributes] -version = "^1.0.0-rc.19" +version = "^1.0.0-rc.20" path = "../crypto-attributes" [package.metadata.wasm-pack.profile.release] diff --git a/interop/Cargo.toml b/interop/Cargo.toml index 6c19b3f197..56f5f261b3 100644 --- a/interop/Cargo.toml +++ b/interop/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "interop" -version = "1.0.0-rc.18" +version = "1.0.0-rc.19" edition = "2021" license = "GPL-3.0-only" diff --git a/keystore-dump/Cargo.toml b/keystore-dump/Cargo.toml index c93091f9f7..df380ad612 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 = "0.0.0-rc.14" +version = "0.0.0-rc.15" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/keystore/Cargo.toml b/keystore/Cargo.toml index df1d407637..b0d37f637d 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.0-rc.19" +version = "1.0.0-rc.20" edition = "2021" license = "GPL-3.0-only" publish = false diff --git a/mls-provider/Cargo.toml b/mls-provider/Cargo.toml index b640473a6c..dfcb1575a7 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.0-rc.19" +version = "1.0.0-rc.20" edition = "2021" license = "GPL-3.0-only" publish = false @@ -42,10 +42,10 @@ version = "0.10" features = ["x25519", "p256", "p384", "xyber768d00", "serde_impls"] [target.'cfg(not(target_os = "ios"))'.dependencies] -core-crypto-keystore = { version = "^1.0.0-rc.19", path = "../keystore" } +core-crypto-keystore = { version = "^1.0.0-rc.20", path = "../keystore" } [target.'cfg(target_os = "ios")'.dependencies] -core-crypto-keystore = { version = "^1.0.0-rc.19", path = "../keystore", features = ["ios-wal-compat"] } +core-crypto-keystore = { version = "^1.0.0-rc.20", path = "../keystore", features = ["ios-wal-compat"] } [dev-dependencies] wasm-bindgen-test = "0.3" diff --git a/package.json b/package.json index 51d1495991..ebd6e73392 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wireapp/core-crypto", - "version": "1.0.0-rc.19", + "version": "1.0.0-rc.20", "description": "CoreCrypto bindings for the Web", "type": "module", "module": "platforms/web/corecrypto.js",