v1.0.1 – Production stabilization
Stabilization release for the backend API after the initial v1.0.0 deployment.
Included fixes and improvements:
Goals module
- Fixed goals service logic for personal and shared goals
- Improved goals controller endpoints and request handling
- Added proper validation when creating shared goals without a linked partner
- Fixed goal type update behavior between PRIVATE and SHARED
- Ensured partner assignment is handled correctly when updating goals
- Improved authorization rules so only the owner or linked partner can access a goal
- Fixed reload consistency with goals-related operations
Database and TypeORM
- Updated TypeORM configuration to use DATABASE_URL
- Fixed local database connection issues caused by incorrect environment configuration
- Improved PostgreSQL connection setup for local and production environments
- Added production-aware SSL configuration for Railway/PostgreSQL
- Kept entity autoloading and synchronization aligned with current project setup
API and app configuration
- Improved backend runtime configuration for cloud deployment
- Fixed environment-related issues affecting production stability
- Refined general API behavior for deployed environments
CORS and integration
- Updated CORS configuration to allow proper frontend-backend communication
- Fixed integration issues between deployed frontend and backend services
General stabilization
- Multiple bug fixes after initial production deployment
- Better reliability for deployed API behavior
- General cleanup and stabilization of backend flows