4 ms·
Good lord people... 1. There is no one forcing you to upgrade, 4.2 is LTS, you've got 2yrs+ 2. 5.0 followed 4.0 so closely because 4.0 was the iojs/node merge
by joshstrange 11y ago
Good lord people...
1. There is no one forcing you to upgrade, 4.2 is LTS, you've got 2yrs+
2. 5.0 followed 4.0 so closely because 4.0 was the iojs/node merge and 5.0 was to correspond with the new V8 release, future major bumps will be closer to 6mo (to match V8)
- jt2190 11y agoThe LTS plan: https://github.com/nodejs/LTS https://github.com/nodejs/LTS
- sago 11y ago'Good lord' is a bit strong. Chicken little isn't needed, I agree, but the concern is real. In a real application, using ecosystem packages, it is fine to decide on a fixed target. But, if the core system is moving quickly, chances are the better packages will be moving quickly too. The fear is that there'll be a necessary change in a package (a security issue, or a bug that only surfaces under rare situations, for example), which can cause a cascading upgrade to the whole app. One that needs to be performed quickly. This has happened to me once, and it wasn't pretty. It is a concern for any platform, of course, but fast moving ones do 'feel' like they increase the risk. It's therefore a valid question to ask if there are people deploying code in long-term projects, and what the burden is in practice. Since we don't have empirical data (that I know about). A lot of the Node community does seem to be made up of people creating apps, and enjoying the latest and greatest functionality. There is fewer information from folks running apps long term in mission critical scenarios. That's not a criticism, at all, just an observation: if you are in the latter camp, or considering whether to be, getting good information is harder. Technical debt, in terms of platform choice, is important.
- coldtea 11y ago>1. There is no one forcing you to upgrade, 4.2 is LTS, you've got 2yrs+ And in 2 years, when we take a peak we see that the changes amassed in between by the non LTS releases are so big we have to pretty much rewrite all of our codebase if we want to continue getting support....
- tkone 11y agoi have an app that was written for 0.8 three years ago. it is running on 4.2 with no modification. (it doesn't use any binary add ons). javascript is almost entirely backwards compatible because they can't break the web. Other apps that require binary add ons required me to install the latest versions from NPM -- one one of them required ANY changes to how the API was called and it was extremely minor. Waiting 2 years to upgrade the engine your code is running on is not horrible and requires much less pain
- antjanus 11y agothis is such a good point. I was running on the same version, then I upgraded to 0.10, 0.11, and finally 0.12 and run test on ioJS. There were no major changes to be made. I think I'll just add Node 5.0 to CI and see if it passes and that's all there is to it really.
- coldtea 11y agoYeah, but the pain comes from: binary packages, and even pure-js projects that move fast and break things -- you can easily end up with 50 or 200 dependencies for a large node project (not merely some micro-service), especially as packages depend on each other with wild abandon even for trivial stuff they could have wrote themselves.
- apalmer 11y agoThis is the fundamental problem. As an engineer you have to weigh every single dependency as a cost. If you take a dependency on 200 packages, then NOTHING is going to save you long term as things break. More or Less, Joyent was mostly doing what they were doing for a reason. What the io.js team is doing also has validity but fundamentally you will always see these issues to some extent because of the philosophy behind it.
- deleted 11y ago[deleted]
- foolfoolz 11y agoIf you are at 5.x today, and 6.x sometime next year, as a library author why would you - next year - decide to write a package for something for 4.x? That is 2 major versions outdated. If it's really major bumps every 6 months and 7.x comes out next year too, who's going to be writing new stuff for 4.x? Most new packages will probably support the current version, and then your LTS window of 2 years doesnt mean much.
- dragonwriter 11y ago> If you are at 5.x today, and 6.x sometime next year, as a library author why would you - next year - decide to write a package for something for 4.x? Because the target user community of what you are writing consists of the kind of users that are likely to use LTS releases. > Most new packages will probably support the current version, and then your LTS window of 2 years doesnt mean much. You don't choose LTS because you want support for every new packages that haven't been written yet on the day they come out, you choose LTS because you've got something for which you want to have a stable platform with bug fixes, rather than an unstable platform with breaking changes, and are willing to not have access to the newest platform features or the newest third-party libraries that depend on them to get that stability.
- actualprogram 11y agoIf by "match V8" you mean "skip most V8 changes"? V8 revs on par with Chrome, at a pace about four times what you say. Turns out that despite pillorying Joyent for sticking to V8 major versions, it is the only reasonably-correct thing to do for the ecosystem to remain usable.
- Fishrock123 11y ago"V8 Major versions"
- actualprogram 11y agoio.js made a lot of noise about this, and has reached a "compromise" position that is indistinguishable to the end-user - or is LTS going to take V8 version bump over its 2.5-year life? No? Then take your scare quotes and bang your drum elsewhere, because from where I stand, the new boss is pretty much the same as the old boss.