ds-express-errors v1.7.0 – express-validator support

by

Released v1.7.0 of ds-express-errors.

What’s new:

  • Added express-validator error mapping

  • Improved Mongoose and Prisma error checks

  • Safer setConfig validation

  • Logger bug fix and internal refactoring

🔗 Docs and changelog

30 views

Add a comment

Replies

Best

Update v1.7.1 – January 7, 2026

This patch release focuses on security, stability, and edge-case fixes discovered shortly after v1.7.0.

Security

  • Fixed a log injection vulnerability in the internal logger

Fixes & Improvements

  • Improved validation checks for setConfig to prevent invalid configurations

  • Fixed a crash in custom mappers when returning Promises or async functions

  • Enhanced environment configuration checks for safer runtime detection

  • Added a missing fallback statusCode in defaultErrorAnswer to prevent unexpected 500 responses