Skip to content

v1.29.1 — string parameters no longer crash the viewer

Choose a tag to compare

@asbis asbis released this 23 Sep 10:47
· 26 commits to master since this release
a4a37af

Extension 1.29.1 / mcp-server 1.29.1.

Fixed

  • A string parameter no longer crashes the viewer. A shape declaring bearing: "608" (the stdlib's own flange-bolt-circle example) failed with "Render error: v.toFixed is not a function", because the Parameters panel assumed every value was a number.
    • String and boolean parameters now show as a read-only row.
    • Numeric fields, nudging and "Save to file" are unchanged.
  • Parameter typing now matches the executor. ParamDef.value is typed number | string | boolean, which is what the executor has always passed through. Non-numeric parameters no longer get a meaningless step.

See #3.