mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 05:32:22 +02:00
e8de5c7b68 Merge bitcoin-core/libmultiprocess#305: refactor: memcpy to std::ranges::copy to work around ubsan warn 9307e68e5a Merge bitcoin-core/libmultiprocess#306: doc: Bump version 12 > 13 fac7b9b7f6 refactor: memcpy to std::ranges::copy to work around ubsan warn 1bd7025609 Merge bitcoin-core/libmultiprocess#297: test: add map serialization round-trip coverage 438fdd243d doc: Bump version 12 > 13 463d073cb8 test: rename vBool to vector_bool 85df233845 test: add mapStringInt to foo.capnp to cover map serialization and deserialization git-subtree-dir: src/ipc/libmultiprocess git-subtree-split: e8de5c7b68e0ae21c94ae92aa22e5c3b213f9c12
10 KiB
10 KiB
libmultiprocess Versions
Library versions are tracked with simple tags and branches.
Versioning policy is described in the version.h include.
v13
- Current unstable version.
v12.0
- Adds an optional
max_connectionsparameter toListenConnections(#269). - Used in Bitcoin Core 32.x and newer releases with #35684.
v11.0
- Adds
makePoolmethod onThreadMapto support thread pool routing, allowing requests without a specific client thread to be dispatched to a pool using a shortest-queue strategy (#283). - Adds
std::unordered_setsupport, aBuildListhelper, and aReadListhelper to reduce duplication in list build and read handlers (#277, #285). - Adds support for translating C++
std::optional<T>struct fields to pairs ofT+hasT :BoolCap'n Proto struct fields, allowing unset optional primitive fields to be represented (#243). - Produces more readable log output for Proxy object lifecycle events and IPC server-side failures (#218).
- Handles exceptions thrown by
destroymethods by logging instead of aborting (#273). This can prevent server crashes when non-libmultiprocess clients disconnect without destroying objects, in the case where a server object owns client objects and the server destructor tries to call the disconnected client to free them (#219). - Handles unexpected exceptions thrown by callbacks (that should never happen) by logging errors instead of deadlocking (#260).
- Fixes a rare mptest hang on musl builds caused by a lost wakeup bug in
Waiter(#295). - Fixes a race condition in a log print detected by TSan (#286).
- Build improvements: makes
target_capnp_sourceswork correctly when libmultiprocess is used as a CMake subproject (#289), addsmp_headerstarget for better lint tool support (#291), and fixes compatibility with recent Nix and CMake 4.0 (#238). - Test, CI, documentation, and minor code improvements: design document corrections (#278), field constant comments (#279), clang-tidy fix (#292), new smoke test for double-precision float values (#294), new test for recursive async IPC calls (#301), removal of libevent from Core CI builds (#299), and rename of
EventLoop::m_num_clientstom_num_refs(#302). - Used in Bitcoin Core 32.x and newer releases with #35661.
v10.0
- Increases spawn test timeout to avoid spurious failures.
- Uses
throwRecoverableExceptioninstead of rawthrowto improve runtime error messages in macOS builds. - Used in Bitcoin Core 31.0rc3 and newer releases with #34977 and backport #35028.
v9.0
- Fixes race conditions where worker thread could be used after destruction, where getParams() could be called after request cancel, and where m_on_cancel could be called after request finishes.
- Adds
CustomHasFieldhook to map Cap'n Proto null values to C++ null values. - Improves
CustomBuildFieldforstd::optionalto use move semantics. - Adds LLVM 22 compatibility fix in type-map.
- Used in Bitcoin Core 31.0rc3 and newer releases with #34804 and backport #34952.
v8.0
- Better support for non-libmultiprocess IPC clients: avoiding errors on unclean disconnects, and allowing simultaneous requests to worker threads which previously triggered "thread busy" errors.
- Used in Bitcoin Core 31.x and newer releases with #34422.
v7.0
- Adds SpawnProcess race fix, cmake
target_capnp_sourcesoption, ci and documentation improvements. Addsversion.hheader declaring major and minor version numbers. - Used in Bitcoin Core 31.x and newer releases with #34363.
v7.0-pre2
- Fixes intermittent mptest hang and makes other minor improvements.
- Used in Bitcoin Core 30.1 and newer releases with #33518 and backport #33519.
v7.0-pre1
- Adds support for log levels to reduce logging and "thread busy" error to avoid a crash on misuse.
- Used in Bitcoin Core 30.1 and newer releases with #33412 and #33518 and backport #33519.
- Minimum required version since Bitcoin Core 30.1 due to #33517 and backport #33609.
v6.0
- Adds CI scripts and build and test fixes.
- Used in Bitcoin Core 30.x and newer releases with #32345, #33241, and #33322.
v6.0-pre1
- Adds fixes for unclean shutdowns and thread sanitizer issues.
- Drops
EventLoop::addClientandEventLoop::removeClientmethods, requiring clients to use newEventLoopRefclass instead. - Used in Bitcoin Core 30.x and newer releases with #31741, #32641, and #32345.
- Minimum required version since Bitcoin Core 30.0 due to #32345.
v5.0
- Adds build improvements and tidy/warning fixes.
- Used in Bitcoin Core 29.x and newer releases with #31945.
v5.0-pre1
- Adds many improvements to Bitcoin Core mining interface: splitting up type headers, fixing shutdown bugs, adding subtree build support.
- Broke up
proxy-types.hintotype-*.hfiles requiring clients to explicitly include overloads needed for C++ ↔️ Cap'n Proto type conversions. - Now requires C++ 20 support.
- Used in Bitcoin Core 29.x and newer releases with #30509, #30510, #31105, #31740.
- Minimum required version since Bitcoin Core 29.0 due to #31740.
v4.0
- Added better cmake support, installing cmake package files so clients do not need to use pkgconfig.
- Used in Bitcoin Core 28.x and newer releases with #30490 and #30513.
v3.0
- Dropped compatibility with Cap'n Proto versions before 0.7.
- Used in Bitcoin Core 27.x and newer releases with #28735, #28907, and #29276.
v2.0
- Changed
PassFieldfunction signature. - Now requires C++17 support.
- Used in Bitcoin Core 25.x and newer releases with #26672.
v1.0
- Dropped hardcoded includes in generated files, now requiring
includeandincludeTypesannotations. - Used in Bitcoin Core 22.x and newer releases with #19160.