chore: release v0.1.0
- Update docker-compose files to use v0.1.0 image tag - Add CHANGELOG.md with release notes
This commit is contained in:
@@ -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
|
||||||
|
```
|
||||||
@@ -28,7 +28,7 @@ services:
|
|||||||
- TRUSTED_ORIGINS=${TRUSTED_ORIGINS:-http://localhost:3000,http://127.0.0.1:3000}
|
- TRUSTED_ORIGINS=${TRUSTED_ORIGINS:-http://localhost:3000,http://127.0.0.1:3000}
|
||||||
|
|
||||||
# Version tracking
|
# Version tracking
|
||||||
- IMAGE_VERSION=0.1.0
|
- IMAGE_VERSION=0.1.0.dev
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
# Persist uploaded files and static content
|
# Persist uploaded files and static content
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ services:
|
|||||||
- TRUSTED_ORIGINS=${TRUSTED_ORIGINS:-http://localhost:3000,http://127.0.0.1:3000}
|
- TRUSTED_ORIGINS=${TRUSTED_ORIGINS:-http://localhost:3000,http://127.0.0.1:3000}
|
||||||
|
|
||||||
# Version tracking
|
# Version tracking
|
||||||
- IMAGE_VERSION=0.1.0
|
- IMAGE_VERSION=0.1.0.dev-dev
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
# Mount source code for hot reload
|
# Mount source code for hot reload
|
||||||
|
|||||||
Reference in New Issue
Block a user