refix-codegen 0.7.0

Code generator for typed FIX protocol messages, for the ReFIX engine
Documentation
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.7.0]https://github.com/refixhq/refix/compare/refix-codegen-v0.6.2...refix-codegen-v0.7.0 - 2026-11-21

### Added

- *(codegen)* [**breaking**] generate Python accessors as declarations ([#183]https://github.com/refixhq/refix/pull/183)

## [0.6.2]https://github.com/refixhq/refix/compare/refix-codegen-v0.6.1...refix-codegen-v0.6.2 - 2026-11-20

### Added

- *(codegen)* check the runtime version in generated Python ([#181]https://github.com/refixhq/refix/pull/181)

## [0.6.1]https://github.com/refixhq/refix/compare/refix-codegen-v0.6.0...refix-codegen-v0.6.1 - 2026-11-17

### Other

- updated the following local packages: refix-dictionary

## [0.6.0]https://github.com/refixhq/refix/compare/refix-codegen-v0.5.2...refix-codegen-v0.6.0 - 2026-11-17

### Added

- [**breaking**] generate groups declared in group instances ([#160]https://github.com/refixhq/refix/pull/160)

## [0.5.2]https://github.com/refixhq/refix/compare/refix-codegen-v0.5.1...refix-codegen-v0.5.2 - 2026-11-16

### Other

- say FIX protocol in the package descriptions ([#158]https://github.com/refixhq/refix/pull/158)

## [0.5.1]https://github.com/refixhq/refix/compare/refix-codegen-v0.5.0...refix-codegen-v0.5.1 - 2026-11-16

### Added

- document the generated Rust code ([#152]https://github.com/refixhq/refix/pull/152)
- make TokenizeError a standard error and print generated messages ([#151]https://github.com/refixhq/refix/pull/151)

## [0.5.0]https://github.com/refixhq/refix/compare/refix-codegen-v0.4.0...refix-codegen-v0.5.0 - 2026-11-16

### Added

- [**breaking**] move the authored dictionary types under spec ([#143]https://github.com/refixhq/refix/pull/143)
- add repr to the Python messages ([#140]https://github.com/refixhq/refix/pull/140)
- [**breaking**] name group accessors after the count field ([#138]https://github.com/refixhq/refix/pull/138)

### Other

- point the packages at refix.dev ([#148]https://github.com/refixhq/refix/pull/148)
- declare the minimum Rust version ([#145]https://github.com/refixhq/refix/pull/145)
- add docstrings to the Python classes ([#141]https://github.com/refixhq/refix/pull/141)

## [0.4.0]https://github.com/refixhq/refix/compare/refix-codegen-v0.3.0...refix-codegen-v0.4.0 - 2026-11-13

### Added

- [**breaking**] read venue dictionaries with warnings instead of errors ([#128]https://github.com/refixhq/refix/pull/128)

### Fixed

- escape MsgType in generated code ([#123]https://github.com/refixhq/refix/pull/123)

## [0.3.0]https://github.com/refixhq/refix/compare/refix-codegen-v0.2.0...refix-codegen-v0.3.0 - 2026-11-02

### Added

- decode logs through a generated codec ([#122]https://github.com/refixhq/refix/pull/122)
- generate a dialect constant ([#121]https://github.com/refixhq/refix/pull/121)
- link each data field to its length field in the dictionary ([#119]https://github.com/refixhq/refix/pull/119)
- read each message as its type in generated code ([#118]https://github.com/refixhq/refix/pull/118)

## [0.2.0]https://github.com/refixhq/refix/compare/refix-codegen-v0.1.2...refix-codegen-v0.2.0 - 2026-11-01

### Added

- read LOCALMKTTIME fields as times in generated code ([#109]https://github.com/refixhq/refix/pull/109)
- read DATA as bytes and warn on uninterpreted types in generated code ([#108]https://github.com/refixhq/refix/pull/108)
- read times and timestamps in generated code ([#107]https://github.com/refixhq/refix/pull/107)
- read BOOLEAN fields as bool in generated code ([#106]https://github.com/refixhq/refix/pull/106)
- read string subtypes, dates and MonthYear in generated code ([#105]https://github.com/refixhq/refix/pull/105)
- read float fields as decimals in generated code ([#104]https://github.com/refixhq/refix/pull/104)

### Changed

- generated accessors read each field as its type under its plain name, and only fields of a type the generator doesn't interpret keep the `_raw` suffix, each with a `Warning::UnclaimedType`
- BOOLEAN fields read as `bool`, and their listed `Y` and `N` values no longer generate an enum
- `Owner` gains `Nanos` and `Warning` gains `UnclaimedType`, which breaks exhaustive matches

## [0.1.2]https://github.com/refixhq/refix/compare/refix-codegen-v0.1.1...refix-codegen-v0.1.2 - 2026-10-11

### Added

- publish the Python package as refix ([#89]https://github.com/refixhq/refix/pull/89)

## [0.1.1]https://github.com/refixhq/refix/compare/refix-codegen-v0.1.0...refix-codegen-v0.1.1 - 2026-10-10

### Other

- give each package its own README ([#87]https://github.com/refixhq/refix/pull/87)

## [0.1.0]https://github.com/refixhq/refix/releases/tag/refix-codegen-v0.1.0 - 2026-10-10

### Added

- publish the refix CLI ([#84]https://github.com/refixhq/refix/pull/84)
- read CHAR fields as text ([#74]https://github.com/refixhq/refix/pull/74)
- generate header and trailer views ([#73]https://github.com/refixhq/refix/pull/73)
- model the header and trailer in the dictionary ([#72]https://github.com/refixhq/refix/pull/72)
- settle name clashes so every dictionary generates ([#71]https://github.com/refixhq/refix/pull/71)
- report name clashes in generated code ([#70]https://github.com/refixhq/refix/pull/70)
- prefix enum names that start with a digit ([#69]https://github.com/refixhq/refix/pull/69)
- generate Python groups ([#68]https://github.com/refixhq/refix/pull/68)
- generate typed Python messages ([#65]https://github.com/refixhq/refix/pull/65)
- add the refix CLI and split out the Rust backend ([#64]https://github.com/refixhq/refix/pull/64)
- type generated enums by their field's FIX type ([#62]https://github.com/refixhq/refix/pull/62)
- generate typed access to repeating groups ([#60]https://github.com/refixhq/refix/pull/60)
- model repeating groups in the dictionary ([#56]https://github.com/refixhq/refix/pull/56)
- resolve specs into validated dictionaries ([#51]https://github.com/refixhq/refix/pull/51)
- model components in dictionaries and implement quickfix parsing ([#49]https://github.com/refixhq/refix/pull/49)
- complete code generation for enum values ([#48]https://github.com/refixhq/refix/pull/48)
- add converter function to convert enums to PascalCase ([#46]https://github.com/refixhq/refix/pull/46)
- support enum values in data dictionaries ([#45]https://github.com/refixhq/refix/pull/45)
- end-to-end codegen with integration tests to cover it ([#44]https://github.com/refixhq/refix/pull/44)
- first cut of code emitter ([#43]https://github.com/refixhq/refix/pull/43)
- add initial structure for refix-codegen crate ([#42]https://github.com/refixhq/refix/pull/42)
- first pass the the README
- initial commit with placeholder README.md

### Fixed

- rename the generated enum catch-all to Unrecognized ([#61]https://github.com/refixhq/refix/pull/61)

### Other

- use the Tag newtype in the dictionary ([#53]https://github.com/refixhq/refix/pull/53)
- introduce a Tag newtype for FIX tag numbers ([#52]https://github.com/refixhq/refix/pull/52)
- rename Dictionary to Spec ([#50]https://github.com/refixhq/refix/pull/50)
- split emitter up into submodules ([#47]https://github.com/refixhq/refix/pull/47)
- add codecov badge ([#24]https://github.com/refixhq/refix/pull/24)
- add badges to readme ([#23]https://github.com/refixhq/refix/pull/23)
- add license files ([#22]https://github.com/refixhq/refix/pull/22)