News

Node v11.0.0 released

2 min read

Node v11.0.0 is released. The focus of this current release is primarily towards improving internals, and performance. It is an update to the stable V8 7.0.

Build and console changes in Node v11.0.0

Build: FreeBSD 10 supported is removed.

child_process: The default value of the windowsHide option is now to true.

console: The console.countReset() function will emit a warning if the timer being reset does not exist. If a timer already exists, console.time() will no longer reset it.

Dependency and http changes

Under dependencies, the Chrome V8 engine has been updated to the v7.0.

fs: The fs.read() method now needs a callback. The fs.SyncWriteStream utility was deprecated previously, it has now been removed.

http: In Node v11.0.0 the http, https, and tls modules use the WHATWG URL parser by default.

General changes

In general changes, process.binding() has been deprecated and can no longer be used. Userland code using process.binding() should re-evaluate its use initiate migration. There is an experimental implementation of queueMicrotask() added.

Internal changes

Under internal changes, the Windows performance-counter support has been removed. The –expose-http2 command-line option has also been removed.

In Timers, interval timers will be rescheduled even if previous interval gave an error. The nextTick queue will be run after each immediate and timer.

Changes in utilities

The WHATWG TextEncoder and TextDecoder APIs are now global. The util.inspect() method’s output size is limited to 128 MB by default. When NODE_DEBUG is set for either http or http2, a runtime warning will be emitted.

Some other additions

Some other utilities have been added like:

  • ‘-z relro -z now’ linker flags
  • internal PriorityQueue class
  • InitializeV8Platform function
  • string-decoder fuzz test
  • new_large_object_space heap space
  • dns memory error test
  • warnings when NODE_DEBUG is set as http/http2
  • Inspect suffix to BigInt64Array elements

For more details and a complete list of changes, visit the Node website.

Read next

Deno, an attempt to fix Node.js flaws, is rewritten in Rust

npm at Node+JS Interactive 2018: npm 6, the rise and fall of JavaScript frameworks, and more

The top 5 reasons why Node.js could topple Java

Prasad Ramesh

Data science enthusiast. Cycling, music, food, movies. Likes FPS and strategy games.

Share
Published by
Prasad Ramesh

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago