v2.1.0
New Feature MinorBreaking Changes (Effective: March 15, 2025)
Tournament bracket endpoint response format updated. Migration deadline: 90 days.
🎯 Enhanced Tournament Bracket Management
Major improvements to tournament bracket handling with real-time updates, advanced bracket types, and enhanced spectator features.
✨ New Features
- • Real-time bracket updates via WebSocket
- • Swiss-system tournament support
- • Custom bracket seeding algorithms
- • Spectator-only tournament access
🔧 API Changes
New Endpoints:
- •
POST /tournaments/{id}/brackets/swiss
- •
GET /tournaments/{id}/realtime
- •
PUT /tournaments/{id}/seeding
Modified Endpoints:
- •
GET /tournaments/{id}/bracket
- New response format
// Before (v2.0.x)
const bracket = await pllay.tournaments.getBracket(tournamentId);
console.log(bracket.matches); // Array format
// After (v2.1.0)
const bracket = await pllay.tournaments.getBracket(tournamentId);
console.log(bracket.rounds[0].matches); // Nested rounds format
console.log(bracket.metadata.bracketType); // "single-elimination" | "double-elimination" | "swiss"
// Real-time updates
const socket = pllay.tournaments.subscribeToUpdates(tournamentId);
socket.on('bracket_update', (data) => {
console.log('Bracket updated:', data);
});
📋 Migration Guide
View complete migration guide →
Estimated migration time: 2-4 hours for basic implementations