Skip to content

Releases: Epiled/api-ecoverse

v1.4.1 - Fix: Production Deployment & MSC Stability

Choose a tag to compare

@Epiled Epiled released this 11 May 04:02

🛠 Bug Fixes & Stability

  • Resolved Production Crash: Fixed a critical MODULE_NOT_FOUND error 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

Choose a tag to compare

@Epiled Epiled released this 07 May 21:04

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/login endpoint with JWT generation and Bcrypt for password security.
  • Enhanced Persistence: Added users.json, categories.json, and subcategories.json to the local database layer.
  • Architecture Refinement: Introduced services/ and constants/ 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 jsonwebtoken for secure session handling.
  • Implemented uuid for 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

Choose a tag to compare

@Epiled Epiled released this 22 Apr 16:50

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