From ede4e8109e716575fd91dd7a9eb47071c11ee3e6 Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 18 Apr 2023 17:06:46 +0000 Subject: [PATCH] Release 1.113.0 --- CHANGELOG.md | 45 +++++++++++------------ 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-server/Cargo.toml | 2 +- node/constants.js | 1 + node/lib/constants.ts | 1 + package.json | 2 +- release-date.in | 2 +- 12 files changed, 37 insertions(+), 36 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0ef8b5fa5..0bc466860b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,37 +1,36 @@ # Changelog -## [Unreleased] +## [1.113.0] - 2023-04-18 -### Changes -- Increase MSRV to 1.65.0. #4236 -- Remove upper limit on the attachment size. #4253 -- Update rPGP to 0.10.1. #4236 -- Compress `mime_headers` column with HTML emails stored in database -- Strip BIDI characters in system messages, files, group names and contact names #3479 -- maybe_add_time_based_warnings(): Use release date instead of the provider DB update one -- Remove confusing log line "ignoring unsolicited response Recent(…)" #3934 -- Cleanly terminate deltachat-rpc-server. - I.e. on EOF in stdin. -- Refactorings #4317 -- Add JSON-RPC API `can_send()`. +### Added +- New JSON-RPC API `can_send()`. - New `dc_get_next_msgs()` and `dc_wait_next_msgs()` C APIs. New `get_next_msgs()` and `wait_next_msgs()` JSON-RPC API. These APIs can be used by bots to get all unprocessed messages in the order of their arrival and wait for them without relying on events. -- Async Python API `get_fresh_messages_in_arrival_order()` is deprecated - in favor of `get_next_msgs()` and `wait_next_msgs()`. - New Python bindings API `Account.wait_next_incoming_message()`. - New Python bindings APIs `Message.is_from_self()` and `Message.is_from_device()`. -- Remove metadata from avatars and JPEG images before sending #4037 -- Reduce + recode images to JPEG if they are > 500K in size #4037 -- Gracefully terminate deltachat-rpc-server on ctrl-c and SIGTERM. + +### Changes +- Increase MSRV to 1.65.0. #4236 +- Remove upper limit on the attachment size. #4253 +- Update rPGP to 0.10.1. #4236 +- Compress HTML emails stored in the `mime_headers` column of the database. +- Strip BIDI characters in system messages, files, group names and contact names. #3479 +- Use release date instead of the provider database update date in `maybe_add_time_based_warnings()`. +- Gracefully terminate `deltachat-rpc-server` on Ctrl+C (`SIGINT`), `SIGTERM` and EOF. +- Async Python API `get_fresh_messages_in_arrival_order()` is deprecated + in favor of `get_next_msgs()` and `wait_next_msgs()`. +- Remove metadata from avatars and JPEG images before sending. #4037 +- Recode PNG and other supported image formats to JPEG if they are > 500K in size. #4037 ### Fixes +- Don't let blocking be bypassed using groups. #4316 +- Show a warning if quota list is empty. #4261 +- Do not reset status on other devices when sending signed reaction messages. #3692 +- Update `accounts.toml` atomically. - Fix python bindings README documentation on installing the bindings from source. -- Show a warning if quota list is empty #4261 -- Update "accounts.toml" atomically -- Don't let blocking be bypassed using groups #4316 -- Do not reset status on other devices when sending signed reaction messages #3692 +- Remove confusing log line "ignoring unsolicited response Recent(…)". #3934 ## [1.112.7] - 2023-04-17 @@ -2403,7 +2402,6 @@ For a full list of changes, please see our closed Pull Requests: https://github.com/deltachat/deltachat-core-rust/pulls?q=is%3Apr+is%3Aclosed -[unreleased]: https://github.com/deltachat/deltachat-core-rust/compare/v1.112.5...HEAD [1.111.0]: https://github.com/deltachat/deltachat-core-rust/compare/v1.110.0...v1.111.0 [1.112.0]: https://github.com/deltachat/deltachat-core-rust/compare/v1.111.0...v1.112.0 [1.112.1]: https://github.com/deltachat/deltachat-core-rust/compare/v1.112.0...v1.112.1 @@ -2413,3 +2411,4 @@ https://github.com/deltachat/deltachat-core-rust/pulls?q=is%3Apr+is%3Aclosed [1.112.5]: https://github.com/deltachat/deltachat-core-rust/compare/v1.112.4...v1.112.5 [1.112.6]: https://github.com/deltachat/deltachat-core-rust/compare/v1.112.5...v1.112.6 [1.112.7]: https://github.com/deltachat/deltachat-core-rust/compare/v1.112.6...v1.112.7 +[1.113.0]: https://github.com/deltachat/deltachat-core-rust/compare/v1.112.7...v1.113.0 diff --git a/Cargo.lock b/Cargo.lock index 365145795b..6bc23f2f80 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1144,7 +1144,7 @@ dependencies = [ [[package]] name = "deltachat" -version = "1.112.7" +version = "1.113.0" dependencies = [ "ansi_term", "anyhow", @@ -1218,7 +1218,7 @@ dependencies = [ [[package]] name = "deltachat-jsonrpc" -version = "1.112.7" +version = "1.113.0" dependencies = [ "anyhow", "async-channel", @@ -1241,7 +1241,7 @@ dependencies = [ [[package]] name = "deltachat-repl" -version = "1.112.7" +version = "1.113.0" dependencies = [ "ansi_term", "anyhow", @@ -1256,7 +1256,7 @@ dependencies = [ [[package]] name = "deltachat-rpc-server" -version = "1.112.7" +version = "1.113.0" dependencies = [ "anyhow", "deltachat", @@ -1281,7 +1281,7 @@ dependencies = [ [[package]] name = "deltachat_ffi" -version = "1.112.7" +version = "1.113.0" dependencies = [ "anyhow", "deltachat", diff --git a/Cargo.toml b/Cargo.toml index 961da7f1c7..60ba547a20 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat" -version = "1.112.7" +version = "1.113.0" edition = "2021" license = "MPL-2.0" rust-version = "1.65" diff --git a/deltachat-ffi/Cargo.toml b/deltachat-ffi/Cargo.toml index 674dbbe938..87e59d5195 100644 --- a/deltachat-ffi/Cargo.toml +++ b/deltachat-ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat_ffi" -version = "1.112.7" +version = "1.113.0" description = "Deltachat FFI" edition = "2018" readme = "README.md" diff --git a/deltachat-jsonrpc/Cargo.toml b/deltachat-jsonrpc/Cargo.toml index 205ec6622d..9c54cff1f6 100644 --- a/deltachat-jsonrpc/Cargo.toml +++ b/deltachat-jsonrpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-jsonrpc" -version = "1.112.7" +version = "1.113.0" description = "DeltaChat JSON-RPC API" edition = "2021" default-run = "deltachat-jsonrpc-server" diff --git a/deltachat-jsonrpc/typescript/package.json b/deltachat-jsonrpc/typescript/package.json index 22f28e5816..eac53436af 100644 --- a/deltachat-jsonrpc/typescript/package.json +++ b/deltachat-jsonrpc/typescript/package.json @@ -55,5 +55,5 @@ }, "type": "module", "types": "dist/deltachat.d.ts", - "version": "1.112.7" + "version": "1.113.0" } diff --git a/deltachat-repl/Cargo.toml b/deltachat-repl/Cargo.toml index 7487bd32a9..90443a222f 100644 --- a/deltachat-repl/Cargo.toml +++ b/deltachat-repl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-repl" -version = "1.112.7" +version = "1.113.0" license = "MPL-2.0" edition = "2021" diff --git a/deltachat-rpc-server/Cargo.toml b/deltachat-rpc-server/Cargo.toml index 8e4f9ac9ef..fbe7c1dcad 100644 --- a/deltachat-rpc-server/Cargo.toml +++ b/deltachat-rpc-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-rpc-server" -version = "1.112.7" +version = "1.113.0" description = "DeltaChat JSON-RPC server" edition = "2021" readme = "README.md" diff --git a/node/constants.js b/node/constants.js index 7752a3dd00..3c88165023 100644 --- a/node/constants.js +++ b/node/constants.js @@ -151,6 +151,7 @@ module.exports = { DC_STR_AEAP_EXPLANATION_AND_LINK: 123, DC_STR_ARCHIVEDCHATS: 40, DC_STR_AUDIO: 11, + DC_STR_BACKUP_TRANSFER_MSG_BODY: 163, DC_STR_BACKUP_TRANSFER_QR: 162, DC_STR_BAD_TIME_MSG_BODY: 85, DC_STR_BROADCAST_LIST: 115, diff --git a/node/lib/constants.ts b/node/lib/constants.ts index 2452ce7546..8b6a61ebb5 100644 --- a/node/lib/constants.ts +++ b/node/lib/constants.ts @@ -151,6 +151,7 @@ export enum C { DC_STR_AEAP_EXPLANATION_AND_LINK = 123, DC_STR_ARCHIVEDCHATS = 40, DC_STR_AUDIO = 11, + DC_STR_BACKUP_TRANSFER_MSG_BODY = 163, DC_STR_BACKUP_TRANSFER_QR = 162, DC_STR_BAD_TIME_MSG_BODY = 85, DC_STR_BROADCAST_LIST = 115, diff --git a/package.json b/package.json index cc84325bab..1e2e82366b 100644 --- a/package.json +++ b/package.json @@ -60,5 +60,5 @@ "test:mocha": "mocha -r esm node/test/test.js --growl --reporter=spec --bail --exit" }, "types": "node/dist/index.d.ts", - "version": "1.112.7" + "version": "1.113.0" } diff --git a/release-date.in b/release-date.in index 5dc1be6bad..98684ad685 100644 --- a/release-date.in +++ b/release-date.in @@ -1 +1 @@ -2023-04-04 \ No newline at end of file +2023-04-18 \ No newline at end of file