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
link2xt
67f768fec0
refactor: use mail-builder instead of lettre_email
2025-02-18 21:29:35 +00:00
link2xt
82ea4e2ae2
chore: update some dependencies
2025-02-18 17:29:21 +00:00
link2xt
0f449cc7eb
chore: update some dependencies
2025-02-18 11:19:53 +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
6f5620dad5
chore: update futures-concurrency
...
This removes two duplicate dependencies.
2025-02-05 03:21:13 +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]
bf36a479db
Merge pull request #6498 from deltachat/dependabot/cargo/log-0.4.25
2025-02-03 18:01:06 +00:00
dependabot[bot]
9a2924ed88
Merge pull request #6513 from deltachat/dependabot/cargo/uuid-1.12.1
2025-02-03 17:58:36 +00:00
dependabot[bot]
4be4a3c72f
Merge pull request #6509 from deltachat/dependabot/cargo/serde_json-1.0.138
2025-02-03 17:58:16 +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]
fa0382da2d
chore(cargo): bump serde_json from 1.0.134 to 1.0.138
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.134 to 1.0.138.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.134...v1.0.138 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 16:44:22 +00:00
dependabot[bot]
64bd05aa44
chore(cargo): bump log from 0.4.22 to 0.4.25
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.22 to 0.4.25.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.22...0.4.25 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 16:44:18 +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]
8e7f1d83ec
chore(cargo): bump uuid from 1.11.0 to 1.12.1
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.11.0 to 1.12.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.11.0...1.12.1 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 16:05:23 +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]
ee39615dbd
chore(cargo): bump syn from 2.0.94 to 2.0.98
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.94 to 2.0.98.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.94...2.0.98 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 15:08:50 +00:00
dependabot[bot]
f0c4414d34
chore(cargo): bump tokio from 1.42.0 to 1.43.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.42.0...tokio-1.43.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 13:58:35 +00:00
link2xt
4e5125b98d
chore: update OpenSSL to fix RUSTSEC-2025-0004
2025-02-03 13:53: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]
d762972c95
Merge pull request #6508 from deltachat/dependabot/cargo/hyper-1.6.0
2025-02-03 09:38:34 +00:00
dependabot[bot]
ae893d57a9
Merge pull request #6499 from deltachat/dependabot/cargo/dirs-6.0.0
2025-02-03 09:37:48 +00:00
dependabot[bot]
602d379aef
Merge pull request #6497 from deltachat/dependabot/cargo/pin-project-1.1.8
2025-02-03 09:37:22 +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]
54d3a2ad47
chore(cargo): bump hyper from 1.5.2 to 1.6.0
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v1.5.2...v1.6.0 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-01 21:43:22 +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
dependabot[bot]
7e886cbf2b
chore(cargo): bump dirs from 5.0.1 to 6.0.0
...
Bumps [dirs](https://github.com/soc/dirs-rs ) from 5.0.1 to 6.0.0.
- [Commits](https://github.com/soc/dirs-rs/commits )
---
updated-dependencies:
- dependency-name: dirs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-01 21:40:24 +00:00
dependabot[bot]
ebeb742ba6
chore(cargo): bump pin-project from 1.1.7 to 1.1.8
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 1.1.7 to 1.1.8.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.7...v1.1.8 )
---
updated-dependencies:
- dependency-name: pin-project
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-01 21:39:26 +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
a3734a5f87
Reapply "chore(cargo): bump rustyline from 14.0.0 to 15.0.0"
...
This reverts commit 6cd6aca7b8 .
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
link2xt
3cbfb47b6e
build: switch to non-git version of encoded-words
2025-01-19 10:51:46 +00:00
link2xt
fa016b36fb
chore(release): prepare for 1.154.1
2025-01-15 19:23:27 +00:00
link2xt
ffd2ec9424
chore(release): prepare for 1.154.0
2025-01-15 17:56:40 +00:00
link2xt
fff4020013
chore(release): prepare for 1.153.0
2025-01-05 09:08:23 +00:00