mirror of
https://github.com/DocNR/POWR.git
synced 2025-04-19 19:01:18 +00:00
84 lines
2.5 KiB
Markdown
84 lines
2.5 KiB
Markdown
![]() |
# Changelog
|
||
|
|
||
|
All notable changes to the POWR 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).
|
||
|
|
||
|
## [Unreleased]
|
||
|
|
||
|
### Added
|
||
|
- Basic exercise template creation functionality
|
||
|
- Input validation for required fields
|
||
|
- Schema-compliant field constraints
|
||
|
- Native picker components for standardized inputs
|
||
|
- Enhanced error handling in database operations
|
||
|
- Detailed SQLite error logging
|
||
|
- Improved transaction management
|
||
|
- Added proper error types and propagation
|
||
|
|
||
|
### Changed
|
||
|
- Updated NewExerciseScreen with constrained inputs
|
||
|
- Added dropdowns for equipment selection
|
||
|
- Added movement pattern selection
|
||
|
- Added difficulty selection
|
||
|
- Added exercise type selection
|
||
|
- Improved DbService with better error handling
|
||
|
- Added proper SQLite error types
|
||
|
- Enhanced transaction rollback handling
|
||
|
- Added detailed debug logging
|
||
|
|
||
|
### Technical Details
|
||
|
1. Database Schema Enforcement:
|
||
|
- Added CHECK constraints for equipment types
|
||
|
- Added CHECK constraints for exercise types
|
||
|
- Added CHECK constraints for categories
|
||
|
- Proper handling of foreign key constraints
|
||
|
|
||
|
2. Input Validation:
|
||
|
- Equipment options: bodyweight, barbell, dumbbell, kettlebell, machine, cable, other
|
||
|
- Exercise types: strength, cardio, bodyweight
|
||
|
- Categories: Push, Pull, Legs, Core
|
||
|
- Difficulty levels: beginner, intermediate, advanced
|
||
|
- Movement patterns: push, pull, squat, hinge, carry, rotation
|
||
|
|
||
|
3. Error Handling:
|
||
|
- Added SQLite error type definitions
|
||
|
- Improved error propagation in LibraryService
|
||
|
- Added transaction rollback on constraint violations
|
||
|
|
||
|
### Migration Notes
|
||
|
- Exercise creation now enforces schema constraints
|
||
|
- Input validation prevents invalid data entry
|
||
|
- Enhanced error messages provide better debugging information
|
||
|
|
||
|
## [0.1.0] - 2024-02-09
|
||
|
|
||
|
### Added
|
||
|
- Initial project setup with Expo and React Native
|
||
|
- Basic tab navigation structure
|
||
|
- Theme support (light/dark mode)
|
||
|
- SQLite database integration
|
||
|
- Basic exercise library interface
|
||
|
|
||
|
### Changed
|
||
|
- Migrated to TypeScript
|
||
|
- Updated to latest Expo SDK
|
||
|
- Implemented NativeWind for styling
|
||
|
|
||
|
### Fixed
|
||
|
- iOS status bar appearance
|
||
|
- Android back button handling
|
||
|
- SQLite transaction management
|
||
|
|
||
|
### Security
|
||
|
- Added basic input validation
|
||
|
- Implemented secure storage for sensitive data
|
||
|
|
||
|
## [0.0.1] - 2024-02-01
|
||
|
|
||
|
### Added
|
||
|
- Initial repository setup
|
||
|
- Basic project structure
|
||
|
- Development environment configuration
|
||
|
- Documentation templates
|