Repository navigation
Releases
MicroFIX v0.5.0
MiniFIX Migration Support
This release introduces the ability to extract your MiniFIX transConf templates and import them directly as MicroFIX aliases. Available via both the desktop GUI and mxshell.
📥 MiniFIX Alias Extraction
- Import from MiniFIX (GUI): Settings → Aliases now has an Import... button. Select a MiniFIX
.xmlexport (or an existing MicroFIX.mxrc) to immediately extract its templates. - Review Before Importing: Extracted aliases open in a review modal where you can search, select/deselect individual entries, invert your selection, and review any templates that failed to parse before committing.
- CLI Extraction: Running
mxshell -x <minifix.xml>extracts aliases straight to stdout as JSON, ready to paste into your.mxrc's"Alias"block. See the FAQ entry for full usage. - Auto-Salvaged on Import: Imported templates are automatically run through field salvaging (see below), ensuring they arrive as valid, sendable FIX messages rather than the raw partial fragments MiniFIX exports.
⚙️ Engine Improvements
- New
Router.Salvage: Mandatory header/trailer tags (8, 9, 35, 49, 56, 34, 52, 10) are now ensured and finalized through a single shared method. Missing routing tags are inserted with sane defaults, whileBeginString/SendingTime/BodyLength/CheckSumare always recalculated fresh. This consolidates logic previously duplicated across the GUI finalizer andmxshell'sfinalizecommand. - Toolbox Finalize, Unified: MXGUI's Quick Finalize and
mxshell'sfinalizecommand both now route throughRouter.Salvage, so raw pasted messages, imported MiniFIX templates, and manual finalization all behave identically.
🖥️ GUI Improvements
- Searchable Message Types & Aliases: The alias and message type dropdowns in the send form are now fully searchable. Instantly filter through dozens of templates or FIX message types just by typing.
- Responsive Settings Page: The Settings view and alias table now adapt properly on smaller windows, with the search bar promoted to full width above the table.
🐛 Fixes
- Fixed
Message.String()returning a malformed value for empty messages instead of an empty string. - Corrected the outbound validation error to list the actual required tags (
8, 9, 35, 49, 56, 34, 52, 10) instead of a generic message.
Full Changelog: v0.4.1...v0.5.0
MicroFIX v0.4.1
Alias Substitution
This release adds FIX-aware runtime substitution for aliases, making saved aliases significantly more reusable when building dynamic messages.
⚙️ Macros & Scripting
- Alias Substitution:
$ALIAS.<name>[tag.instance=value,...]can now override specific fields in a saved alias at runtime. - FIX-Aware Overrides: Fields are located by tag and instance, rather than treating the alias as an opaque text blob. The instance defaults to
1when omitted. - Repeating Group Support: Specific occurrences of repeated tags can be targeted using the instance number (e.g.
$ALIAS.Order[54.2=2,55.2=GOOG]). - Strict Field Replacement: Substitution only replaces fields already present in the alias. Attempting to substitute a missing tag results in a hard failure.
set $ALIAS.BaseOrder 35=D|55=AAPL|54=1|
send $ALIAS.BaseOrder[55=TSLA,54=2]
🔧 Other Improvements
- Config-driven Validation: MXGUI's FIX validation toolbox now respects the configured validation strictness instead of always defaulting to strict mode.
- Test & Codebase Improvements: Improved test runtime and performed several internal refactors.
Full Changelog: v0.4.0...v0.4.1
MicroFIX v0.4.0
MXGUI UX Overhaul & Macro Improvements
This release brings a major usability upgrade to MXGUI, with smarter log navigation, a much faster Alias workflow, a more capable script editor, and a cleaner, more native UI. It also expands macro capabilities with string slicing and flexible buffer access, while fixing an noisy session queue error in the underlying engine.
$BUF macro syntax has been rewritten to align with $LASTIN and $LASTOUT. If you previously used $BUF.<tag>, update your scripts to use $BUF[tag].
⚙️ Macros & Scripting Engine
- String Slicing:
$LASTIN,$LASTOUT, and$BUFnow support optionalstartandendindices, making it possible to extract substrings directly from message values (e.g.$LASTIN[V,52,1,9,21]). - Full Buffer Access:
$BUFcan now print the entire raw FIX message currently held in the scratch buffer. Previously, only individual buffer fields such as$BUF.tagcould be accessed. - Flexible Buffer Syntax:
$BUFnow supportstag,instance,start, andendparameters, bringing its syntax in line with the other message-access macros. - Arbitrary Random Strings:
$UNIQUE[N]can now generate a random alphanumeric string of a requested length, up to 1000 characters. - Case-Insensitive Macros: System variables and macros such as
$UNIQUE,$DATE, and$STATUSare now evaluated case-insensitively.
🖥️ MXGUI Enhancements
- Native App Feel (Text Selection): Overhauled text selection behavior.
user-select: noneis now applied globally by default and explicitly enabled only where necessary (like logs, textareas, and inputs). This eliminates the annoying web-app-style accidental highlighting and makes the interface feel like a true native desktop application. - Toolbox Visual Feedback: Added dynamic visual cues to the Validate and Finalize toolboxes. It is now instantly obvious when background calculations and state swaps complete.
- Jump Search Navigation: Log search now defaults to Jump mode. Matching messages can be navigated with the up/down GUI buttons (or
Enter/Shift+Enter) without filtering non-matching messages out of view. - Alias Workflow Overhaul: Alias management is now much faster. Use
Alt+Ato open the Alias screen, quickly filter aliases with the search box, reload an existing alias into the form, and save the current buffer message to an alias with the new Save Alias action. - Script Runner Upgrades: The script editor now displays line numbers, making longer scripts easier to navigate and debug.
- Improved Console Preview: SOH characters in console output are automatically rendered as readable pipes (
|). - Smarter Inspector: The message Inspector now opens only when explicitly requested via the Inspect button, avoiding unwanted inspector popups while selecting or copying log text.
- More Useful App Filtering: The existing App message filter is now smarter. Instead of simply toggling between
INandOUTmessages, it now specifically filters for application-level FIX messages when enabled. - UI Polish: Improved Light Theme contrast and increased the available space in the Alias modal for larger entries.
📖 Documentation
- New FAQs & Migration Help: Added a comprehensive FAQs.md covering configuration, custom dictionaries, macros, scripting, GUI workflows, and troubleshooting.
🐛 Bug Fixes & Maintenance
- Message Queue Error: Fixed a noisy
"message queue full"error caused by the incoming session channel not being consumed by the frontends. A dedicated background consumer now drains the channel, preventing the harmless queue-full errors.
Full Changelog: v0.3.10...v0.4.0
MicroFIX v0.3.10
Recursive Macros, Smarter Configs & MXGUI Improvements
🖥️ MXGUI Enhancements
- Live Alias Editing: Aliases can now be renamed directly by clicking on their name, making configuration updates much quicker and more intuitive.
- Smarter Config Imports: Importing a configuration now automatically refreshes the entire MXGUI, ensuring all controls immediately reflect the newly loaded values.
- Improved SOH Handling: The alias editor now correctly handles SOH-delimited FIX strings, providing a smoother editing experience for raw FIX payloads.
- More Compact Default Window: Reduced the default MXGUI window dimensions for a better out-of-the-box experience, especially on smaller displays.
- Stable Connection Controls: Fixed a race condition where the "Reset" and "Disconnect" buttons would occasionally ignore clicks if pressed exactly when the UI was polling for background updates.
⚙️ Configuration Improvements
- Recursive Macro Substitution: Macros can now recursively resolve other macros across all namespaces (
VARS,ENV,BUF,CFG, andALIAS), allowing aliases and templates to compose naturally while preventing circular references. - Stricter Store Key Validation: Store keys are now validated to reject invalid identifiers, improving consistency and preventing malformed macro entries.
Full Changelog: v0.3.9...v0.3.10
MicroFIX v0.3.9
Validator Hotfix & Log Stream Optimization
🐛 Bug Fixes
- 🧩 Validator Group Parsing: Fixed a critical bug in the Basic validation mode where it incorrectly swallowed subsequent tags (stopping only at trailer/anchor tags).
- 🎯 Context-Aware Termination: Updated the parsing logic so outer context tags now properly terminate a group. This keeps the parser lenient without consuming the rest of the message.
⚡ Performance & Maintenance
- 🖥️ Log Stream (UI): Shipped performance improvements and tightened DOM mutation logic in
logs.htmlfor a smoother streaming experience. - 🧪 Test Coverage: Added new unit tests across the inspector and validator to lock down group parsing boundaries and prevent future regressions.
- 🧹 General: Minor under-the-hood bug fixes and logic tightening.
Full Changelog: v0.3.8...v0.3.9
MicroFIX v0.3.8
Lenient Group Validation, Dictionary Upgrades, UI Polish
This release introduces flexible validation boundaries, tightens up the Inspector and Dictionary workflows, and patches a few edge cases with FIXT routing. We've also officially added the MIT License.
⚙️ Engine & Validation
- Lenient Group Validation: Basic group validation now uses a soft boundary check, correctly terminating on trailer or anchor tags rather than failing on unexpected boundaries.
- Configurable Strict Mode: You can now toggle engine inbound and outbound validation strictness using the new
FixValidateStrictconfiguration parameter. - Input Sanitization: The Validate, Finalize, and Send actions now automatically strip leading and trailing whitespace before parsing raw payloads into the
Messagestruct.
🖥️ MXGUI Enhancements
- Dictionary Upgrades: The dictionary viewer is much more interactive. You can now filter message fields directly via a search bar and toggle
FixSampleOptionalandSpecDisplayOptFieldsright from the UI. - Connected Workflows: Added a quick-jump button in the Toolbox / Inspect Validator to navigate straight to the relevant Dictionary view.
- Smarter Inspector: The Inspector diff view now formats SOH characters as readable pipes (
|). Additionally, the error count badge now correctly reflects the actual number of errors after your mute rules have been applied. - Native Polish: Prevented accidental text highlighting when dragging across the screen, and the app header now cleanly trims long file paths when you load an external FIX spec.
🐛 Bug Fixes & Maintenance
- FIXT Multiplexing: Fixed a bug where the dictionary viewer failed to display application-level fields for routers using FIXT multiplexing.
- External Spec Loading: The router now correctly pulls default application specifications from the embed store when working alongside an external FIXT spec.
- License: Added the MIT License to the repository.
Full Changelog: v0.3.7...v0.3.8
MicroFIX v0.3.7
Light Theme, Native Polish, Validation Fixes
This release focuses heavily on the MXGUI experience, bringing a fresh Light Theme, major usability upgrades for handling raw FIX messages, and crucial stability fixes for the backend and CLI.
🖥️ MXGUI Enhancements
- Light Theme: A major visual overhaul introduces full light theme support, giving you more flexibility and better contrast options for different lighting environments.
- Smart SOH Formatting: FIX text areas and validation outputs now display SOH characters as readable pipes (
|) on screen, but seamlessly convert them back to actual SOH bytes when copying to the clipboard, pasting, or passing them to the engine. - Draggable Inputs: Text areas for raw FIX messages are now vertically resizable (with clamped limits), letting you adjust the UI to comfortably view massive payloads without breaking the layout.
- Native-App Feel: Cleaned up the user experience by disabling text highlighting (
select-none) on structural UI elements and ensuring accurate cursor states across the board. The browser interface now looks and behaves much more like a native desktop app. - Smarter Message Finalization: Upgraded the toolbox's Finalize API logic. Instead of just appending missing tags, it now actively overwrites critical header fields like
BeginString(8) andSendingTime(52) with accurate session defaults, guaranteeing perfectly compliant payloads.
🐛 Bug Fixes
- Multi-Monitor DPI Scaling: Bumped the underlying Wails v3 framework to the latest alpha (
.117), restoring automatic monitor-scale detection. This resolves a frustrating Windows bug where the MXGUI window would shrink drastically or crash when dragged between monitors with mismatched DPI scaling (e.g., 100% to 125%). - Robust
fix decodeParsing: Fixed a parser limitation in MXShell and the underlyingprettyengine where out-of-context (OOC) tags would prematurely break the output. The engine now enforces strict boundaries for repeating groups, but allows the main message body to gracefully absorb unexpected OOC tags without cutting the decoded message in half. - Group Validation Panic: Fixed a critical bug where the validation API would panic and crash when processing repeating groups with mismatched instance counts.
- MXShell Multi-Line Mode: Enabled multi-line support in the interactive CLI loop. Pasting large FIX strings now automatically wraps the text, making massive payloads readable at a glance without needing to scroll horizontally with arrow keys.
- Initial Config Saves: Removed a file stat guard that was causing configuration saves from the GUI to fail if the configuration file didn't already exist on disk.
Full Changelog: v0.3.6...v0.3.7
MicroFIX v0.3.6
Repeating Groups in Macros, Plus Experimental macOS Builds
A smaller release focused on rounding out a gap in macro substitution and taking the first step toward macOS distribution.
📜 Scripting Engine
$LASTIN/$LASTOUTInstance Index: Both macros now accept an optional third parameter -$LASTIN[MsgType,Tag,N]- to pull the Nth occurrence of a tag instead of only the first. Useful when extracting values from repeating groups (e.g. individualNoPartyIDsentries) where the same tag appears multiple times in a single message.
🖥️ Distribution
- Experimental macOS Binary: CI now produces a
darwin/amd64build alongside the existing Linux and Windows binaries. This is an early, unsigned build intended for early testing - it hasn't been validated end-to-end on real Apple hardware yet, so treat it as experimental until a future release confirms it's stable.
Full Changelog: v0.3.5...v0.3.6
MicroFIX v0.3.5
Offline Message Inspection 🔍
This release rounds out the scripting engine with negation, fuzzy matching, and error introspection, alongside a handful of high-value UI additions - most notably the ability to inspect any arbitrary FIX message without a live session.
📜 Scripting Engine
- Negation &
not <expr>: Scripts can now invert the result of any command, making rejection/failure-path testing much more natural to express. isset/unset/continue: Added variable existence checks, key removal, and loop-continuation control to the control-flow toolkit.- Fuzzy Assertions (
~/!~):assertnow supports regex-based fuzzy matching, useful for validating free-text fields (e.g. reject reasons) without needing an exact string match. $ERRORMacro: The error from the most recent falsyif/elif/while(ornot) evaluation is now captured and readable via$ERROR, making it easy to log or assert on why a check failed instead of just that it failed.- Correctness Fix - Multi-word Substitution: Fixed a bug where macro substitution wasn't quoting resolved values containing multiple words, which silently broke argument parsing for anything expecting a strict token count.
🖥️ MXGUI
- Offline Quick Inspect: Paste any raw FIX string directly into the send form and inspect it instantly - no live connection or prior send/receive required. Reuses the same decode/validate view as live stream messages, and is probably the most practical addition in this release.
- Drag & Drop Form Builder: Fields in the Form Builder can now be reordered via drag-and-drop instead of only appended at the end.
- Inspector Layout Fix: Long message type names no longer push the close button off-screen; names now truncate cleanly with a tooltip showing the full value.
⚙️ Engine & Reliability
- Synchronous Send:
Session.Sendis now fully blocking - callers (including scripts) wait until the message has actually been handed off to the transport, surfacing send failures immediately instead of only logging them internally. - Executor Demos: Added a set of example scripts to
scripts/- an acceptor/initiator pair, rejection-path tests, multi-symbol basket routing, and a session resilience/recovery walkthrough - as a starting point for new scripting users. - Test Coverage: Expanded unit test coverage across the executor/scripting packages.
Full Changelog: v0.3.4...v0.3.5
MicroFIX v0.3.4
More Scripting Enhancements 🚀
This release brings a massive upgrade to the MicroFIX deterministic scripting engine, introducing full control flow, enhanced state management, and major UI upgrades for a better developer experience. It also includes critical configuration guardrails and bug fixes.
📜 Scripting Engine Evolution
- Control Flow: Added full support for loops (
while/endwhile) and conditionals (if/elif/else). You can now write highly complex, state-aware automated order flows directly inside MicroFIX. - State Buffering: The
expectandwaitcommands now automatically load matched messages into a store buffer, allowing you to easily perform downstream assertions on received fields. - New
exitCommand: Halt script execution immediately and terminate quickly, perfect for deliberately aborting automated workflows when an assertion misses. - New
loadmsgCommand: Explicitly load any previously sent or received message into the store buffer for precise inspection and variable extraction.
🖥️ UI & Quality of Life
- Editor Upgrade: The Script Runner UI has been upgraded with a CodeJar-powered editor, offering a much smoother editing experience.
- Keyboard Navigation: Added keyboard shortcuts for the Script Runner (e.g.,
Ctrl+Enterto run,Ctrl+Tto toggle views). - Graceful Cancellation: Running scripts can now be instantly aborted via the UI stop button or by simply pressing the
Esckey.
⚙️ Configuration & Architecture
- Unified Config Help: Configuration descriptions and tooltips have been migrated to the core
storepackage. Bothmxguiandmxshellnow pull from the exact same source of truth for parameter documentation. - Spec Path Guardrails: Strict validation has been added to configuration setters. MicroFIX now actively protects against setting
SessionSpecorApplicationSpecto invalid directories, non-XML extensions, or missing files, preventing startup crashes.
🐛 Bug Fixes & Documentation
- MXShell Log Duplication Fix: Resolved a bug in the CLI where improper unsubscription from the
logbrokercaused log messages to print repeatedly. - Syntax Reference: The built-in help modal now explicitly documents
msglikesyntax and how to properly utilize it withinexpectandwaitstatements. - General Maintenance: Updated the README with the new architecture layout and advanced scripting examples, alongside general under-the-hood stability fixes.
Full Changelog: v0.3.3...v0.3.4