All notable changes to aimdb-codegen will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Emitted task scaffolds now use
Producer<T>/Consumer<T>(no, TokioAdaptersecond parameter) and emitted doc tables show the same form, matching the M14 cleanup inaimdb-core(Design 029). Regenerate downstream scaffolds after upgrading. - Emitted
configure_schemasignature changed from<R: Spawn + 'static>to<R: RuntimeAdapter + 'static>; emitted prelude now importsaimdb_executor::RuntimeAdapterinstead ofSpawn(Issue #88). Regenerate downstream schemas.
- Generated join handler stubs updated to match the new task-model
on_triggersAPI (Design 027). Multi-input task handlers are now generated as:Previously generatedpub async fn task_handler( mut _rx: aimdb_core::transform::JoinEventRx, _producer: aimdb_core::Producer<Output, TokioAdapter>, ) { while let Ok(_trigger) = _rx.recv().await { todo!("implement task_handler") } }
fn task_handler(JoinTrigger, &mut (), &Producer<...>) -> Pin<Box<dyn Future>>for the callback model. build_transform_callfor join tasks now emits.on_triggers(handler)instead of.with_state(()).on_trigger(handler).
- Initial release of the AimDB code generation library
ArchitectureStatetype for reading.aimdb/state.tomldecision records- Mermaid diagram generation from architecture state (
generate_mermaid) - Rust source generation from architecture state (
generate_rust)- Value structs, key enums,
SchemaType/Linkableimplementations configure_schema()function scaffolding- Common crate, hub crate, and binary crate generation
- Value structs, key enums,
- State validation module for architecture integrity checks (
validate) - TOML serialization/deserialization of architecture state