Skip to content

Add via-in-pad autorouter opt-in - #759

Merged
AnasSarkiz merged 2 commits into
tscircuit:mainfrom
AnasSarkiz:feat/via-in-pad-opt-in
Jul 28, 2026
Merged

Add via-in-pad autorouter opt-in#759
AnasSarkiz merged 2 commits into
tscircuit:mainfrom
AnasSarkiz:feat/via-in-pad-opt-in

Conversation

@AnasSarkiz

Copy link
Copy Markdown
Member

Summary

  • add allowViaInPad?: boolean to AutorouterConfig
  • validate the option through the public autorouter Zod schema
  • document that omitted or false keeps via-in-pad routing disabled
  • regenerate the component-types and props-overview documentation

Why

Via-in-pad manufacturing can incur additional fabrication cost, so it should be an explicit autorouter opt-in. This props change establishes the user-facing API for the downstream Circuit JSON, core, and capacity-autorouter integrations.

This PR only introduces the props contract; it does not enable via-in-pad routing by itself.

Validation

  • bun test — 386 pass, 0 fail
  • bun run typecheck
  • bun run build
  • bun run format:check
  • bun run check-circular-deps
  • all required documentation generators

@AnasSarkiz
AnasSarkiz marked this pull request as ready for review July 27, 2026 12:18
@AnasSarkiz
AnasSarkiz merged commit 3fdd4dd into tscircuit:main Jul 28, 2026
5 checks passed
@AnasSarkiz
AnasSarkiz deleted the feat/via-in-pad-opt-in branch July 28, 2026 19:16
@tscircuitbot

Copy link
Copy Markdown
Contributor

Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants