Skip to content

Commit 861d8bc

Browse files
committed
Merge main
2 parents e5a913b + 37dc1f5 commit 861d8bc

File tree

137 files changed

+4525
-3671
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+4525
-3671
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug report
3+
about: Report something that isn't working.
4+
title: ''
5+
assignees: ''
6+
labels: bug
7+
---
8+
9+
<!--
10+
This is the chatmail core's bug report tracker.
11+
For Delta Chat feature requests and support, please go to the forum: https://support.delta.chat
12+
Please fill out as much of this form as you can (leaving out stuff that is not applicable is ok).
13+
-->
14+
15+
- Operating System (Linux/Mac/Windows/iOS/Android):
16+
- Core Version:
17+
- Client Version:
18+
19+
## Expected behavior
20+
21+
*What did you try to achieve?*
22+
23+
## Actual behavior
24+
25+
*What happened instead?*
26+
27+
### Steps to reproduce the problem
28+
29+
1.
30+
2.
31+
32+
### Screenshots
33+
34+
### Logs
35+

.github/workflows/ci.yml

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,22 @@ permissions: {}
2020

2121
env:
2222
RUSTFLAGS: -Dwarnings
23+
RUST_VERSION: 1.87.0
24+
25+
# Minimum Supported Rust Version
26+
MSRV: 1.85.0
2327

2428
jobs:
2529
lint_rust:
2630
name: Lint Rust
2731
runs-on: ubuntu-latest
28-
env:
29-
RUSTUP_TOOLCHAIN: 1.84.1
3032
steps:
3133
- uses: actions/checkout@v4
3234
with:
3335
show-progress: false
3436
persist-credentials: false
3537
- name: Install rustfmt and clippy
36-
run: rustup toolchain install $RUSTUP_TOOLCHAIN --profile minimal --component rustfmt --component clippy
38+
run: rustup toolchain install $RUST_VERSION --profile minimal --component rustfmt --component clippy
3739
- name: Cache rust cargo artifacts
3840
uses: swatinem/rust-cache@v2
3941
- name: Run rustfmt
@@ -91,25 +93,36 @@ jobs:
9193
matrix:
9294
include:
9395
- os: ubuntu-latest
94-
rust: 1.84.1
96+
rust: latest
9597
- os: windows-latest
96-
rust: 1.84.1
98+
rust: latest
9799
- os: macos-latest
98-
rust: 1.84.1
100+
rust: latest
99101

100-
# Minimum Supported Rust Version = 1.81.0
102+
# Minimum Supported Rust Version
101103
- os: ubuntu-latest
102-
rust: 1.81.0
104+
rust: minimum
103105
runs-on: ${{ matrix.os }}
104106
steps:
107+
- run:
108+
echo "RUSTUP_TOOLCHAIN=$MSRV" >> $GITHUB_ENV
109+
shell: bash
110+
if: matrix.rust == 'minimum'
111+
- run:
112+
echo "RUSTUP_TOOLCHAIN=$RUST_VERSION" >> $GITHUB_ENV
113+
shell: bash
114+
if: matrix.rust == 'latest'
115+
105116
- uses: actions/checkout@v4
106117
with:
107118
show-progress: false
108119
persist-credentials: false
109120

110121
- name: Install Rust ${{ matrix.rust }}
111-
run: rustup toolchain install --profile minimal ${{ matrix.rust }}
112-
- run: rustup override set ${{ matrix.rust }}
122+
run: rustup toolchain install --profile minimal $RUSTUP_TOOLCHAIN
123+
shell: bash
124+
- run: rustup override set $RUSTUP_TOOLCHAIN
125+
shell: bash
113126

114127
- name: Cache rust cargo artifacts
115128
uses: swatinem/rust-cache@v2

.github/workflows/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- name: Dependabot metadata
1616
id: metadata
17-
uses: dependabot/fetch-metadata@v2.3.0
17+
uses: dependabot/fetch-metadata@v2.4.0
1818
with:
1919
github-token: "${{ secrets.GITHUB_TOKEN }}"
2020
- name: Approve a PR

.github/workflows/jsonrpc-client-npm-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions: {}
99
jobs:
1010
pack-module:
1111
name: "Publish @deltachat/jsonrpc-client"
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
permissions:
1414
id-token: write
1515
contents: read

.github/workflows/nix.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,10 @@ jobs:
9595
fail-fast: false
9696
matrix:
9797
installable:
98-
- deltachat-rpc-server-aarch64-darwin
98+
- deltachat-rpc-server
9999

100100
# Fails to bulid
101+
# - deltachat-rpc-server-aarch64-darwin
101102
# - deltachat-rpc-server-x86_64-darwin
102103
steps:
103104
- uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 252 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,250 @@
11
# Changelog
22

3+
## [1.159.5] - 2025-05-14
4+
5+
### Fixes
6+
7+
- Don't change webxdc self-addr when saving and loading draft ([#6854](https://github.com/chatmail/core/pull/6854)).
8+
9+
### Miscellaneous Tasks
10+
11+
- Remove duplicate miniz_oxide dependency.
12+
- Update async-smtp to 0.10.2.
13+
14+
## [1.159.4] - 2025-05-13
15+
16+
### Documentation
17+
18+
- Add missing documentation to deltachat-rpc-client.
19+
20+
### Features / Changes
21+
22+
- Better avatar quality ([#6822](https://github.com/chatmail/core/pull/6822)).
23+
- Update iroh from 0.33.0 to 0.35.0 ([#6687](https://github.com/chatmail/core/pull/6687)).
24+
- Other dependency updates.
25+
26+
### Fixes
27+
28+
- Emit progress(0) in case AEAP is tried.
29+
- Replace `FuturesUnordered` from `futures` with `JoinSet` from `tokio`.
30+
- Fix order of operations when handling "vc-request-with-auth" ([#6850](https://github.com/chatmail/core/pull/6850)).
31+
- Generate rfc724_mid when creating Message ([#6704](https://github.com/chatmail/core/pull/6704))
32+
33+
### Tests
34+
35+
- Profile data is attached to group leave messages.
36+
37+
## [1.159.3] - 2025-04-24
38+
39+
### CI
40+
41+
- Use `ubuntu-latest` runner for `@deltachat/jsonrpc-client` publishing.
42+
43+
## [1.159.2] - 2025-04-23
44+
45+
### Fixes
46+
47+
- Allow to send to chats after failed securejoin again ([#6817](https://github.com/chatmail/core/pull/6817)).
48+
- Parse login scheme in `add_transport_from_qr()` ([#6802](https://github.com/chatmail/core/pull/6802)).
49+
- Lowercase address in add_transport() ([#6805](https://github.com/chatmail/core/pull/6805)).
50+
51+
### API-Changes
52+
53+
- Rename add_transport() -> add_or_update_transport() ([#6800](https://github.com/chatmail/core/pull/6800)).
54+
55+
### Miscellaneous Tasks
56+
57+
- Update yerpc to 0.6.4.
58+
- Clean up `deltachat-jsonrpc` dependencies.
59+
60+
### Refactor
61+
62+
- Move logins into SQL table ([#6724](https://github.com/chatmail/core/pull/6724)).
63+
64+
### Tests
65+
66+
- Check headers absense straightforwardly.
67+
- Fix mismatch between the contact and the account in securejoin tests.
68+
- Test that key of the recipient is gossiped in 1:1 chats.
69+
70+
## [1.159.1] - 2025-04-12
71+
72+
### API-Changes
73+
74+
- deltachat-rpc-client: Add `Account.add_transport()`.
75+
- Add jsonrpc for info_contact_id.
76+
77+
### Build system
78+
79+
- Update crossbeam-channel from 0.5.14 to 0.5.15.
80+
- Increase MSRV to 1.82.0.
81+
82+
### CI
83+
84+
- Don't make ruff format quiet ([#6785](https://github.com/chatmail/core/pull/6785)).
85+
86+
### Documentation
87+
88+
- MimeFactory.member_timestamps has the same order as To: rather than RCPT TO:.
89+
- Two JsonRPC doc improvements ([#6778](https://github.com/chatmail/core/pull/6778)).
90+
91+
### Features / Changes
92+
93+
- Improve error message when the user tries to do AEAP ([#6786](https://github.com/chatmail/core/pull/6786)).
94+
- Pass email and password via env in python-jsonrpc.
95+
- Track gossiping per (chat, fingerprint) pair.
96+
97+
### Fixes
98+
99+
- Add missing ChatDeleted event to python jsonrpc client.
100+
- Never send Autocrypt-Gossip in broadcast lists.
101+
- Restart I/O when mvbox_move setting is changed.
102+
103+
### Tests
104+
105+
- Port test_delete_deltachat_folder to JSON-RPC.
106+
- Autocrypt-Gossip header isn't sent in broadcast messages.
107+
- Encrypt test_subject_in_group().
108+
- Encrypt test_remove_member_bcc.
109+
110+
## [1.159.0] - 2025-04-08
111+
112+
### API-Changes
113+
114+
- deltachat-rpc-client: Add Message.get_info().
115+
- CFFI: Add `dc_make_vcard()` and `dc_import_vcard()`.
116+
- Add legacy Python bindings for `make_vcard` and `import_vcard`.
117+
118+
### CI
119+
120+
- Upgrade Rust from 1.84.1 to 1.86.0 ([#6784](https://github.com/chatmail/core/pull/6784)).
121+
122+
### Features / Changes
123+
124+
- Add name resp. "Me" to contact encryption info ([#6720](https://github.com/chatmail/core/pull/6720)).
125+
- Get contact-id for info messages ([#6714](https://github.com/chatmail/core/pull/6714)).
126+
- No unencrypted chat when securejoin times out ([#6722](https://github.com/chatmail/core/pull/6722)).
127+
- Clear `Param::IsEdited` when forwarding a message.
128+
- Remove email address from 'add second device' qr code ([#6760](https://github.com/chatmail/core/pull/6760)).
129+
- Parse Proton Mail vCards again ([#6771](https://github.com/chatmail/core/pull/6771)).
130+
- Do not consider encrypting to the primary OpenPGP key.
131+
132+
### Fixes
133+
134+
- jsonrpc: Fix deadlock in get_all_accounts().
135+
- Set GroupNameTimestamp on group promotion ([#6729](https://github.com/chatmail/core/pull/6729)).
136+
- Encrypt broadcast lists.
137+
138+
### Miscellaneous Tasks
139+
140+
- Update yerpc to 0.6.3.
141+
- cargo: Update textwrap from 0.16.1 to 0.16.2.
142+
- cargo: Bump uuid from 1.15.1 to 1.16.0.
143+
- cargo: Bump libc from 0.2.170 to 0.2.171.
144+
- cargo: Bump anyhow from 1.0.96 to 1.0.97.
145+
- cargo: Bump bytes from 1.10.0 to 1.10.1.
146+
- cargo: Bump once_cell from 1.20.3 to 1.21.3.
147+
- cargo: Bump thiserror from 2.0.11 to 2.0.12.
148+
- cargo: Bump pin-project from 1.1.9 to 1.1.10.
149+
- cargo: Bump hyper-util from 0.1.10 to 0.1.11.
150+
- cargo: Bump log from 0.4.26 to 0.4.27.
151+
- cargo: Bump tokio-util from 0.7.13 to 0.7.14.
152+
- cargo: Bump syn from 2.0.98 to 2.0.100.
153+
- cargo: Bump serde_json from 1.0.139 to 1.0.140.
154+
- cargo: Bump quote from 1.0.38 to 1.0.40.
155+
- cargo: Bump http-body-util from 0.1.2 to 0.1.3.
156+
- cargo: Bump openssl from 0.10.71 to 0.10.72.
157+
- cargo: Bump quick-xml from 0.37.2 to 0.37.4.
158+
- cargo: Bump blake3 from 1.6.1 to 1.8.0.
159+
- cargo: Bump tokio from 1.43.0 to 1.43.1 ([#6780](https://github.com/chatmail/core/pull/6780)).
160+
- Add issue template.
161+
- Add bug label on bug issue template.
162+
- cargo: Bump tokio from 1.43.0 to 1.44.1.
163+
- cargo: Bump fd-lock from 4.0.2 to 4.0.4.
164+
- Update async-smtp from 0.10.0 to 0.10.1.
165+
- Update async-imap from 0.10.3 to 0.10.4.
166+
- cargo: Bump tempfile from 3.14.0 to 3.19.1.
167+
- cargo: Bump image from 0.25.5 to 0.25.6.
168+
- cargo: Bump serde from 1.0.218 to 1.0.219.
169+
170+
### Other
171+
172+
- Add python and tox to flake.nix devshell ([#6233](https://github.com/chatmail/core/pull/6233))
173+
- Update spec wrt edit/delete, minor rewordings ([#6708](https://github.com/chatmail/core/pull/6708))
174+
- Update 'takes longer' fallback wording.
175+
- Handle classic emails as such only in classic profiles ([#6767](https://github.com/chatmail/core/pull/6767))
176+
- Move ASM strings to core, point to "Add Second Device" ([#6777](https://github.com/chatmail/core/pull/6777))
177+
178+
### Refactor
179+
180+
- Replace `once_cell::sync::Lazy` with `std::sync::LazyLock`.
181+
- Move vCard code to its own file ([#6776](https://github.com/chatmail/core/pull/6776)).
182+
183+
### Tests
184+
185+
- Use encryption in more Rust tests.
186+
- Use encryption in all JSON-RPC online tests.
187+
- Encrypt legacy Python tests.
188+
- Send only encrypted messages in online JS tests.
189+
- Add APIs to create `dom@example.net` and `elena@example.net`.
190+
- Split public keys from secret keys in runtime.
191+
- Remove fetch_existing tests.
192+
- Port test_forward_encrypted_to_unencrypted from legacy Python to Rust.
193+
- Port test_one_account_send_bcc_setting from legacy Python to JSON-RPC.
194+
- Port test_multidevice_sync_seen to JSON-RPC.
195+
- Use QR codes to setup contact with test bots.
196+
- Remove flaky key::tests::test_load_self_existing test ([#6763](https://github.com/chatmail/core/pull/6763)).
197+
- Update blob hash in blob::blob_tests::test_selfavatar_outside_blobdir.
198+
199+
## [1.158.0] - 2025-03-29
200+
201+
### API-Changes
202+
203+
- deltachat-rpc-client: Accept `Account` as `Account.create_contact()` argument.
204+
- Rust: Add `ContactId.set_name()`.
205+
- 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)).
206+
207+
### Features / Changes
208+
209+
- Nicer configuration error ([#6684](https://github.com/chatmail/core/pull/6684)).
210+
- securejoin: Do not create 1:1 chat on Alice's side until `vc-request-with-auth`.
211+
- Understandable error message when accounts.lock can't be locked ([#6695](https://github.com/chatmail/core/pull/6695)).
212+
- Simplify e2ee decision logic, remove majority vote.
213+
- Stop saving txt_raw.
214+
215+
### Fixes
216+
217+
- Do not fail to send the message if some keys are missing.
218+
- Synchronize contact name changes.
219+
- Move group name timestamp update up in create_send_msg_jobs().
220+
- Fixes for transport JSON-RPC ([#6680](https://github.com/chatmail/core/pull/6680)).
221+
222+
### Build system
223+
224+
- deltachat-rpc-client: Move development dependencies from tox.ini to pyproject.toml.
225+
- Update resolve-conf from 0.7.0 to 0.7.1.
226+
227+
### Refactor
228+
229+
- Do not convert SQL arguments to `String` unnecessarily.
230+
- Factor out `update_chat_names()`.
231+
- Use `created_timestamp()` instead of duplicating its code ([#6692](https://github.com/chatmail/core/pull/6692)).
232+
- Use `chat_id.get_timestamp()` instead of duplicating its code ([#6691](https://github.com/chatmail/core/pull/6691)).
233+
- Move `mark_recipients_as_verified()` call out of `has_verified_encryption()`.
234+
- Move `proxy_config` out of `ConfiguredLoginParam` ([#6712](https://github.com/chatmail/core/pull/6712)).
235+
236+
### Tests
237+
238+
- Use vCard in TestContext.add_or_lookup_contact().
239+
- Remove test_group_with_removed_message_id.
240+
- Use add_or_lookup_email_contact() in get_chat().
241+
- Use add_or_lookup_email_contact in test_setup_contact_ex.
242+
- Use vCards more in Python tests.
243+
- Use TestContextManager in more tests.
244+
- Use vCards to create contacts in more Rust tests.
245+
- Set chat name multiple times in a row.
246+
- Online test for renaming the group multiple times.
247+
3248
## [1.157.3] - 2025-03-19
4249

5250
### API-Changes
@@ -6051,3 +6296,10 @@ https://github.com/chatmail/core/pulls?q=is%3Apr+is%3Aclosed
60516296
[1.157.1]: https://github.com/chatmail/core/compare/v1.157.0..v1.157.1
60526297
[1.157.2]: https://github.com/chatmail/core/compare/v1.157.1..v1.157.2
60536298
[1.157.3]: https://github.com/chatmail/core/compare/v1.157.2..v1.157.3
6299+
[1.158.0]: https://github.com/chatmail/core/compare/v1.157.3..v1.158.0
6300+
[1.159.0]: https://github.com/chatmail/core/compare/v1.158.0..v1.159.0
6301+
[1.159.1]: https://github.com/chatmail/core/compare/v1.159.0..v1.159.1
6302+
[1.159.2]: https://github.com/chatmail/core/compare/v1.159.1..v1.159.2
6303+
[1.159.3]: https://github.com/chatmail/core/compare/v1.159.2..v1.159.3
6304+
[1.159.4]: https://github.com/chatmail/core/compare/v1.159.3..v1.159.4
6305+
[1.159.5]: https://github.com/chatmail/core/compare/v1.159.4..v1.159.5

0 commit comments

Comments
 (0)