diff --git a/CHANGELOG.md b/CHANGELOG.md index b0ef8b5fa..0bc466860 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,37 +1,36 @@ # Changelog -## [Unreleased] +## [1.113.0] - 2023-04-18 + +### 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. +- New Python bindings API `Account.wait_next_incoming_message()`. +- New Python bindings APIs `Message.is_from_self()` and `Message.is_from_device()`. ### 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()`. -- 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. +- 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()`. -- 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. +- 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 365145795..6bc23f2f8 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 961da7f1c..60ba547a2 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 674dbbe93..87e59d519 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 205ec6622..9c54cff1f 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 22f28e581..eac53436a 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 7487bd32a..90443a222 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 8e4f9ac9e..fbe7c1dca 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 7752a3dd0..3c8816502 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 2452ce754..8b6a61ebb 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 cc84325ba..1e2e82366 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 5dc1be6ba..98684ad68 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