HeadlinesBriefing favicon HeadlinesBriefing.com

DS Express Errors v1.8.0 & v1.8.1 Release Notes

DEV Community •
×

DS Express Errors has released versions 1.8.0 and 1.8.1, introducing significant updates that enhance the functionality and performance of the error-centralizing library. The v1.8.0 release, on January 11, 2026, added support for user-provided error classes in custom mappers, specifically for Zod and Joi, allowing for more rigorous error verification. This version also enables users to select only the necessary mappers, reducing the cost of checking unnecessary ones.

Additionally, the updates include a rate-limiting logger to prevent crashes and freezes, and improvements to the Prisma error handling, which now supports more error codes. The v1.8.1 release, on January 12, 2026, further enhances the library with fixes and new features, such as adding a new property in the config to set the maximal log rate requests per minute. It also introduces a check for BigInt in the internal safeStringify method and refactors the customLogger.

These updates are crucial for developers using DS Express Errors as they improve error handling and performance, directly impacting the efficiency and reliability of applications that rely on this library. Developers working with Express.js and related frameworks will benefit from these enhancements, as they provide more control and flexibility in managing errors within their applications. Moreover, the updates reflect the ongoing development and commitment to improving the DS Express Errors library, making it a more robust tool for error centralization in modern web applications.