1mo ago
A lot has changed across the v1.9.x releases.
Added stricter and more accurate Prisma & Sequelize error detection
Added configurable errorClasses support for Prisma and Sequelize
Improved Sequelize connection error mapping
Improved production-safe error responses across Zod, Joi, express-validator, Mongoose, Prisma, Sequelize, and JWT
Added separate JWT error handling to prevent sensitive details from leaking in production
Improved TypeScript definitions and fixed several missing types
Fixed ESM imports and Prisma initialization error detection
Improved development logs and expanded test coverage
Updated documentation around configuration, "NODE_ENV", library errors, and mapper behaviour
Added missing "jwt" property for "needMappers"
Fixed "needMappers" being incorrectly typed as a single string union instead of an array
Updated "asyncHandler" to preserve Express generic request types
Additional README updates
0
1
10mo ago
Version 1.8.0 January 11, 2026
Added support for user-provided error classes in custom mappers (Zod, Joi).
Added the ability to enable only selected mappers via configuration, reducing unnecessary checks.
Added rate limiting for the logger.
Fixed incorrect logic in the express-validator mapper.
Expanded supported Prisma errors: P2005, P2006, P2007, P2011, P2027.
Improved validation logic for mongoose and sequelize mappers.
2
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
3