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
dependabot[bot]
74d586ed93
Merge pull request #6386 from deltachat/dependabot/cargo/libc-0.2.169
2025-01-02 21:17:33 +00:00
dependabot[bot]
4de5867827
Merge pull request #6378 from deltachat/dependabot/cargo/chrono-0.4.39
2025-01-02 21:15:38 +00:00
dependabot[bot]
38836e8084
Merge pull request #6384 from deltachat/dependabot/cargo/hyper-1.5.2
2025-01-02 21:14:21 +00:00
dependabot[bot]
dde79fbf98
Merge pull request #6385 from deltachat/dependabot/cargo/async-broadcast-0.7.2
2025-01-02 21:09:07 +00:00
dependabot[bot]
65af309b16
Merge pull request #6389 from deltachat/dependabot/cargo/quick-xml-0.37.2
2025-01-02 21:08:07 +00:00
dependabot[bot]
502dd1157d
Merge pull request #6393 from deltachat/dependabot/cargo/syn-2.0.94
2025-01-02 21:07:37 +00:00
dependabot[bot]
49c09df864
chore(cargo): bump env_logger from 0.11.5 to 0.11.6
...
Bumps [env_logger](https://github.com/rust-cli/env_logger ) from 0.11.5 to 0.11.6.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.11.5...v0.11.6 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:55:24 +00:00
dependabot[bot]
3d698036f5
chore(cargo): bump proptest from 1.5.0 to 1.6.0
...
Bumps [proptest](https://github.com/proptest-rs/proptest ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/commits )
---
updated-dependencies:
- dependency-name: proptest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:55:08 +00:00
dependabot[bot]
bf4e11c607
chore(cargo): bump tokio-stream from 0.1.16 to 0.1.17
...
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.16 to 0.1.17.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.16...tokio-stream-0.1.17 )
---
updated-dependencies:
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:53:58 +00:00
dependabot[bot]
9e460a106b
chore(cargo): bump syn from 2.0.90 to 2.0.94
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.90 to 2.0.94.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.90...2.0.94 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:53:34 +00:00
dependabot[bot]
2d166d602b
chore(cargo): bump quick-xml from 0.37.1 to 0.37.2
...
Bumps [quick-xml](https://github.com/tafia/quick-xml ) from 0.37.1 to 0.37.2.
- [Release notes](https://github.com/tafia/quick-xml/releases )
- [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md )
- [Commits](https://github.com/tafia/quick-xml/compare/v0.37.1...v0.37.2 )
---
updated-dependencies:
- dependency-name: quick-xml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:52:20 +00:00
dependabot[bot]
fc0e7fd61f
chore(cargo): bump libc from 0.2.167 to 0.2.169
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.167 to 0.2.169.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.169/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.167...0.2.169 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:51:26 +00:00
dependabot[bot]
f9a7837e87
chore(cargo): bump async-broadcast from 0.7.1 to 0.7.2
...
Bumps [async-broadcast](https://github.com/smol-rs/async-broadcast ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/smol-rs/async-broadcast/releases )
- [Changelog](https://github.com/smol-rs/async-broadcast/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/async-broadcast/compare/0.7.1...0.7.2 )
---
updated-dependencies:
- dependency-name: async-broadcast
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:51:10 +00:00
dependabot[bot]
6da9838978
chore(cargo): bump hyper from 1.5.1 to 1.5.2
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 1.5.1 to 1.5.2.
- [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.1...v1.5.2 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:50:39 +00:00
dependabot[bot]
e45df09966
chore(cargo): bump rustls-pki-types from 1.10.0 to 1.10.1
...
Bumps [rustls-pki-types](https://github.com/rustls/pki-types ) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/rustls/pki-types/releases )
- [Commits](https://github.com/rustls/pki-types/compare/v/1.10.0...v/1.10.1 )
---
updated-dependencies:
- dependency-name: rustls-pki-types
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:49:52 +00:00
dependabot[bot]
56d9036d27
chore(cargo): bump fast-socks5 from 0.9.6 to 0.10.0
...
Bumps [fast-socks5](https://github.com/dizda/fast-socks5 ) from 0.9.6 to 0.10.0.
- [Release notes](https://github.com/dizda/fast-socks5/releases )
- [Commits](https://github.com/dizda/fast-socks5/compare/v0.9.6...v0.10.0 )
---
updated-dependencies:
- dependency-name: fast-socks5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:49:21 +00:00
dependabot[bot]
c77a09b189
chore(cargo): bump chrono from 0.4.38 to 0.4.39
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.38 to 0.4.39.
- [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.38...v0.4.39 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-01 21:49:05 +00:00
link2xt
f1302c3bc4
chore(release): prepare for 1.152.2
2024-12-24 19:20:23 +00:00
link2xt
9e408c3abd
chore(release): prepare for 1.152.1
2024-12-17 19:28:09 +00:00