Initial Release
In the TC meeting today we came up with a vision for the first release.
First, a few assumptions we've internalized that probably need to be stated for this to make sense.
- Node is pretty damn stable already. There are huge companies with it in production, 100K+ modules, etc. It is already far more stable that its pre-1.0 release tag suggests.
- Releasing more frequently leads to a more stable product, not a less stable product.
- The entire ecosystem uses semver while node uses a confusing even/odd release structure.
If people disagree with any of those assumptions then they certainly won't agree with anything the TC determined for the initial release.
So, first release of io.js:
- January 13th (Fedor's Birthday!) target date.
- Will be 1.0-alpha1, with alpha releases continuing until 1.0.0.
- Switching to semver.
- We will be taking new v8 releases as fast as possible moving forward.
- Trying to get to a weekly release cycle. Which version number is incremented each week is determined by the changes and whether or not they are breaking. Again, following semver.
Some questions still left open:
- Are there any changes other than dep upgrades and fixes required for 1.0?
- Is
buildconfident we can have enough automation in place to hit this date. - Is the plan to have the installer install an
iojsbinary and an alias tonode?
@rvagg sounds good @mikeal automation is great and we run our own repos for rpms of some components but unfortunately automation isn't feasible for most of It. We're in some mission critical places where networks are heavily isolated, and similar to what Rod says about customers requiring long term support on sw configurations that are locked down for a long period of time.
Maybe it's a common question, but - a part of tech stuff, what happens to the production and/or enterprise node based ecosystem if we choose to move to io.js? The project seems challenging, but will the modules developers move to io.js all together? Supposed that it's fully compatible with node in the next future - and that's great, what's the opinion of mainstream node modules developers? Every one is happy about this? I'm not talking about Ryan Dahl & co, but to node modules developers that is the real core of node. If they do not support this fork, what happens? Thanks.
What about 1.0 for alpha and 1.0.1 for final release? imo this is less confusing.
@loretoparisi I think it's easy to answer your concern if Node proper development stays stagnant; However, if for some reason there is a change in activity on Node that could create some significant contention, and/or a battle for developers/contributors.
@loretoparisi I think this will be comparable to the kind of adoption we see of any major release of Node, people migrate their servers and development environments to it as time allows or right away if they are excited about something present in the new release.
Nice guys! Are streams changing?
Ah, I think I misunderstood the weekly release cycle to mean that new versions were coming every week (1.0.0, 1.0.1, 1.0.2, ...). It sounds like you just meant that you would cut a new build every week. :+1:
LTS is definitely something that's been discussed by the TC (previously in node-forward form) and something that a lot of us want. Even if it ends up being too difficult for the TC here, we at NodeSource would certainly be interested in investing in helping maintain a regular series of LTS releases--a significant portion of our customers are on the RHEL release cycle where they are used to getting platform support for (literally) decades.
FWIW, so would StrongLoop (and me personally) for pretty much the same reasons.
Details TBD: release schedules, how long to support each LTS release, how to manage dependencies (npm, v8, libuv, openssl), etc.
If other companies are interested in LTS releases and can commit resources to it (be they human or otherwise), now would be a good time to speak up. :-)
I think that's great to have a fork of Node.js, that would bring more support, stability and bugs catching and fixing. But What about the npm modules, how can they support both node.js and io.js especially when they diverge. Could io.js lose support of npm modules ?
There could be some breakage, but I think project aims to be compatible while moving forward. I think compatibility with "essential" (express, socket.io, etc) modules is(should be?) one of the goals
Backward compatibility has always been a must. This is no different than other node major releases. Locked modules don't change, stable ones keep stable interfaces. Experimental ones might change, but that's been seldom. Some are more arguably broken like domains, so change is more likely.
The ABI changes with V8, but their assurances are that that is settling down, and their API is getting more stable. Binary linked modules are still shifting sands, but developers who want a stable api or abi are encouraged to participate and to experiment with projects like nan.
This is a fork of node but also sharing developers. Lots of opportunities to stay compatible. Test and give feedback, listen for proposed breaking or big changes. Pay attention to how stable the interface is for a module when you use it.
What about compatibility with node? io.js must have the same API as node? Or they will eventually diverge?
Can't predict the future, but nobody's going to break things on purpose. For now, compatible. If someone starts making hard-to-stay-compatible-with decisions that have problems, then we'll start seeing divergence.
I mean issues like #9, #11, and #5. These are huge breaking changes.
@madbence only #5 is a breaking change of those you list.
@domenic my bad, you're right about #11. Maybe I misunderstand #9, but for me it means that I have to list eg. http as a dependency (if it's not part of the core), so every npm module that uses http will break. Fix me if I'm wrong :-)
@madbence I mean it's a pretty vague idea but I'd imagine that core comes bundled with some modules that you can override local versions of in your project using npm.
I thought #9 is about developing projects separately (like libuv and node) ...
Yeah, #9 is about making the core be multiple separate projects that get packaged up at the build step and that is what is distributed. It may or may not be a breaking change.
WRT ES6 and Promises, I would certainly like to see a future where promisify-type methods aren't required. I've filed #88 for this. But that wouldn't be a backwards-incompability, except maybe for some existing functions which both take a callback and return a value. I don't know any of those off the top of my head.
WRT "changes other than dep upgrades and fixes required for 1.0" -- I think you shouldn't get hung up on the number. If there are incompatible changes that "should be made", just do them after 1.0 and increment the appropriate part of the version number as per semver. Lots of people use current node, it's plenty good enough to label as 1.0.
(My candidate for future possibly-incompatible change would be some reconciliation between node modules and ES6 modules -- but that's far in the future, no sense holding up 1.0 for it.)