Changelog
1.139.6 - 2024-05-25
Build system
- Update
irohto the git version. - nix: Add iroh-base output hash.
- Upgrade iroh to 0.17.0.
Fixes
- @deltachat/stdio-rpc-server: Do not set RUST_LOG to "info" by default.
- Acquire write lock on iroh_channels before checking for subscribe_loop.
Miscellaneous Tasks
- Fix python lint.
- cargo-deny: Remove unused entry from deny.toml.
Refactor
- Log IMAP connection type on connection failure.
Tests
- Viewtype::File attachments are sent unchanged and preserve extensions.
- deltachat-rpc-client: Add realtime channel tests.
- deltachat-rpc-client: Regression test for double gossip subscription.
1.139.5 - 2024-05-23
API-Changes
- deltachat-ffi: Make WebXdcRealtimeData data usable in CFFI.
- Add event channel overflow event.
- deltachat-rpc-client: Add EventType.WEBXDC_REALTIME_DATA constant.
- deltachat-rpc-client: Add Message.send_webxdc_realtime_advertisement().
- deltachat-rpc-client: Add Message.send_webxdc_realtime_data().
Features / Changes
- deltachat-repl: Add start-realtime and send-realtime commands.
Fixes
- peer_channels: Connect to peers that advertise to you.
- Don't recode images in
Viewtype::Filemessages (#5617).
Tests
- peer_channels: Add test_parallel_connect().
- "SecureJoin wait" state and info messages.
1.139.4 - 2024-05-21
Features / Changes
- Scale up contact origins to OutgoingTo when sending a message.
- Add import_vcard() (#5202).
Fixes
- Do not log warning if iroh relay metadata is NIL.
- contact-tools: Parse_vcard: Support
\r\nnewlines. - Make_vcard: Add authname and key for ContactId::SELF.
Other
- nix: Add nextest (#5610).
1.139.3 - 2024-05-20
API-Changes
- [breaking] @deltachat/stdio-rpc-server: change api: don't search in path unless
options.takeVersionFromPATHis set totrue - @deltachat/stdio-rpc-server: remove
DELTA_CHAT_SKIP_PATHenvironment variable - @deltachat/stdio-rpc-server: remove version check / search for dc rpc server in $PATH
- @deltachat/stdio-rpc-server: remove
options.skipSearchInPath - @deltachat/stdio-rpc-server: add
options.takeVersionFromPATH - deltachat-rpc-client: Add Account.wait_for_incoming_msg().
Features / Changes
- Replace env_logger with tracing_subscriber.
Fixes
- Ignore event channel overflows.
- mimeparser: Take the last header of multiple ones with the same name.
- Db migration version 59, it contained an sql syntax error.
- Sql syntax error in db migration 27.
- Log/print exit error of deltachat-rpc-server (#5601).
- @deltachat/stdio-rpc-server: set default options for
startDeltaChat. - Always convert absolute paths to relative in accounts.toml.
Refactor
- receive_imf: Do not check for ContactId::UNDEFINED.
- receive_imf: Remove unnecessary check for is_mdn.
- receive_imf: Only call create_or_lookup_group() with allow_creation=true.
- Use let..else in create_or_lookup_group().
- Stop trying to extract chat ID from Message-IDs.
- Do not try to lookup group in create_or_lookup_group().
1.139.2 - 2024-05-18
Build system
- Add repository URL to @deltachat/jsonrpc-client.
1.139.1 - 2024-05-18
CI
- Set
--access publicwhen publishing to npm.
1.139.0 - 2024-05-18
Features / Changes
- Ephemeral peer channels (#5346).
Fixes
- Save override sender displayname for outgoing messages.
- Do not mark the message as seen if it has
location.kml. - @deltachat/stdio-rpc-server: fix version check when deltachat-rpc-server is found in path (#5579).
- @deltachat/stdio-rpc-server: fix local desktop development (#5583).
- @deltachat/stdio-rpc-server: rename
shutdownmethod tocloseand addmuteStdErroption to mute the stderr output (#5588) - @deltachat/stdio-rpc-server: fix
convert_platform.py: 32biti32->ia32(#5589) - @deltachat/stdio-rpc-server: fix example (#5580)
API-Changes
- deltachat-jsonrpc: Return vcard contact directly in MessageObject.
- deltachat-jsonrpc: Add api
migrate_accountandget_blob_dir(#5584). - deltachat-rpc-client: Add ViewType.VCARD constant.
- deltachat-rpc-client: Add Contact.make_vcard().
- deltachat-rpc-client: Add Chat.send_contact().
CI
- Publish @deltachat/jsonrpc-client directly to npm.
- Check that constants are always up-to-date.
Build system
- nix: Add git-cliff to flake.
- nix: Use rust-analyzer nightly
Miscellaneous Tasks
- cargo: Downgrade libc from 0.2.154 to 0.2.153.
Tests
- deltachat-rpc-client: Test sending vCard.
1.138.5 - 2024-05-16
API-Changes
Build system
- Add repository URL to deltachat-rpc-server packages.
Fixes
- Parsing vCards with avatars exported by Android's "Contacts" app.
Miscellaneous Tasks
- Rebuild node constants.
Refactor
- contact-tools: VcardContact: rename display_name to authname.
- VcardContact: Change timestamp type to i64.
1.138.4 - 2024-05-15
CI
- Run actions/setup-node before npm publish.
1.138.3 - 2024-05-15
CI
- Give CI job permission to publish binaries to the release.
1.138.2 - 2024-05-15
API-Changes
- deltachat-rpc-client: Add CONFIG_SYNCED constant.
CI
- Add npm token to publish deltachat-rpc-server packages.
Features / Changes
- Reset more settings when configuring a chatmail account.
Tests
- Set configuration after configure() finishes.
1.138.1 - 2024-05-14
Features / Changes
- Detect XCHATMAIL capability and expose it as
is_chatmailconfig.
Fixes
- Never treat message with Chat-Group-ID as a private reply.
- Always prefer Chat-Group-ID over In-Reply-To and References.
- Ignore parent message if message references itself.
CI
- Set RUSTUP_WINDOWS_PATH_ADD_BIN to work around
nextestissue https://github.com/nextest-rs/nextest/issues/1493. - deltachat-rpc-server: Fix upload of npm packages to github releases (#5564).
Refactor
- Add MimeMessage.get_chat_group_id().
- Make MimeMessage.get_header() return Option<&str>.
- sql: Make open flags immutable.
- Resultify token::lookup_or_new().
Miscellaneous Tasks
- cargo: Bump parking_lot from 0.12.1 to 0.12.2.
- cargo: Bump libc from 0.2.153 to 0.2.154.
- cargo: Bump hickory-resolver from 0.24.0 to 0.24.1.
- cargo: Bump serde_json from 1.0.115 to 1.0.116.
- cargo: Bump human-panic from 1.2.3 to 2.0.0.
- cargo: Bump brotli from 5.0.0 to 6.0.0.
1.138.0 - 2024-05-13
API-Changes
- Add dc_msg_save_file() which saves file copy at the provided path (#4309).
- Api!(jsonrpc): replace EphemeralTimer tag "variant" with "kind"
CI
- Use rsync instead of 3rd party github action.
- Replace
blackwithruff format. - Update Rust to 1.78.0.
Documentation
- Fix references in Message.set_location() documentation.
- Remove Doxygen markup from Message.has_location().
- Add
locationmodule documentation.
Features / Changes
- Delete expired path locations in ephemeral loop.
- Delete orphaned POI locations during housekeeping.
- Parsing vCards for contacts sharing (#5482).
- contact-tools: Support parsing profile images from "PHOTO:data:image/jpeg;base64,...".
- contact-tools: Add make_vcard().
- Do not add location markers to messages with non-POI location.
- Make one-to-one chats read-only the first seconds of a SecureJoin (#5512).
Fixes
- Message::set_file_from_bytes(): Set Param::Filename.
- Do not fail to send encrypted quotes to unencrypted chats.
- Never prepend subject to message text when bot receives it.
- Interrupt location loop when new location is stored.
- Correct message viewtype before recoding image blob (#5496).
- Delete POI location when disappearing message expires.
- Delete non-POI locations after
delete_device_after, not immediately. - Update special chats icons even if they are blocked (#5509).
- Use ChatIdBlocked::lookup_by_contact() instead of ChatId's method when applicable.
Miscellaneous Tasks
- cargo: Bump quote from 1.0.35 to 1.0.36.
- cargo: Bump base64 from 0.22.0 to 0.22.1.
- cargo: Bump serde from 1.0.197 to 1.0.200.
- cargo: Bump async-channel from 2.2.0 to 2.2.1.
- cargo: Bump thiserror from 1.0.58 to 1.0.59.
- cargo: Bump anyhow from 1.0.81 to 1.0.82.
- cargo: Bump chrono from 0.4.37 to 0.4.38.
- cargo: Bump imap-proto from 0.16.4 to 0.16.5.
- cargo: Bump syn from 2.0.57 to 2.0.60.
- cargo: Bump mailparse from 0.14.1 to 0.15.0.
- cargo: Bump schemars from 0.8.16 to 0.8.19.
Other
- Build ts docs with ci + nix.
- Push docs to delta.chat instead of codespeak
- Implement jsonrpc-docs build in github action
- Rm unneeded rust install from ts docs ci
- Correct folder for js.jsonrpc docs
- Add npm install to upload-docs.yml
- Add : to upload-docs.yml
- Upload-docs npm run => npm run build
- Rm leading slash
- Rm npm install
- Merge pull request #5515 from deltachat/dependabot/cargo/quote-1.0.36
- Merge pull request #5522 from deltachat/dependabot/cargo/chrono-0.4.38
- Merge pull request #5523 from deltachat/dependabot/cargo/mailparse-0.15.0
- Add webxdc internal integration commands in jsonrpc (#5541)
- Limit quote replies (#5543)
- Stdio jsonrpc server npm package (#5332)
Refactor
- python: Fix ruff 0.4.2 warnings.
- Move
delete_poi_locationto location module and document it. - Remove allow_keychange.
Tests
- Explain test_was_seen_recently false-positive and give workaround instructions (#5474).
- Test that member is added even if "Member added" is lost.
- Test that POIs are deleted when ephemeral message expires.
- Test ts build on branch
1.137.4 - 2024-04-24
API-Changes
- [breaking] Remove
Streamimplementation forEventEmitter. - Experimental Webxdc Integration API, Maps Integration (#5461).
Features / Changes
- Add progressive backoff for failing IMAP connection attempts (#5443).
- Replace event channel with broadcast channel.
- Mark contact request messages as seen on IMAP.
Fixes
- Convert images to RGB8 (without alpha) before encoding into JPEG to fix sending of large RGBA images.
- Don't set
is_botfor webxdc status updates (#5445). - Do not fail if Autocrypt Setup Message has no encryption preference to fix key transfer from K-9 Mail to Delta Chat.
- Use only CRLF in Autocrypt Setup Message.
- python: Use cached message object if
dc_get_msg()returnsNULL. - python:
Message::is_outgoing: Don't reload message from db. - python:
_map_ffi_event: Always check ifget_message_by_id()returned None. - node: Undefine
NAPI_EXPERIMENTALto fix build with new clang.
Build system
- nix: Add
imap-toolsasdeltachat-rpc-clientdependency. - nix: Add
./deltachat-contact-toolsto sources. - nix: Update nix flake.
- deps: Update rustls to 0.21.11.
Documentation
- Update references to SecureJoin protocols.
- Fix broken references in documentation comments.
Refactor
- imap: remove
RwLockfromratelimit. - deltachat-ffi: Remove unused
ResultNullableExt. - Remove duplicate clippy exceptions.
- Group
useat the top of the test modules.
1.137.3 - 2024-04-16
API-Changes
- [breaking] Remove reactions ffi; all implementations use jsonrpc.
- Don't load trashed messages with
Message::load_from_db. - Add
ChatListChangedandChatListItemChangedevents (#4476). - deltachat-rpc-client: Add
check_qrandset_config_from_qrAPIs. - deltachat-rpc-client: Add
Account.create_chat(). - deltachat-rpc-client: Add
Message.wait_until_delivered(). - deltachat-rpc-client: Add
Chat.send_file(). - deltachat-rpc-client: Add
Account.wait_for_reactions_changed(). - deltachat-rpc-client: Return Message from
Message.send_reaction(). - deltachat-rpc-client: Add
Account.bring_online(). - deltachat-rpc-client: Add
ACFactory.get_accepted_chat().
Features / Changes
- Port
direct_imap.pyinto deltachat-rpc-client.
Fixes
- Do not emit
MSGS_CHANGEDevent for outgoing hidden messages. Message::get_summary()must not return reaction summary.- Fix emitting
ContactsChangedevents on "recently seen" status change (#5377). - deltachat-jsonrpc: block in
inner_get_backup_qr. - Add tolerance to
MemberListTimestamp(#5366). - Keep webxdc instance for
delete_device_afterperiod after a status update (#5365). - Don't try to do
fetch_move_delete()if Trash is needed but not yet configured. - Assign messages to chats based on not fully downloaded references.
- Do not create ad-hoc groups from partial downloads.
- deltachat-rpc-client: construct Thread with
targetkeyword argument. - Format error context in
Message::load_from_db.
Build system
- cmake: adapt target install path if env var
CARGO_BUILD_TARGETis set. - nix: Use stable Rust in flake.nix devshell.
CI
- Use cargo-nextest instead of cargo-test.
- Run doc tests with cargo test --workspace --doc (#5459).
- Typos in CI files (#5453).
Documentation
- Add https://deps.rs badge.
- Add 'Ubuntu Touch' to the list of 'frontend projects'
Refactor
- Do not ignore
Contact::get_by_iderrors inget_encrinfo. - deltachat-rpc-client: Use
list,setandtupleinstead oftyping. - Use
clone_from()(#5451). - Do not check for
is_trash()inget_last_reaction_if_newer_than(). - Split off functional contact tools into its own crate (#5444)
- Fix nightly clippy warnings.
Tests
- Test withdrawing group join QR codes.
display_chat(): Don't add day markers.- Move reaction tests to JSON-RPC.
- node: Increase 'static tests' timeout to 5 minutes.
1.137.2 - 2024-04-05
API-Changes
- [breaking] Increase Minimum Supported Rust Version to 1.77.0.
Features / Changes
- Show reactions in summaries (#5387).
Tests
- Test reactions for forwarded messages
Refactor
is_probably_private_reply: Remove reaction-specific code.- Use Rust 1.77.0 support for recursion in async functions.
Miscellaneous Tasks
- cargo: Bump rustyline from 13.0.0 to 14.0.0.
- Update chrono from 0.4.34 to 0.4.37.
- Update from brotli 3.4.0 to brotli 4.0.0.
- Upgrade
h2from 0.4.3 to 0.4.4. - Upgrade
imagefrom 0.24.9 to 0.25.1. - cargo: Bump fast-socks5 from 0.9.5 to 0.9.6.
1.137.1 - 2024-04-03
CI
- Remove android builds for
x86andx86_64.
1.137.0 - 2024-04-02
API-Changes
- [breaking] Remove data from
DC_EVENT_INCOMING_MSG_BUNCH. - [breaking] Remove unused
dc_accounts_all_work_done()(#5384). - deltachat-rpc-client: Add futures.
Build system
- cmake: Build outside the source tree.
- nix: Add outputs for Android binaries.
- Add
repositoryto Cargo.toml. - python: Remove
setuptools_scmdependency. - Add development shell (#5390).
CI
- Update to Rust 1.77.0.
- Build deltachat-rpc-server for Android.
- Shorter names for deltachat-rpc-server jobs.
Features / Changes
- Do not include provider hostname in
Message-ID. - Include 3 recent Message-IDs in
Referencesheader. - Include more entries into DNS fallback cache.
Fixes
- Preserve upper-/lowercase of links parsed by
dehtml()(#5362). - Rescan folders after changing
Config::SentboxWatch. - Do not ignore
Contact::get_by_id()error infrom_field_to_contact_id(). - Put overridden sender name into message info.
- Don't send selfavatar in
SecureJoinmessages before contact verification (#5354). - Always set correct
chat_idforDC_EVENT_REACTIONS_CHANGED(#5419).
Refactor
- Remove
MessageObject::from_message_id(). - jsonrpc: Add
msg_idandaccount_idtoget_message()errors. - Cleanup
jobsandParamsrelicts.
Tests
Test_mvbox_sentbox_threads: Check that sentbox gets configured after settingsentbox_watch(#5105).- Remove flaky time check from
test_list_from(). - Add failing test for #5418 (wrong
DC_EVENT_REACTIONS_CHANGED)
Miscellaneous Tasks
- Add
resultto .gitignore. - cargo: Bump thiserror from 1.0.57 to 1.0.58.
- cargo: Bump tokio from 1.36.0 to 1.37.0.
- cargo: Bump pin-project from 1.1.4 to 1.1.5.
- cargo: Bump strum from 0.26.1 to 0.26.2.
- cargo: Bump uuid from 1.7.0 to 1.8.0.
- cargo: Bump toml from 0.8.10 to 0.8.12.
- cargo: Bump tokio-stream from 0.1.14 to 0.1.15.
- cargo: Bump smallvec from 1.13.1 to 1.13.2.
- cargo: Bump async-smtp from 0.9.0 to 0.9.1.
- cargo: Bump strum_macros from 0.26.1 to 0.26.2.
- cargo: Bump serde_json from 1.0.114 to 1.0.115.
- cargo: Bump anyhow from 1.0.80 to 1.0.81.
- cargo: Bump syn from 2.0.52 to 2.0.57.
- cargo: Bump futures-lite from 2.2.0 to 2.3.0.
- cargo: Bump axum from 0.7.4 to 0.7.5.
- cargo: Bump reqwest from 0.11.24 to 0.12.2.
- cargo: Bump backtrace from 0.3.69 to 0.3.71.
- cargo: Bump regex from 1.10.3 to 1.10.4.
- cargo: Update aho-corasick from 1.1.2 to 1.1.3.
- Update deny.toml.
1.136.6 - 2024-03-19
Build system
- Add description to deltachat-rpc-server wheels.
- Read version from Cargo.toml in wheel-rpc-server.py.
CI
- Update actions/cache from v3 to v4.
- Automate publishing of deltachat-rpc-server to PyPI.
Documentation
- deltachat-rpc-server: Update deltachat-rpc-client URL.
Miscellaneous Tasks
- Nix flake update.
1.136.5 - 2024-03-18
Features / Changes
- Nicer summaries: prefer emoji over names
- Add
save_mime_headersto debug info (#5350)
Fixes
- Terminate ephemeral and location loop immediately on channel close.
- Update MemberListTimestamp when sending a group message.
- On iOS, use FILE (default) instead of MEMORY (#5349).
- Add white background to recoded avatars (#3787).
Build system
- Add README to deltachat-rpc-client Python packages.
Documentation
- deltachat-rpc-client: Document that 0 is a special value of
set_ephemeral_timer().
Tests
- Test that reordering of Member added message results in square bracket error.
1.136.4 - 2024-03-11
Build system
- nix: Make .#libdeltachat buildable on macOS.
- Build deltachat-rpc-server wheels with nix.
CI
- Add workflow for automatic publishing of deltachat-rpc-client.
Fixes
- Remove duplicate CHANGELOG entries for 1.135.1.
1.136.3 - 2024-03-09
Features / Changes
- Start IMAP loop for sentbox only if it is configured (#5105).
Fixes
- Remove leading whitespace from Subject (#5106).
- Create new Peerstate for unencrypted message with already known Autocrypt key, but a new address.
Build system
- nix: Cleanup cross-compilation code.
- nix: Include SystemConfiguration framework on darwin systems.
CI
- Wait for
build_windowstask before trying to publish it. - Remove artifacts from npm package.
Refactor
- Don't parse Autocrypt header for outgoing messages (#5259).
- Remove
deduplicate_peerstates(). - Fix 2024-03-05 nightly clippy warnings.
Miscellaneous Tasks
- deps: Bump mio from 0.8.8 to 0.8.11 in /fuzz.
- RPC client: Add missing constants (#5110).
1.136.2 - 2024-03-05
Build system
- Downgrade
ccto 1.0.83 to fix build for Android.
CI
- Update setup-node action.
1.136.1 - 2024-03-05
Build system
- Revert to OpenSSL 3.1.
- Restore MSRV 1.70.0.
Miscellaneous Tasks
- Update node constants.
1.136.0 - 2024-03-04
Features / Changes
- Recognise Trash folder by name (#5275).
- Send Chat-Group-Avatar as inline base64 (#5253).
- Self-Reporting: Report number of protected/encrypted/unencrypted chats (#5292).
Fixes
- Don't send sync messages on self-{status,avatar} update from self-sent messages (#5289).
- imap: Allow
maybe_networkto interrupt connection ratelimit. - imap: Set connectivity to "connecting" only after ratelimit.
- Remove
Group-IDfromMessage-ID. - Prioritize protected
Message-IDoverX-Microsoft-Original-Message-ID.
API-Changes
- Make
store_self_keypairprivate. - Add
ContextBuilder.build()to build Context without opening. dc_accounts_set_push_device_tokenanddc_get_push_stateAPIs for iOS push notifications.
Build system
- Tag armv6 wheels with tags accepted by PyPI.
- Unpin OpenSSL.
- Remove deprecated
unmaintainedfield from deny.toml. - Do not vendor OpenSSL when cross-compiling (#5316).
- Increase MSRV to 1.74.0.
CI
- Upgrade setup-python GitHub Action.
- Update to Rust 1.76 and fix clippy warnings.
- Build Python docs with Nix.
- Upload python docs without GH actions.
- Upload cffi docs without GH actions.
- Build c.delta.chat docs with nix.
Other
- refactor: move more methods from Imap into Session.
- Add deltachat-time to sources.
Refactor
- Remove Session from Imap structure.
- Merge ImapConfig into Imap.
- Get rid of ImapActionResult.
- Build contexts using ContextBuilder.
- Do not send
Secure-Join-Groupinvg-request.
Tests
- Fix
test_verified_oneonone_chat_broken_by_device_change()(#5280). get_protected_chat(): Use FFIEventTracker instead ofdc_wait_next_msgs()(#5207).- Fixup
tests/test_3_offline.py::TestOfflineAccountBasic::test_wrong_db. - Fix pytest compat (#5317).
1.135.1 - 2024-02-20
Features / Changes
- Sync self-avatar across devices (#4893).
- Sync Config::Selfstatus across devices (#4893).
- Remove webxdc sending limit.
Fixes
- Never encrypt
{vc,vg}-requestSecureJoin messages. - Apply Autocrypt headers if timestamp is unchanged.
Context::get_info: Report displayname as "displayname" (w/o underscore).
Tests
- Mock
SystemTime::now()for the tests. - Add a test on protection message sort timestamp (#5088).
Build system
- Add flake.nix.
- Add footer template for git-cliff.
CI
- Update GitHub Actions
actions/upload-artifact,actions/download-artifact,actions/checkout. - Build deltachat-repl for Windows with nix.
- Build deltachat-rpc-server with nix.
- Try to upload deltachat-rpc-server only on release.
- Fixup node-package.yml after artifact actions upgrade.
- Update to actions/checkout@v4.
- Replace download-artifact v1 with v4.
Refactor
create_keypair: Remove unnecessarymap_err.- Return error with a cause when failing to export keys.
- Rename incorrectly named variables in
create_keypair.
1.135.0 - 2024-02-13
Features / Changes
- Add wildcard pattern support to provider database.
- Add device message about outgoing undecryptable messages (#5164).
- Context::set_config(): Restart IO scheduler if needed (#5111).
- Server_sent_unsolicited_exists(): Log folder name.
- Cache system time instead of looking at the clock several times in a row.
- Basic self-reporting (#5129).
Fixes
- Dehtml: Don't just truncate text when trying to decode (#5223).
- Mark the gossip keys from the message as verified, not the ones from the db (#5247).
- Guarantee immediate message deletion if delete_server_after == 0 (#5201).
- Never allow a message timestamp to be a lot in the future (#5249).
- Imap::configure_mvbox: Do select_with_uidvalidity() before return.
- ImapSession::select_or_create_folder(): Don't fail if folder is created in parallel.
- Emit ConfigSynced event on the second device.
- Create mvbox on setting mvbox_move.
- Use SystemTime instead of Instant everywhere.
- Restore database rows removed in previous release; this ensures compatibility when adding second device or importing backup and not all devices run the new core (#5254)
Miscellaneous Tasks
- cargo: Bump image from 0.24.7 to 0.24.8.
- cargo: Bump chrono from 0.4.31 to 0.4.33.
- cargo: Bump futures-lite from 2.1.0 to 2.2.0.
- cargo: Bump pin-project from 1.1.3 to 1.1.4.
- cargo: Bump iana-time-zone from yanked 0.1.59 to 0.1.60.
- cargo: Bump smallvec from 1.11.2 to 1.13.1.
- cargo: Bump base64 from 0.21.5 to 0.21.7.
- cargo: Bump regex from 1.10.2 to 1.10.3.
- cargo: Bump libc from 0.2.151 to 0.2.153.
- cargo: Bump reqwest from 0.11.23 to 0.11.24.
- cargo: Bump axum from 0.7.3 to 0.7.4.
- cargo: Bump uuid from 1.6.1 to 1.7.0.
- cargo: Bump fast-socks5 from 0.9.2 to 0.9.5.
- cargo: Bump serde_json from 1.0.111 to 1.0.113.
- cargo: Bump syn from 2.0.46 to 2.0.48.
- cargo: Bump serde from 1.0.194 to 1.0.196.
- cargo: Bump toml from 0.8.8 to 0.8.10.
- cargo: Update to strum 0.26.
- Cargo update.
- scripts: Do not install deltachat-rpc-client twice.
Other
- Update welcome image, thanks @paulaluap
- Merge pull request #5243 from deltachat/dependabot/cargo/pin-project-1.1.4
- Merge pull request #5241 from deltachat/dependabot/cargo/futures-lite-2.2.0
- Merge pull request #5236 from deltachat/dependabot/cargo/chrono-0.4.33
- Merge pull request #5235 from deltachat/dependabot/cargo/image-0.24.8
Refactor
- Resultify token::exists.
Tests
- Delete_server_after="1" should cause immediate message deletion (#5201).
1.134.0 - 2024-01-31
API-Changes
- [breaking] JSON-RPC: device message api now requires
Option<MessageData>instead ofStringfor the message (#5211). - CFFI: add
dc_accounts_background_fetchand eventDC_EVENT_ACCOUNTS_BACKGROUND_FETCH_DONE. - JSON-RPC: add
accounts_background_fetch.
Features / Changes
Qr::check_qr(): Accept i.delta.chat invite links (#5217).- Add support for IMAP METADATA, fetching
/shared/commentand/shared/adminand displaying it in account info.
Fixes
- Add tolerance for macOS and iOS changing
#to%23. - Do not drop unknown report attachments, such as TLS reports.
- Treat only "Auto-Submitted: auto-generated" messages as bot-sent (#5213).
Chat::resend_msgs: Guarantee strictly increasing time in theDateheader.- Delete resent messages on receiver side (#5155).
- Fix iOS build issue.
CI
- Add/remove necessary newlines to fix Python lint.
Tests
test_import_export_online_all: Send the message to the existing address to avoid errors (#5220).
1.133.2 - 2024-01-24
Fixes
1.133.1 - 2024-01-21
API-Changes
- Add
is_botto cffi and jsonrpc (#5197).
Features / Changes
- Add system message when provider does not allow unencrypted messages (#5195).
Fixes
Chat::send_msg: Remove encryption-related params from already sent message. This allows to send received encrypteddc_msg_tobject to unencrypted chat, e.g. in a Python bot.- Set message download state to Failure on IMAP errors. This avoids partially downloaded messages getting stuck in "Downloading..." state without actually being in a download queue.
- BCC-to-self even if server deletion is set to "at once". This is a workaround for SMTP servers which do not return response in time, BCC-self works as a confirmation that message was sent out successfully and does not need more retries.
- node: Run tests with native ESM modules instead of
esm(#5194). - Use Quoted-Printable MIME encoding for the text part (#3986).
Tests
- python: Add
get_protected_chatto testplugin.py.
1.133.0 - 2024-01-14
Features / Changes
- Securejoin protocol implementation refinements
- Track forward and backward verification separately (#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). 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).
- Encrypt MDNs (#5175).
- Only try to configure non-strict TLS checks if explicitly set (#5181).
Build system
- Use released version of iroh 0.4.2 for "setup second device" feature.
CI
- Update to Rust 1.75.0.
- Downgrade
chaifrom 4.4.0 to 4.3.10.
Documentation
- Add a link https://www.ietf.org/archive/id/draft-bucksch-autoconfig-00.html to autoconfig RFC draft.
- Update securejoin link in
standards.mdfrom https://countermitm.readthedocs.io/ to https://securejoin.readthedocs.io. - 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).
- imap: Fail fast on
LISTerrors to avoid busy loop when connection is lost. - Split SMTP jobs already in
chat::create_send_msg_jobs()(#5115). - Do not remove contents from unencrypted Schleuder mailing lists messages.
- Reset message error when scheduling resending (#5119).
- Emit events more reliably when starting and stopping I/O (#5101).
- Fix timestamp of chat protection info message for correct message ordering after restoring a backup (#5088).
Refactor
- sql: Recreate
configtable with UNIQUE constraint. - sql: Recreate
keypairstable to remove unusedaddrandcreatedfields and moveis_defaultflag toconfigtable. - Send
Secure-Join-Fingerprintonly 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
- Add "From:" to protected headers for signed-only messages.
- Sync user actions for ad-hoc groups across devices (#5065).
Fixes
- Add padlock to empty part if the whole message is empty.
- Renew IDLE timeout on keepalives and reduce it to 5 minutes.
- connectivity: Return false from
all_work_done()immediately after connecting (iOS notification fix).
API-Changes
- deltachat-jsonrpc-client: add
Account.{import,export}_self_keys.
CI
- Update to Rust 1.74.1.
1.132.0 - 2023-12-06
Features / Changes
- Increase TCP timeouts from 30 to 60 seconds.
Fixes
- Don't sort message creating a protected group over a protection message (#4963).
- Do not lock accounts.toml on iOS.
- Protect groups even if some members are not verified and add
test_securejoin_after_contact_resetupregression test.
1.131.9 - 2023-12-02
API-Changes
- Remove
dc_get_http_response(),dc_http_response_get_mimetype(),dc_http_response_get_encoding(),dc_http_response_get_blob(),dc_http_response_get_size(),dc_http_response_unref()anddc_http_response_tfrom cffi. - Deprecate CFFI APIs
dc_send_reaction(),dc_get_msg_reactions(),dc_reactions_get_contacts(),dc_reactions_get_by_contact_id(),dc_reactions_unrefanddc_reactions_t. - Make
Contact.is_verified()return bool.
Build system
- Switch from fork of iroh to iroh 0.4.2 pre-release.
Features / Changes
- Send
Chat-Verifiedheaders in 1:1 chats. - Ratelimit IMAP connections (#4940).
- Remove receiver limit on
.xdcsize. - Don't affect MimeMessage with "From" and secured headers from encrypted unsigned messages.
- Sync
Config::{MdnsEnabled,ShowEmails}across devices (#4954). - Sync
Config::Displaynameacross devices (#4893). Chat::rename_ex: Don't send sync message if usual message is sent.
Fixes
- Lock the database when INSERTing a webxdc update, avoid "Database is locked" errors.
- Use keyring with all private keys when decrypting a message (#5046).
Tests
- Make Result-returning tests produce a line number.
- Add
test_utils::sync(). - Test inserting lots of webxdc updates.
- Split
test_sync_alter_chat()into smaller tests.
1.131.8 - 2023-11-27
Features / Changes
- webxdc: Add unique IDs to status updates sent outside and deduplicate based on IDs.
Fixes
- Allow IMAP servers not returning UIDNEXT on SELECT and STATUS such as mail.163.com.
- Use the correct securejoin strings used in the UI, remove old TODO (#5047).
- Do not emit events about webxdc update events logged into debug log webxdc.
Tests
- Check that
receive_status_updatehas forward compatibility and unique webxdc IDs will be ignored by previous Delta Chat versions.
1.131.7 - 2023-11-24
Fixes
- Revert "fix: check UIDNEXT with a STATUS command before going IDLE". This attempts to fix mail.163.com which has broken STATUS command.
1.131.6 - 2023-11-21
Fixes
- Fail fast if IMAP FETCH cannot be parsed instead of getting stuck in infinite loop.
Documentation
- Generate deltachat-rpc-client documentation and publish it to https://py.delta.chat.
1.131.5 - 2023-11-20
API-Changes
- deltachat-rpc-client: Add
Message.get_sender_contact(). - Turn
ContactAddressinto an owned type.
Features / Changes
- Lowercase addresses in Autocrypt and Autocrypt-Gossip headers.
- Lowercase the address in member added/removed messages.
- Lowercase
addrwhen it is set. - Do not replace the message with an error in square brackets when the sender is not a member of the protected group.
Fixes
Chat::sync_contacts(): Fetch contact addresses in a single query.Chat::rename_ex(): Sync improved chat name to other devices.- Recognize
Chat-Group-Member-Addedof self case-insensitively. - Compare verifier addr to peerstate addr case-insensitively.
Tests
- Port Secure-Join tests to JSON-RPC.
CI
- Test with Rust 1.74.
1.131.4 - 2023-11-16
Documentation
- Document DC_DOWNLOAD_UNDECIPHERABLE.
Fixes
- Always add "Member added" as system message.
1.131.3 - 2023-11-15
Fixes
- Update async-imap to 0.9.4 which does not ignore EOF on FETCH.
- Reset gossiped timestamp on securejoin.
- sync: Ignore unknown sync items to provide forward compatibility and avoid creating empty message bubbles.
- sync: Skip sync when chat name is set to the current one.
- Return connectivity HTML with an error when IO is stopped.
1.131.2 - 2023-11-14
API-Changes
- deltachat-rpc-client: add
Account.get_chat_by_contact().
Features / Changes
- Do not post "... verified" messages on QR scan success.
- Never drop better message from
apply_group_changes().
Fixes
- Assign MDNs to the trash chat early to prevent received MDNs from creating or unblocking 1:1 chats.
- Allow to securejoin groups when 1:1 chat with the inviter is a contact request.
- Add "setup changed" message for verified key before the message.
- Ignore special chats when calculating similar chats.
1.131.1 - 2023-11-13
Fixes
- Do not skip actual message parts when group change messages are inserted.
1.131.0 - 2023-11-13
Features / Changes
- Sync chat contacts across devices (#4953).
- Sync creating broadcast lists across devices (#4953).
- Sync Chat::name across devices (#4953).
- Multi-device broadcast lists (#4953).
Fixes
- Encode chat name in the
List-IDheader to avoid SMTPUTF8 errors. - Ignore errors from generating sync messages.
Context::execute_sync_items: Ignore all errors (#4817).- Allow to send unverified securejoin messages to protected chats (#4982).
1.130.0 - 2023-11-10
API-Changes
- Emit JoinerProgress(1000) event when Bob verifies Alice.
- JSON-RPC: add
ContactObject.is_profile_verifiedproperty. - Hide
ChatId::get_for_contact()from public API.
Features / Changes
- Add secondary verified key.
- Add info messages about implicitly added members.
- Treat reset state as encryption not preferred.
- Grow sleep durations on errors in Imap::fake_idle() (#4424).
Fixes
- Mark 1:1 chat as protected when joining a group.
- Raise lower auto-download limit to 160k.
- Remove
Reporting-UAfrom read receipts. - Do not apply group changes to special chats. Avoid adding members to the trash chat.
- imap: make
UidGrouperrobust against duplicate UIDs. - Do not return hidden chat from
dc_get_chat_id_by_contact_id. - Smtp_loop(): Don't grow timeout if interrupted early (#4833).
Refactor
- imap: Do not FETCH right after
scan_folders(). - deltachat-rpc-client: Use
itertoolsinstead ofLockfor thread-safe request ID generation.
Tests
- Remove unused
--liveconfigoption. - Test chatlist can load for corrupted chats (#4979).
Miscellaneous Tasks
- Update provider-db (#4949).
1.129.1 - 2023-11-06
Fixes
- Update tokio-imap to fix Outlook STATUS parsing bug.
- deltachat-rpc-client: Add the Lock around request ID.
apply_group_changes: Don't implicitly delete members locally, add absent ones instead (#4934).- Partial messages do not change group state (#4900).
Tests
- Group chats device synchronisation.
1.129.0 - 2023-11-06
API-Changes
- Add JSON-RPC
get_chat_id_by_contact_idAPI (#4918). - [breaking] Remove deprecated
get_verifier_addr.
Features / Changes
- Sync chat
Blockedstate, chat visibility, chat mute duration and contact blocked status across devices (#4817). - Add 'group created instructions' as info message (#4916).
- Add hardcoded fallback DNS cache.
Fixes
- Switch to
EncryptionPreference::Mutualon a receipt of encrypted+signed message (#4707). - imap: Check UIDNEXT with a STATUS command before going IDLE.
- Allow to change verified key via "member added" message.
- json-rpc: Return verifier even if the contact is not "verified" (Autocrypt key does not equal Secure-Join key).
Documentation
- Refine
Contact::get_verifier_idandContact::is_verifieddocumentation (#4922). - Contact profile view should not use
dc_contact_is_verified(). - Remove documentation for non-existing
dc_accounts_newos_nameparam.
Refactor
- Remove unused or useless code paths in Secure-Join (#4897).
- Improve error handling in Secure-Join code.
- Add hostname to "no DNS resolution results" error message.
- Accept
&strinstead ofOption<String>in idle().
1.128.0 - 2023-11-02
Build system
- [breaking] Upgrade nodejs version to 18 (#4903).
Features / Changes
- deltachat-rpc-client: Add
Account.wait_for_incoming_msg_event(). - Decrease ratelimit for .testrun.org subdomains.
Fixes
- Do not fail securejoin due to unrelated pending bobstate (#4896).
- Allow other verified group recipients to be unverified, only check the sender verification.
- Remove not working attempt to recover from verified key changes.
1.127.2 - 2023-10-29
API-Changes
- [breaking] Jsonrpc
misc_set_draftnow requires setting the viewtype. - jsonrpc: Add
get_message_info_object.
Tests
- deltachat-rpc-client: Move pytest option from pyproject.toml to tox.ini and set log level.
- deltachat-rpc-client: Test securejoin.
- Increase pytest timeout to 10 minutes.
- Compile deltachat-rpc-server in debug mode for tests.
1.127.1 - 2023-10-27
API-Changes
- jsonrpc: add
.is_protection_brokentoFullChatandBasicChat. - jsonrpc: Add
idtoProviderInfo.
1.127.0 - 2023-10-26
API-Changes
- [breaking]
dc_accounts_newAPI is changed. Unusedos_nameargument is removed andwritableargument is added. - jsonrpc: Add
resend_messages. - [breaking] Remove unused function
is_verified_ex()(#4551) - [breaking] Make
MsgId.delete_from_db()private. - [breaking] deltachat-jsonrpc: use
kindas a tag for all union types - json-rpc: Force stickers to be sent as stickers (#4819).
- Add mailto parse api (#4829).
- [breaking] Remove unused
DC_STR_PROTECTION_(EN)ABLEDstrings - [breaking] Remove unused
dc_set_chat_protection() - Hide
DcSecretKeytrait from the API. - Verified 1:1 chats (#4315). Disabled by default, enable with
verified_one_on_one_chatsconfig. - Add api
chat::Chat::is_protection_broken - Add
dc_chat_is_protection_broken()C API.
CI
- Run Rust tests with
RUST_BACKTRACEset. - Replace
masterbranch withmain. Run CI only onmainbranch pushes. - Test
deltachat-rpc-clienton Windows.
Documentation
- Document how logs and error messages should be formatted in
CONTRIBUTING.md. - Clarify transitive behaviour of
dc_contact_is_verfified(). - Document
configured_addr.
Features / Changes
- Add lockfile to account manager (#4314).
- Don't show a contact as verified if their key changed since the verification (#4574).
- deltachat-rpc-server: Add
--openrpcoption to print OpenRPC specification for JSON-RPC API. This specification can be used to generate JSON-RPC API clients. - Track whether contact is a bot or not (#4821).
- Replace
Config::SendSyncMsgswithSyncMsgs(#4817).
Fixes
- Don't create 1:1 chat as protected for contact who doesn't prefer to encrypt (#4538).
- Allow to save a draft if the verification is broken (#4542).
- Fix info-message orderings of verified 1:1 chats (#4545).
- Fix example; this was changed some time ago, see https://docs.webxdc.org/spec.html#sendupdate
receive_imf: Update peerstate from db after handling Securejoin handshake (#4600).- Sort old incoming messages below all outgoing ones (#4621).
- Do not mark non-verified group chats as verified when using securejoin.
receive_imf: Set protection only for Chattype::Single (#4597).- Return from
dc_get_chatlist(DC_GCL_FOR_FORWARDING)only chats where we can send (#4616). - Clear VerifiedOneOnOneChats config on backup (#4615).
- Try removal of accounts multiple times with timeouts in case the database file is blocked (restore
try_many_timesworkaround).
Build system
- Remove examples/simple.rs.
- Increase MSRV to 1.70.0.
- Update dependencies.
- Switch to iroh 0.4.x fork with updated dependencies.
1.126.1 - 2023-10-24
Fixes
- Do not hardcode version in deltachat-rpc-server source package.
- Do not interrupt IMAP loop from
get_connectivity_html().
Features / Changes
- imap: Buffer
STARTTLScommand.
Build system
- Build
deltachat-rpc-serverbinary for aarch64 macOS. - Build
deltachat-rpc-serverwheels for macOS and Windows.
Refactor
- Remove job queue.
Miscellaneous Tasks
- cargo: Update
ahashto makecargo-denyhappy.
1.126.0 - 2023-10-22
API-Changes
- Allow to filter by unread in
chatlist:try_load(#4824). - Add
misc_send_draft()to JSON-RPC API (#4839).
Features / Changes
- [breaking] Make broadcast lists create their own chat (#4644).
- This means that UIs need to ask for the name when creating a broadcast list, similar to https://github.com/deltachat/deltachat-android/pull/2653.
- Add self-address to backup filename (#4820)
CI
- Build Python wheels for deltachat-rpc-server.
Build system
- Strip release binaries.
- Workaround OpenSSL crate expecting libatomic to be available.
Fixes
- Set
soft_heap_limiton SQLite database. - imap: Fallback to
STATUSifSELECTdid not return UIDNEXT.
1.125.0 - 2023-10-14
API-Changes
- [breaking] deltachat-rpc-client: Replace
asynciowith threads. - Validate boolean values passed to
set_config. Attempts to set values other than0and1will result in an error.
CI
- Reduce required Python version for deltachat-rpc-client from 3.8 to 3.7.
Features / Changes
- Add developer option to disable IDLE.
Fixes
deltachat-rpc-client: Rundeltachat-rpc-serverin its own process group. This prevents reception ofSIGINTby the server when the bot is terminated with^C.- python: Don't automatically set the displayname to "bot" when setting log level.
- Don't update
timestamp,timestamp_rcvd,statewhen replacing partially downloaded message (#4700). - Assign encrypted partially downloaded group messages to 1:1 chat (#4757).
- Return all contacts from
Contact::get_allfor bots (#4811). - Set connectivity status to "connected" during fake idle.
- Return verifier contacts regardless of their origin.
- Don't try to send more MDNs if there's a temporary SMTP error (#4534).
Refactor
- deltachat-rpc-client: Close stdin instead of sending
SIGTERM. - deltachat-rpc-client: Remove print() calls. Standard
loggingpackage is for logging instead.
Tests
- deltachat-rpc-client: Enable logs in pytest.
1.124.1 - 2023-10-05
Fixes
- Remove footer from reactions on the receiver side (#4780).
CI
- Pin
urllib3version to<2. (#4788)
1.124.0 - 2023-10-04
API-Changes
- [breaking] Return
DC_CONTACT_ID_SELFfromdc_contact_get_verifier_id()for directly verified contacts. - Deprecate
dc_contact_get_verifier_addr. - python: use
dc_contact_get_verifier_id().get_verifier()returns a Contact rather than an address now. - Deprecate
get_next_media(). - Ignore public key argument in
dc_preconfigure_keypair(). Public key is extracted from the private key.
Fixes
- Wrap base64-encoded parts to 76 characters.
- Require valid email addresses in
dc_provider_new_from_email[_with_dns]. - Do not trash messages with attachments and no text when
location.kmlis attached (#4749). - Initialise
last_msg_idto the highest known row id. This ensures bots migrated from older version todc_get_next_msgs()API do not process all previous messages from scratch. - Do not put the status footer into reaction MIME parts.
- Ignore special chats in
get_similar_chat_ids(). This prevents trash chat from showing up in similar chat list (#4756). - Cap percentage in connectivity layout to 100% (#4765).
- Add Let's Encrypt root certificate to
reqwest. This should allow scanningDCACCOUNTQR-codes on older Android phones when the server has a Let's Encrypt certificate. - deltachat-rpc-client: Increase stdio buffer to 64 MiB to avoid Python bots crashing when trying to load large messages via a JSON-RPC call.
- Add
protected-headersdirective to Content-Type of encrypted messages with attachments (#2302). This makes Thunderbird show encrypted Subject for Delta Chat messages. - webxdc: Reset
document.updateon forwarding. This fixes the testtest_forward_webxdc_instance().
Features / Changes
- Remove extra members from the local list in sake of group membership consistency (#3782).
- deltachat-rpc-client: Log exceptions when long-running tasks die.
Build
- Build wheels for Python 3.12 and PyPy 3.10.
1.123.0 - 2023-09-22
API-Changes
- Make it possible to import secret key from a file with
DC_IMEX_IMPORT_SELF_KEYS. - [breaking] Make
dc_jsonrpc_blocking_callaccept JSON-RPC request.
Fixes
lookup_chat_by_reply(): Skip not fully downloaded and undecipherable messages (#4676).lookup_chat_by_reply(): Skip undecipherable parent messages created by older versions (#4676).- imex: Use "default" in the filename of the default key.
Miscellaneous Tasks
- Update OpenSSL from 3.1.2 to 3.1.3.
1.122.0 - 2023-09-12
API-Changes
- jsonrpc: Return only chat IDs for similar chats.
Fixes
- Reopen all connections on database passpharse change.
- Do not block new group chats if 1:1 chat is blocked.
- Improve group membership consistency algorithm (#3782)(#4624).
- Forbid membership changes from possible non-members (#3782).
ChatId::parent_query(): Don't filter out OutPending and OutFailed messages.
Build system
- Update to OpenSSL 3.0.
- Bump webpki from 0.22.0 to 0.22.1.
- python: Add link to Mastodon into projects.urls.
Features / Changes
- Add RSA-4096 key generation support.
Refactor
- pgp: Add constants for encryption algorithm and hash.
1.121.0 - 2023-09-06
API-Changes
- Add
dc_context_change_passphrase(). - Add
Message.set_file_from_bytes()API. - Add experimental API to get similar chats.
Build system
- Build node packages on Ubuntu 18.04 instead of Debian 10. This reduces the requirement for glibc version from 2.28 to 2.27.
Fixes
- Allow membership changes by a MUA if we're not in the group (#4624).
- Save mime headers for messages not signed with a known key (#4557).
- Return from
dc_get_chatlist(DC_GCL_FOR_FORWARDING)only chats where we can send (#4616). - Do not allow dots at the end of email addresses.
- deltachat-rpc-client: Remove
aiodnsoptional dependency from required dependencies.aiodnsdepends onpycareswhich fails to install in Termux.
1.120.0 - 2023-08-28
API-Changes
- jsonrpc: Add
resend_messages.
Fixes
- Update async-imap to 0.9.1 to fix memory leak.
- Delete messages from SMTP queue only on user demand (#4579).
- Do not send images without transparency as stickers (#4611).
prepare_msg_blob(): do not use the image if it has Exif metadata but the image cannot be recoded.
Refactor
- Hide accounts.rs constants from public API.
- Hide pgp module from public API.
Build system
- Update to Zig 0.11.0.
- Update to Rust 1.72.0.
CI
- Run on push to stable branch.
Miscellaneous Tasks
- python: Fix lint errors.
- python: Fix
ruff0.0.286 warnings. - Fix beta clippy warnings.
1.119.1 - 2023-08-06
Bugfix release attempting to fix the iOS build error.
Features / Changes
- Guess message viewtype from "application/octet-stream" attachment extension (#4378).
Fixes
- Update
xattrfrom 1.0.0 to 1.0.1 to fix UnsupportedPlatformError import.
Tests
- webxdc: Ensure unknown WebXDC update properties do not result in an error.
1.119.0 - 2023-08-03
Fixes
imap: Avoid IMAP move loops when DeltaChat folder is aliased.
imap: Do not resync IMAP after initial configuration.
webxdc: Accept WebXDC updates in mailing lists.
webxdc: Base64-encode WebXDC updates to prevent corruption of large unencrypted WebXDC updates.
webxdc: Delete old webxdc status updates during housekeeping.
Return valid MsgId from
receive_imf()when the message is replaced.Emit MsgsChanged event with correct chat id for replaced messages.
deltachat-rpc-server: Update tokio-tar to fix backup import.
Features / Changes
- deltachat-rpc-client: Add
MSG_DELETEDconstant. - Make
dc_msg_get_filename()return the original attachment filename (#4309).
API-Changes
- deltachat-rpc-client: Add
Account.{import,export}_backupmethods. - deltachat-jsonrpc: Make
MessageObject.textnon-optional.
Documentation
- Update default value for
show_emailsindc_set_config()documentation.
Refactor
- Improve IMAP logs.
Tests
- Add basic import/export test for async python.
- Add
test_webxdc_download_on_demand. - Add tests for deletion of webxdc status-updates.
1.118.0 - 2023-07-07
API-Changes
- [breaking] Remove
Contact::load_from_db()in favor ofContact::get_by_id(). - Add
Contact::get_by_id_optional()API. - [breaking] Make
Message.textnon-optional. - [breaking] Replace
message::get_msg_info()withMsgId.get_info(). - Move
handle_mdnandhandle_ndnto mimeparser and make them private. Previouslyhandle_mdnwas erroneously exposed in the public API. - python: flatten the API of
deltachatmodule.
Fixes
- Use different member added/removal messages locally and on the network.
- Update tokio to 1.29.1 to fix core panic after sending 29 offline messages (#4414).
- Make SVG avatar image work on more platforms (use
xlink:href). - Preserve indentation when converting plaintext to HTML.
- Do not run simplify() on dehtml() output.
- Rewrite member added/removed messages even if the change is not allowed PR (#4529).
Documentation
- Document how to regenerate Node.js constants before the release.
Build system
- git-cliff: Do not fail if commit.footers is undefined.
Other
- Dependency updates.
- Update MPL 2.0 license text.
- Add LICENSE file to deltachat-rpc-client.
- deltachat-rpc-client: Add Trove classifiers.
- python: Change bindings status to production/stable.
Tests
- Add
make-python-testenv.shscript.
1.117.0 - 2023-06-15
Features
New group membership update algorithm.
New algorithm improves group consistency in cases of missing messages, restored old backups and replies from classic MUAs.
Add
DC_EVENT_MSG_DELETEDevent.This event notifies the UI about the message being deleted from the messagelist, e.g. when the message expires or the user deletes it.
Fixes
Emit
DC_EVENT_MSGS_CHANGEDwithout IDs when the message expires.Specifying msg IDs that cannot be loaded in the event payload results in an error when the UI tries to load the message. Instead, emit an event without IDs to make the UI reload the whole messagelist.
Ignore address case when comparing the
To:field toAutocrypt-Gossip:.This bug resulted in failure to propagate verification if the contact list already contained a new verified group member with a non-lowercase address.
dehtml: skip links with empty text.
Links like
<a href="https://delta.chat/"></a>in HTML mails are now skipped instead of being converted to a link without a label like[](https://delta.chat/).dehtml: Do not insert unnecessary newlines when parsing
<p>tags.Update from yanked
libc0.2.145 to 0.2.146.Update to async-imap 0.9.0 to remove deprecated
ouroborosdependency.
API-Changes
Emit
DC_EVENT_MSGS_CHANGEDper chat when messages are deleted.Previously a single event with zero chat ID was emitted.
python: make
Contact.is_verified()return bool.rust: add API endpoint
get_status_update(#4468).rust: make
WebxdcManifesttype public.
Build system
- Use Rust 1.70.0 to compile deltachat-rpc-server releases.
- Disable unused
brotlifeatureffi-apiand use 1 codegen-units for release builds to reduce the size of the binaries.
CI
- Run
cargo checkwith musl libc. - concourse: Install devpi in a virtual environment.
- Remove mergeable configuration.
Documentation
- README: mark napi.rs bindings as experimental. CFFI bindings are not legacy and are the recommended Node.js bindings currently.
- CONTRIBUTING: document how conventional commits interact with squash merges.
Refactor
Rename
MimeMessage.headerintoMimeMessage.headers.Derive
Defaulttrait forWebxdcManifest.
Tests
- Regression test for case-sensitive comparison of gossip header to contact address.
- Multiple new group consistency tests in Rust.
- python: Replace legacy
tmpdirfixture withtmp_path.
1.116.0 - 2023-06-05
API-Changes
- Add
dc_jsonrpc_blocking_call().
Changes
- Generate OpenRPC definitions for JSON-RPC.
- Add more context to message loading errors.
Fixes
- Build deltachat-node prebuilds on Debian 10.
Documentation
- Document release process in
RELEASE.md. - Add contributing guidelines
CONTRIBUTING.md. - Update instructions for python devenv.
- python: Document pytest fixtures.
Tests
- python: Make
test_mdn_asymmetricless flaky. - Make
test_group_with_removed_message_idless flaky. - Add golden tests infrastructure (#4395).
Build system
- git-cliff: Changelog generation improvements.
set_core_version.py: Expect release date in the changelog.
CI
- Require Python 3.8 for deltachat-rpc-client.
- mergeable: Allow PR titles to start with "ci" and "build".
- Remove incorrect comment.
- dependabot: Use
choreprefix for dependency updates. - Remove broken
node-delete-preview.ymlworkflow. - Add top comments to GH Actions workflows.
- Run node.js lint on Windows.
- Update clippy to 1.70.0.
Miscellaneous Tasks
- Remove release.toml.
- gitattributes: Configure LF line endings for JavaScript files.
- Update dependencies
1.112.10 - 2023-06-01
Fixes
- Disable
fetch_existing_msgssetting by default. - Update
h2to fix RUSTSEC-2023-0034.
1.115.0 - 2023-05-12
JSON-RPC API Changes
- Sort reactions in descending order (#4388).
- Add API to get reactions outside the message snapshot.
get_chatlist_items_by_entriesnow takes only chatids instead ofChatListEntries.get_chatlist_entriesnow returnsVec<u32>of chatids instead ofChatListEntries.JSONRPCReactions.reactionsis now aVec<JSONRPCReaction>with unique reactions and their count, sorted in descending order.Event:context_idproperty is now calledcontextId.- Expand
MessageSearchResult:- Always include
chat_name(not an option anymore). - Add
author_id,chat_type,chat_color,is_chat_protected,is_chat_contact_request,is_chat_archived. author_namenow contains the overridden sender name.
- Always include
ChatListItemFetchResultgets new properties:summary_preview_image,last_message_typeandlast_message_id- New
MessageReadReceipttype andget_message_read_receipts(account_id, message_id)jsonrpc method.
API Changes
- New rust API
send_webxdc_status_update_structto send aStatusUpdateItem. - Add
get_msg_read_receipts(context, msg_id)- get the contacts that send read receipts for a message.
Features / Changes
- Build deltachat-rpc-server releases for x86_64 macOS.
- Generate changelogs using git-cliff (#4393, #4396).
- Improve SMTP logging.
- Do not cut incoming text if "bot" config is set.
Fixes
- JSON-RPC: typescript client: fix types of events in event emitter (#4373).
- Fetch at most 100 existing messages even if EXISTS was not received (#4383).
- Don't put a double dot at the end of error messages (#4398).
- Recreate
smtptable with AUTOINCREMENTid(#4390). - Do not return an error from
send_msg_to_smtpif retry limit is exceeded. - Make the bots automatically accept group chat contact requests (#4377).
- Delete
smtprows when message sending is cancelled (#4391).
Refactor
- Iterate over
msg_idswithout .iter().
1.112.9 - 2023-05-12
Fixes
- Fetch at most 100 existing messages even if EXISTS was not received.
- Delete
smtprows when message sending is cancelled.
Changes
- Improve SMTP logging.
1.114.0 - 2023-04-24
Changes
- JSON-RPC: Use long polling instead of server-sent notifications to retrieve events. This better corresponds to JSON-RPC 2.0 server-client distinction and is expected to simplify writing new bindings because dispatching events can be done on higher level.
- JSON-RPC: TS: Client now has a mandatory argument whether you want to start listening for events.
Fixes
- JSON-RPC: do not print to stdout on failure to find an account.
1.113.0 - 2023-04-18
Added
- New JSON-RPC API
can_send(). - New
dc_get_next_msgs()anddc_wait_next_msgs()C APIs. Newget_next_msgs()andwait_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()andMessage.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 HTML emails stored in the
mime_headerscolumn 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-serveron Ctrl+C (SIGINT),SIGTERMand EOF. - Async Python API
get_fresh_messages_in_arrival_order()is deprecated in favor ofget_next_msgs()andwait_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.tomlatomically. - Fix python bindings README documentation on installing the bindings from source.
- Remove confusing log line "ignoring unsolicited response Recent(…)". #3934
1.112.8 - 2023-04-20
Changes
- Add
get_http_responseJSON-RPC API. - Add C API to get HTTP responses.
1.112.7 - 2023-04-17
Fixes
- Updated
async-imapto v0.8.0 to fix erroneous EOF detection in long IMAP responses.
1.112.6 - 2023-04-04
Changes
- Add a device message after backup transfer #4301
Fixed
- Updated
irohfrom 0.4.0 to 0.4.1 to fix transfer of large accounts with many blob files.
1.112.5 - 2023-04-02
Fixes
- Run SQL database migrations after receiving a backup from the network. #4287
1.112.4 - 2023-03-31
Fixes
- Fix call to
auditwheelinscripts/run_all.sh.
1.112.3 - 2023-03-30
Fixes
transfer::get_backupnow frees ongoing process when cancelled. #4249
1.112.2 - 2023-03-30
Changes
- Update iroh, remove
default-netfrom[patch.crates-io]section. - transfer backup: Connect to multiple provider addresses concurrently. This should speed up connection time significantly on the getter side. #4240
- Make sure BackupProvider is cancelled on drop (or
dc_backup_provider_unref). The BackupProvider will now always finish with an IMEX event of 1000 or 0, previously it would sometimes finished with 1000 (success) when it really was 0 (failure). #4242
Fixes
- Do not return media from trashed messages in the "All media" view. #4247
1.112.1 - 2023-03-27
Changes
- Add support for
--versionargument todeltachat-rpc-server. #4224 It can be used to check the installed version without starting the server.
Fixes
- deltachat-rpc-client: fix bug in
Chat.send_message(): invalidMessageDatafieldquotedMsginstead ofquotedMsgId receive_imf: Mark special messages as seen. Exactly: delivery reports, webxdc status updates. #4230
1.112.0 - 2023-03-23
Changes
- Increase MSRV to 1.64. #4167
- Core takes care of stopping and re-starting IO itself where needed,
e.g. during backup creation.
It is no longer needed to call
dc_stop_io().dc_start_io()can now be called at any time without harm. #4138 - Pick up system's light/dark mode in generated message HTML. #4150
- More accurate
maybe_add_bcc_selfdevice message text. #4175 - "Full message view" not needed because of footers that go to contact status. #4151
- Support non-persistent configuration with
DELTACHAT_*env. #4154 - Print deltachat-repl errors with causes. #4166
Fixes
- Fix segmentation fault if
dc_context_unref()is called during background process spawned bydc_configure()ordc_imex()ordc_jsonrpc_instance_tis unreferenced during handling the JSON-RPC request. #4153 - Delete expired messages using multiple SQL requests. #4158
- Do not emit "Failed to run incremental vacuum" warnings on success. #4160
- Ability to send backup over network and QR code to setup second device #4007
- Disable buffering during STARTTLS setup. #4190
- Add
DC_EVENT_IMAP_INBOX_IDLEevent to wait until the account is ready for testing. It is used to fix race condition between fetching existing messages and starting the test. #4208
1.111.0 - 2023-03-05
Changes
- Make smeared timestamp generation non-async. #4075
- Set minimum TLS version to 1.2. #4096
- Run
cargo-denyin CI. #4101 - Check provider database with CI. #4099
- Switch to DEFERRED transactions #4100
Fixes
- Do not block async task executor while decrypting the messages. #4079
- Housekeeping: delete the blobs backup dir #4123
API-Changes
- jsonrpc: add more advanced API to send a message. #4097
- jsonrpc: add get webxdc blob API
getWebxdcBlob#4070
1.110.0
Changes
- use transaction in
Contact::add_or_lookup()#4059 - Organize the connection pool as a stack rather than a queue to ensure that connection page cache is reused more often. This speeds up tests by 28%, real usage will have lower speedup. #4065
- Use transaction in
update_blocked_mailinglist_contacts. #4058 - Remove
Sql.get_conn()interface in favor of.call()and.transaction(). #4055 - Updated provider database.
- Disable DKIM-Checks again #4076
- Switch from "X.Y.Z" and "py-X.Y.Z" to "vX.Y.Z" tags. #4089
- mimeparser: handle headers from the signed part of unencrypted signed message #4013
Fixes
- Start SQL transactions with IMMEDIATE behaviour rather than default DEFERRED one. #4063
- Fix a problem with Gmail where (auto-)deleted messages would get archived instead of deleted. Move them to the Trash folder for Gmail which auto-deletes trashed messages in 30 days #3972
- Clear config cache after backup import. This bug sometimes resulted in the import to seemingly work at first. #4067
- Update timestamps in
paramcolumns with transactions. #4083
API-Changes
1.109.0
Changes
- deltachat-rpc-client: use
dataclassforAccount,Chat,ContactandMessage#4042
Fixes
- deltachat-rpc-server: do not block stdin while processing the request. #4041 deltachat-rpc-server now reads the next request as soon as previous request handler is spawned.
- Enable
auto_vacuumon all SQL connections. #2955 - Replace
r2d2connection pool with an own implementation. #4050 #4053 #4043 #4061 This change improves reliability by closing all database connections immediately when the context is closed.
API-Changes
- Remove
MimeMessage::from_bytes()public interface. #4033 - BREAKING Types: jsonrpc:
get_messagesnow returns a map withMessageLoadResultinstead of failing completely if one of the requested messages could not be loaded. #4038 - Add
dc_msg_set_subject(). C-FFI #4057 - Mark python bindings as supporting typing according to PEP 561 #4045
1.108.0
Changes
- Use read/write timeouts instead of per-command timeouts for SMTP #3985
- Cache DNS results for SMTP connections #3985
- Prefer TLS over STARTTLS during autoconfiguration #4021
- Use SOCKS5 configuration for HTTP requests #4017
- Show non-deltachat emails by default for new installations #4019
- Re-enabled SMTP pipelining after disabling it in #4006
Fixes
- Fix Securejoin for multiple devices on a joining side #3982
- python: handle NULL value returned from
dc_get_msg()#4020 Account.get_message_by_idmay returnNonein this case.
API-Changes
- Remove bitflags from
get_chat_msgs()interface #4022 C interface is not changed. Rust and JSON-RPC API haveflagsinteger argument replaced with two boolean flagsinfo_onlyandadd_daymarker. - jsonrpc: add API to check if the message is sent by a bot #3877
1.107.1
Changes
- Log server security (TLS/STARTTLS/plain) type #4005
Fixes
- Disable SMTP pipelining #4006
1.107.0
Changes
- Pipeline SMTP commands #3924
- Cache DNS results for IMAP connections #3970
Fixes
- Securejoin: Fix adding and handling Autocrypt-Gossip headers #3914
- fix verifier-by addr was empty string instead of None #3961
- Emit DC_EVENT_MSGS_CHANGED for DC_CHAT_ID_ARCHIVED_LINK when the number of archived chats with unread messages increases #3959
- Fix Peerstate comparison #3962
- Log SOCKS5 configuration for IMAP like already done for SMTP #3964
- Fix SOCKS5 usage for IMAP #3965
- Exit from recently seen loop on interrupt channel errors to avoid busy looping #3966
API-Changes
- jsonrpc: add verified-by information to
Contact-Object - Remove
attach_selfavatarconfig #3951
Changes
- add debug logging support for webxdcs #3296
1.106.0
Changes
- Only send IncomingMsgBunch if there are more than 0 new messages #3941
Fixes
- fix: only send contact changed event for recently seen if it is relevant (not too old to matter) #3938
- Immediately save
accounts.tomlif it was modified by a migration from absolute paths to relative paths #3943 - Do not treat invalid email addresses as an exception #3942
- Add timeouts to HTTP requests #3948
1.105.0
Changes
- Validate signatures in try_decrypt() even if the message isn't encrypted #3859
- Don't parse the message again after detached signatures validation #3862
- Move format=flowed support to a separate crate #3869
- cargo: bump quick-xml from 0.23.0 to 0.26.0 #3722
- Add fuzzing tests #3853
- Add mappings for some file types to Viewtype / MIME type #3881
- Buffer IMAP client writes #3888
- move
DC_CHAT_ID_ARCHIVED_LINKto the top of chat lists and makedc_get_fresh_msg_cnt()work forDC_CHAT_ID_ARCHIVED_LINK#3918 - make
dc_marknoticed_chat()work forDC_CHAT_ID_ARCHIVED_LINK#3919 - Update provider database
API-Changes
- jsonrpc: add python API for webxdc updates #3872
- jsonrpc: add fresh message count to ChatListItemFetchResult::ArchiveLink
- Add ffi functions to retrieve
verified byinformation #3786 - resultify
Message::get_filebytes()#3925
Fixes
- Do not add an error if the message is encrypted but not signed #3860
- Do not strip leading spaces from message lines #3867
- Fix uncaught exception in JSON-RPC tests #3884
- Fix STARTTLS connection and add a test for it #3907
- Trigger reconnection when failing to fetch existing messages #3911
- Do not retry fetching existing messages after failure, prevents infinite reconnection loop #3913
- Ensure format=flowed formatting is always reversible on the receiver side #3880
1.104.0
Changes
- Don't use deprecated
chronofunctions #3798 - Document accounts manager #3837
- If a classical-email-user sends an email to a group and adds new recipients, add the new recipients as group members #3781
- Remove
pytest-asyncplugin #3846 - Only send the message about ephemeral timer change if the chat is promoted #3847
- Use relative paths in
accounts.toml#3838
Fixes
- Set read/write timeouts for IMAP over SOCKS5 #3833
- Treat attached PGP keys as peer keys with mutual encryption preference #3832
- fix migration of old databases #3842
- Fix cargo clippy and doc errors after Rust update to 1.66 #3850
- Don't send GroupNameChanged message if the group name doesn't change in terms of
improve_single_line_input()#3852 - Prefer encryption for the peer if the message is encrypted or signed with the known key #3849
1.103.0
Changes
- Disable Autocrypt & Authres-checking for mailing lists, because they don't work well with mailing lists #3765
- Refactor: Remove the remaining AsRef #3669
- Add more logging to
fetch_many_msgsand refactor it #3811 - Small speedup #3780
- Log the reason when the message cannot be sent to the chat #3810
- Add IMAP server ID line to the context info only when it is known #3814
- Remove autogenerated typescript files #3815
- Move functions that require an IMAP session from
ImaptoSessionto reduce the number of code paths where IMAP session may not exist. Drop connection on error instead of trying to disconnect, potentially preventing IMAP task from getting stuck. #3812
API-Changes
- Add Python API to send reactions #3762
- jsonrpc: add message errors to MessageObject #3788
- jsonrpc: Add async Python client #3734
Fixes
- Make sure malformed messages will never block receiving further messages anymore #3771
- strip leading/trailing whitespace from "Chat-Group-Name{,-Changed}:" headers content #3650
- Assume all Thunderbird users prefer encryption #3774
- refactor peerstate handling to ensure no duplicate peerstates #3776
- Fetch messages in order of their INTERNALDATE (fixes reactions for Gmail f.e.) #3789
- python: do not pass NULL to ffi.gc if the context can't be created #3818
- Add read/write timeouts to IMAP sockets #3820
- Add connection timeout to IMAP sockets #3828
- Disable read timeout during IMAP IDLE #3826
- Bots automatically accept mailing lists #3831
1.102.0
Changes
- If an email has multiple From addresses, handle this as if there was no From address, to prevent from forgery attacks. Also, improve handling of emails with invalid From addresses in general #3667
API-Changes
Fixes
- fix detection of "All mail", "Trash", "Junk" etc folders. #3760
- fetch messages sequentially to fix reactions on partially downloaded messages #3688
- Fix a bug where one malformed message blocked receiving any further messages #3769
1.101.0
Changes
- add
configured_inbox_folderto account info #3748 dc_delete_contact()hides contacts if referenced #3751- add IMAP UIDs to message info #3755
Fixes
- improve IMAP logging, in particular fix incorrect "IMAP IDLE protocol timed out" message on network error during IDLE #3749
- pop Recently Seen Loop event out of the queue when it is in the past to avoid busy looping #3753
- fix build failures by going back to standard
async_zip#3747
1.100.0
API-Changes
- jsonrpc: add
miscSaveStickermethod
Changes
- add JSON-RPC stdio server
deltachat-rpc-serverand use it for JSON-RPC tests #3695 - update rPGP from 0.8 to 0.9 #3737
- jsonrpc: typescript client: use npm released deltachat fork of the tiny emitter package #3741
- jsonrpc: show sticker image in quote #3744
1.99.0
API-Changes
breaking jsonrpc: changed function naming
autocryptInitiateKeyTransfer->initiateAutocryptKeyTransferautocryptContinueKeyTransfer->continueAutocryptKeyTransferchatlistGetFullChatById->getFullChatByIdmessageGetMessage->getMessagemessageGetMessages->getMessagesmessageGetNotificationInfo->getMessageNotificationInfocontactsGetContact->getContactcontactsCreateContact->createContactcontactsCreateChatByContactId->createChatByContactIdcontactsBlock->blockContactcontactsUnblock->unblockContactcontactsGetBlocked->getBlockedContactscontactsGetContactIds->getContactIdscontactsGetContacts->getContactscontactsGetContactsByIds->getContactsByIdschatGetMedia->getChatMediachatGetNeighboringMedia->getNeighboringChatMediawebxdcSendStatusUpdate->sendWebxdcStatusUpdatewebxdcGetStatusUpdates->getWebxdcStatusUpdatesmessageGetWebxdcInfo->getWebxdcInfo
jsonrpc: changed method signature
miscSendTextMessage(accountId, text, chatId)->miscSendTextMessage(accountId, chatId, text)
jsonrpc: add
SystemMessageTypetoMessagecffi: add missing
DC_INFO_constantsAdd DC_EVENT_INCOMING_MSG_BUNCH event #3643
Python bindings: Make get_matching() only match the whole event name, e.g. events.get_matching("DC_EVENT_INCOMING_MSG") won't match DC_EVENT_INCOMING_MSG_BUNCH anymore #3643
Rust: Introduce a ContextBuilder #3698
Changes
- allow sender timestamp to be in the future, but not too much
- Disable the new "Authentication-Results/DKIM checking" security feature until we have tested it a bit #3728
- refactorings #3706
Fixes
dc_search_msgs()returns unaccepted requests #3694- emit "contacts changed" event when the contact is no longer "seen recently" #3703
- do not allow peerstate reset if DKIM check failed #3731
1.98.0
API-Changes
- jsonrpc: typescript client: export constants under
Cenum, similar to how its exported fromdeltachat-node#3681 - added reactions support #3644
- jsonrpc: reactions: added reactions to
Messagetype and thesendReaction()method #3686
Changes
- simplify
UPSERTqueries #3676
Fixes
1.97.0
API-Changes
- jsonrpc: add function: #3641, #3645, #3653
getChatContacts()createGroupChat()createBroadcastList()setChatName()setChatProfileImage()downloadFullMessage()lookupContactIdByAddr()sendVideochatInvitation()searchMessages()messageIdsToSearchResults()setChatVisibility()getChatEphemeralTimer()setChatEphemeralTimer()getLocations()getAccountFileSize()estimateAutoDeletionCount()setStockStrings()exportSelfKeys()importSelfKeys()sendSticker()changeContactName()deleteContact()joinSecurejoin()stopIoForAllAccounts()startIoForAllAccounts()startIo()stopIo()exportBackup()importBackup()getMessageHtml()#3671miscGetStickerFolderandmiscGetStickers#3672
- breaking: jsonrpc: remove function
messageListGetMessageIds(), it is replaced bygetMessageIds()andgetMessageListItems()the latter returns a newMessageListItemtype, which is the now preferred way of using the message list. - jsonrpc: add type: #3641, #3645
MessageSearchResultLocation
- jsonrpc: add
viewTypeto quoted message(MessageQuotetype) inMessageobject type #3651
Changes
- Look at Authentication-Results. Don't accept Autocrypt key changes if they come with negative authentication results while this contact sent emails with positive authentication results in the past. #3583
- jsonrpc in cffi also sends events now #3662
- jsonrpc: new format for events and better typescript autocompletion
- Join all "[migration] vXX" log messages into one
Fixes
- share stock string translations across accounts created by the same account manager #3640
- suppress welcome device messages after account import #3642
- fix unix timestamp used for daymarker #3660
1.96.0
Changes
- jsonrpc js client:
- Change package name from
deltachat-jsonrpc-clientto@deltachat/jsonrpc-client - remove relative file dependency to it from
deltachat-node(because it did not work anyway and broke the nix build of desktop) - ci: add github ci action to upload it to our download server automatically on release
- Change package name from
1.95.0
API-Changes
- jsonrpc: add
mailingListAddressproperty toFullChat#3607 - jsonrpc: add
MessageNotificationInfo&messageGetNotificationInfo()#3614 - jsonrpc: add
chat_get_neighboring_mediafunction #3610
Changes
- added
dclogin:scheme to allow configuration from a qr code (data inside qrcode, contrary todcaccount:which points to an API to create an account) #3541 - truncate incoming messages by lines instead of just length #3480
- emit separate
DC_EVENT_MSGS_CHANGEDfor each expired message, andDC_EVENT_WEBXDC_INSTANCE_DELETEDwhen a message contains a webxdc #3605 - enable
bcc_selfby default #3612
1.94.0
API-Changes
breaking change: replace
dc_accounts_event_emitter_twithdc_event_emitter_t#3422Type
dc_accounts_event_emitter_tis removed.dc_accounts_get_event_emitter()returnsdc_event_emitter_tnow, sodc_get_next_event()should be used instead ofdc_accounts_get_next_eventanddc_event_emitter_unref()should be used instead ofdc_accounts_event_emitter_unref.add
dc_contact_was_seen_recently()#3560Fix
get_connectivity_htmlandget_encrinfofutures not being Send. See rust-lang/rust#101650 for more informationjsonrpc: add functions: #3586, #3587, #3590
deleteChat()getChatEncryptionInfo()getChatSecurejoinQrCodeSvg()leaveGroup()removeContactFromChat()addContactToChat()deleteMessages()getMessageInfo()getBasicChatInfo()marknoticedChat()getFirstUnreadMessageOfChat()markseenMsgs()forwardMessages()removeDraft()getDraft()miscSendMsg()miscSetDraft()maybeNetwork()getConnectivity()getContactEncryptionInfo()getConnectivityHtml()
jsonrpc: add
is_broadcastproperty toChatListItemFetchResult#3584jsonrpc: add
was_seen_recentlyproperty toChatListItemFetchResult,FullChatandContact#3584jsonrpc: add
webxdc_infoproperty toMessage#3588python: move
get_dc_event_name()fromdeltachattodeltachat.events#3564jsonrpc: add
webxdc_info,parent_idanddownload_stateproperty toMessage#3588, #3590jsonrpc: add
BasicChatobject as a leaner alternative toFullChat#3590jsonrpc: add
last_seenproperty toContact#3590breaking! jsonrpc: replace
Message.quoted_textandMessage.quoted_message_idwithMessage.quote#3590add separate stock strings for actions done by contacts to make them easier to translate #3518
dc_initiate_key_transfer()is non-blocking now. #3553 UIs don't need to display a button to cancel sending Autocrypt Setup Message withdc_stop_ongoing_process()anymore.
Changes
- order contact lists by "last seen";
this affects
dc_get_chat_contacts(),dc_get_contacts()anddc_get_blocked_contacts()#3562 - add
internet_accessflag todc_msg_get_webxdc_info()#3516 DC_EVENT_WEBXDC_INSTANCE_DELETEDis emitted when a message containing a webxdc gets deleted #3592
Fixes
- do not emit notifications for blocked chats #3557
- Show attached .eml files correctly #3561
- Auto accept contact requests if
Config::Botis set for a client #3567 - Don't prepend the subject to chat messages in mailinglists
- fix
set_core_version.pyscript to also update version indeltachat-jsonrpc/typescript/package.json#3585 - Reject webxdc-updates from contacts who are not group members #3568
1.93.0
API-Changes
- added a JSON RPC API, accessible through a WebSocket server, the CFFI bindings and the Node.js bindings #3463 #3554 #3542
- JSON RPC methods in CFFI #3463:
dc_jsonrpc_instance_t* dc_jsonrpc_init(dc_accounts_t* account_manager);void dc_jsonrpc_unref(dc_jsonrpc_instance_t* jsonrpc_instance);void dc_jsonrpc_request(dc_jsonrpc_instance_t* jsonrpc_instance, char* request);char* dc_jsonrpc_next_response(dc_jsonrpc_instance_t* jsonrpc_instance);- node: JSON RPC methods #3463:
AccountManager.prototype.startJsonRpcHandler(callback: ((response: string) => void)): voidAccountManager.prototype.jsonRpcRequest(message: string): void
Changes
- use pathlib in provider update script #3543
dc_get_chat_media()can return media globally #3528- node: add
getMailinglistAddr()#3524 - avoid duplicate encoded-words package and test
cargo vendorin ci #3549 - python: don't raise an error if addr changes #3530
- improve coverage script #3530
Fixes
- improved error handling for account setup from qrcode #3474
- python: enable certificate checks in cloned accounts #3443
1.92.0
API-Changes
- add
dc_chat_get_mailinglist_addr()#3520
1.91.0
Added
- python bindings: extra method to get an account running
Changes
- refactorings #3437
Fixes
- mark "group image changed" as system message on receiver side #3517
1.90.0
Changes
- handle drafts from mailto links in scanned QR #3492
- do not overflow ratelimiter leaky bucket #3496
- (AEAP) Add device message after you changed your address #3505
- (AEAP) Revert #3491, instead only replace contacts in verified groups #3510
- improve python bindings and tests #3502 #3503
Fixes
- don't squash text parts of NDN into attachments #3497
- do not treat non-failed DSNs as NDNs #3506
1.89.0
Changes
- (AEAP) When one of your contacts changed their address, they are only replaced in the chat where you got a message from them for now #3491
Fixes
- replace musl libc name resolution errors with a better message #3485
- handle updates for not yet downloaded webxdc instances #3487
1.88.0
Changes
- Implemented "Automatic e-mail address Porting" (AEAP). You can configure a new address in DC now, and when receivers get messages they will automatically recognize your moving to a new address. #3385
- switch from
async-stdtotokioas the async runtime #3449 - upgrade to
pgp@0.8.0#3467 - add IMAP ID extension support #3468
- configure DeltaChat folder by selecting it, so it is configured even if not LISTed #3371
- build PyPy wheels #6683
- improve default error if NDN does not provide an error #3456
- increase ratelimit from 3 to 6 messages per 60 seconds #3481
Fixes
- mailing list: remove square-brackets only for first name #3452
- do not use footers from mailinglists as the contact status #3460
- don't ignore KML parsing errors #3473
1.87.0
Changes
- limit the rate of MDN sending #3402
- ignore ratelimits for bots #3439
- remove
msgs_mdnsreferences to deleted messages during housekeeping #3387 - format message lines starting with
>as quotes #3434 - node: remove
split2dependency #3418 - node: add git installation info to readme #3418
- limit the rate of webxdc update sending #3417
Fixes
- set a default error if NDN does not provide an error #3410
- python: avoid exceptions when messages/contacts/chats are compared with
None - node: wait for the event loop to stop before destroying contexts #3431 #3451
- emit configuration errors via event on failure #3433
- report configure and imex success/failure after freeing ongoing process #3442
API-Changes
- python: added
Message.get_status_updates()#3416 - python: added
Message.send_status_update()#3416 - python: added
Message.is_webxdc()#3416 - python: added
Message.is_videochat_invitation()#3416 - python: added support for "videochat" and "webxdc" view types to
Message.new_empty()#3416
1.86.0
API-Changes
- python: added optional
closedparameter toAccountconstructor #3394 - python: added optional
passphraseparameter toAccount.export_all()andAccount.import_all()#3394 - python: added
Account.open()#3394 - python: added
Chat.is_single()#3394 - python: added
Chat.is_mailinglist()#3394 - python: added
Chat.is_broadcast()#3394 - python: added
Chat.is_multiuser()#3394 - python: added
Chat.is_self_talk()#3394 - python: added
Chat.is_device_talk()#3394 - python: added
Chat.is_pinned()#3394 - python: added
Chat.pin()#3394 - python: added
Chat.unpin()#3394 - python: added
Chat.archive()#3394 - python: added
Chat.unarchive()#3394 - python: added
Message.get_summarytext()#3394 - python: added optional
closedparameter toACFactory.get_unconfigured_account()(pytest plugin) #3394 - python: added optional
passphraseparameter toACFactory.get_pseudo_configured_account()(pytest plugin) #3394
Changes
- clean up series of webxdc info messages;
DC_EVENT_MSGS_CHANGEDis emitted on changes of existing info messages #3395 - update provider database #3399
- refactorings #3375 #3403 #3398 #3404
Fixes
- do not reset our database if imported backup cannot be decrypted #3397
- node: remove
npxfrom build script, this broke flathub build #3396
1.85.0
Changes
- refactorings #3373 #3345 #3380 #3382
- node: move split2 to devDependencies
- python: build Python 3.10 wheels #3392
- update Rust dependencies
Fixes
- delete outgoing MDNs found in the Sent folder on Gmail #3372
- fix searching one-to-one chats #3377
- do not add legacy info-messages on resending webxdc #3389
1.84.0
Changes
- refactorings #3354 #3347 #3353 #3346
Fixes
- do not unnecessarily SELECT folders if there are no operations planned on them #3333
- trim chat encryption info #3350
- fix failure to decrypt first message to self after key synchronization via Autocrypt Setup Message #3352
- Keep pgp key when you change your own email address #3351
- Do not ignore Sent and Spam folders on Gmail #3369
- handle decryption errors explicitly and don't get confused by encrypted mail attachments #3374
1.83.0
Fixes
- fix node prebuild & package ci #3337
1.82.0
API-Changes
- re-add removed
DC_MSG_ID_MARKER1as in use on iOS #3330
Changes
- refactorings #3328
Fixes
- fix node package ci #3331
- fix race condition in ongoing process (import/export, configuration) allocation #3322
1.81.0
API-Changes
- deprecate unused
marker1beforeargument ofdc_get_chat_msgsand removeDC_MSG_ID_MARKER1constant #3274
Changes
- now the node-bindings are also part of this repository 🎉 #3283
- support
source_code_urlfrom Webxdc manifests #3314 - support Webxdc document names and add
documenttodc_msg_get_webxdc_info()#3317 #3324 - improve chat encryption info, make it easier to find contacts without keys #3318
- improve error reporting when creating a folder fails #3325
- node: remove unmaintained coverage scripts
- send normal messages with higher priority than MDNs #3243
- make Scheduler stateless #3302
- abort instead of unwinding on panic #3259
- improve python bindings #3297 #3298
- improve documentation #3307 #3306 #3309 #3319 #3321
- refactorings #3304 #3303 #3323
Fixes
- node: throw error when getting context with an invalid account id
- node: throw error when instantiating a wrapper class on
null(Context, Message, Chat, ChatList and so on) - use same contact-color if email address differ only in upper-/lowercase #3327
- repair encrypted mails "mixed up" by Google Workspace "Append footer" function #3315
1.80.0
Changes
- update provider database #3284
- improve python bindings, tests and ci #3287 #3286 #3287 #3289 #3290 #3292
Fixes
- fix escaping in generated QR-code-SVG #3295
1.79.0
Changes
- Send locations in the background regardless of SMTP loop activity #3247
- refactorings #3268
- improve tests and ci #3266 #3271
Fixes
- simplify
dc_stop_io()and remove potential panics and race conditions #3273 - fix correct message escaping consisting of a dot in SMTP protocol #3265
1.78.0
API-Changes
- replaced stock string
DC_STR_ONE_MOMENTbyDC_STR_NOT_CONNECTED#3222 - add
dc_resend_msgs()#3238 dc_provider_new_from_email()does no longer do an DNS lookup for checking custom domains, this is done bydc_provider_new_from_email_with_dns()now #3256
Changes
- introduce multiple self addresses with the "configured" address always being the primary one #2896
- Further improve finding the correct server after logging in #3208
get_connectivity_html()returns HTML as non-scalable #3213- add update-serial to
DC_EVENT_WEBXDC_STATUS_UPDATE#3215 - Speed up message receiving via IMAP a bit #3225
- mark messages as seen on IMAP in batches #3223
- remove Received: based draft detection heuristic #3230
- Use pkgconfig for building Python package #2590
- don't start io on unconfigured context #2664
- do not assign group IDs to ad-hoc groups #2798
- dynamic libraries use dylib extension on Darwin #3226
- refactorings #3217 #3219 #3224 #3235 #3239 #3244 #3254
- improve documentation #3214 #3220 #3237
- improve tests and ci #3212 #3233 #3241 #3242 #3252 #3250 #3255 #3260
Fixes
- Take
delete_device_afterinto account when calculating ephemeral loop timeout #3211 #3221 - Fix a bug where a blocked contact could send a contact request #3218
- Make sure, videochat-room-names are always URL-safe #3231
- Try removing account folder multiple times in case of failure #3229
- Ignore messages from all spam folders if there are many #3246
- Hide location-only messages instead of displaying empty bubbles #3248
1.77.0
API changes
- change semantics of
dc_get_webxdc_status_updates()second parameter and remove update-id fromDC_EVENT_WEBXDC_STATUS_UPDATE#3081
Changes
- add more SMTP logging #3093
- place common headers like
From:before the largeAutocrypt:header #3079 - keep track of securejoin joiner status in database to survive restarts #2920
- remove never used
SentboxMoveoption #3111 - improve speed by caching config values #3131 #3145
- optimize
markseen_msgs#3141 - automatically accept chats with outgoing messages #3143
dc_receive_imfrefactorings #3154 #3156 #3159- add index to speedup deletion of expired ephemeral messages #3155
- muted chats stay archived on new messages #3184
- support
min_apifrom Webxdc manifests #3206 - do not read whole webxdc file into memory #3109
- improve tests, refactorings #3073 #3096 #3102 #3108 #3139 #3128 #3133 #3142 #3153 #3151 #3174 #3170 #3148 #3179 #3185
- improve documentation #2983 #3112 #3103 #3118 #3120
Fixes
- speed up loading of chat messages by a factor of 20 #3171 #3194 #3173
- fix an issue where the app crashes when trying to export a backup #3195
- hopefully fix a bug where outgoing messages appear twice with Amazon SES #3077
- do not delete messages without Message-IDs as duplicates #3095
- assign replies from a different email address to the correct chat #3119
- assign outgoing private replies to the correct chat #3177
- start ephemeral timer when seen status is synchronized via IMAP #3122
- do not create empty contact requests with "setup changed" messages; instead, send a "setup changed" message into all chats we share with the peer #3187
- do not delete duplicate messages on IMAP immediately to accidentally deleting the last copy #3138
- clear more columns when message expires due to
delete_device_aftersetting #3181 - do not try to use stale SMTP connections #3180
- slightly improve finding the correct server after logging in #3207
- retry message sending automatically if loop is not interrupted #3183
- fix a bug where sometimes the file extension of a long filename containing a dot was cropped #3098
1.76.0
Changes
- move messages in batches #3058
- delete messages in batches #3060
- python: remove arbitrary timeouts from tests #3059
- refactorings #3026
Fixes
- avoid archived, fresh chats #3053
- Also resync UIDs in folders that are not configured #2289
- treat "NO" IMAP response to MOVE and COPY commands as an error #3058
- Fix a bug where messages in the Spam folder created contact requests #3015
- Fix a bug where drafts disappeared after some days #3067
- Parse MS Exchange read receipts and mark the original message as read #3075
- do not retry message sending infinitely in case of permanent SMTP failure #3070
- set message state to failed when retry limit is exceeded #3072
1.75.0
Changes
- optimize
delete_expired_imap_messages()#3047
1.74.0
Fixes
- avoid reconnection loop when message without Message-ID is marked as seen #3044
1.73.0
API changes
- added
only_fetch_mvboxconfig #3028
Changes
- don't watch Sent folder by default #3025
- use webxdc app name in chatlist/quotes/replies etc. #3027
- make it possible to cancel message sending by removing the message #3034, this was previously removed in 1.71.0 #2939
- synchronize Seen flags only on watched folders to speed up folder scanning #3041
- remove direct dependency on
byteordercrate #3031 - refactorings #3023 #3013
- update provider database #3043
- improve documentation #3017 #3018 #3021
Fixes
- fix splitting off text from webxdc messages #3032
- call slow
delete_expired_imap_messages()less often #3037 - make synchronization of Seen status more robust in case unsolicited FETCH result without UID is returned #3022
- fetch Inbox before scanning folders to ensure iOS does not kill the app before it gets to fetch the Inbox in background #3040
1.72.0
Fixes
- run migrations on backup import #3006
1.71.0
API Changes
- added APIs to handle database passwords:
dc_context_new_closed(),dc_context_open(),dc_context_is_open()anddc_accounts_add_closed_account()#2956 #2972 - use second parameter of
dc_imexto provide backup passphrase #2980 - added
DC_MSG_WEBXDC,dc_send_webxdc_status_update(),dc_get_webxdc_status_updates(),dc_msg_get_webxdc_blob(),dc_msg_get_webxdc_info()andDC_EVENT_WEBXDC_STATUS_UPDATE#2826 #2971 #2975 #2977 #2979 #2993 #2994 #2998 #3001 #3003 - added
dc_msg_get_parent()#2984 - added
dc_msg_force_plaintext()API for bots #2847 - allow removing quotes on drafts
dc_msg_set_quote(msg, NULL)#2950 - removed
mvbox_watchoption; watching is enabled whenmvbox_moveis enabled #2906 - removed
inbox_watchoption #2922 - deprecated
os_nameindc_context_new(), passNULLor an empty string #2956
Changes
- start making it possible to write to mailing lists #2736
- add
hop_infotodc_get_info()#2751 #2914 #2923 - add information about whether the database is encrypted or not to
dc_get_info()#3000 - selfstatus now defaults to empty #2951 #2960
- validate detached cryptographic signatures as used eg. by Thunderbird #2865
- do not change the draft's
msg_idon updates and sending #2887 - add
imaptable to keep track of message UIDs #2909 #2938 - replace
SendMsgToSmtpjobs which stored outgoing messages in blobdir withsmtpSQL table #2939 #2996 - sql: enable
auto_vacuum=INCREMENTAL#2931 - sql: build rusqlite with sqlcipher #2934
- synchronize Seen status across devices #2942
dc_preconfigure_keypairnow takes ascii armored keys instead of base64 #2862- put removed member in Bcc instead of To in the message about removal #2864
- improve group updates #2889
- re-write the blob filename creation loop #2981
- update provider database (11 Jan 2022) #2959
- python: allow timeout for internal configure tracker API #2967
- python: remove API deprecated in Python 3.10 #2907
- refactorings #2932 #2957 #2947
- improve tests #2863 #2866 #2881 #2908 #2918 #2901 #2973
- improve documentation #2880 #2886 #2895
- improve ci #2919 #2926 #2969 #2999
Fixes
- fix leaving groups #2929
- fix unread count #2861
- make
add_parts()not early-exit #2879 - recognize MS Exchange read receipts as read receipts #2890
- create parent directory if creating a new file fails #2978
- save "configured" flag later #2974
- improve log #2928
dc_receive_imf: don't fail on invalid address in the To field #2940
1.70.0
Fixes
- fix: do not abort Param parsing on unknown keys #2856
- fix: execute
Chat-Group-Member-Removed:even when arriving disordered #2857
1.69.0
Fixes
- fix group-related system messages in multi-device setups #2848
- fix "Google Workspace" (former "G Suite") issues related to bad resolvers #2852
1.68.0
Fixes
- fix chat assignment when forwarding #2843
- fix layout issues with the generated QR code svg #2842
1.67.0
API changes
dc_get_securejoin_qr_svg(chat_id)added #2815- added stock-strings
DC_STR_SETUP_CONTACT_QR_DESCandDC_STR_SECURE_JOIN_GROUP_QR_DESC
1.66.0
API changes
dc_contact_get_last_seen()added #2823- python:
Contact.last_seenadded #2823 - removed
DC_STR_NEWGROUPDRAFT, we don't set draft after creating group anymore #2805
Changes
- python: add cutil.from_optional_dc_charpointer() #2824
- refactorings #2807 #2822 #2825
1.65.0
Changes
- python: add mypy support and some type hints #2809
Fixes
- do not disable ephemeral timer when downloading a message partially #2811
- apply existing ephemeral timer also to partially downloaded messages; after full download, the ephemeral timer starts over #2811
- replace user-visible error on verification failure with warning; the error is logged to the corresponding chat anyway #2808
1.64.0
Fixes
- add 'waiting for being added to the group' only for group-joins, not for setup-contact #2797
- prioritize In-Reply-To: and References: headers over group IDs when assigning messages to chats to fix incorrect assignment of Delta Chat replies to classic email threads #2795
1.63.0
API changes
dc_get_last_error()added #2788
Changes
- Optimize Autocrypt gossip #2743
Fixes
- fix permanently hiding of one-to-one chats after secure-join #2791
1.62.0
API Changes
dc_join_securejoin()now always returns immediately; the returned chat may not allow sending (dc_chat_can_send()returns false) which may change as usual onDC_EVENT_CHAT_MODIFIED#2508 #2767- introduce multi-device-sync-messages;
as older cores display them as files in self-chat,
they are currently only sent if config option
send_sync_msgsis set #2669 - add
DC_EVENT_SELFAVATAR_CHANGED#2742
Changes
- use system DNS instead of google for MX queries #2780
- improve error logging #2758
- improve tests #2764 #2781
- improve ci #2770
- refactorings #2677 #2728 #2740 #2729 #2766 #2778
Fixes
- add Let's Encrypt certificate to core as it may be missing older devices #2752
- prioritize certificate setting from user over the one from provider-db #2749
- fix "QR process failed" error #2725
- do not update quota in endless loop #2726
1.61.0
API Changes
- download-on-demand added:
dc_msg_get_download_state(),dc_download_full_msg()anddownload_limitconfig option #2631 #2696 dc_create_broadcast_list()and chat typeDC_CHAT_TYPE_BROADCASTadded #2707 #2722- allow ui-specific configs using
ui.-prefix in key (dc_set_config(context, "ui.*", value)) #2672 - new strings from
DC_STR_PARTIAL_DOWNLOAD_MSG_BODYtoDC_STR_PART_OF_TOTAL_USED#2631 #2694 #2707 #2723 - emit warnings and errors from account manager with account-id 0 #2712
Changes
- notify about incoming contact requests #2690
- messages are marked as read on first read receipt #2699
- quota warning reappears after import, rewarning at 95% #2702
- lock strict TLS if certificate checks are automatic #2711
- always check certificates strictly when connecting over SOCKS5 in Automatic mode #2657
Accountsis not cloneable anymore #2654 #2658- update chat/contact data only when there was no newer update #2642
- better detection of mailing list names #2665 #2685
- log all decisions when applying ephemeral timer to chats #2679
- connectivity view now translatable #2694 #2723
- improve Doxygen documentation #2647 #2668 #2684 #2688 #2705
- refactorings #2656 #2659 #2677 #2673 #2678 #2675 #2663 #2692 #2706
- update provider database #2618
Fixes
- ephemeral timer rollback protection #2693 #2709
- recreate configured folders if they are deleted #2691
- ignore MDNs sent to self #2674
- recognize NDNs that put headers into "message/global-headers" part #2598
- avoid
dc_get_contacts()returning duplicate contact ids #2591 - do not leak group names on forwarding messages #2719
- in case of smtp-errors, iterate over all addresses to fix ipv6/v4 problems #2720
- fix pkg-config file #2660
- fix "QR process failed" error #2725
1.60.0
Added
- add device message to warn about QUOTA #2621
- add SOCKS5 support #2474 #2620
Changes
- don't emit multiple events with the same import/export progress number #2639
- reduce message length limit to 5000 chars #2615
Fixes
- keep event emitter from closing when there are no accounts #2636
1.59.0
Added
- add quota information to
dc_get_connectivity_html()
Changes
- refactorings #2592 #2570 #2581
- add 'device chat about' to now existing status #2613
- update provider database #2608
Fixes
- provider database supports socket=PLAIN and dotless domains now #2604 #2608
- add migrated accounts to events emitter #2607
- fix forwarding quote-only mails #2600
- do not set WantsMdn param for outgoing messages #2603
- set timestamps for system messages #2593
- do not treat gmail labels as folders #2587
- avoid timing problems in
dc_maybe_network_lost()#2551 - only set smtp to "connected" if the last message was actually sent #2541
1.58.0
Fixes
- move WAL file together with database and avoid using data if the database was not closed correctly before #2583
1.57.0
API Changes
breaking change: removed deaddrop chat #2514 #2563
Contact request chats are not merged into a single virtual "deaddrop" chat anymore. Instead, they are shown in the chatlist the same way as other chats, but sending of messages to them is not allowed and MDNs are not sent automatically until the chat is "accepted" by the user.
New API:
dc_chat_is_contact_request(): returns true if chat is a contact request. In this case an option to accept the chat viadc_accept_chat()should be shown in the UI.dc_accept_chat(): unblock the chat or accept contact requestdc_block_chat(): block the chat, currently works only for mailing lists.
Removed API:
dc_create_chat_by_msg_id(): deprecated 2021-02-07 in favor ofdc_decide_on_contact_request()dc_marknoticed_contact(): deprecated 2021-02-07 in favor ofdc_decide_on_contact_request()dc_decide_on_contact_request(): this call requires a message ID from deaddrop chat as input. As deaddrop chat is removed, this call can't be used anymore.dc_msg_get_real_chat_id(): usedc_msg_get_chat_id()instead, the only difference between these calls was in handling of deaddrop chat- removed
DC_CHAT_ID_DEADDROPandDC_STR_DEADDROPconstants
breaking change: removed
DC_EVENT_ERROR_NETWORKandDC_STR_SERVER_RESPONSEInstead, there is a new apidc_get_connectivity()anddc_get_connectivity_html();DC_EVENT_CONNECTIVITY_CHANGEDis emitted on changesbreaking change: removed
dc_accounts_import_account()Instead you need to add an account and calldc_imex(DC_IMEX_IMPORT_BACKUP)on its contextupdate account api, 2 new methods:
int dc_all_work_done (dc_context_t* context);int dc_accounts_all_work_done (dc_accounts_t* accounts);add api to check if a message was
Auto-Submittedcffi:int dc_msg_is_bot (const dc_msg_t* msg);python:Message.is_bot()dc_context_t* dc_accounts_get_selected_account (dc_accounts_t* accounts);now returnsNULLif there is no selected accountadded
dc_accounts_maybe_network_lost()for systems core cannot find out connectivity loss on its own (eg. iOS) #2550
Added
- use Auto-Submitted: auto-generated header to identify bots #2502
- allow sending stickers via repl tool
- chat: make
get_msg_cnt()andget_fresh_msg_cnt()work for deaddrop chat #2493 - withdraw/revive own qr-codes #2512
- add Connectivity view (a better api for getting the connection status) #2319 #2549 #2542
Changes
- updated spec: new
Chat-User-Avatarusage,Chat-Content: sticker, structure, copyright year #2480 - update documentation #2548 #2561 #2569
- breaking:
Accounts::createdoes not also create an default account anymore #2500 - remove "forwarded" from stickers, as the primary way of getting stickers is by asking a bot and then forwarding them currently #2526
- mimeparser: use mailparse to parse RFC 2231 filenames #2543
- allow email addresses without dot in the domain part #2112
- allow installing lib and include under different prefixes #2558
- remove counter from name provided by
DC_CHAT_ID_ARCHIVED_LINK#2566 - improve tests #2487 #2491 #2497
- refactorings #2492 #2503 #2504 #2506 #2515 #2520 #2567 #2575 #2577 #2579
- improve ci #2494
- update provider-database #2565
Removed
- remove
dc_accounts_import_account()api #2521 - remove
DC_EVENT_ERROR_NETWORKandDC_STR_SERVER_RESPONSE#2319
Fixes
- allow stickers with gif-images #2481
- fix database migration #2486
- do not count hidden messages in get_msg_cnt(). #2493
- improve drafts detection #2489
- fix panic when removing last, selected account from account manager #2500
- set_draft's message-changed-event returns now draft's msg id instead of 0 #2304
- avoid hiding outgoing classic emails #2505
- fixes for message timestamps #2517
- do not process names, avatars, location XMLs, message signature etc. for duplicate messages #2513
- fix
can_sendfor users not in group #2479 - fix receiving events for accounts added by
dc_accounts_add_account()#2559 - fix which chats messages are assigned to #2465
- fix: don't create chats when MDNs are received #2578
1.56.0
fix downscaling images #2469
fix outgoing messages popping up in selfchat #2456
securejoin: display error reason if there is any #2470
do not allow deleting contacts with ongoing chats #2458
fix: ignore drafts folder when scanning #2454
fix: scan folders also when inbox is not watched #2446
more robust In-Reply-To parsing #2182
update dependencies #2441 #2438 #2439 #2440 #2447 #2448 #2449 #2452 #2453 #2460 #2464 #2466
update provider-database #2471
refactorings #2459 #2457
improve tests and ci #2445 #2450 #2451
1.55.0
fix panic when receiving some HTML messages #2434
fix downloading some messages multiple times #2430
fix formatting of read receipt texts #2431
simplify SQL error handling #2415
explicit rust API for creating chats with blocked status #2282
debloat the binary by using less AsRef arguments #2425
1.54.0
switch back from
sqlxtorusqlitedue to performance regressions #2380 #2381 #2385 #2387global search performance improvement #2364 #2365 #2366
improve SQLite performance with
PRAGMA synchronous=normal#2382python: fix building of bindings against system-wide install of
libdeltachat#2383 #2385python: list
requestsas a requirement #2390fix creation of many delete jobs when being offline #2372
synchronize status between devices #2386
deaddrop (contact requests) chat improvements #2373
add "Forwarded:" to notification and chatlist summaries #2310
place user avatar directly into
Chat-User-Avatarheader #2232 #2384improve tests #2360 #2362 #2370 #2377 #2387
cleanup #2359 #2361 #2374 #2376 #2379 #2388
1.53.0
fix sqlx performance regression #2355 2356
add a
ci_scripts/coverage.sh#2333 #2334refactorings and tests #2348 #2349 #2350
improve python bindings #2332 #2326
1.52.0
database library changed from rusqlite to sqlx #2089 #2331 #2336 #2340
add alias support: UIs should check for
dc_msg_get_override_sender_name()also in single-chats now and display divergent names and avatars #2297parse blockquote-tags for better quote detection #2313
ignore unknown classical emails from spam folder #2311
support "Mixed Up” encryption repairing #2321
fix single chat search #2344
fix nightly clippy and rustc errors #2341
update dependencies #2350
improve ci #2342
improve python bindings #2332 #2326
1.51.0
breaking change: You have to call
dc_stop_io()/dc_start_io()before/afterdc_imex(DC_IMEX_EXPORT_BACKUP): fix race condition and db corruption when a message was received during backup #2253save subject for messages: new api
dc_msg_get_subject(), when quoting, use the subject of the quoted message as the new subject, instead of the last subject in the chat #2274 #2283new apis to get full or html message,
dc_msg_has_html()anddc_get_msg_html()#2125 #2151 #2264 #2279new chat type and apis for the new mailing list support,
DC_CHAT_TYPE_MAILINGLIST,dc_msg_get_real_chat_id(),dc_msg_get_override_sender_name()#1964 #2181 #2185 #2195 #2211 #2210 #2240 #2241 #2243 #2258 #2259 #2261 #2267 #2270 #2272 #2290new api
dc_decide_on_contact_request(), deprecateddc_create_chat_by_msg_id()anddc_marknoticed_contact()#1964new flag
DC_GCM_INFO_ONLYfor apidc_get_chat_msgs()#2132new api
dc_get_chat_encrinfo()#2186new api
dc_contact_get_status(), returning the recent footer #2218 #2307improve contact name update rules, add api
dc_contact_get_auth_name()#2206 #2212 #2225new api for bots:
dc_msg_set_html()#2153new api for bots:
dc_msg_set_override_sender_name()#2231api removed:
dc_is_io_running()#2139api removed:
dc_contact_get_first_name()#2165 #2171improve compatibility with providers changing the Message-ID (as Outlook.com) #2250 #2265
correctly show emails that were sent to an alias and then bounced
implement Consistent Color Generation (XEP-0392), that results in contact colors be be changed #2228 #2229 #2239
fetch recent existing messages and create corresponding chats after configure #2106
improve e-mail compatibility by scanning all folders from time to time #2067 #2152 #2158 #2184 #2215 #2224
better support videochat-services not supporting random rooms #2191
export backups as .tar files #2023
scale avatars based on media_quality, fix avatar rotation #2063
compare ephemeral timer to parent message to deal with reordering better #2100
better ephemeral system messages #2183
read quotes out of html messages #2104
prepend subject to messages with attachments, if needed #2111
run housekeeping at least once a day #2114
resolve MX domain only once per OAuth2 provider #2122
configure provider based on MX record #2123 #2134
make transient bad destination address error permanent after n tries #2126 #2202
enable strict TLS for known providers by default #2121
improve and harden secure join #2154 #2161 #2251
update
dc_get_info()to return more information #2156prefer In-Reply-To/References over group-id stored in Message-ID #2164 #2172 #2173
apply gossiped encryption preference to new peerstates #2174
fix: do not return quoted messages from the trash chat #2221
fix: allow emojis for location markers #2177
fix encoding of Chat-Group-Name-Changed messages that could even lead to messages not being delivered #2141
fix error when no temporary directory is available #1929
fix marking read receipts as seen #2117
fix read-notification for mixed-case addresses #2103
fix decoding of attachment filenames #2080 #2094 #2102
fix downloading ranges of message #2061
fix parsing quoted encoded words in From: header #2193 #2204
fix import/export race condition #2250
fix: exclude muted chats from notified-list #2269 #2275
fix: update uid_next if the server rewind it #2288
fix: return error on fingerprint mismatch on qr-scan #2295
fix ci #2217 #2226 #2244 #2245 #2249 #2277 #2286
try harder on backup opening #2148
trash messages more thoroughly #2273
nicer logging #2284
add CMakeLists.txt #2260
switch to rust 1.50, update toolchains, deps #2150 #2155 #2165 #2107 #2262 #2271
improve python bindings #2113 #2115 #2133 #2214
improve documentation #2143 #2160 #2175 #2146
refactorings #2110 #2136 #2135 #2168 #2178 #2189 #2190 #2198 #2197 #2201 #2196 #2200 #2230 #2262 #2203
update provider-database #2299
1.50.0
do not fetch emails in between inbox_watch disabled and enabled again #2087
fix: do not fetch from INBOX if inbox_watch is disabled #2085
fix: do not use STARTTLS when PLAIN connection is requested and do not allow downgrade if STARTTLS is not available #2071
1.49.0
add timestamps to image and video filenames #2068
forbid quoting messages from another context #2069
fix: preserve quotes in messages with attachments #2070
1.48.0
fetch_existingrenamed tofetch_existing_msgsand disabled by default #2035 #2042skip fetch existing messages/contacts if config-option
botset #2017always log why a message is sorted to trash #2045
display a quote if top posting is detected #2047
add ephemeral task cancellation to
dc_stop_io(); before, there was no way to quickly terminate pending ephemeral tasks #2051when saved-messages chat is deleted, a device-message about recreation is added #2050
use
max_smtp_rcpt_tofrom provider-db, sending messages to many recipients in configurable chunks #2056fix handling of empty autoconfigure files #2027
fix adding saved messages to wrong chats on multi-device #2034 #2039
fix hang on android4.4 and other systems by adding a workaround to executer-blocking-handling bug #2040
fix secret key export/import roundtrip #2048
fix mistakenly unarchived chats #2057
fix outdated-reminder test that fails only 7 days a year, including halloween :) #2059
improve python bindings #2021 #2036 #2038
update provider-database #2037
1.47.0
breaking change:
dc_update_device_chats()removed; this is now done automatically during configure unless the new config-optionbotis set #1957breaking change: split
DC_EVENT_MSGS_NOTICEDoffDC_EVENT_MSGS_CHANGEDand removedc_marknoticed_all_chats()#1942 #1981breaking change: remove unused starring options #1965
breaking change:
DC_CHAT_TYPE_VERIFIED_GROUPreplaced bydc_chat_is_protected(); also single-chats may be protected now, this may happen over the wire even if the UI do not offer an option for that #1968breaking change: split quotes off message text, UIs should use at least
dc_msg_get_quoted_text()to show quotes now #1975new api for quote handling:
dc_msg_set_quote(),dc_msg_get_quoted_text(),dc_msg_get_quoted_msg()#1975 #1984 #1985 #1987 #1989 #2004require quorum to enable encryption #1946
speed up and clean up account creation #1912 #1927 #1960 #1961
configure now collects recent contacts and fetches last messages unless disabled by
fetch_existingconfig-option #1913 #2003 EDIT:fetch_existingrenamed tofetch_existing_msgsin 1.48.0 #2042emit
DC_EVENT_CHAT_MODIFIEDon contact rename and set contact-id onDC_EVENT_CONTACTS_CHANGED#1935 #1936 #1937add
dc_set_chat_protection(); theprotectparameter indc_create_group_chat()will be removed in an upcoming release; up to then, UIs using the "verified group" paradigm should not usedc_set_chat_protection()#1968 #2014 #2001 #2012 #2007remove unneeded
DC_STR_COUNT#1991mark all failed messages as failed when receiving an NDN #1993
check some easy cases for bad system clock and outdated app #1901
fix import temporary directory usage #1929
fix forcing encryption for reset peers #1998
fix: do not allow to save drafts in non-writeable chats #1997
fix: do not show HTML if there is no content and there is an attachment #1988
fix recovering offline/lost connections, fixes background receive bug #1983
fix ordering of accounts returned by
dc_accounts_get_all()#1909fix whitespace for summaries #1938
fix: improve sentbox name guessing #1941
fix: avoid manual poll impl for accounts events #1944
fix encoding newlines in param as a preparation for storing quotes #1945
fix: internal and ffi error handling #1967 #1966 #1959 #1911 #1916 #1917 #1915
fix ci #1928 #1931 #1932 #1933 #1934 #1943
update provider-database #1940 #2005 #2006
update dependencies #1919 #1908 #1950 #1963 #1996 #2010 #2013
1.46.0
breaking change:
dc_configure()report errors inDC_EVENT_CONFIGURE_PROGRESS: capturing error events is no longer working #1886 #1905breaking change: removed
DC_LP_{IMAP|SMTP}_SOCKET*fromserver_flags; addedmail_securityandsend_securityusingDC_SOCKETenum #1835parse multiple servers in Mozilla autoconfig #1860
try multiple servers for each protocol #1871
do IMAP and SMTP configuration in parallel #1891
configuration cleanup and speedup #1858 #1875 #1889 #1904 #1906
secure-join cleanup, testing, fixing #1876 #1877 #1887 #1888 #1896 #1899 #1900
do not reset peerstate on encrypted messages, ignore reordered autocrypt headers #1885 #1890
always sort message replies after parent message #1852
add an index to significantly speed up
get_fresh_msg_cnt()#1881improve mimetype guessing for PDF and many other formats #1857 #1861
improve accepting invalid html #1851
improve tests, cleanup and ci #1850 #1856 #1859 #1861 #1884 #1894 #1895
tweak HELO command #1908
make
dc_accounts_get_all()return accounts sorted #1909fix KML coordinates precision used for location streaming #1872
fix cancelling import/export #1855
1.45.0
add
dc_accounts_taccount manager object and related api functions #1784add capability to import backups as .tar files, which will become the default in a subsequent release #1749
try various server domains on configuration #1780 #1838
recognize .tgs files as stickers #1826
remove X-Mailer debug header #1819
improve guessing message types from extension #1818
fix showing unprotected subjects in encrypted messages #1822
fix threading in interaction with non-delta-clients #1843
fix handling if encryption degrades #1829
fix webrtc-servers names set by the user #1831
update provider database #1828
update async-imap to fix Oauth2 #1837
optimize jpeg assets with trimage #1840
add tests and documentations #1809 #1820
1.44.0
fix peerstate issues #1800 #1805
fix a crash related to muted chats #1803
fix incorrect dimensions sometimes reported for images #1806
fixed
dc_chat_get_remaining_mute_durationfunction #1807handle empty tags (e.g.
<br/>) in HTML mails #1810always translate the message about disappearing messages timer change #1813
improve footer detection in plain text email #1812
update device chat icon to fix warnings in iOS logs #1802
fix deletion of multiple messages #1795
1.43.0
improve using own jitsi-servers #1785
fix smtp-timeout tweaks for larger mails #1797
more bug fixes and updates #1794 #1792 #1789 #1787
1.42.0
new qr-code type
DC_QR_WEBRTC#1779new
dc_chatlist_get_summary2()api #1771tweak smtp-timeout for larger mails #1782
optimize read-receipts #1765
Allow http scheme for DCACCOUNT URLs #1770
improve tests #1769
bug fixes #1766 #1772 #1773 #1775 #1776 #1777
1.41.0
new apis to initiate video chats #1718 #1735
new apis
dc_msg_get_ephemeral_timer()anddc_msg_get_ephemeral_timestamp()new api
dc_chatlist_get_summary2()#1771improve IMAP handling #1703 #1704
improve ephemeral messages #1696 #1705
mark location-messages as auto-generated #1715
multi-device avatar-sync #1716 #1717
improve python bindings #1732 #1733 #1738 #1769
Allow http scheme for DCACCOUNT urls #1770
more fixes #1702 #1706 #1707 #1710 #1719 #1721 #1723 #1734 #1740 #1744 #1748 #1760 #1766 #1773 #1765
refactorings #1712 #1714 #1757
update toolchains and dependencies #1726 #1736 #1737 #1742 #1743 #1746
1.40.0
introduce ephemeral messages #1540 #1680 #1683 #1684 #1691 #1692
DC_MSG_ID_DAYMARKERgets timestamp attached #1677 #1685improve idle #1690 #1688
fix message processing issues by sequential processing #1694
refactorings #1670 #1673
1.39.0
fix handling of
mvbox_watch,sentbox_watch,inbox_watch#1654 #1658fix potential panics, update dependencies #1650 #1655
1.38.0
- fix sorting, esp. for multi-device
1.37.0
improve ndn heuristics #1630
get oauth2 authorizer from provider-db #1641
removed linebreaks and spaces from generated qr-code #1631
more fixes #1633 #1635 #1636 #1637
1.36.0
parse ndn (network delivery notification) reports and report failed messages as such #1552 #1622 #1630
add oauth2 support for gsuite domains #1626
read image orientation from exif before recoding #1619
improve logging #1593 #1598
improve python and bot bindings #1583 #1609
improve imap logout #1595
fix sorting #1600 #1604
fix qr code generation #1631
update rustcrypto releases #1603
refactorings #1617
1.35.0
enable strict-tls from a new provider-db setting #1587
new subject 'Message from USER' for one-to-one chats #1395
recode images #1563
improve reconnect handling #1549 #1580
improve importing addresses #1544
improve configure and folder detection #1539 #1548
improve test suite #1559 #1564 #1580 #1581 #1582 #1584 #1588:
fix ad-hoc groups #1566
preventions against being marked as spam #1575
refactorings #1542 #1569
1.34.0
new api for io, thread and event handling #1356, see the example atop of
deltachat.hto get an overviewLOTS of speed improvements due to async processing #1356
enable WAL mode for sqlite #1492
process incoming messages in bulk #1527
improve finding out the sent-folder #1488
several bug fixes
1.33.0
let
dc_set_muted()also mute one-to-one chats #1470fix a bug that led to load and traffic if the server does not use sent-folder #1472
1.32.0
fix endless loop when trying to download messages with bad RFC Message-ID, also be more reliable on similar errors #1463 #1466 #1462
fix bug with comma in contact request #1438
do not refer to hidden messages on replies #1459
improve error handling #1468 #1465 #1464
1.31.0
always describe the context of the displayed error #1451
do not emit
DC_EVENT_ERRORwhen message sending fails;dc_msg_get_state()anddc_get_msg_info()are sufficient #1451new config-option
media_quality#1449try over if writing message to database fails #1447
1.30.0
expunge deleted messages #1440
do not send
DC_EVENT_MSGS_CHANGED|INCOMING_MSGon hidden messages #1439
1.29.0
new config options
delete_device_afteranddelete_server_after, each taking an amount of seconds after which messages are deleted from the device and/or the server #1310 #1335 #1411 #1417 #1423new api
dc_estimate_deletion_cnt()to estimate the effect ofdelete_device_afteranddelete_server_afteruse Ed25519 keys by default, these keys are much shorter than RSA keys, which results in saving traffic and speed improvements #1362
improve message ellipsizing #1397 #1430
emit
DC_EVENT_ERROR_NETWORKalso on smtp-errors #1378do not show badly formatted non-delta-messages as empty #1384
try over SMTP on potentially recoverable error 5.5.0 #1379
remove device-chat from forward-to-chat-list #1367
improve group-handling #1368
dc_get_info()returns uptime (how long the context is in use)python improvements and adaptions #1408 #1415
log to the stdout and stderr in tests #1416
refactoring, code improvements #1363 #1365 #1366 #1370 #1375 #1389 #1390 #1418 #1419
removed api:
dc_chat_get_subtitle(),dc_get_version_str(),dc_array_add_id()removed events:
DC_EVENT_MEMBER_ADDED,DC_EVENT_MEMBER_REMOVED
1.28.0
- new flag DC_GCL_FOR_FORWARDING for dc_get_chatlist() that will sort the "saved messages" chat to the top of the chatlist #1336
- mark mails as being deleted from server in dc_empty_server() #1333
- fix interaction with servers that do not allow folder creation on root-level; use path separator as defined by the email server #1359
- fix group creation if group was created by non-delta clients #1357
- fix showing replies from non-delta clients #1353
- fix member list on rejoining left groups #1343
- fix crash when using empty groups #1354
- fix potential crash on special names #1350
1.27.0
- handle keys reliably on armv7 #1327
1.26.0
change generated key type back to RSA as shipped versions have problems to encrypt to Ed25519 keys
update rPGP to encrypt reliably to Ed25519 keys; one of the next versions can finally use Ed25519 keys then
1.25.0
save traffic by downloading only messages that are really displayed #1236
change generated key type to Ed25519, these keys are much shorter than RSA keys, which results in saving traffic and speed improvements #1287
improve key handling #1237 #1240 #1242 #1247
mute handling, apis are dc_set_chat_mute_duration() dc_chat_is_muted() and dc_chat_get_remaining_mute_duration() #1143
pinning chats, new apis are dc_set_chat_visibility() and dc_chat_get_visibility() #1248
add dc_provider_new_from_email() api that queries the new, integrated provider-database #1207
account creation by scanning a qr code in the DCACCOUNT scheme (https://mailadm.readthedocs.io), new api is dc_set_config_from_qr() #1249
if possible, dc_join_securejoin(), returns the new chat-id immediately and does the handshake in background #1225
update imap and smtp dependencies #1115
check for MOVE capability before using MOVE command #1263
allow inline attachments from RFC 2183 #1280
fix updating names from incoming mails #1298
fix error messages shown on import #1234
directly attempt to re-connect if the smtp connection is maybe stale #1296
improve adding group members #1291
improve rust-api #1261
cleanup #1302 #1283 #1282 #1276 #1270-#1274 #1267 #1258-#1260 #1257 #1239 #1231 #1224
update spec #1286 #1291
1.0.0-beta.24
fix oauth2/gmail bug introduced in beta23 (not used in releases) #1219
fix panic when receiving eg. cyrillic filenames #1216
delete all consumed secure-join handshake messagess #1209 #1212
Rust-level cleanups #1218 #1217 #1210 #1205
python-level cleanups #1204 #1202 #1201
1.0.0-beta.23
#1197 fix imap-deletion of messages
#1171 Combine multiple MDNs into a single mail, reducing traffic
#1155 fix to not send out gossip always, reducing traffic
#1160 fix reply-to-encrypted determination
#1182 Add "Auto-Submitted: auto-replied" header to MDNs
#1194 produce python wheels again, fix c/py.delta.chat master-deployment
rust-level housekeeping and improvements #1161 #1186 #1185 #1190 #1194 #1199 #1191 #1190 #1184 and more
#1063 clarify licensing
#1147 use mailparse 0.10.2
1.0.0-beta.22
#1095 normalize email lineends to CRLF
#1095 enable link-time-optimization, saves eg. on android 11 mb
#1099 fix import regarding devicechats
#1092 improve logging
#1096 #1097 #1094 #1090 #1091 internal cleanups
1.0.0-beta.21
#1078 #1082 ensure RFC compliance by producing 78 column lines for encoded attachments.
#1080 don't recreate and thus break group membership if an unknown sender (or mailer-daemon) sends a message referencing the group chat
#1081 #1079 some internal cleanups
update imap-proto dependency, to fix yandex/oauth
1.0.0-beta.20
- #1074 fix OAUTH2/gmail
- #1072 fix group members not appearing in contact list
- #1071 never block interrupt_idle (thus hopefully also not on maybe_network())
- #1069 reduce smtp-timeout to 30 seconds
- #1066 #1065 avoid unwrap in dehtml, make literals more readable
1.0.0-beta.19
#1058 timeout smtp-send if it doesn't complete in 15 minutes
#1059 trim down logging
1.0.0-beta.18
#1056 avoid panicking when we couldn't read imap-server's greeting message
#1055 avoid panicking when we don't have a selected folder
#1052 #1049 #1051 improve logging to add thread-id/name and file/lineno to each info/warn message.
#1050 allow python bindings to initialize Account with "os_name".
1.0.0-beta.17
#1044 implement avatar recoding to 192x192 in core to keep file sizes small.
#1024 fix #1021 SQL/injection malformed Chat-Group-Name breakage
#1036 fix smtp crash by pulling in a fixed async-smtp
#1039 fix read-receipts appearing as normal messages when you change MDN settings
#1040 do not panic on SystemTimeDifference
#1043 avoid potential crashes in malformed From/Chat-Disposition... headers
#1045 #1041 #1038 #1035 #1034 #1029 #1025 various cleanups and doc improvements
1.0.0-beta.16
alleviate login problems with providers which only support RSA1024 keys by switching back from Rustls to native-tls, by using the new async-email/async-native-tls crate from @dignifiedquire. thanks @link2xt.
introduce per-contact profile images to send out own profile image heuristically, and fix sending out of profile images in "in-prepare" groups. this also extends the Chat-spec that is maintained in core to specify Chat-Group-Image and Chat-Group-Avatar headers. thanks @r10s and @hpk42.
fix merging of protected headers from the encrypted to the unencrypted parts, now not happening recursively anymore. thanks @hpk and @r10s
fix/optimize autocrypt gossip headers to only get sent when there are more than 2 people in a chat. thanks @link2xt
fix displayname to use the authenticated name when available (displayname as coming from contacts themselves). thanks @simon-laux
introduce preliminary support for offline autoconfig for nauta provider. thanks @hpk42 @r10s
1.0.0-beta.15
- fix #994 attachment appeared doubled in chats (and where actually downloaded after smtp-send). @hpk42
1.0.0-beta.14
- fix packaging issue with our rust-email fork, now we are tracking master again there. hpk42
1.0.0-beta.13
fix #976 -- unicode-issues in display-name of email addresses. @hpk42
fix #985 group add/remove member bugs resulting in broken groups. @hpk42
fix hanging IMAP connections -- we now detect with a 15second timeout if we cannot terminate the IDLE IMAP protocol. @hpk42 @link2xt
fix incoming multipart/mixed containing html, to show up as attachments again. Fixes usage for simplebot which sends html files for users to interact with the bot. @adbenitez @hpk42
refinements to internal autocrypt-handling code, do not send prefer-encrypt=nopreference as it is the default if no attribute is present. @linkxt
simplify, modularize and rustify several parts of dc-core (general WIP). @link2xt @flub @hpk42 @r10s
use async-email/async-smtp to handle SMTP connections, might fix connection/reconnection issues. @link2xt
more tests and refinements for dealing with blobstorage @flub @hpk42
use a dedicated build-server for CI testing of core PRs
1.0.0-beta.12
- fix python bindings to use core for copying attachments to blobdir and fix core to actually do it. @hpk42
1.0.0-beta.11
trigger reconnect more often on imap error states. Should fix an issue observed when trying to empty a folder. @hpk42
un-split qr tests: we fixed qr-securejoin protocol flakiness last weeks. @hpk42
1.0.0-beta.10
fix grpid-determination from in-reply-to and references headers. @hpk42
only send Autocrypt-gossip headers on encrypted messages. @dignifiedquire
fix reply-to-encrypted message to also be encrypted. @hpk42
remove last unsafe code from dc_receive_imf :) @hpk42
add experimental new dc_chat_get_info_json FFI/API so that desktop devs can play with using it. @jikstra
fix encoding of subjects and attachment-filenames @hpk42 @dignifiedquire .
1.0.0-beta.9
historic: we now use the mailparse crate and lettre-email to generate mime messages. This got rid of mmime completely, the C2rust generated port of the libetpan mime-parse -- IOW 22KLocs of cumbersome code removed! see https://github.com/deltachat/deltachat-core-rust/pull/904#issuecomment-561163330 many thanks @dignifiedquire for making everybody's life easier and @jonhoo (from rust-imap fame) for suggesting to use the mailparse crate :)
lots of improvements and better error handling in many rust modules thanks @link2xt @flub @r10s, @hpk42 and @dignifiedquire
@r10s introduced a new device chat which has an initial welcome message. See https://c.delta.chat/classdc__context__t.html#a1a2aad98bd23c1d21ee42374e241f389 for the main new FFI-API.
fix moving self-sent messages, thanks @r10s, @flub, @hpk42
fix flakiness/sometimes-failing verified/join-protocols, thanks @flub, @r10s, @hpk42
fix reply-to-encrypted message to keep encryption
new DC_EVENT_SECUREJOIN_MEMBER_ADDED event
many little fixes and rustifications (@link2xt, @flub, @hpk42)
1.0.0-beta.8
now uses async-email/async-imap as the new base which makes imap-idle interruptible and thus fixes several issues around the imap thread being in zombie state . thanks @dignifiedquire, @hpk42 and @link2xt.
fixes imap-protocol parsing bugs that lead to infinitely repeated crashing while trying to receive messages with a subject that contained non-utf8. thanks @link2xt
fixed logic to find encryption subkey -- previously delta chat would use the primary key for encryption (which works with RSA but not ECC). thanks @link2xt
introduce a new device chat where core and UIs can add "device" messages. Android uses it for an initial welcome message. thanks @r10s
fix time smearing (when two message are virtually send in the same second, there would be misbehaviour because we didn't persist smeared time). thanks @r10s
fix double-dotted extensions like .html.zip or .tar.gz
to not mangle them when creating blobfiles. thanks @flubfix backup/exports where the wrong sql file would be modified, leading to problems when exporting twice. thanks @hpk42
several other little fixes and improvements
1.0.0-beta.7
fix location-streaming #782
fix display of messages that could not be decrypted #785
fix smtp MAILER-DAEMON bug #786
fix a logging of durations #783
add more error logging #779
do not panic on some bad utf-8 mime #776
1.0.0-beta.6
- fix chatlist.get_msg_id to return id, instead of wrongly erroring
1.0.0-beta.5
- fix dc_get_msg() to return empty messages when asked for special ones
1.0.0-beta.4
fix more than one sending of autocrypt setup message
fix recognition of mailto-address-qr-codes, add tests
tune down error to warning when adding self to chat
1.0.0-beta.3
add back
dc_empty_server()#682if
show_emailsis set toDC_SHOW_EMAILS_ALL, email-based contact requests are added to the chatlist directlyfix IMAP hangs #717 and cleanups
several rPGP fixes
code streamlining and rustifications
1.0.0-beta.2
https://c.delta.chat docs are now regenerated again through our CI
several rPGP cleanups, security fixes and better multi-platform support
reconnect on io errors and broken pipes (imap)
probe SMTP with real connection not just setup
various imap/smtp related fixes
use to_string_lossy in most places instead of relying on valid utf-8 encodings
rework, rustify and test autoconfig-reading and parsing
some rustifications/boolifications of c-ints
1.0.0-beta.1
first beta of the Delta Chat Rust core library. many fixes of crashes and other issues compared to 1.0.0-alpha.5.
Most code is now "rustified" and does not do manual memory allocation anymore.
The
DC_EVENT_GET_STRINGevent is not used anymore, removing the last event where the core requested a return value from the event callback.Please now use
dc_set_stock_translation()API for core messages to be properly localized.Deltachat FFI docs are automatically generated and available here: https://c.delta.chat
New events ImapMessageMoved and ImapMessageDeleted
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