Repository navigation
Security fixes and hardening:
- Enforce local endpoint access-control policy and participant authentication before application endpoint matching; harden short RTPS messages, security sequence allocations and discovery TypeInformation parsing. (#2424, #2478)
- Add
Compatibility/AllowRecursiveTypesto disable recursive type processing and reduce the TypeLookup/type-library attack surface when recursive types are unnecessary. (#2415) - Strengthen TypeObject validation for enum/bitmask definitions, duplicate names and union labels. (#2394)
- Enforce required appendable/mutable members and reader
prevent_type_wideningduring CDR validation; regenerate type-support descriptors for the new required-member metadata. (#2451) - Harden XCDR1 parameter headers, zero-length members and sequence allocation bounds; reject duplicate mutable members and fix wide-string allocation and mutable-member defaulting. (#2449, #2455, #2471)
- Deprecate
dds_istream_initin favor ofdds_istream_init_well_formed; add normalization-to-stream helpers for untrusted CDR input. (#2449) - Fix type-library reference ownership, recursive construction/import cleanup, allocation failure handling and double frees; preserve application-owned string sequence storage and clean destination QoS before copying. (#2397, #2419, #2420, #2446, #2478)
- Fix IDL array-size overflow checks, parser double-free cleanup and preprocessor buffer bounds. (#2371, #2473, #2478)
- Reject rootless system definitions to prevent QoS-provider crashes and fix out-of-bounds Base64 decoding. (#2454, #2459)
- Support OpenSSL 4 certificate APIs and update certificate-expiry tests for its changed boundary behavior. (#2467)
Other changes:
- Add
dds_read_next_instance,dds_take_next_instanceanddds_peek_next_instance, including mask and collector variants; correctly include invalid samples when iterating instances. (#2376, #2399) - Expose reader history cache instance and sample statistics in the debug monitor. (#2378)
- Export
dds_set_log_sinkanddds_set_trace_sinkfor integration with application loggers. (#2381) - Prevent trace-file truncation when multiple domains share a file; apply the append/truncate policy only on first use and improve interface diagnostics. (#2462)
- Support XTypes
try_constructdiscard, default and trim behavior, with Dynamic Type API setters and fixes for nested collections and union discriminators. (#2377) - Support recursive type graphs in discovery, TypeLookup, IDLC and dynamic types; add type-library tracing. (#2415)
- Extend union support with mutable XCDR1/XCDR2 encoding, discriminator keys, explicit labels on default cases and consistent generated/dynamic type metadata. (#2446)
- Change automatic union case member IDs to start at 1, reserving 0 for the discriminator; regenerate affected language bindings together, or use IDLC's
-f legacy-union-member-idsfor final/appendable compatibility. (#2446) - Change
DDS_DYNAMIC_MEMBER_ID_AUTOandDDS_DYNAMIC_MEMBER_ID_INVALIDfrom0x0f000000to0xf0000000; replace hard-coded values and useDDS_DYNAMIC_MEMBER_ID_DISCRIMINATORto select union discriminators. (#2446) - Correct sparse and signed enum handling,
@default_literal, enum discriminator defaults and final/appendable bitmask assignability; enum literal values now follow signed XTypes semantics. (#2443) - Fix type assignability checks for member names/IDs, keys, union labels and type widening; report more detailed incompatibility reasons. (#2377, #2394, #2446)
- Add opt-in
Compatibility/AllowInvalidExtensibilityandCompatibility/AllowMismatchingTypeIdsettings for non-conforming remote type metadata. (#2446) - Refactor CDR normalization, remove the obsolete 32-level descriptor nesting limit and add basic FLOAT128 serialization; fix dynamic descriptor offsets, optional-member IDs and collection handling. (#2377, #2385, #2395, #2443)
- Add reusable
dyntypelibtooling and a standalonexmltypeutility for XML-defined types/samples, binary CDR input and serialization diagnostics; improvedynsubJSON/XML output and floating-point conversion. (#2377, #2393, #2444, #2446) - Replace the Bison IDL parser with a recursive-descent parser and consolidate compiler sources. (#2450)
- Generate sample-free macros for topic aliases and preserve unchanged IDLC outputs to avoid unnecessary rebuilds. (#2443, #2460)
- Resolve QoS profile inheritance chains and library-local
base_namereferences. (#2414, #2416) - Transmit UDP traffic from receive sockets for predictable source ports; fix automatic participant-index selection, interface ordering and alternative interface-name matching, and add a configurable
fakeudptest transport. (#2437) - Accept loopback participant discovery by default to restore same-host discovery on Linux; add
Discovery/InterfaceFilteringto control interface restrictions. (#2457) - Improve interoperability with OpenSplice writer liveliness and CoreDX startup messages. (#2379, #2384)
- Add IntervalZero RTX64 and Windows ARM64 build support, fix Windows static-build TLS initialization and duplicate callbacks. (#2398, #2409, #2410, #2438)
- Report meaningful device names on iOS and Android using UIKit and Android manufacturer/model properties; restrict Apple's raw Ethernet backend to macOS to fix iOS builds. (#2468)
- Fix CMake subproject integration, exported targets, optional QoS-provider builds and OpenSSL dependency propagation; avoid unnecessary C++ requirements and update Iceoryx2 API compatibility. (#2391, #2411, #2412, #2433, #2439)
- Restore the caller's signal mask after thread-creation failure, reduce
ddsperfstack usage and returnDDS_RETCODE_UNSUPPORTEDfordds_get_guidon topics. (#2401, #2418, #2425) - Add GitHub Actions builds for Linux, macOS, Windows and language bindings; improve Azure CI, generated-source checks, regression coverage and XCDR/type-graph fuzzing, and repair OSS-Fuzz builds. (#2367, #2392, #2415, #2448, #2449)
- Add regex filtering to µCUnit runners and remove the
CUnit_prefix from generated test names; update affected CTest filters and scripts. (#2447) - Clarify implicit entity lifetimes, C sample ownership, QoS inheritance and platform/build documentation. (#2390, #2408, #2446)