Skip to content

MicroRTI for Python 0.2.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 20:41
· 5 commits to main since this release

On top of the MicroRTI Rust crates 0.3.0 (they were 0.1.1). The Python API is the same; what changes
comes from the crates, whose changelog says more.

Added

  • The first release on GitHub: wheels for Linux (manylinux_2_28 and musllinux_1_2, x86_64 and
    aarch64) and the source distribution, with their SHA-256. Nothing is published on PyPI; the README says
    how to install from the release.

Changed

  • Depends on microrti-client, microrti-encoding and microrti-fom 0.3.0. The network tests of the CI
    run against the microrti and chat binaries of MicroRTI v0.3.0.
  • Connect: the ConfigurationResult is completed with what the federate side did with the configuration
    (IEEE 1516.1-2025 4.2). Over the Federate Protocol, address_used is True when the link reached the
    RTI at the address given, and the FED_* and TLS_* settings it applied give SETTINGS_APPLIED and
    are named in message. An ambassador of an EmbeddedRti names them as without effect, and
    address_used is True when the scheme registered with EmbeddedRti.register chose the RTI.
  • Connect: an unknown FED_* or TLS_* key or a value that cannot be read no longer raises
    ConnectionFailed: the connection is made and the result is SETTINGS_FAILED_TO_PARSE, with the line
    and the reason in message. Over tls:// and wss://, a TLS_* line the federate side cannot use
    still raises ConnectionFailed, naming the line: it may be the trust anchors written wrong (a
    deliberate deviation of MicroRTI from 4.2).
  • Over the network, a response of the RTI larger than the federate's message size limit raises
    RTIinternalError and the session goes on; the microrti RTI 0.3.0 answers a request larger than its
    own limit (a Create Federation Execution with large FOM modules, for instance) the same way. Both ended
    the session before. A callback larger than the federate's limit still ends it.
  • EmbeddedRti is the RTI of MicroRTI 0.3.0. When the FOM modules leave the automatic resign directive
    unspecified, it is now CancelThenDeleteThenDivest (IEEE 1516.2-2025 4.13.3; it was No Action): the
    object instances of a lost federate are deleted. FOM modules are checked against more rules of
    IEEE 1516.2-2025 and merged as its clause 7 requires (more InvalidFOM and InconsistentFOM). An empty
    logical time implementation name at Create Federation Execution means HLAfloat64Time (4.5.1). A
    time-constrained federate receives a message stamped with its GALT once no other federate can still
    send with that timestamp (8.8, 8.9), and the other corrections of time management of MicroRTI 0.1.2.
  • microrti.encoding: the codec of a FOM resolves the basic data representations it defines of any size
    up to 1024 bits, with the octet boundary of IEEE 1516.2-2025 4.14.10: up to 64 bits they are an int
    (only 8, 16, 32 and 64 bits were; the others were bytes that took the rest of the input). A
    discriminant of an HLAvariantRecord that no alternative applies to is encoded and decoded alone
    (a Variant without value; it was refused). HLAextendableVariantRecord always writes the padding
    after its length (4.14.10.3), which changes the encoding of a record whose discriminant has more than
    four octets and that carries no alternative (16 octets, not 12), and its length is signed.