Skip to content

fix: use path-based versioning (/v2/open) not query param (?v=2)#28

Merged
tupe12334 merged 1 commit into
mainfrom
fix-versioning-paths
Jun 10, 2026
Merged

fix: use path-based versioning (/v2/open) not query param (?v=2)#28
tupe12334 merged 1 commit into
mainfrom
fix-versioning-paths

Conversation

@tupe12334

Copy link
Copy Markdown
Member

Summary

  • Corrects the versioning approach from ?v=2 query param to path-based (/v2/open)
  • Removes UnknownVersionView component and the v param check from /open
  • /open remains unchanged as the permanent v1 route
  • Updates docs/api-versioning.md: convention table, rules, and "adding a new version" steps now reflect path-based approach

Test plan

  • /open?owner=x&repo=y&issue=1 still works
  • pnpm build passes
  • pnpm lint passes

🤖 Generated with Claude Code

Remove the `v` query param approach and `UnknownVersionView`. Future
versions get their own path prefix (e.g. /v2/open), keeping /open as
the permanent v1 route. Update docs accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tupe12334 tupe12334 merged commit eb0c146 into main Jun 10, 2026
1 check failed
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.

1 participant