Skip to content

feat!: adapt to @echecs/tournament v3 types#33

Merged
mormubis merged 1 commit into
mainfrom
feat/tournament-v3
May 10, 2026
Merged

feat!: adapt to @echecs/tournament v3 types#33
mormubis merged 1 commit into
mainfrom
feat/tournament-v3

Conversation

@mormubis
Copy link
Copy Markdown
Collaborator

Summary

  • function signatures changed from (player, Game[][], Player?) to (player, CompletedRound[], Player[]) to match @echecs/tournament v3's Tiebreak type
  • Game.result is now a string literal ('white'/'black'/'draw'/'none') instead of a number — added scoreFor conversion utility
  • peer dependency bumped from @echecs/tournament@^2.0.0 to @echecs/tournament@^3.0.0
  • GameKind and Result type re-exports removed (no longer exist in tournament v3)
  • re-exports updated: Bye, CompletedRound, Game, Pairing, Player

breaking change — bumps to v4.0.0

@mormubis mormubis merged commit d71f156 into main May 10, 2026
4 checks passed
@mormubis mormubis deleted the feat/tournament-v3 branch May 10, 2026 15:33
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