🚀 Overview
This release improves the developer experience by preventing unnecessary or misleading error logs and refining how Express errors are handled internally.
♻️ Fixes & Improvements
-
🛠️ Ignored Favicon Requests:
Added logic to silently handle/favicon.icorequests, preventing false 404 error logs when browsers automatically request a favicon (especially common when reusing port 3000 after a frontend app). -
🧩 TypeScript Compatibility Fix:
Improved middleware typing usingErrorRequestHandlerfor smoother integration in TypeScript projects. -
🧼 Cleaner Console Output:
Enhanced log clarity — no more noisy or irrelevant errors from harmless browser behavior.
💡 Notes
If you were seeing a Cannot GET /favicon.ico error when switching from a Next.js or React app to an Express server on the same port, upgrading to this version will automatically resolve it.