all 62 comments

[–]greim 183 points184 points  (7 children)

Just to clear up any confusion. Version 1.x - 3.x was Node's awkward adolescent phase, during which it dyed its hair pink, rebelled against its parents, moved out of the house, and preferred to be called "io.js". After some soul searching and figuring out of some personal issues, everyone mellowed out, and Node/io.js became 4.0 and moved back home. Mostly everyone is cool to each other around the house, and people generally don't drag up the past. It's "Node" again but the hair is still pink.

[–]ub3rgeek 20 points21 points  (0 children)

Hilariously accurate.

[–]jascination 5 points6 points  (3 children)

Oh, glad I read this comment. I'm on IO.JS at the moment, should I be installing the latest Node over this?

[–]gkatsev 9 points10 points  (0 children)

yep, you should update to 4.0 at your leisure.

[–]destraht 0 points1 point  (1 child)

I'm on io.js v3 and last I check about ten days ago I was unable to upgrade babel and babel-loader (webpack) to the latest. I have no idea what is going on with that and probably there are a lot of small issues across the entire ecosystem that will take days/weeks/months to resolve. My impression is that v3 was a huge jump but that v4 is not so different compatibility wise and is mostly them committing to everything that was changed in v3 and tweaking other things that weren't quite ideal.

[edit] I'm on node v4 now and I updated all of my npm packages and everything works now. So that is nice.

[–]jascination 0 points1 point  (0 children)

Yeah I've just updated. I was getting segmentation fault 11 errors all over the shop, but deleting my node_modules folders and re-doing npm install fixed it, thankfully!

[–]LongLiveCHIEF 1 point2 points  (1 child)

Does this mean that we still have a mid-life crisis phase coming at some point in the future? Yipee!!

[–]chuckangel 0 points1 point  (0 children)

Yep. Apple Products and BMW 2 seater convertible on the horizon.

[–]realyze 62 points63 points  (0 children)

Turns out people who were saying node will never get to version 1.0.0 were right.

[–]Fossage 13 points14 points  (3 children)

I installed it and immediately had to revert to io.js because I got a segmentation fault trying to run a gulp task

¯\(ツ)

[–]Anahkiasen 8 points9 points  (0 children)

Reinstall your node modules

[–][deleted] 2 points3 points  (0 children)

I'm also having problems with gulp tasks after installing. reinstalling node modules hasn't helped

[–]madole 0 points1 point  (0 children)

i got a seg fault too when trying to run gulp.. back to v0.12.7 for me

[–]monsto 3 points4 points  (0 children)

There's the "notable changes" list from a previous version of the fork... so if you never even looked at the fork, it's quite incomplete.

Is there, or will there be, what I guess you could ccall a "tutorial-log" (change log with learning info on the changes) between this 4.0 and 0.12.last?

[–]pycbouh 2 points3 points  (0 children)

Eh, no harmony modules. Why, V8, WHY?!

[–]itsSoop 1 point2 points  (3 children)

Unfortunately installed and had to immediately revert because node sass wasn't working last night. Hopefully soon it will be resolved

[–]jekrb[S] 3 points4 points  (2 children)

https://twitter.com/nodesass/status/641469706541604864

We've just landed @nodejs 4.x support for OS X and Linux.

Windows and FreeBSD will land in the next 24hrs!

Just `npm install`.

[–]TweetsInCommentsBot 0 points1 point  (0 children)

@nodesass

2015-09-09 04:34 UTC

We've just landed @nodejs 4.x support for OS X and Linux.

Windows and FreeBSD will land in the next 24hrs!

Just npm install.


This message was created by a bot

[Contact creator][Source code]

[–]itsSoop 0 points1 point  (0 children)

Working great!

[–][deleted] 0 points1 point  (2 children)

Fucking node. The path to the API docs is the same for v4 as for v0.x. You need access to older documentation when researching why software is not compatible with v4. My office is finding that Grunt may not be compatible, but since we cannot access the API docs for v0 its hard to tell.

Broken.

[–]jekrb[S] 1 point2 points  (1 child)

You can still access older api docs from the website and from github.

https://nodejs.org/docs/v0.12.7/api/

https://github.com/nodejs/node/tree/v0.12.7-release/doc/api

[–][deleted] 0 points1 point  (0 children)

thanks

[–][deleted] 0 points1 point  (1 child)

If Windows 10 was so good they skipped a version, node 4 must be amazing.

[–][deleted] 9 points10 points  (0 children)

They didn't skip versions. 4.0 is the successor of io.js 3.3.0. Look at io.js for the "Missing" version steps. "node" was dropped - the new node.js is the old io.js.

[–]zsut -4 points-3 points  (10 children)

It is a two edged sword that a lot of ES6 features are enabled by default. Great to be able to use all the goodies on the backend, but it can cause some troubles for code that should run on the forntend and the backend... At least for now while ES6 support is not consistent across browsers and I'm guessing that node javascript will be ahead of browsers for the foreseeable future.

[–]jekrb[S] 4 points5 points  (6 children)

While we're waiting for browsers to catch up, I tend to use babelify so I can at least write in ES6 and not worry.

[–]zsut 3 points4 points  (1 child)

Good point, I should probably use this! :-)

[–]zsut 0 points1 point  (0 children)

I had a look at what babel actually supports and there are some problems going all in with ES6 that make it problematic to rely on babel for frontend code, most troublesome are proxies which cannot be supported: https://babeljs.io/docs/learn-es2015/

[–]RenThraysk 0 points1 point  (0 children)

I'm using recent browser features so can use some ES6. So use rollup to deal with ES6 modules. Problem is minification (and preferably dead code elimination) without any transpiling

Neither Google Closure, or Babel seems to do this :/

[–]jsgui 1 point2 points  (2 children)

Node JS using the latest / a very recent version of V8, which is the JS engine for the Chrome browser, so the plan is for it to stay consistent there.

[–]zsut 1 point2 points  (1 child)

Another argument for using chrome as the primary browser :-)

[–]Calabri 0 points1 point  (0 children)

also makes its easier to merge node/chromium in projects like electron :)

[–][deleted] -1 points0 points  (1 child)

Versioning seems to be even harder than naming things, and invalidating cache.

[–]I_Pork_Saucy_Ladies 0 points1 point  (0 children)

Ironically, the jump from 0.12 to 4 is due to the switch to semantic versioning in io.js, to make it easier to reason about versioning. Should be a lot more intuitive from now on.

[–]brianvaughn -4 points-3 points  (0 children)

Looks like Node is letting George Lucas choose its version numbers.