Skip to content

Releases: fless-lab/node-ts-starter

Core plugins and middleware integration

03 Sep 06:59
020ff65
Compare
Choose a tag to compare

v1.4.0 - Core Plugins and Middleware Integration

New Features

  • Core Plugins Introduced: Added foundational plugins for handling soft deletion, versioning, audit trail, and document history. These plugins are essential for managing the lifecycle and integrity of documents across different scenarios.
  • Combined Middleware: Created middleware for combined authentication and user context management to simplify and streamline request handling.
  • AsyncLocalStorage Implementation: Introduced the use of AsyncLocalStorage to maintain and manage the user context safely across async operations.
  • Enhanced Model Management: Automatically manage createdBy, updatedBy, and deletedBy fields for better traceability and auditing.

Improvements

  • Improved base repository and service functionalities to support soft/hard deletion based on configuration.
  • Enhanced error handling and logging for better diagnostics and debugging.

Fixes

  • Improved handling of async operations with user-specific context.

Upgrade Instructions

  • Run npm install to update dependencies.
  • Verify that custom models and services align with the new core plugins and middleware structure.
  • Review and update project documentation to include information on new plugins and middleware usage.

Projet Structure enhances for a better organization

26 Aug 00:31
Compare
Choose a tag to compare

User Authentication Integrated

01 Jul 12:02
f6dab76
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.3.0

CSMODIS v1.2.0 - Enhanced Security, Base Services, and Repositories

22 Jun 23:42
bd51593
Compare
Choose a tag to compare

CSMODIS v1.2.0 - Enhanced Security, Base Services, and Repositories

New Features and Enhancements:

  • Security Enhancements:
    • Implemented client authentication middleware to secure all existing routes.
    • Added rate limiting to protect against brute force attacks and ensure fair usage.
    • Configurable rate limiting settings through environment variables.
  • Base Service and Repository Implementation:
    • Introduced a Base Service and Base Repository structure for better code organization and reusability.
    • Added User Service and User Repository to manage user-related operations and database interactions.
  • Content-Security-Policy Improvements:
    • Fixed issues with external resource loading by updating Content-Security-Policy settings.
  • New Middleware:
    • Added validation middleware to ensure request data integrity.
    • Implemented brute force protection middleware using express-brute.

Bug Fixes:

  • Fixed Content-Security-Policy issues for external resources.
  • Ensured proper protection of all routes with client authentication.

Other Changes:

  • Updated project documentation and README for better clarity and instructions.
  • Improved error handling and response messages for unauthorized and too many requests.
  • Added new helper functions for time and string manipulations.

We encourage all users to update to this version to benefit from the enhanced security measures, improved project structure, and new features.

Client authentication added

20 Jun 13:08
Compare
Choose a tag to compare
v1.1.0

Client authentication added

Project initialization without any feature

20 Jun 11:51
Compare
Choose a tag to compare
v1.0.0

Initial version with basic setup