From 0541ecf22c4682e75429c113d4fd2b3f1cb1d8bc Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Mon, 13 May 2024 12:28:35 +0200 Subject: [PATCH] chore(release): prepare for 1.138.0 --- CHANGELOG.md | 89 +++++++++++++++++++ Cargo.lock | 10 +-- Cargo.toml | 2 +- deltachat-ffi/Cargo.toml | 2 +- deltachat-jsonrpc/Cargo.toml | 2 +- deltachat-jsonrpc/typescript/package.json | 2 +- deltachat-repl/Cargo.toml | 2 +- deltachat-rpc-client/pyproject.toml | 2 +- deltachat-rpc-server/Cargo.toml | 2 +- deltachat-rpc-server/npm-package/package.json | 29 +++--- package.json | 2 +- python/pyproject.toml | 2 +- release-date.in | 2 +- 13 files changed, 118 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 852d3e4b5..9da47756c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,93 @@ # Changelog +## [1.138.0] - 2024-05-13 + +### API-Changes + +- Add dc_msg_save_file() which saves file copy at the provided path ([#4309](https://github.com/deltachat/deltachat-core-rust/pull/4309)). +- Api!(jsonrpc): replace EphemeralTimer tag "variant" with "kind" + +### CI + +- Use rsync instead of 3rd party github action. +- Replace `black` with `ruff format`. +- Update Rust to 1.78.0. + +### Documentation + +- Fix references in Message.set_location() documentation. +- Remove Doxygen markup from Message.has_location(). +- Add `location` module documentation. + +### Features / Changes + +- Delete expired path locations in ephemeral loop. +- Delete orphaned POI locations during housekeeping. +- Parsing vCards for contacts sharing ([#5482](https://github.com/deltachat/deltachat-core-rust/pull/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](https://github.com/deltachat/deltachat-core-rust/pull/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](https://github.com/deltachat/deltachat-core-rust/pull/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](https://github.com/deltachat/deltachat-core-rust/pull/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](https://github.com/deltachat/deltachat-core-rust/pull/5541)) +- Limit quote replies ([#5543](https://github.com/deltachat/deltachat-core-rust/pull/5543)) +- Stdio jsonrpc server npm package ([#5332](https://github.com/deltachat/deltachat-core-rust/pull/5332)) + +### Refactor + +- python: Fix ruff 0.4.2 warnings. +- Move `delete_poi_location` to location module and document it. +- Remove allow_keychange. + +### Tests + +- Explain test_was_seen_recently false-positive and give workaround instructions ([#5474](https://github.com/deltachat/deltachat-core-rust/pull/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 @@ -3983,3 +4071,4 @@ https://github.com/deltachat/deltachat-core-rust/pulls?q=is%3Apr+is%3Aclosed [1.137.2]: https://github.com/deltachat/deltachat-core-rust/compare/v1.137.1...v1.137.2 [1.137.3]: https://github.com/deltachat/deltachat-core-rust/compare/v1.137.2...v1.137.3 [1.137.4]: https://github.com/deltachat/deltachat-core-rust/compare/v1.137.3...v1.137.4 +[1.138.0]: https://github.com/deltachat/deltachat-core-rust/compare/v1.137.4...v1.138.0 diff --git a/Cargo.lock b/Cargo.lock index 0871bcade..40aa04b73 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1157,7 +1157,7 @@ dependencies = [ [[package]] name = "deltachat" -version = "1.137.4" +version = "1.138.0" dependencies = [ "ansi_term", "anyhow", @@ -1250,7 +1250,7 @@ dependencies = [ [[package]] name = "deltachat-jsonrpc" -version = "1.137.4" +version = "1.138.0" dependencies = [ "anyhow", "async-channel 2.2.1", @@ -1274,7 +1274,7 @@ dependencies = [ [[package]] name = "deltachat-repl" -version = "1.137.4" +version = "1.138.0" dependencies = [ "ansi_term", "anyhow", @@ -1289,7 +1289,7 @@ dependencies = [ [[package]] name = "deltachat-rpc-server" -version = "1.137.4" +version = "1.138.0" dependencies = [ "anyhow", "deltachat", @@ -1318,7 +1318,7 @@ dependencies = [ [[package]] name = "deltachat_ffi" -version = "1.137.4" +version = "1.138.0" dependencies = [ "anyhow", "deltachat", diff --git a/Cargo.toml b/Cargo.toml index f230efcc0..eeb0e4fc9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat" -version = "1.137.4" +version = "1.138.0" edition = "2021" license = "MPL-2.0" rust-version = "1.77" diff --git a/deltachat-ffi/Cargo.toml b/deltachat-ffi/Cargo.toml index c65856393..63c5f8d32 100644 --- a/deltachat-ffi/Cargo.toml +++ b/deltachat-ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat_ffi" -version = "1.137.4" +version = "1.138.0" description = "Deltachat FFI" edition = "2018" readme = "README.md" diff --git a/deltachat-jsonrpc/Cargo.toml b/deltachat-jsonrpc/Cargo.toml index 48b0b4f56..ae43d8b9f 100644 --- a/deltachat-jsonrpc/Cargo.toml +++ b/deltachat-jsonrpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-jsonrpc" -version = "1.137.4" +version = "1.138.0" description = "DeltaChat JSON-RPC API" edition = "2021" default-run = "deltachat-jsonrpc-server" diff --git a/deltachat-jsonrpc/typescript/package.json b/deltachat-jsonrpc/typescript/package.json index 4f76e7fd9..d2e143394 100644 --- a/deltachat-jsonrpc/typescript/package.json +++ b/deltachat-jsonrpc/typescript/package.json @@ -54,5 +54,5 @@ }, "type": "module", "types": "dist/deltachat.d.ts", - "version": "1.137.4" + "version": "1.138.0" } diff --git a/deltachat-repl/Cargo.toml b/deltachat-repl/Cargo.toml index f666b9d61..0bb35913b 100644 --- a/deltachat-repl/Cargo.toml +++ b/deltachat-repl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-repl" -version = "1.137.4" +version = "1.138.0" license = "MPL-2.0" edition = "2021" repository = "https://github.com/deltachat/deltachat-core-rust" diff --git a/deltachat-rpc-client/pyproject.toml b/deltachat-rpc-client/pyproject.toml index 596e8703f..8ce07d0ae 100644 --- a/deltachat-rpc-client/pyproject.toml +++ b/deltachat-rpc-client/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "deltachat-rpc-client" -version = "1.137.4" +version = "1.138.0" description = "Python client for Delta Chat core JSON-RPC interface" classifiers = [ "Development Status :: 5 - Production/Stable", diff --git a/deltachat-rpc-server/Cargo.toml b/deltachat-rpc-server/Cargo.toml index 9ac72882c..768721fae 100644 --- a/deltachat-rpc-server/Cargo.toml +++ b/deltachat-rpc-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deltachat-rpc-server" -version = "1.137.4" +version = "1.138.0" description = "DeltaChat JSON-RPC server" edition = "2021" readme = "README.md" diff --git a/deltachat-rpc-server/npm-package/package.json b/deltachat-rpc-server/npm-package/package.json index 92a38e8db..0ded94f4a 100644 --- a/deltachat-rpc-server/npm-package/package.json +++ b/deltachat-rpc-server/npm-package/package.json @@ -1,16 +1,15 @@ { - "type": "module", - "name": "@deltachat/stdio-rpc-server", - "version": "1.137.4", - "license": "MPL-2.0", - "main": "index.js", - "types": "index.d.ts", - "scripts": { - "prepack": "node scripts/update_optional_dependencies_and_version.js" - }, - "optionalDependencies": { - }, - "peerDependencies": { - "@deltachat/jsonrpc-client": "*" - } -} \ No newline at end of file + "license": "MPL-2.0", + "main": "index.js", + "name": "@deltachat/stdio-rpc-server", + "optionalDependencies": {}, + "peerDependencies": { + "@deltachat/jsonrpc-client": "*" + }, + "scripts": { + "prepack": "node scripts/update_optional_dependencies_and_version.js" + }, + "type": "module", + "types": "index.d.ts", + "version": "1.138.0" +} diff --git a/package.json b/package.json index f4310052e..e083548f0 100644 --- a/package.json +++ b/package.json @@ -55,5 +55,5 @@ "test:mocha": "mocha node/test/test.mjs --growl --reporter=spec --bail --exit" }, "types": "node/dist/index.d.ts", - "version": "1.137.4" + "version": "1.138.0" } diff --git a/python/pyproject.toml b/python/pyproject.toml index 1504acddd..fdcaa5cd1 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "deltachat" -version = "1.137.4" +version = "1.138.0" description = "Python bindings for the Delta Chat Core library using CFFI against the Rust-implemented libdeltachat" readme = "README.rst" requires-python = ">=3.7" diff --git a/release-date.in b/release-date.in index 72341b16e..59ec63284 100644 --- a/release-date.in +++ b/release-date.in @@ -1 +1 @@ -2024-04-24 \ No newline at end of file +2024-05-13 \ No newline at end of file