Repository navigation
v0.4.0
IronFix 0.4.0
First release after the full-workspace 2026-07 audit. All 11 crates move in
lockstep to 0.4.0 (previous published: 0.3.1). This is a broad
correctness-and-conformance release across the wire, session, and engine layers,
plus the new Acceptor.
Semver note:
0.4.0is a breaking release for the0.xline — several public
error enums gained variants and are now#[non_exhaustive], a few fallible
signatures changed, and the deprecated wrapping sequence methods are marked.
Engine
- Acceptor.
Acceptor<A>drives the acceptor-half Logon handshake (CompID
auth, logon timeout,HeartBtInthonouring,ResetSeqNumFlagmirroring) over
the same shared reactor asInitiator, andEngineBuildergained real
terminal methodsinto_initiator()/into_acceptor(). - Store-backed resend replay. With a
MessageStoreattached
(Initiator::with_store), an inboundResendRequestreplays the stored
application messages withPossDupFlagandOrigSendingTime, gap-filling
admin messages and evicted sequence numbers; without a store it falls back to
a single bounded gap fill. - Inbound conformance. Correct
SequenceReset/GapFill vs Reset handling,
boundedResendRequestreplies,FIXT.1.1+ApplVerIDfor FIX 5.0, inbound
ResetSeqNumFlag, positional CompID /SendingTime/MsgSeqNum(34)
validation, bounded resend recovery, and checked sequence arithmetic
throughout (a wrappedMsgSeqNumcan no longer corrupt a session). - Fail-fast outbound.
Connection::sendvalidates at the boundary and
refuses a message with no legal wire form with a typed error, rather than
queuing and silently dropping it.
Wire (tagvalue) & FAST
- Hardened the
tag=valuedecode path against untrusted input: buffer-relative
ranges, Length/Data field pairs framed by their declared count, malformed vs
end-of-buffer distinguished, and au64checksum accumulator. - The encoder now only ever emits frames its own decoder accepts.
- Framing (
FixCodec): bounded header scan, unconditional trailer verification,
and a documented garbled-message policy. - FAST primitives corrected: stop-bit sign carry, bounded presence maps, and the
nullable unsigned and signed codecs now cover their full integer domains
(u64::MAX/i64::MAXround-trip through a widened path).
Core, dictionary, codegen
FieldTag::is_user_definednow models both FIX bilateral user-defined ranges
(5000–9999 and 20000–39999), andMsgTypeis allocation-free for unrecognised
codes.- The dictionary is the authority for field types, required tags, and structure,
with a component-recursion depth guard. #[derive(FixMessage)]/#[derive(FixField)]are implemented (no longer
todo!()), andironfix-codegengenerates Rust from a loadedDictionary.
Infrastructure
- A criterion bench harness (
benches/in tagvalue, fast, transport;make bench) — no baseline figures are published, so latency/throughput remain
design targets. - CI gates tightened; the
doc/pages and README describe what is actually
implemented and tested.
Full history is in the merged PRs #23–#47 (audit remediation) and #53–#54
(follow-ups). See doc/architecture.md and doc/fix_operations.md for the
design and the FIX operations spec.