Releases: Epiled/api-ecoverse
Releases · Epiled/api-ecoverse
Release list
v1.4.1 - Fix: Production Deployment & MSC Stability
🛠 Bug Fixes & Stability
- Resolved Production Crash: Fixed a critical
MODULE_NOT_FOUNDerror caused by case-sensitivity mismatches in route imports on Linux-based environments (Vercel). - Environment Alignment: Standardized all module paths to ensure seamless transition between development and production.
🚀 Version Highlights
This version consolidates the major architectural changes planned for the 1.4 cycle:
- Full MSC Implementation: Business logic is now entirely handled by the Service layer.
- RBAC Security: Role-based access control is active, protecting administrative routes.
- Data Integrity: Database normalization scripts are now fully documented and functional.
Note: Version 1.4.0 contained deployment inconsistencies and has been superseded by this stable release.
v1.3.0 - User Management & Category Ecosystem
v1.3.0 - Implement user management, categories, and authentication base
[1.3.0] - 2026-05-07
Added
- User Management: Full CRUD implementation for users, including registration, updates, and unique identification.
- Category Hierarchy: Introduced Categories and Subcategories endpoints to support structured product organization.
- Authentication Base: Implemented the
/api/auth/loginendpoint with JWT generation and Bcrypt for password security. - Enhanced Persistence: Added
users.json,categories.json, andsubcategories.jsonto the local database layer. - Architecture Refinement: Introduced
services/andconstants/directories to improve code modularity and maintainability.
Changed
- Folder Structure: Reorganized project to include
middlewares/for upcoming security layers. - Product Model: Updated products to support category and subcategory relationships.
Technical Notes
- Integrated
jsonwebtokenfor secure session handling. - Implemented
uuidfor consistent ID generation across all new entities. - Refactored controllers to utilize the new Service layer, reducing direct model coupling.
v1.2.0 - Full CRUD Implementation & Logic Refactor
Description
This release marks a major milestone for the Ecoverse API, completing the full product management cycle and improving the efficiency of data retrieval.
🔄 Improvements & Refactoring
- GET Refactor: Optimized the product retrieval logic to align with the new flat JSON database structure, ensuring faster and cleaner data delivery.
- Persistence Logic: Improved the underlying Model layer to handle asynchronous file operations more robustly.
✨ New Features (Full CRUD)
- POST /api/products: Added support for creating new products with automatic UUID v4 generation.
- PATCH /api/products/:id: Implemented partial updates, allowing specific fields to be modified without overwriting the entire resource.
- DELETE /api/products/:id: Added resource removal functionality with built-in validation to ensure the target ID exists.
🛠️ Technical Updates
- Environment Management: Fully integrated dotenv for server configuration (port management).
- Architecture: Solidified the MVC (Model-View-Controller) pattern across all new endpoints to keep business logic decoupled from the routing layer.
- Documentation: Updated the Postman Collection and README.md to reflect the new capabilities and endpoint structures.
What's Changed
Full Changelog: v1.1.0...v1.2.0