link2xt
73095bcaff
chore(release): prepare for 1.157.3
2025-03-19 09:12:19 +00:00
link2xt
94187f7ee1
chore: update strum dependency
2025-03-17 15:19:36 +00:00
link2xt
156f9642fe
build: remove encoded-words dependency
...
mail-builder is doing its own encoding.
2025-03-16 19:49:55 +00:00
link2xt
03b0185b8e
chore(release): prepare for 1.157.2
2025-03-15 11:43:33 +00:00
link2xt
10e711621c
chore(release): prepare for 1.157.1
2025-03-13 01:34:08 +00:00
link2xt
1e3c894827
chore: update repository URLs to make npm and PyPI publishing possible
2025-03-13 00:31:54 +00:00
link2xt
da4f1b2a98
chore(release): prepare for 1.157.0
2025-03-12 23:00:47 +00:00
dependabot[bot]
c825b2584b
chore(cargo): bump smallvec from 1.13.2 to 1.14.0
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.13.2 to 1.14.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.13.2...v1.14.0 )
---
updated-dependencies:
- dependency-name: smallvec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-12 03:23:50 +00:00
link2xt
d69db8f336
build: intergrate fuzz crate into workspace
...
This makes `fuzz` use the same lockfile
as the rest of the crates
and makes sure it fuzzes the same versions
of dependencies, e.g. `mailparse`.
2025-03-11 00:37:04 +00:00
link2xt
26672900d5
fix: update async-imap to 0.10.23 to fix division by zero
2025-03-10 23:18:16 +00:00
link2xt
35d4eb5168
chore(release): prepare for 1.156.3
2025-03-09 20:46:22 +00:00
link2xt
b6d4d10025
chore: update iroh to 0.33
2025-03-09 18:21:24 +00:00
link2xt
287829d385
build: use mailbuilder from crates.io
...
This gets rid of the last git dependency.
2025-03-09 17:53:59 +00:00
dependabot[bot]
c6b6967fec
Merge pull request #6602 from deltachat/dependabot/cargo/chrono-0.4.40
2025-03-03 16:00:32 +00:00
dependabot[bot]
9b4e49e979
Merge pull request #6592 from deltachat/dependabot/cargo/blake3-1.6.1
2025-03-03 16:00:00 +00:00
dependabot[bot]
ffb903092a
Merge pull request #6596 from deltachat/dependabot/cargo/tokio-rustls-0.26.2
2025-03-03 15:57:42 +00:00
link2xt
490171650a
chore(release): prepare for 1.156.2
2025-03-02 20:49:30 +00:00
dependabot[bot]
36e6b2306b
chore(cargo): bump chrono from 0.4.39 to 0.4.40
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.39 to 0.4.40.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.39...v0.4.40 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-01 21:19:13 +00:00
dependabot[bot]
4942303c19
chore(cargo): bump tokio-rustls from 0.26.1 to 0.26.2
...
Bumps [tokio-rustls](https://github.com/rustls/tokio-rustls ) from 0.26.1 to 0.26.2.
- [Release notes](https://github.com/rustls/tokio-rustls/releases )
- [Commits](https://github.com/rustls/tokio-rustls/commits )
---
updated-dependencies:
- dependency-name: tokio-rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-01 21:17:02 +00:00
dependabot[bot]
2168e39156
chore(cargo): bump blake3 from 1.5.5 to 1.6.1
...
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3 ) from 1.5.5 to 1.6.1.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases )
- [Commits](https://github.com/BLAKE3-team/BLAKE3/compare/1.5.5...1.6.1 )
---
updated-dependencies:
- dependency-name: blake3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-01 21:15:45 +00:00
link2xt
43a40b9349
chore(release): prepare for 1.156.1
2025-02-28 01:23:21 +00:00
link2xt
43a3e40bc7
fix: update mailparse to 0.16.1 to fix panic when parsing a message
2025-02-28 01:12:01 +00:00
link2xt
08be98f693
chore(release): prepare for 1.156.0
2025-02-27 00:24:03 +00:00
Hocuri
38b08fab2f
feat: When reactions are seen, remove notification from second device ( #6480 )
...
Instead of being trashed, the message containing a reaction remains in the chat, hidden and InFresh. When the chat is opened, it will be marked as Seen on the server, so that a second device removes the notifications for the reaction.
Close https://github.com/deltachat/deltachat-core-rust/issues/6210 .
Also, this adds a benchmark.
2025-02-22 11:10:45 +01:00
link2xt
67f768fec0
refactor: use mail-builder instead of lettre_email
2025-02-18 21:29:35 +00:00
link2xt
48fcf66002
chore(release): prepare for 1.155.6
2025-02-17 20:42:48 +00:00
link2xt
4fb24d05dc
chore(release): prepare for 1.155.5
2025-02-14 01:07:16 +00:00
link2xt
302aa5a5f7
chore(release): prepare for 1.155.4
2025-02-10 19:19:03 +00:00
link2xt
a0ff0d71bc
fix: do not include CRLF before MIME boundary in the part body
...
This change adds a test and updates mailparse from 0.15.0 to 0.16.0.
mailparse 0.16.0 includes a fix for the bug
that resulted in CRLF being included at the end of the body.
Workaround for the bug in the `pk_validate` function is also removed.
2025-02-10 12:35:27 +00:00
link2xt
4ef6788ffd
chore(release): prepare for 1.155.3
2025-02-05 05:56:25 +00:00
link2xt
1d55458781
chore: upgrade iroh from 0.31 to 0.32
2025-02-04 19:45:01 +00:00
link2xt
6297bb967a
chore: upgrade iroh from 0.30 to 0.31
2025-02-04 19:16:50 +00:00
link2xt
258b5cde70
chore: update pgp to 0.15
2025-02-04 17:55:58 +00:00
dependabot[bot]
a58103ae4a
Merge pull request #6502 from deltachat/dependabot/cargo/rustls-pki-types-1.11.0
2025-02-03 18:01:21 +00:00
dependabot[bot]
4e601c31b4
chore(cargo): bump data-encoding from 2.6.0 to 2.7.0
...
Bumps [data-encoding](https://github.com/ia0/data-encoding ) from 2.6.0 to 2.7.0.
- [Commits](https://github.com/ia0/data-encoding/commits )
---
updated-dependencies:
- dependency-name: data-encoding
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 16:46:49 +00:00
dependabot[bot]
e651001a57
chore(cargo): bump rustls-pki-types from 1.10.1 to 1.11.0
...
Bumps [rustls-pki-types](https://github.com/rustls/pki-types ) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/rustls/pki-types/releases )
- [Commits](https://github.com/rustls/pki-types/compare/v/1.10.1...v/1.11.0 )
---
updated-dependencies:
- dependency-name: rustls-pki-types
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 16:44:06 +00:00
dependabot[bot]
15fc12e525
chore(cargo): bump rustls from 0.23.20 to 0.23.22
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.23.20 to 0.23.22.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.20...v/0.23.22 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 15:41:34 +00:00
dependabot[bot]
8cb1ba5000
Merge pull request #6505 from deltachat/dependabot/cargo/futures-lite-2.6.0
2025-02-03 09:39:13 +00:00
dependabot[bot]
feac84c5fc
Merge pull request #6512 from deltachat/dependabot/cargo/webpki-roots-0.26.8
2025-02-03 09:38:52 +00:00
dependabot[bot]
5e65c19f00
chore(cargo): bump webpki-roots from 0.26.7 to 0.26.8
...
Bumps [webpki-roots](https://github.com/rustls/webpki-roots ) from 0.26.7 to 0.26.8.
- [Release notes](https://github.com/rustls/webpki-roots/releases )
- [Commits](https://github.com/rustls/webpki-roots/compare/v/0.26.7...v/0.26.8 )
---
updated-dependencies:
- dependency-name: webpki-roots
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-01 21:44:37 +00:00
dependabot[bot]
c23809ccd5
chore(cargo): bump thiserror from 1.0.69 to 2.0.9
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.69 to 2.0.9.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.69...2.0.9 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-01 21:43:56 +00:00
dependabot[bot]
1f7e57181e
chore(cargo): bump futures-lite from 2.5.0 to 2.6.0
...
Bumps [futures-lite](https://github.com/smol-rs/futures-lite ) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/smol-rs/futures-lite/releases )
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/futures-lite/compare/v2.5.0...v2.6.0 )
---
updated-dependencies:
- dependency-name: futures-lite
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-01 21:42:05 +00:00
link2xt
ecbec41b97
chore(release): prepare for 1.155.2
2025-01-31 01:57:30 +00:00
dignifiedquire
5bde9b66d1
feat: upgrade to iroh@0.30.0
2025-01-28 03:26:57 +00:00
link2xt
1fd6d80e6d
chore(release): prepare for 1.155.1
2025-01-25 14:50:41 +00:00
link2xt
7bc9dd6c98
chore(release): prepare for 1.155.0
2025-01-23 03:06:03 +00:00
link2xt
32459b3fdc
Reapply "build: increase MSRV to 1.81.0"
...
This reverts commit 9d331483e9 .
2025-01-23 02:59:10 +00:00
Hocuri
65a9c4b79b
File deduplication ( #6332 )
...
When receiving messages, blobs will be deduplicated with the new
function `create_and_deduplicate_from_bytes()`. For sending files, this
adds a new function `set_file_and_deduplicate()` instead of
deduplicating by default.
This is for
https://github.com/deltachat/deltachat-core-rust/issues/6265 ; read the
issue description there for more details.
TODO:
- [x] Set files as read-only
- [x] Don't do a write when the file is already identical
- [x] The first 32 chars or so of the 64-character hash are enough. I
calculated that if 10b people (i.e. all of humanity) use DC, and each of
them has 200k distinct blob files (I have 4k in my day-to-day account),
and we used 20 chars, then the expected value for the number of name
collisions would be ~0.0002 (and the probability that there is a least
one name collision is lower than that) [^1]. I added 12 more characters
to be on the super safe side, but this wouldn't be necessary and I could
also make it 20 instead of 32.
- Not 100% sure whether that's necessary at all - it would mainly be
necessary if we might hit a length limit on some file systems (the
blobdir is usually sth like
`accounts/2ff9fc096d2f46b6832b24a1ed99c0d6/dc.db-blobs` (53 chars), plus
64 chars for the filename would be 117).
- [x] "touch" the files to prevent them from being deleted
- [x] TODOs in the code
For later PRs:
- Replace `BlobObject::create(…)` with
`BlobObject::create_and_deduplicate(…)` in order to deduplicate
everytime core creates a file
- Modify JsonRPC to deduplicate blob files
- Possibly rename BlobObject.name to BlobObject.file in order to prevent
confusion (because `name` usually means "user-visible-name", not "name
of the file on disk").
[^1]: Calculated with both https://printfn.github.io/fend/ and
https://www.geogebra.org/calculator , both of which came to the same
result
([1](https://github.com/user-attachments/assets/bbb62550-3781-48b5-88b1-ba0e29c28c0d ),
[2](https://github.com/user-attachments/assets/82171212-b797-4117-a39f-0e132eac7252 ))
---------
Co-authored-by: l <link2xt@testrun.org >
2025-01-21 19:42:19 +01:00
link2xt
2b5ce35c2d
chore(release): prepare for 1.154.3
2025-01-20 20:22:40 +00:00
link2xt
8af6cdf49c
chore(release): prepare for 1.154.2
2025-01-20 15:22:05 +00:00