From 1895f4c556b416cbb73caa9f8cbfa999a1fd507d Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 14 Jan 2024 00:32:55 +0000 Subject: [PATCH] chore(release): prepare for 1.133.0 --- CHANGELOG.md | 57 +++++++++++++++++++++++ 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 +- package.json | 2 +- release-date.in | 2 +- scripts/set_core_version.py | 2 +- 11 files changed, 71 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51410a6d8..22bf99eb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,61 @@ # Changelog +## [1.133.0] - 2024-01-14 + +### Features / Changes + +- Securejoin protocol implementation refinements + - Track forward and backward verification separately ([#5089](https://github.com/deltachat/deltachat-core-rust/pull/5089)) to avoid inconsistent states. + - Mark 1:1 chat as verified for Bob early. 1:1 chat with Alice is verified as soon as Alice's key is verified rather than at the end of the protocol. +- Put Message-ID into hidden headers and take it from there on receiver ([#4798](https://github.com/deltachat/deltachat-core-rust/pull/4798)). This works around servers which generate their own Message-ID and overwrite the one generated by Delta Chat. +- deltachat-repl: Enable INFO logging by default and add timestamps. +- Add `ConfigSynced` (`DC_EVENT_CONFIG_SYNCED`) event which is emitted when configuration is changed via synchronization message or synchronization message for configuration is sent. UI may refresh elments based on the configuration key which is a part of the event. +- Sync contact creation/rename across devices ([#5163](https://github.com/deltachat/deltachat-core-rust/pull/5163)). +- Encrypt MDNs ([#5175](https://github.com/deltachat/deltachat-core-rust/pull/5175)). +- Only try to configure non-strict TLS checks if explicitly set ([#5181](https://github.com/deltachat/deltachat-core-rust/pull/5181)). + +### Build system + +- Use released version of iroh 0.4.2 for "setup second device" feature. + +### CI + +- Update to Rust 1.75.0. +- Downgrade `chai` from 4.4.0 to 4.3.10. + +### Documentation + +- Add a link to autoconfig RFC draft. +- Update securejoin link in `standards.md` from to . +- Restore "Constants" page in Doxygen >=1.9.8 + +### Fixes + +- imap: Limit the rate of LOGIN attempts rather than connection attempts. This is to avoid having to wait for rate limiter right after switching from a bad or offline network to a working network while still guarding against reconnection loop. +- Do not ignore `peerstate.save_to_db()` errors. +- securejoin: Mark 1:1s as protected regardless of the Config::VerifiedOneOnOneChats. +- Delete received outgoing messages from SMTP queue ([#5115](https://github.com/deltachat/deltachat-core-rust/pull/5115)). +- imap: Fail fast on `LIST` errors to avoid busy loop when connection is lost. +- Split SMTP jobs already in `chat::create_send_msg_jobs()` ([#5115](https://github.com/deltachat/deltachat-core-rust/pull/5115)). +- Do not remove contents from unencrypted [Schleuder](https://schleuder.org/) mailing lists messages. +- Reset message error when scheduling resending ([#5119](https://github.com/deltachat/deltachat-core-rust/pull/5119)). +- Emit events more reliably when starting and stopping I/O ([#5101](https://github.com/deltachat/deltachat-core-rust/pull/5101)). +- Fix timestamp of chat protection info message for correct message ordering after restoring a backup ([#5088](https://github.com/deltachat/deltachat-core-rust/pull/5088)). + +### Refactor + +- sql: Recreate `config` table with UNIQUE constraint. +- sql: Recreate `keypairs` table to remove unused `addr` and `created` fields and move `is_default` flag to `config` table. +- Send `Secure-Join-Fingerprint` only in `*-request-with-auth`. + +### Tests + +- Test joining non-protected group. +- Test that read receipts don't degrade encryption. +- Test that changing default private key breaks backward verification. +- Test recovery from lost vc-contact-confirm. +- Use `wait_for_incoming_msg_event()` more. + ## [1.132.1] - 2023-12-12 ### Features / Changes @@ -3357,3 +3413,4 @@ https://github.com/deltachat/deltachat-core-rust/pulls?q=is%3Apr+is%3Aclosed [1.131.9]: https://github.com/deltachat/deltachat-core-rust/compare/v1.131.8...v1.131.9 [1.132.0]: https://github.com/deltachat/deltachat-core-rust/compare/v1.131.9...v1.132.0 [1.132.1]: https://github.com/deltachat/deltachat-core-rust/compare/v1.132.0...v1.132.1 +[1.133.0]: https://github.com/deltachat/deltachat-core-rust/compare/v1.132.1...v1.133.0 diff --git a/Cargo.lock b/Cargo.lock index a07c482b3..6cfec14dd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1089,7 +1089,7 @@ dependencies = [ [[package]] name = "deltachat" -version = "1.132.1" +version = "1.133.0" dependencies = [ "ansi_term", "anyhow", @@ -1167,7 +1167,7 @@ dependencies = [ [[package]] name = "deltachat-jsonrpc" -version = "1.132.1" +version = "1.133.0" dependencies = [ "anyhow", "async-channel 2.1.1", @@ -1191,7 +1191,7 @@ dependencies = [ [[package]] name = "deltachat-repl" -version = "1.132.1" +version = "1.133.0" dependencies = [ "ansi_term", "anyhow", @@ -1206,7 +1206,7 @@ dependencies = [ [[package]] name = "deltachat-rpc-server" -version = "1.132.1" +version = "1.133.0" dependencies = [ "anyhow", "deltachat", @@ -1231,7 +1231,7 @@ dependencies = [ [[package]] name = "deltachat_ffi" -version = "1.132.1" +version = "1.133.0" dependencies = [ "anyhow", "deltachat", diff --git a/Cargo.toml b/Cargo.toml index ccc945b77..80ed3cca4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat" -version = "1.132.1" +version = "1.133.0" edition = "2021" license = "MPL-2.0" rust-version = "1.70" diff --git a/deltachat-ffi/Cargo.toml b/deltachat-ffi/Cargo.toml index 9ab1f8bc4..142e24005 100644 --- a/deltachat-ffi/Cargo.toml +++ b/deltachat-ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat_ffi" -version = "1.132.1" +version = "1.133.0" description = "Deltachat FFI" edition = "2018" readme = "README.md" diff --git a/deltachat-jsonrpc/Cargo.toml b/deltachat-jsonrpc/Cargo.toml index 4088b3bf7..0050029be 100644 --- a/deltachat-jsonrpc/Cargo.toml +++ b/deltachat-jsonrpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-jsonrpc" -version = "1.132.1" +version = "1.133.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 8cf445a05..90215a5eb 100644 --- a/deltachat-jsonrpc/typescript/package.json +++ b/deltachat-jsonrpc/typescript/package.json @@ -53,5 +53,5 @@ }, "type": "module", "types": "dist/deltachat.d.ts", - "version": "1.132.1" + "version": "1.133.0" } diff --git a/deltachat-repl/Cargo.toml b/deltachat-repl/Cargo.toml index 1c7de3b3c..5c8f0fa74 100644 --- a/deltachat-repl/Cargo.toml +++ b/deltachat-repl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-repl" -version = "1.132.1" +version = "1.133.0" license = "MPL-2.0" edition = "2021" diff --git a/deltachat-rpc-server/Cargo.toml b/deltachat-rpc-server/Cargo.toml index 76c77e641..5bdc62b77 100644 --- a/deltachat-rpc-server/Cargo.toml +++ b/deltachat-rpc-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-rpc-server" -version = "1.132.1" +version = "1.133.0" description = "DeltaChat JSON-RPC server" edition = "2021" readme = "README.md" diff --git a/package.json b/package.json index 85b74da6b..5f209a190 100644 --- a/package.json +++ b/package.json @@ -56,5 +56,5 @@ "test:mocha": "mocha -r esm node/test/test.js --growl --reporter=spec --bail --exit" }, "types": "node/dist/index.d.ts", - "version": "1.132.1" + "version": "1.133.0" } diff --git a/release-date.in b/release-date.in index 1c2469d6a..6952f029e 100644 --- a/release-date.in +++ b/release-date.in @@ -1 +1 @@ -2023-12-12 \ No newline at end of file +2024-01-14 \ No newline at end of file diff --git a/scripts/set_core_version.py b/scripts/set_core_version.py index 0958c1669..f63a35e22 100755 --- a/scripts/set_core_version.py +++ b/scripts/set_core_version.py @@ -102,7 +102,7 @@ def main(): found = True if not found: raise SystemExit( - f"{changelog_name} contains no entry for version: {newversion}" + f"CHANGELOG.md contains no entry for version: {newversion}" ) for toml_filename in toml_list: