altium-monkey 2026.05.28 Release Notes
Package version: 2026.5.28
2026.05.28 is represented in Python package metadata as the PEP 440 canonical form 2026.5.28.
This release tightens public PcbLib/PcbDoc authoring APIs, makes normal parser logging quieter for downstream CLIs, and fixes public issue #3 so empty SchLib designators stay empty when read back.
Parser Logging
Parser/status chatter such as Parsing SchDoc file, embedded image discovery, lazy Loading PcbDoc, and embedded font/model discovery messages now uses DEBUG logging. Downstream command-line tools can keep normal INFO output concise while still exposing parser diagnostics when they enable verbose or debug logging.
PcbLib Authoring
PcbLib pad authoring now exposes explicit solder-mask and paste-mask expansion modes. PcbMaskExpansion and PcbMaskExpansionMode support none, rule, and manual, and footprint add_pad(...) / add_custom_pad(...) accept signed manual expansion values in mils. add_custom_pad(...) still accepts the older rule-expansion booleans as compatibility aliases.
PcbLib and PcbDoc text authoring now share the public stroke-font contract. Stroke text accepts stroke_font_type="default", "sans-serif", or "serif", and PcbLib font_kind="stroke" writes native stroke text encoding rather than TrueType encoding.
PcbLib footprint add_text(...) now also supports first-class barcode text with the same option names as PcbDoc text authoring: font_kind="barcode", barcode_kind, barcode_render_mode, barcode_full_size_mils, barcode_margin_mils, barcode_min_width_mils, barcode_show_text, and barcode_inverted. Save/readback preserves barcode sizing, symbology, human-readable text, inversion, layer, v7 layer, placement, rotation, and mirroring metadata.
SchLib Empty Designators
Reading a SchLib designator record with omitted Text now preserves the empty designator instead of substituting U?. This fixes #3. Synthetic authoring helpers still default new designator objects to U? unless callers explicitly set the text to an empty string.
Public API Compatibility
Existing documented APIs remain compatible. The new PcbLib authoring options are additive, legacy custom-pad rule-expansion booleans still work, and parser diagnostics remain available through DEBUG logging.