On This Page (12)
- Highlights
- Breaking Changes & Migration
- 1. Native Transport Contract Removed
- 2. Resource *Limits & Contract max_* Ceilings Removed
- 3. cad-text-realization Extraction & StrokeText* Renames
- 4. Rust Struct-Literal Additions & Bus-Alias Error Change
- 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 & 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
- Direct Pipelines & Resource Ceiling Removal: Removed the deprecated
native-transport-a0JSON/IPC envelope layer and stripped all ignored schematic, shared, text, and SVG*Limits/max_*ceilings across Rust, Python, and TypeSpec contracts. S-expression trees and KiCad markup now parse and drop iteratively with zero nesting depth cap. - Governed Design B0 Migration: Both Python
kcr designand standalone Rust design review now emit governed Design B0, keeping KiCad source facts in a dedicated sidecar and shipping IR2D drawing companions with graphical bindings, final-SVG correspondence, and explicit coverage diagnostics. See Format Contracts. - Full Python Toon Parity: Added pure-Python
kcr toonmatching native Toon configuration, themes, variants, worker/cache behavior, physical visibility (overhangs, cutouts, straddle and through-board parts, capsule slots), per-component illustration opacity, per-instance assembly label styling, and transactional output — keeping Pythonkcrcompletely independent of Rust on every platform. Seekcr toon. - KiCad 10.0.8 Single Oracle & Native Embedded-File Writer: Standardized oracle verification on KiCad 10.0.8 (
${KICAD_VERSION}=KiCad E.D.A. 10.0.8), and updated PCB and footprint embedded-file writers to emit KiCad 10.0.8 one-shotZSTD_compress(level 15 with frame content size) and MMH3 checksums so authored files open, export STEP/SVG, and re-save cleanly inkicad-cli 10.0.8. - Typed
.kicad_symWriter & Source Prettifier: Addedsymbol_authoring(AuthoredSymbolLibrary::canonical_text/write_into) targeting KiCad 10.0.kicad_sym(version20251024) in whole-nanometre+Y-up coordinates, plus streamingprettify_kicad_source,escape_lib_item_name, andunescape_lib_item_name. - Never-Stop Schematic Loading, Compilation & Plotting: Missing sheets, sheet recursion cycles, bus-alias cycles, unreadable
.kicad_profiles, undrawable objects, and uncompilable connectivity no longer abort schematic compilation or page plotting; each condition is reported as a typedKiCadDiagnosticalongside the Plotter IR and compilation results. - Expanded Rust PCB Authoring: Added typed writers for KiCad 10 board
(dimension ...)forms (AuthoredPcb::dimensions),(barcode ...)forms (AuthoredBarcode), footprint pad groups (net_tie_pad_groups,duplicate_pad_numbers_are_jumpers,jumper_pad_groups), footprint rule areas & component classes, dielectricaddsublayerstackup sublayers, model visibility/opacity, and warning-tolerantcanonical_text_with_warnings.
Breaking Changes & Migration
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_bytes | Removed (direct SVG returns UTF-8 string directly) |
decode_native_* / validate_native_* & Native* schemas | Direct typed Rust crate APIs (kicad-monkey-core, kicad-monkey-svg) or Python kicad_monkey |
| Python Cruncher native-selector flags | Removed — 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, EmbeddedDecodeLimits | Drop 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_limit | parse, scan_form_spans, build_kicad_design_json, extract_glyph |
Python EmbeddedDecodeLimits & limits= on decode_embedded_file, EmbeddedFile.from_bytes, EmbeddedFile.from_worksheet | Drop limits= keyword argument |
Contract max_* fields on schematic/symbol/sexpr requests & NativeDesignFactsLimits / NativeSvgRenderLimits | Remove max_* fields from payloads (strict schemas reject them; Selector.max_depth remains) |
// 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-export | Import directly from cad_text_realization |
NewstrokeRequest / Point / Polyline / Output / Error / ErrorKind | StrokeTextRequest / Point / Polyline / Output / Error / ErrorKind |
realize_newstroke_a0 / _plot_a0 / _multiline_a0, wrap_newstroke_text_box, newstroke_alignment_width_mm | realize_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_COMPENSATION | KICAD_OUTLINE_EM_PER_SIZE (1.4), applied by callers |
TextContourRequest / TextLayoutRequest size_x, size_y | em_x, em_y (plus alignment_height on TextLayoutRequest) |
kicad_monkey_contracts::validate_shaping_input_contract, JavaScriptSafeInteger | cad_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
| Type | Breaking Change (2026.11.24) |
|---|---|
SchematicBusExpansionErrorKind::AliasCycle | Removed — bus-alias cycles now return the repeated alias as a scalar member and record it in SchematicBusSubgraph.repeated_aliases (bus_alias_cycle warning) |
PcbZone | Added hatch_smoothing_level, hatch_smoothing_value, hatch_border_algorithm, hatch_min_hole_area |
AuthoredZoneHatchedFill | Added smoothing_level, smoothing_value, border (AuthoredZoneHatchBorder), min_hole_area (prefer AuthoredZoneHatchedFill::new(thickness, gap, orientation)) |
PcbZonePolygon | Added polygon_points preserving arc elements alongside flattened points |
AuthoredPcb | Added dimensions: Vec<AuthoredDimension>, barcodes: Vec<AuthoredBarcode> |
AuthoredFootprint | Added barcodes, rule_areas, component_classes, net_tie_pad_groups, duplicate_pad_numbers_are_jumpers, jumper_pad_groups (prefer AuthoredFootprint::new) |
AuthoredStackupLayer | Added sublayers: Vec<AuthoredStackupSubLayer> |
AuthoredModel | Added hidden: bool and opacity: Option<f64> |
5. Design B0 Review Bundle Migration
kcr design(Python and Rust) now writes governed Design B0 with KiCad source facts in a separate sidecar and IR2D drawing companions. Downstream consumers reading legacy design-review layouts should migrate to Design B0. See Format Contracts.
New Features
Schematic Never-Stop Compilation, Diagnostics & Plotting
- Typed Diagnostics Beside Plotter IR:
SchematicBundleIndex::diagnostics,KiCadSchematicCompilation::diagnostics,KiCadCompiledPagePlot::diagnostics(Rust) andKiCadDesign.schematic_diagnostics,KiCadDesign.netlist_diagnostics, plus optionaldiagnosticslists onto_schematic_instance_ir/schematic_to_ir(Python) collect structuredKiCadDiagnosticentries (sheet_recursion,bus_alias_cycle,project_unreadable,object_not_drawn,connectivity_not_compiled,pin_contact_evidence_differs) without halting compilation or plotting. - Sheet & Bus-Alias Cycle Parity: Recursive sheets are removed once per shared screen (matching KiCad), and self-referential bus aliases expand to a scalar member with a
bus_alias_cyclewarning instead of failing netlists. - Page Plot Customization: Added
KiCadPagePlotOptions::dnp_presentation(Drawndefault vs.Omittedfor interactive viewers),KiCadPagePlotOptions::color_overrides(theme role remapping), andKiCadPagePlotOptions::font_face. - KiCad 10.0.8 Schematic Parity: Root pages now resolve
${SHEETNAME}viaProjectView::root_sheet_name/KiCadProject.root_sheet_name; pin numbers and beside-pin names apply KiCad 10.0.8'sKiROUND(24 * text_offset_ratio)offset and placed-pin orientation; drawing-sheet variables cap nested expansion at KiCad's depth6; repeated UUIDs increment deterministically; pre-7.0 arcs and multi-unit discrepancies follow KiCad's loader rules.
PCB Authoring, Reader Defaults & Plotter Accuracy
- Authoring: Added
AuthoredPcb::dimensions(aligned, orthogonal, leader, center, radial),AuthoredBarcode/AuthoredBarcodeKind/AuthoredBarcodeEccLevel, footprint pad groups (net_tie_pad_groups,duplicate_pad_numbers_are_jumpers,jumper_pad_groups), footprintrule_areasandcomponent_classes,AuthoredStackupLayer.sublayers(addsublayer),AuthoredModelhidden/opacity, andcanonical_text_with_warnings(uuid_repeated,group_membership_ambiguous). - Reader Defaults & Setup Policy: Added
PcbView::effective_setup(),PcbView::effective_layers(),PcbGraphic::effective_stroke_width_for_layer(),PcbView::footprint_zones()/FootprintView::zones(), and Pythonpcb_setup_policyfor via covering, plugging, filling, and capping facts. - KiCad 10.0.8 Plotter Accuracy: Rotated knockout text boxes follow
buildBoundingHullwith integerRotatePointand clamped pen margins;PcbPad::npth_hole_covers_copper()suppresses oval and exact-size NPTH copper flashes; via/pad unused-layer flashing uses strict geometric overlap across spanned copper layers; hatch zones read/write(mode hatch)and smoothing/border parameters; both SVG renderers omit strokes when pen width is0.
Python & Native Toon Improvements
- Added matching Python
kcr toonwith sharedtoon.config, variants, parallel worker/cache reuse, and transactional output. - Added per-component illustration opacity, per-instance assembly label opacity, fill/stroke colors, and font-size-relative stroke width with scoped inheritance.
- Completed physical visibility for overhangs, cutouts, straddle/through-board parts, capsule slots, and JSON-configured view mirroring with readable labels.
Bug Fixes
- Corrected source drill-outline placement and slot orientation for rotated footprints and offset drills in Python SVG documentation views, and preserved NPTH slot drill metadata in the native plotter.
- Preserved original fill/stroke channels and widths when recoloring Python Toon solder-mask openings (avoiding an unintended 0.5 mm expansion) and fitted Python Toon framing to physical artwork and visible model overhangs.
- Boards with no
Edge.Cutsoutline and nothing to plot now write empty copper SVGs with a warning inkcr designinstead of failing. - Parsed KiCad 8 bare
keep_text_aligned/suppress_zeroesdimension flags and legacy bare vialockedtokens identically in Rust and Python. kcr pcb-svgnow prints the final published output directory on completion.