CALL US

  +91 8266041801

  +44 203 372 4609

  +1 408 454 6110

  evontech

Get Free Quote

New Features and Fixes May 30 Release of Node.js 8.0 brings for Developers

nodejs 8.0 release.png

The long wait for Node.js Version 8.0 release finally ended on May 30 (12 PM PST), after a delay of almost a month. The new Node.js release brings a lot of new features and fixes for developers in order to significantly improve debugging and developer workflow. Carbon is the codename of the new Node.js release, which removes version 7 from the Node.js current release line. Node.js Version 8.0 will also become the current LTS version from October 2017 and will be maintained till December 31, 2019. Read this blog to gain insight into why this release of Node.js is big for Node.js users.

Important Features of Node.js Version 8.0 Release

TurboFan & Ignition

The introduction of TurboFan and Ignition is the the biggest change Node.js users will see in the latest release. TurboFan is the optimizing compiler and Ignition is V8’s interpreter. Daniel Clifford and the V8 team say, “The combined Ignition and TurboFan pipeline has been in development for almost 3½ years. It represents the culmination of the collective insight that the V8 team has gleaned from measuring real-world JavaScript performance and carefully considering the shortcomings of Full-codegen and Crankshaft. It is a foundation with which we will be able to continue to optimize the entirety of the JavaScript language for years to come.”

Screenshot from 2017-05-31 14:24:37.png

The addition of V8 5.8 in the latest release is another advantage for developers. V8 5.9 is also scheduled to be released in early June.

Note: V8 5.8 is ABI (Application Binary Interface ) compatible to 5.9.

Node.js 8.0 Comes With npm 5

With Node.js 8.0, users will also get access to npm 5.0.0, which will save by default now. In npm 5, package-lock.json will be automatically created unless an npm-shrinkwrap.json exists. Besides, when there is no internet connectivity, there’s no need to retry network requests. Another important change is that npm 5 will install the packages from the latest registry you have switched to. For example, if you generated your package lock against registry A, and switch to Registry B, npm will pick Registry B to install the packages, not Registry A.

Click here to check out highlights of the new npm release

Node.js API (N-API)

The Node Foundation says that Node.js API (N-API) will be added in the new release as an experimental feature. The top reason behind adding N-API in the Node.js 8.0 is to ensure that addons are not influenced by changes in the underlying JavaScript engine. As a result, there will be no hassle of recompilation while running native add-ons with different Node.js versions. Not only this, native addons can also work with Microsoft's Chakra-Core runtime as well.

The New URL Implementation

With Node.js 8.0, the WHATWG URL implementation is now a fully supported, non-experimental API within Node.js. The advantage of the new URL implementation is that it matches the URL implementation and API available in modern Web Browsers like Chrome, Firefox, Edge, and Safari. So, code consisting of URLs can be easily shared across environments.

New Tracing and Async Features

Node.js 8.0 comes with upgraded experimental async_hooks module (formerly async_wrap). With the help of this diagnostics API, developers will now be able to effectively track the operation of the Node.js event loop and keep a check on asynchronous requests.

Significant Changes to Buffer API within Node.js

One of the most important changes to the Buffer API within Node.js is the return of a zero-filled Buffer instance whenever the deprecated Buffer(num) constructor (with or without the new keyword) is called. The problem with previous Node.js versions was the return of uninitialized memory, which was likely to contain potentially sensitive data.

Console Changes

Previously, writing console output to the underlying stream often resulted in Node.js application crash. But that’s not the case with Node.js 8.0 as it ignores such errors. So, the use of console.log and the other APIs will be much safer now.

Debugger changes

Node.js 8.0 comes without the legacy command line debugger. The direct integration of node-inspect into the Node.js runtime is meant for command line replacement. Besides, the V8 Inspector debugger (first introduced in Node.js 6.0 as an experimental feature) has been upgraded to a fully supported feature.

New JavaScript API for Inspector Protocol

Node.js 8.0 also sees the introduction of a new experimental JavaScript API for the Inspector protocol. This feature will pave the way for developers to make better use of the debug protocol to inspect running Node.js processes.

Above are the most important features and fixes that are going to be introduced in Node.js 8.0. I will explain the features in more details once the latest release is out for sometime. I hope the blog helps you understand what Node.js 8.0 has in store for you.

Would you like to give Node.js 8.0 a try? Do you really think that the new features of Node.js 8.0 will be a welcome change for developers? Please share your views in the comment box below.

Sources: nodejs.org

Sdtimes.com

algoworks.com

7 JavaScript Frameworks/Libraries to Look Out For
5 Project Task Management Tools List - Free Online...

Related Posts

Comments

 
No comments yet
Already Registered? Login Here
Guest
Friday, 24 January 2020
If you'd like to register, please fill in the username, password and name fields.

SEARCH BLOG

Cloud computing Big Data Big Data Analytics Web development IT developers IT consulting and software development Project Management Javascript Offshore development India Salesforce Cloud Services Product Development Software development and testing Outsourcing business analysts Web app development Offshore software development company Agile Development Salesforce Lightning EmployeeEngagement Software development Salesforce customization Evon Technologies Digital Marketing Salesforce Mobile Development App development Start-ups Node.js marketing automation React Native Agile Product Development Reactive Programming Scrum React.js EPLcricket QA services Business Growth Recreationalactivity DevOps services Social Media Marketing Python MVP Development Salesforce CRM Higher Productivity Mobile app development Offshore software development project management methodology Data security breach Resource Management Virtual reality Big Data Cloud Database & Computing | JUnit Android development QA and Testing Artificial intelligence Findnerd Android apps Salesforce Consulting AI in mobile apps Collaboration Real time data Staff Augmentation Offshore software development services Project Manager Project management tools PHP Testing Agile project management Customer Development Cross Platform Mobile App Development EHR Mobile app marketing blockchain Sensei Task Master Content Management System Reactive Applications Applications of real time data Platform as a Service (SaaS) Vue.js Salesforce implementation QA Agile Methodologies Native Apps Amazon AWS Congratulations Oculus Rift Hire QA experts in India cloud service provider Linux Mint Software Development Product Project management software features onsite-offshore Automated Testing Frameworks for PHP Salesforce development PhoneGap HIPAA Compliance iOS apps blockchain applications Microsoft acquires Sensei apps Popular CMS Importance of real time data CRM integration

About Us

Evon is a software development consulting company based in India. We are a 250+ people company. We primarily service clients who want to either completely outsource a new idea or are looking to build an offshore team.

GoodFirms Badge

Recent Tweets

Evon Technologies

Why Switching to #Salesforce Lightning from Classic is important? and How Evon customize Salesforce CRM according… https://t.co/Qq4TqlUEF1

Evon Technologies

With over a decade of #consulting and implementation excellence, Evon offers #businesses #Salesforce consulting ser… https://t.co/XkBAzzxm8I

Get in Touch

  +91 8266041801

  +44 203 372 4609

  +1 408 454 6110

  evontech

 This email address is being protected from spambots. You need JavaScript enabled to view it.

   A- 5, IT Park, Dehradun, Uttarakhand, India, PIN - 248001.

follow us on

×
We use cookies on our website to provide you with a more personalised digital experience and for analytics related to our website and other media. For more information, please review our Privacy Policy and Cookies Policy.