kicad monkey v2026.11.30
On This Page (12)

kicad-monkey & kicad-cruncher 2026.11.24 Release Notes

Package version: 2026.11.24

Packages: kicad-monkey, kicad-cruncher

This release completes the move to direct, ceiling-free Rust and Python pipelines by removing the legacy native transport layer and ignored *Limits ceilings while extracting cad-text-realization as a CAD-neutral crate. It also migrates design review to governed Design B0, delivers full Python Toon parity, adds a typed .kicad_sym writer with KiCad 10.0.8 native embedded-file encoding, and enables never-stop schematic diagnostics.

Highlights

Breaking Changes & Migration

warning

This release contains four major breaking API/contract shifts across Rust, Python, and TypeSpec: (1) removal of the native-transport-a0 contract and JSON SVG compatibility wrappers; (2) removal of ignored *Limits types and max_* contract fields; (3) extraction of cad-text-realization with Newstroke* → StrokeText* renames; and (4) additive required fields on several Rust PCB authoring/reader structs plus removal of SchematicBusExpansionErrorKind::AliasCycle.

1. Native Transport Contract Removed

The native-transport-a0 TypeSpec module, its 10 Native* JSON Schemas (handshake a0/a1/a2, design-facts request/result a0/a1, SVG render request/result, error), their Rust/Python/TypeScript projections, and all decode_native_* / validate_native_* helpers have been removed:

Removed (2026.10.6)Replacement (2026.11.24)
kicad_monkey_svg::render_svg(&NativeSvgRenderRequestA0)
render_native_svg_a0_compat
Direct typed render_footprint_svg, render_symbol_svg, render_board_svg, render_schematic_svg
SvgMetrics::result_bytesRemoved (direct SVG returns UTF-8 string directly)
decode_native_* / validate_native_* & Native* schemasDirect typed Rust crate APIs (kicad-monkey-core, kicad-monkey-svg) or Python kicad_monkey
Python Cruncher native-selector flagsRemoved — Python kcr always runs on Python kicad-monkey; standalone Rust CLI runs independently

2. Resource *Limits & Contract max_* Ceilings Removed

Ignored schematic, shared, text, and SVG limit structs and their call-site arguments have been removed across Rust, Python, and strict TypeSpec contracts (board and footprint *Limits types — PcbLimits, FootprintLimits, FootprintPlotLimits, BoardPlotLimits, BoardBoundsLimits — are unchanged):

Removed (2026.10.6)Replacement (2026.11.24)
Rust sexpr::Limits, ProjectionLimits, WorksheetLimits, SourceBundleLimits, ProjectLimits, EmbeddedDecodeLimitsDrop argument (e.g. SourceBundle::from_manifest(manifest, buffers), ProjectDocument::from_reader(reader))
Rust schematic/symbol limits (SchematicBundleLimits, SchematicPlotLimits, SchematicDocumentLimits, SchematicEmbeddedLimits, SchematicPlotContractLimits, KiCadDesignJsonLimits, SchematicBusExpansionLimits, SchematicBusConnectivityLimits, SchematicOccurrenceConnectivityLimits, SchematicLocalNetLimits, SchematicDesignNetLimits, CompiledSchematicGraphLimits, KiCadNetlistLimits, KiCadSchematicCompilationLimits, SymbolPlotLimits, SymbolLibraryLimits)Drop argument (e.g. SchematicBundleIndex::build(&bundle), KiCadSchematicCompilation::build(bundle), emit_kicad_netlist(&netlist, source_path, date, tool))
Rust text & SVG limits (PlotterTextCacheLimits, TextRenderCacheLimits, TextBlockLayoutLimits, TextLinebreakLimits, FontContainerLimits, FontOutlineLimits, NewstrokeLimits, OpenTypeLimits, TextBezierLimits, TextContourLimits, TextShapingLimits, TextTopologyLimits, SvgRenderLimits, SvgContextLimits, PlotDocumentProjectionLimits)Drop argument (render_schematic_svg(&doc, viewport, &ctx), extract_glyph); PlotterTextCacheResources now carries max_error (default PLOTTER_TEXT_MAX_ERROR = 2.0)
parse_with_limits, scan_form_spans_with_limits, build_kicad_design_json_with_limits, extract_glyph_with_limitparse, scan_form_spans, build_kicad_design_json, extract_glyph
Python EmbeddedDecodeLimits & limits= on decode_embedded_file, EmbeddedFile.from_bytes, EmbeddedFile.from_worksheetDrop limits= keyword argument
Contract max_* fields on schematic/symbol/sexpr requests & NativeDesignFactsLimits / NativeSvgRenderLimitsRemove max_* fields from payloads (strict schemas reject them; Selector.max_depth remains)
rust
// Before (2026.10.6)
let bundle = SourceBundle::from_manifest(manifest, buffers, &SourceBundleLimits::default())?;
let index = SchematicBundleIndex::build(&bundle, &SchematicBundleLimits::default())?;
let svg = render_schematic_svg(&doc, viewport, &ctx, &SvgRenderLimits::default())?;

// After (2026.11.24)
let bundle = SourceBundle::from_manifest(manifest, buffers)?;
let index = SchematicBundleIndex::build(&bundle)?;
let svg = render_schematic_svg(&doc, viewport, &ctx)?;

3. cad-text-realization Extraction & StrokeText* Renames

The text engine moved to a CAD-neutral cad-text-realization crate with font-agnostic naming and true em-size inputs:

Removed / Old (2026.10.6)Replacement / New (2026.11.24)
kicad_monkey_core::newstroke re-exportImport directly from cad_text_realization
NewstrokeRequest / Point / Polyline / Output / Error / ErrorKindStrokeTextRequest / Point / Polyline / Output / Error / ErrorKind
realize_newstroke_a0 / _plot_a0 / _multiline_a0, wrap_newstroke_text_box, newstroke_alignment_width_mmrealize_stroke_text_a0 / _plot_a0 / _multiline_a0, wrap_stroke_text_box, stroke_text_alignment_width_mm
KICAD_OUTLINE_FACE_SCALER (and other KICAD_OUTLINE_* constants)Drop KICAD_ prefix (OUTLINE_FACE_SCALER, …)
cad_text_realization::OUTLINE_SIZE_COMPENSATIONKICAD_OUTLINE_EM_PER_SIZE (1.4), applied by callers
TextContourRequest / TextLayoutRequest size_x, size_yem_x, em_y (plus alignment_height on TextLayoutRequest)
kicad_monkey_contracts::validate_shaping_input_contract, JavaScriptSafeIntegercad_text_realization::validate_shaping_input, SafeInteger
parse_text_markup(..., max_nodes)parse_text_markup(text) (drops ignored max_nodes argument)

4. Rust Struct-Literal Additions & Bus-Alias Error Change

TypeBreaking Change (2026.11.24)
SchematicBusExpansionErrorKind::AliasCycleRemoved — bus-alias cycles now return the repeated alias as a scalar member and record it in SchematicBusSubgraph.repeated_aliases (bus_alias_cycle warning)
PcbZoneAdded hatch_smoothing_level, hatch_smoothing_value, hatch_border_algorithm, hatch_min_hole_area
AuthoredZoneHatchedFillAdded smoothing_level, smoothing_value, border (AuthoredZoneHatchBorder), min_hole_area (prefer AuthoredZoneHatchedFill::new(thickness, gap, orientation))
PcbZonePolygonAdded polygon_points preserving arc elements alongside flattened points
AuthoredPcbAdded dimensions: Vec<AuthoredDimension>, barcodes: Vec<AuthoredBarcode>
AuthoredFootprintAdded barcodes, rule_areas, component_classes, net_tie_pad_groups, duplicate_pad_numbers_are_jumpers, jumper_pad_groups (prefer AuthoredFootprint::new)
AuthoredStackupLayerAdded sublayers: Vec<AuthoredStackupSubLayer>
AuthoredModelAdded hidden: bool and opacity: Option<f64>

5. Design B0 Review Bundle Migration

New Features

Schematic Never-Stop Compilation, Diagnostics & Plotting

PCB Authoring, Reader Defaults & Plotter Accuracy

Python & Native Toon Improvements

Bug Fixes

kicad-monkey v2026.11.30·Docs updated 2026.12.01 15:43 UTC (fd9b75b)