Differences between NodeJS 0.10.25 (Ubuntu 14.04) and NodeJS 4.1 (compiled from NodeJS.org source)

I am really confused by these version numbers right now. I am planning a new project and I wonder what the differences are between the two versions. This seems to be a big leap between the two versions, but right now I can’t find the difference.

Can I use version 4.1?

Thanks for the help!

+5
source share
1 answer

Transition to v4 is the result of a merger with io.js taken from a blog

Node.js v4.0.0 contains V8 v4.5, the same version of V8 that ships with the Chrome browser today. This brings with it many bonuses for Node.js, especially many new ES6 features that are enabled by default, including scope, classes, typed arrays (Node Buffer is now supported by Uint8Array), generators, Promises, Symbols, pattern strings, collections ( Map, Set, etc.) And new for V8 v4.5, arrow functions.

As for breaking changes between old and new version lines, you need to look here to make sure that it meets your criteria for "safe".

I recommend that you install node with nvm (if you have not already done so) and just play with the two versions see if you are comfortable switching now.

+6
source

All Articles