📦 Release v4.10.0
🚀 New Features
-
Notifications System
- Added notification modals, routes, and middlewares.
- Introduced greeting notifications on account creation.
-
Pages Module
- Implemented page routes, middlewares, and modal definitions.
-
Rewards System
- Added schema, routes, and endpoint for creating and redeeming rewards.
-
Stats & Logging Enhancements
- Updated stats schema to support a new structure.
- Introduced new routes for stats tracking.
- Logger improvements: added token reset logging, failed logger, and new log formatting.
-
Authentication
- Added basic auth flow and 401 status handling.
- Included username field for user schema.
🐛 Bug Fixes
- Fixed an issue where a database query was built from user-controlled sources.
- Addressed multiple minor bugs and logging-related issues.
- Fixed endpoint logic and improved URL identification.
🧹 Refactors & Cleanup
- Refactored reward API and uncommented key auth checks.
- Removed unnecessary or redundant logging from endpoints.
- Ignored
package-lock.json
for cleaner dependency management. - Updated internal references (e.g.,
_id
fromsystemstats
tosystem
,sudo
tosystem
).
🔧 Other Improvements
- Added message support to services.
- Added an internal key to support new functionalities.
- Improved internal structure and consistency of API logic.
Full Changelog: 4.9.1...4.10.0