Repository navigation
v1.5.0 Release Notes
This release includes several improvements, optimizations, and bug fixes to enhance the overall structure and performance of the project.
New Features and Improvements
-
Standardized Controller Structure
- All controllers now inherit from BaseController for consistent context management.
- Optimized route registration for clearer routing.
(Commit 0a473e0)
-
Database Management
- Abstracted the database loading section for better organization.
(Commit babf779)
- Abstracted the database loading section for better organization.
-
Configuration Management
- Structured system configuration for easier management and scalability.
(Commit 57b1c50)
- Structured system configuration for easier management and scalability.
-
Logging Enhancements
- Added MySQL logger for improved database operation logging.
(Commit 8e00df1) - Implemented conditional GORM debug mode activation.
(Commit 333f631)
- Added MySQL logger for improved database operation logging.
-
Dependency Upgrades
- Upgraded MySQL, logger, Redis, and GORM packages to latest versions.
(Commit 5fd1460) - Specifically upgraded the Redis version for improved performance.
(Commit 68b0444)
- Upgraded MySQL, logger, Redis, and GORM packages to latest versions.
-
Job Scheduling
- Refactored job scheduling system and improved naming consistency.
(Commit a3226aa)
- Refactored job scheduling system and improved naming consistency.
Bug Fixes
- GORM Logging Issue
- Resolved the issue where GORM would print logs in non-debug mode.
(Commit 8656c7f)
- Resolved the issue where GORM would print logs in non-debug mode.
Code Cleanup
- Removed unnecessary package comments for cleaner code.
(Commit f1ffd7b)
Upgrading
To upgrade to v1.5.0, update your go.mod file and run go mod tidy. Please review the changes, especially those related to controller structure, database loading, and system configuration, to ensure compatibility with your existing code.
We recommend thoroughly testing your application after upgrading to ensure all features work as expected with the new improvements and optimizations.
Thank you for using go-api! Your feedback and contributions are always welcome.