Skip to content

Add v3 as a valid group autorouterVersion#616

Merged
seveibar merged 1 commit intomainfrom
codex/add-v3-to-autorouterversion
Mar 12, 2026
Merged

Add v3 as a valid group autorouterVersion#616
seveibar merged 1 commit intomainfrom
codex/add-v3-to-autorouterversion

Conversation

@seveibar
Copy link
Contributor

Motivation

  • Support the new autorouter v3 option so group props accept and validate the newer autorouter version at both type and runtime.

Description

  • Added "v3" to the autorouterVersion TypeScript union on SubcircuitGroupProps in lib/components/group.ts.
  • Added "v3" to the corresponding Zod enum validation for autorouterVersion in lib/components/group.ts.
  • Regenerated generated/COMPONENT_TYPES.md and generated/PROPS_OVERVIEW.md so the docs reflect the new "v3" value and ran project formatting.

Testing

  • Ran the generation scripts bun scripts/generate-component-types.ts, bun scripts/generate-manual-edits-docs.ts, bun scripts/generate-readme-docs.ts, and bun scripts/generate-props-overview.ts which completed successfully.
  • Typechecked with bunx tsc --noEmit which passed.
  • Ran unit tests bun test tests/group.test.ts and bun test tests/autorouter.test.ts and both suites passed.
  • Ran bun run format to apply formatting.

Codex Task

@seveibar seveibar merged commit 0bd32cd into main Mar 12, 2026
5 checks passed
@seveibar seveibar deleted the codex/add-v3-to-autorouterversion branch March 12, 2026 00:09
@tscircuitbot
Copy link
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants