diff --git a/CHANGELOG.md b/CHANGELOG.md index 51465584a..7c3ef0aa3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [2.4.0] - 2025-07-21 + +### Fixes + +- Do not ignore errors when draining FETCH responses. This avoids IMAP loop getting stuck in an infinite loop retrying reading from the connection. +- Update `tokio-io-timeout` to 1.2.1. This release includes a fix to reset timeout after every error, so timeout error is returned at most once a minute if read is attempted after a timeout. + +### Miscellaneous Tasks + +- Update async-imap to 0.11.0. + +### Refactor + +- Use `try_next()` when processing FETCH responses. + ## [2.3.0] - 2025-07-19 ### Features / Changes @@ -6495,3 +6510,4 @@ https://github.com/chatmail/core/pulls?q=is%3Apr+is%3Aclosed [2.1.0]: https://github.com/chatmail/core/compare/v2.0.0..v2.1.0 [2.2.0]: https://github.com/chatmail/core/compare/v2.1.0..v2.2.0 [2.3.0]: https://github.com/chatmail/core/compare/v2.2.0..v2.3.0 +[2.4.0]: https://github.com/chatmail/core/compare/v2.3.0..v2.4.0 diff --git a/Cargo.lock b/Cargo.lock index 0b28e9eb4..d967b3aae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1285,7 +1285,7 @@ dependencies = [ [[package]] name = "deltachat" -version = "2.3.0" +version = "2.4.0" dependencies = [ "anyhow", "async-broadcast", @@ -1395,7 +1395,7 @@ dependencies = [ [[package]] name = "deltachat-jsonrpc" -version = "2.3.0" +version = "2.4.0" dependencies = [ "anyhow", "async-channel 2.3.1", @@ -1417,7 +1417,7 @@ dependencies = [ [[package]] name = "deltachat-repl" -version = "2.3.0" +version = "2.4.0" dependencies = [ "anyhow", "deltachat", @@ -1433,7 +1433,7 @@ dependencies = [ [[package]] name = "deltachat-rpc-server" -version = "2.3.0" +version = "2.4.0" dependencies = [ "anyhow", "deltachat", @@ -1462,7 +1462,7 @@ dependencies = [ [[package]] name = "deltachat_ffi" -version = "2.3.0" +version = "2.4.0" dependencies = [ "anyhow", "deltachat", diff --git a/Cargo.toml b/Cargo.toml index e4230002a..712298813 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat" -version = "2.3.0" +version = "2.4.0" edition = "2024" license = "MPL-2.0" rust-version = "1.85" diff --git a/deltachat-ffi/Cargo.toml b/deltachat-ffi/Cargo.toml index cb00c87e9..ca07ef367 100644 --- a/deltachat-ffi/Cargo.toml +++ b/deltachat-ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat_ffi" -version = "2.3.0" +version = "2.4.0" description = "Deltachat FFI" edition = "2018" readme = "README.md" diff --git a/deltachat-jsonrpc/Cargo.toml b/deltachat-jsonrpc/Cargo.toml index 7f1d093d8..1b64fda1e 100644 --- a/deltachat-jsonrpc/Cargo.toml +++ b/deltachat-jsonrpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-jsonrpc" -version = "2.3.0" +version = "2.4.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 87456030d..998380987 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": "2.3.0" + "version": "2.4.0" } diff --git a/deltachat-repl/Cargo.toml b/deltachat-repl/Cargo.toml index c5999964f..431e90d91 100644 --- a/deltachat-repl/Cargo.toml +++ b/deltachat-repl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-repl" -version = "2.3.0" +version = "2.4.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 ae2167805..e0d8f755e 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 = "2.3.0" +version = "2.4.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 8cc6df897..45c604c36 100644 --- a/deltachat-rpc-server/Cargo.toml +++ b/deltachat-rpc-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-rpc-server" -version = "2.3.0" +version = "2.4.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 a428a00e6..c19381eef 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": "2.3.0" + "version": "2.4.0" } diff --git a/python/pyproject.toml b/python/pyproject.toml index c2337d12c..6ddd2bdc6 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "deltachat" -version = "2.3.0" +version = "2.4.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 b01f227d6..0b5937c72 100644 --- a/release-date.in +++ b/release-date.in @@ -1 +1 @@ -2025-07-19 \ No newline at end of file +2025-07-21 \ No newline at end of file