From 3efd94914c2b94b502889eaae46eb323edb02777 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 29 Mar 2025 16:40:10 +0000 Subject: [PATCH] chore(release): prepare for 1.158.0 --- CHANGELOG.md | 50 +++++++++++++++++++ Cargo.lock | 10 ++-- Cargo.toml | 2 +- deltachat-ffi/Cargo.toml | 2 +- deltachat-jsonrpc/Cargo.toml | 2 +- deltachat-jsonrpc/typescript/package.json | 2 +- deltachat-repl/Cargo.toml | 2 +- deltachat-rpc-client/pyproject.toml | 2 +- deltachat-rpc-server/Cargo.toml | 2 +- deltachat-rpc-server/npm-package/package.json | 2 +- python/pyproject.toml | 2 +- release-date.in | 2 +- 12 files changed, 65 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2c96f5d0..5fec4d0eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,54 @@ # Changelog +## [1.158.0] - 2025-03-29 + +### API-Changes + +- deltachat-rpc-client: Accept `Account` as `Account.create_contact()` argument. +- Rust: Add `ContactId.set_name()`. +- JSON-RPC: Rename parameter name in `get_webxdc_href` to `info_msg_id` to reduce confusion potential ([#6681](https://github.com/chatmail/core/pull/6681)). + +### Features / Changes + +- Nicer configuration error ([#6684](https://github.com/chatmail/core/pull/6684)). +- securejoin: Do not create 1:1 chat on Alice's side until `vc-request-with-auth`. +- Understandable error message when accounts.lock can't be locked ([#6695](https://github.com/chatmail/core/pull/6695)). +- Simplify e2ee decision logic, remove majority vote. +- Stop saving txt_raw. + +### Fixes + +- Do not fail to send the message if some keys are missing. +- Synchronize contact name changes. +- Move group name timestamp update up in create_send_msg_jobs(). +- Fixes for transport JSON-RPC ([#6680](https://github.com/chatmail/core/pull/6680)). + +### Build system + +- deltachat-rpc-client: Move development dependencies from tox.ini to pyproject.toml. +- Update resolve-conf from 0.7.0 to 0.7.1. + +### Refactor + +- Do not convert SQL arguments to `String` unnecessarily. +- Factor out `update_chat_names()`. +- Use `created_timestamp()` instead of duplicating its code ([#6692](https://github.com/chatmail/core/pull/6692)). +- Use `chat_id.get_timestamp()` instead of duplicating its code ([#6691](https://github.com/chatmail/core/pull/6691)). +- Move `mark_recipients_as_verified()` call out of `has_verified_encryption()`. +- Move `proxy_config` out of `ConfiguredLoginParam` ([#6712](https://github.com/chatmail/core/pull/6712)). + +### Tests + +- Use vCard in TestContext.add_or_lookup_contact(). +- Remove test_group_with_removed_message_id. +- Use add_or_lookup_email_contact() in get_chat(). +- Use add_or_lookup_email_contact in test_setup_contact_ex. +- Use vCards more in Python tests. +- Use TestContextManager in more tests. +- Use vCards to create contacts in more Rust tests. +- Set chat name multiple times in a row. +- Online test for renaming the group multiple times. + ## [1.157.3] - 2025-03-19 ### API-Changes @@ -6051,3 +6100,4 @@ https://github.com/chatmail/core/pulls?q=is%3Apr+is%3Aclosed [1.157.1]: https://github.com/chatmail/core/compare/v1.157.0..v1.157.1 [1.157.2]: https://github.com/chatmail/core/compare/v1.157.1..v1.157.2 [1.157.3]: https://github.com/chatmail/core/compare/v1.157.2..v1.157.3 +[1.158.0]: https://github.com/chatmail/core/compare/v1.157.3..v1.158.0 diff --git a/Cargo.lock b/Cargo.lock index ac91cb325..f8a6d77bf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1266,7 +1266,7 @@ dependencies = [ [[package]] name = "deltachat" -version = "1.157.3" +version = "1.158.0" dependencies = [ "anyhow", "async-broadcast", @@ -1377,7 +1377,7 @@ dependencies = [ [[package]] name = "deltachat-jsonrpc" -version = "1.157.3" +version = "1.158.0" dependencies = [ "anyhow", "async-channel 2.3.1", @@ -1400,7 +1400,7 @@ dependencies = [ [[package]] name = "deltachat-repl" -version = "1.157.3" +version = "1.158.0" dependencies = [ "anyhow", "deltachat", @@ -1416,7 +1416,7 @@ dependencies = [ [[package]] name = "deltachat-rpc-server" -version = "1.157.3" +version = "1.158.0" dependencies = [ "anyhow", "deltachat", @@ -1445,7 +1445,7 @@ dependencies = [ [[package]] name = "deltachat_ffi" -version = "1.157.3" +version = "1.158.0" dependencies = [ "anyhow", "deltachat", diff --git a/Cargo.toml b/Cargo.toml index effea307c..f6d4a75d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat" -version = "1.157.3" +version = "1.158.0" edition = "2021" license = "MPL-2.0" rust-version = "1.81" diff --git a/deltachat-ffi/Cargo.toml b/deltachat-ffi/Cargo.toml index 2922823a6..21c6de2a6 100644 --- a/deltachat-ffi/Cargo.toml +++ b/deltachat-ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat_ffi" -version = "1.157.3" +version = "1.158.0" description = "Deltachat FFI" edition = "2018" readme = "README.md" diff --git a/deltachat-jsonrpc/Cargo.toml b/deltachat-jsonrpc/Cargo.toml index 692e67b4a..b1928fc80 100644 --- a/deltachat-jsonrpc/Cargo.toml +++ b/deltachat-jsonrpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-jsonrpc" -version = "1.157.3" +version = "1.158.0" description = "DeltaChat JSON-RPC API" edition = "2021" license = "MPL-2.0" diff --git a/deltachat-jsonrpc/typescript/package.json b/deltachat-jsonrpc/typescript/package.json index e6f40d4a7..03394d0c6 100644 --- a/deltachat-jsonrpc/typescript/package.json +++ b/deltachat-jsonrpc/typescript/package.json @@ -54,5 +54,5 @@ }, "type": "module", "types": "dist/deltachat.d.ts", - "version": "1.157.3" + "version": "1.158.0" } diff --git a/deltachat-repl/Cargo.toml b/deltachat-repl/Cargo.toml index ffab06eda..9ad4cdf38 100644 --- a/deltachat-repl/Cargo.toml +++ b/deltachat-repl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-repl" -version = "1.157.3" +version = "1.158.0" license = "MPL-2.0" edition = "2021" repository = "https://github.com/chatmail/core" diff --git a/deltachat-rpc-client/pyproject.toml b/deltachat-rpc-client/pyproject.toml index 587180924..2a7f126ad 100644 --- a/deltachat-rpc-client/pyproject.toml +++ b/deltachat-rpc-client/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "deltachat-rpc-client" -version = "1.157.3" +version = "1.158.0" description = "Python client for Delta Chat core JSON-RPC interface" classifiers = [ "Development Status :: 5 - Production/Stable", diff --git a/deltachat-rpc-server/Cargo.toml b/deltachat-rpc-server/Cargo.toml index 4dd75a3bf..0dc8505db 100644 --- a/deltachat-rpc-server/Cargo.toml +++ b/deltachat-rpc-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-rpc-server" -version = "1.157.3" +version = "1.158.0" description = "DeltaChat JSON-RPC server" edition = "2021" readme = "README.md" diff --git a/deltachat-rpc-server/npm-package/package.json b/deltachat-rpc-server/npm-package/package.json index c1a07a764..f91969010 100644 --- a/deltachat-rpc-server/npm-package/package.json +++ b/deltachat-rpc-server/npm-package/package.json @@ -15,5 +15,5 @@ }, "type": "module", "types": "index.d.ts", - "version": "1.157.3" + "version": "1.158.0" } diff --git a/python/pyproject.toml b/python/pyproject.toml index 815ddfe4f..c363c4266 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "deltachat" -version = "1.157.3" +version = "1.158.0" description = "Python bindings for the Delta Chat Core library using CFFI against the Rust-implemented libdeltachat" readme = "README.rst" requires-python = ">=3.8" diff --git a/release-date.in b/release-date.in index 99a4b6b14..207bf500b 100644 --- a/release-date.in +++ b/release-date.in @@ -1 +1 @@ -2025-03-19 \ No newline at end of file +2025-03-29 \ No newline at end of file