Adrien Béraud
37f4469961
update version to 3.7.3
v3.7.3
2026-03-09 16:08:26 -04:00
Adrien Béraud
e9c4a31949
Support listing tests and running a single test by name
2026-03-09 13:57:56 -04:00
dependabot[bot]
1b5d9569ec
build(deps): bump pypa/cibuildwheel from 3.3.1 to 3.4.0
...
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel ) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/pypa/cibuildwheel/releases )
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md )
- [Commits](https://github.com/pypa/cibuildwheel/compare/v3.3.1...v3.4.0 )
---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
dependency-version: 3.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-09 10:35:40 -04:00
dependabot[bot]
e70f76f7f9
build(deps): bump docker/setup-buildx-action from 3 to 4
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 3 to 4.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-09 10:34:43 -04:00
dependabot[bot]
0f25da371e
build(deps): bump docker/setup-qemu-action from 3 to 4
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 3 to 4.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-09 10:33:43 -04:00
dependabot[bot]
f33f66c038
build(deps): bump docker/login-action from 3 to 4
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-09 10:33:06 -04:00
dependabot[bot]
1d08ff1489
build(deps): bump docker/metadata-action from 5 to 6
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 5 to 6.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](https://github.com/docker/metadata-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-09 10:32:35 -04:00
Adrien Béraud
b892be092a
infohash: make core APIs constexpr
...
Make Hash default constructor, hex constructor, data(), const
operator[] and fromString constexpr. Change fromString to be
non-throwing: it now uses a validity flag and fills the hash with zeros
on parse error instead of throwing. Add a constexpr toHexArray helper
that returns a std::array<char, N*2> for compile-time hex conversion.
Update tests to include <string_view>, use std::string_view, add
constexpr InfoHash usage and a static_assert for the hex array.
2026-03-08 23:34:50 -04:00
Adrien Béraud
9a902fa80c
dht: fix incorrect id in log
2026-03-08 12:27:00 -04:00
Adrien Béraud
984d720fac
meson: export opendht_EXPORTS
2026-03-08 12:26:23 -04:00
Adrien Béraud
931d79b701
dht: handle out-of-order partial messages
2026-03-08 12:26:23 -04:00
Adrien Béraud
58a5791063
ci: fix ccpp.yml syntax
2026-03-07 14:52:14 -05:00
Adrien Béraud
33b2bf12fa
dht: fix recycling of existing search
2026-03-06 23:19:51 -05:00
Adrien Béraud
08e9f0b763
network_engine: always erase partial message after processing
2026-03-06 23:19:51 -05:00
Adrien Béraud
12cb93f9cf
AGENTS.md: update
2026-03-06 23:19:51 -05:00
Adrien Béraud
71d14bb0fe
proxy stats: use localhost by default
v3.7.2.3
2026-03-02 16:32:38 -05:00
Adrien Béraud
635a73141a
build/cmake: use three dots as policy_max separator
2026-03-01 21:39:53 -05:00
Adrien Béraud
de4327c056
proxy stats: add storage stats
v3.7.2.2
2026-02-27 16:52:07 -05:00
Adrien Béraud
348d6be920
proxy stats: add storage stats
v3.7.2.1
2026-02-27 16:00:16 -05:00
Adrien Béraud
dbdf2ba94d
update version to 3.7.2
v3.7.2
2026-02-27 15:27:44 -05:00
Adrien Béraud
ef7505baaa
tests/dhtrunner: adapt to use longId
2026-02-27 15:12:31 -05:00
Adrien Béraud
9ad6b3a608
dhtrunner, securedht: mark findCertificate(InfoHash hash) as deprecated
2026-02-27 14:26:39 -05:00
Adrien Béraud
a32d76d312
securedht: cleanup
2026-02-27 00:18:20 -05:00
Adrien Béraud
8ebecfa25a
securedht: stop storing certificate at sha1(publicKey)
2026-02-27 00:12:40 -05:00
Adrien Béraud
ae3c2ae0d3
build/meson: use c++20 by default
2026-02-26 22:53:06 -05:00
Adrien Béraud
808ef0c51e
rename tests to test_x format
2026-02-26 22:52:48 -05:00
Adrien Béraud
6cf6892767
add AGENTS.md
2026-02-26 22:51:41 -05:00
Adrien Béraud
9ebe6e8bb6
tools: pretty print byte count
2026-02-24 00:15:47 -05:00
Adrien Béraud
a5455c19a6
update version to 3.7.1
v3.7.1
2026-02-22 23:34:54 -05:00
Adrien Béraud
166566dbf4
remove automake files
2026-02-22 23:34:16 -05:00
Adrien Béraud
9b1534e6fe
update README.md
2026-02-22 21:42:24 -05:00
Adrien Béraud
0263104373
proxy client: implement getLocalStoreSize
2026-02-22 18:55:02 -05:00
Adrien Béraud
0fc7e451e6
dhtrunner: move getNodeInfo implementation to securedht
2026-02-22 17:16:28 -05:00
Adrien Béraud
85cbee0f1a
dht: add local storage stats in NodeInfo
2026-02-22 16:27:35 -05:00
Adrien Béraud
724b5e592e
dht: use independent storage quota for local values
2026-02-22 16:27:35 -05:00
Adrien Béraud
28001840fa
dht: avoid infinite loop when largest quota empty
...
Ensure the selected store_quota entry is non-empty before entering the
expiry loop. If an empty entry is encountered, log a warning and break
out to prevent repeatedly attempting to expire from an empty quota
(which could hang the expiry routine).
v3.7.0rc9
2026-02-21 18:34:07 -05:00
Adrien Béraud
047c10cf85
dht: handle empty values when updating storage quota
2026-02-21 18:34:00 -05:00
Adrien Béraud
152f9a2f54
dht: take shared_ptr by const-ref in sortedBucketInsert
2026-02-19 22:02:32 -05:00
Adrien Béraud
62243fb4f6
query: optimize msgpack_pack
2026-02-19 21:50:07 -05:00
Adrien Béraud
01eab83a7b
value: move filter
2026-02-19 21:44:43 -05:00
Adrien Béraud
2c71662af7
dht_proxy_client: prevent disconnect on local ip change
2026-02-09 15:05:43 -05:00
Adrien Béraud
64032eb6d2
utils: use fmt::format for getaddrinfo error
...
Use fmt::format to build the std::invalid_argument message in
SockAddr::resolve
instead of manual std::string concatenation when getaddrinfo fails.
2026-02-09 13:26:02 -05:00
Adrien Béraud
d91f3bdbbd
dhtrunner: implement getStorageLimit
2026-02-09 13:26:00 -05:00
Adrien Béraud
1abaddba3e
ci: bump VCPKG_VERSION to 2026.01.16
...
Bump VCPKG_VERSION in .github/workflows/windows-build.yml from
2025.07.25 to 2026.01.16 so the Windows CI workflow uses the newer
vcpkg release.
2026-02-05 21:53:28 -05:00
Adrien Béraud
65b537f6e9
ci: test builds with C++17/20/23
...
Add a cxx_standard matrix (17, 20, 23) to the Ubuntu and macOS CI jobs
and pass
-DCMAKE_CXX_STANDARD=${{ matrix.cxx_standard }} and
-DCMAKE_CXX_STANDARD_REQUIRED=ON to CMake so the builds are exercised
across
C++17, C++20 and C++23.
2026-02-05 21:53:14 -05:00
Adrien Béraud
f44646ff82
ci(windows): test builds with C++17/20/23 standards
...
Add a cxx_standard matrix axis to the Windows build jobs and pass
-DCMAKE_CXX_STANDARD and -DCMAKE_CXX_STANDARD_REQUIRED=ON to CMake so
builds are produced for C++17, C++20 and C++23. Include the chosen
standard in the uploaded artifact names for both shared and static
builds.
2026-02-05 21:34:44 -05:00
Adrien Béraud
73dc55155e
utils: make unpackMsg take const Blob& and inline
...
Change the template unpackMsg to accept a const Blob& to avoid an
unnecessary copy of the Blob argument. Move the non-template unpackMsg
(returning msgpack::unpacked) into the header as an inline function and
remove its out-of-line definition from src/utils.cpp. Update
declarations accordingly.
2026-02-05 21:31:42 -05:00
Adrien Béraud
aa000ee586
http: cleanup
2026-02-05 21:31:42 -05:00
Adrien Béraud
ec4c3e343c
dht: format request targets with fmt
2026-02-05 21:31:42 -05:00
copilot-swe-agent[bot] and aberaud
4b24f1da38
Replace deprecated systemd directives with current alternatives
...
Replace ReadOnlyDirectories with ReadOnlyPaths and ReadWriteDirectories with ReadWritePaths as per modern systemd.exec(5) documentation
Co-authored-by: aberaud <101827+aberaud@users.noreply.github.com >
2026-02-03 16:35:58 -05:00