New Features of Node.js 14

Node.js 14 was released in April 2020. The main highlighted features includes Diagnostic reports as a stable feature, an experimental async local storage API to trace a transaction using different steps and external resources, internationalization support, easier native module use. Let’s see about the Diagnostic Report which is a stable feature. It gives you an easily digestible report with information useful for initial diagnosis and a prioritized production issues.  This feature is important for supporting other languages also. This feature can be used to solve the problems while in production. This produces a JSON-based report so it is both machine and human readable. Diagnostic reports are easily consumable since it has the following features. It has a built in inspect rules to check for common problems, redaction of secrets. It has purpose-built diffs between two or mor e reports. It also has transformers to extract and format key information. Async local storage API is another feature of this version. It traces transaction through different steps both within a process and through external resources. To identify the performance issue it helps you with information you need about the source of the problem.  It is easier now to create, build and support native modules in Node.js 14.