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]
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
link2xt
f31e86d203
chore: lockfile update
2025-01-04 06:49:46 +00:00
link2xt
8ec098210e
fix: update shadowsocks crate to 1.22.0 to avoid panic when parsing some QR codes
...
`aead-cipher` feature has become optional
and is disabled by default.
We enable it to avoid breaking compatibility.
2025-01-03 23:56:47 +00:00
dependabot[bot]
62e22286bb
chore(cargo): bump testdir from 0.9.1 to 0.9.3
...
Bumps [testdir](https://github.com/flub/testdir ) from 0.9.1 to 0.9.3.
- [Changelog](https://github.com/flub/testdir/blob/main/CHANGELOG.md )
- [Commits](https://github.com/flub/testdir/compare/v0.9.1...v0.9.3 )
---
updated-dependencies:
- dependency-name: testdir
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-03 20:50:30 -03:00
dependabot[bot]
5a69d9c355
chore(cargo): bump serde from 1.0.215 to 1.0.217
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.215 to 1.0.217.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.215...v1.0.217 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-03 01:57:45 +00:00
dependabot[bot]
e689db4376
Merge pull request #6387 from deltachat/dependabot/cargo/serde_json-1.0.134
2025-01-03 01:56:37 +00:00
dependabot[bot]
2d173512af
Merge pull request #6396 from deltachat/dependabot/cargo/rustls-0.23.20
2025-01-03 01:56:18 +00:00
dependabot[bot]
adddc8e4ad
Merge pull request #6388 from deltachat/dependabot/cargo/tokio-1.42.0
2025-01-03 01:23:31 +00:00
dependabot[bot]
29ee1fc047
Merge pull request #6390 from deltachat/dependabot/cargo/anyhow-1.0.95
2025-01-03 00:37:17 +00:00
dependabot[bot]
8a27c3edf0
chore(cargo): bump rustls from 0.23.19 to 0.23.20
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.23.19 to 0.23.20.
- [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.19...v/0.23.20 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-03 00:04:17 +00:00
dependabot[bot]
7164786165
chore(cargo): bump tokio from 1.41.1 to 1.42.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.41.1 to 1.42.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.41.1...tokio-1.42.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-01-02 23:50:08 +00:00
dependabot[bot]
0cfd84d803
chore(cargo): bump serde_json from 1.0.133 to 1.0.134
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.133 to 1.0.134.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.133...v1.0.134 )
---
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-01-02 23:47:43 +00:00
dependabot[bot]
d25cb22ae5
Merge pull request #6380 from deltachat/dependabot/cargo/tokio-util-0.7.13
2025-01-02 23:38:44 +00:00
dependabot[bot]
e236b55fbb
Merge pull request #6382 from deltachat/dependabot/cargo/tokio-rustls-0.26.1
2025-01-02 23:38:25 +00:00
dependabot[bot]
1dfb2a36e6
chore(cargo): bump anyhow from 1.0.93 to 1.0.95
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.93 to 1.0.95.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.93...1.0.95 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-02 22:57:38 +00:00
dependabot[bot]
15b6ed1210
Merge pull request #6398 from deltachat/dependabot/cargo/env_logger-0.11.6
2025-01-02 22:56:31 +00:00
dependabot[bot]
51e7bcf6a6
Merge pull request #6381 from deltachat/dependabot/cargo/rustls-pki-types-1.10.1
2025-01-02 22:52:38 +00:00
dependabot[bot]
e80d6ce803
Merge pull request #6392 from deltachat/dependabot/cargo/quote-1.0.38
2025-01-02 22:51:27 +00:00
dependabot[bot]
de36c05f18
Merge pull request #6379 from deltachat/dependabot/cargo/fast-socks5-0.10.0
2025-01-02 22:49:58 +00:00
dependabot[bot]
8c24dbd493
chore(cargo): bump tokio-rustls from 0.26.0 to 0.26.1
...
Bumps [tokio-rustls](https://github.com/rustls/tokio-rustls ) from 0.26.0 to 0.26.1.
- [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-01-02 22:05:48 +00:00
dependabot[bot]
72312a3a43
chore(cargo): bump tokio-util from 0.7.12 to 0.7.13
...
Bumps [tokio-util](https://github.com/tokio-rs/tokio ) from 0.7.12 to 0.7.13.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.12...tokio-util-0.7.13 )
---
updated-dependencies:
- dependency-name: tokio-util
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-02 22:05:21 +00:00
dependabot[bot]
06e3f0a738
Merge pull request #6394 from deltachat/dependabot/cargo/tokio-stream-0.1.17
2025-01-02 21:31:25 +00:00
dependabot[bot]
7ef4621ffd
chore(cargo): bump quote from 1.0.37 to 1.0.38
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.37 to 1.0.38.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.37...1.0.38 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-02 21:23:39 +00:00