From 8440962649f007a337306df93c827c08bd6ba25e Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Tue, 31 Mar 2026 17:33:58 -0700 Subject: [PATCH] chore: release v0.1.0 - Update docker-compose files to use v0.1.0 image tag - Add CHANGELOG.md with release notes --- CHANGELOG.md | 81 +++++++++++++++++++++++++++++++++++++++ docker-compose.casaos.yml | 2 +- docker-compose.dev.yml | 2 +- 3 files changed, 83 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..501ac28 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,81 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.1.0] - 2026-03-31 + +### Added + +- **Authentication System**: Complete Better Auth integration with session management +- **Authorization (RBAC)**: Role-based access control with player, tournament_admin, club_admin, and site_admin roles +- **Tournament Management**: Full CRUD operations with multiple formats (round-robin, single/double elimination, Swiss) +- **Rating Systems**: Support for Elo, Glicko2, and OpenSkill rating calculations +- **Admin Panel**: Comprehensive admin interface for managing players, tournaments, and matches +- **Player Profiles**: Detailed player statistics with partnership analytics +- **Match Recording**: CSV upload functionality for batch match entry +- **Development Database**: Isolated development database for testing +- **Test Cleanup System**: Automatic cleanup of test records +- **Production Database Cleanup**: Tools to remove test data while preserving real data +- **Semantic Versioning**: Git tagging and Docker image tagging system + +### Fixed + +- **Session Refresh**: Fixed navigation not updating immediately after login (closes #6) +- **allowTies Save Bug**: Fixed "Allow Ties" checkbox not being saved when editing tournaments +- **Next.js 16 Compatibility**: Fixed params Promise handling across all API routes and pages +- **Match Diagram Positioning**: Fixed player positioning in match diagrams + +### Changed + +- **Database**: Migrated from SQLite to PostgreSQL with production-ready configuration +- **Docker**: Updated image tagging to use versioned tags (e.g., v0.1.0, latest) +- **Testing**: Improved test coverage with 103 passing unit tests +- **Documentation**: Added comprehensive README with development setup instructions + +### Removed + +- N/A + +## [0.0.1] - Initial Development + +### Added + +- Basic database schema for Euchre tournament management +- Initial Next.js application structure +- Basic navigation and layout +- Player rankings page + +--- + +## Release Process + +This project follows semantic versioning (Semver): + +1. **Version Format**: `MAJOR.MINOR.PATCH` + - `MAJOR`: Breaking changes (API changes, database migrations requiring data migration) + - `MINOR`: New features (backward compatible) + - `PATCH`: Bug fixes, security updates + +2. **Pre-release Versions**: `MAJOR.MINOR.PATCH-alpha.N`, `MAJOR.MINOR.PATCH-beta.N`, `MAJOR.MINOR.PATCH-rc.N` + +3. **Creating a Release**: + ```bash + # Bump version + npm run version:patch # or version:minor, version:major + + # Create git tag + git tag -a v0.1.0 -m "Release v0.1.0" + + # Push changes and tag + git push origin main + git push origin v0.1.0 + + # Build and push Docker images + npm run docker:build:push + + # Create release in Gitea + tea release create v0.1.0 --title "Release v0.1.0" --note-file CHANGELOG.md + ``` diff --git a/docker-compose.casaos.yml b/docker-compose.casaos.yml index 326907a..441d1c2 100644 --- a/docker-compose.casaos.yml +++ b/docker-compose.casaos.yml @@ -28,7 +28,7 @@ services: - TRUSTED_ORIGINS=${TRUSTED_ORIGINS:-http://localhost:3000,http://127.0.0.1:3000} # Version tracking - - IMAGE_VERSION=0.1.0 + - IMAGE_VERSION=0.1.0.dev volumes: # Persist uploaded files and static content diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index a80adaa..52821e9 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -28,7 +28,7 @@ services: - TRUSTED_ORIGINS=${TRUSTED_ORIGINS:-http://localhost:3000,http://127.0.0.1:3000} # Version tracking - - IMAGE_VERSION=0.1.0 + - IMAGE_VERSION=0.1.0.dev-dev volumes: # Mount source code for hot reload