Skip to content

Release v1.2.1 — Smarter Error Handling & Cleaner Logs

Latest

Choose a tag to compare

@dev-rashedin dev-rashedin released this 25 Oct 08:56

🚀 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.ico requests, 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 using ErrorRequestHandler for 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.