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?
@domenic I would be cautious about a brand new build, release and test system. I'd like to put out some alphas that people can use just to shake out any bugs and build confidence before we stamp something 1.0.
That makes sense. Would just like to suggest making some sort of explicit commitment that the goal is to get a 1.0.0 out within a few releases or some time period. Maybe revisit the details of the commitment when 1.0.0-alpha.1 lands so you can take stock of what people think of the release.
All I'm saying is that as-is, the only stated goal is 1.0.0-alpha.1, with no thought toward a real 1.0.0, which makes me nervous that we'll end up like Ember and play around in the alpha/beta stage for half a year (similar to 0.12 being stuck in the 0.11 stage for ... well, forever).
@domenic all good points, I guess we should probably state that "no features will be added between 1.0-a1 and 1.0"
How about:
The goal of not immediately releasing
v1.0.0is to provide a buffer betweenv1.0.0-alpha1andv1.0.0to allow the build process to mature.
:+1:
@kenperkins perfect :)
I think this should work, but it should check if node is already installed and not alias if it is.
The problem with this is that the installer also installs npm which is going to link to a different node than the one accessible by node if already installed. Apparently, package managers have a way to mark a package as "conflicting" with another. We can use this to ensure proper warnings when installing iojs where nodejs may have already been installed.
Apparently, package managers have a way to mark a package as "conflicting" with another.
For sure, I guess it just makes testing/migrating to the other one slightly trickier.
:+1: :clap:
I wonder what the plan is regarding the adoption of ES6 features. Specifically, modules and promises. iojs currently has competing technologies, and it could potentially transition. Would that trigger a major version increment, and therefore, be the 2.0.0 version?
@espadrine also very curious about that, that is ES6's general role in io.js. Given ES6 brings quite a large number of changes there will be a large amount of questions coming up.
Any ideas how & where to manage ES6 related issues? A meta issue, a label? If there already is documentation I apologise and humbly ask for a link.
@SomeoneWeird well, let's be clear and honest about all this. iojs is an alternative/replacement for the node binary distributed by Joyent. In this, I would expect test/migrating between the two to be similar in difficulty as testing/migrating to any new version of node.
@ehd and @espadrine one thing at a time, how about we release a stable version where generators don't require a rebuild :) But seriously, just taking new versions of v8 with some regularity will be miles ahead of where we are today.
@mikeal Fair point, agreed.
ES6
I think the responsible thing to do here is to take ES6 features as fast as v8 is adding them and then observe what effect that has in the ecosystem before making alterations to core. Seeing how the features are used should be a central part of deciding how they might be adopted in core and until we are taking new v8 releases regularly we can't really do that.
@mikeal That sounds like a great plan. I'll get behind anything that empowers experimentation in the ecosystem and it looks like io.js will do a great job of that :)
I think the responsible thing to do here is to take ES6 features as fast as v8 is adding them and then observe what effect that has in the ecosystem before making alterations to core.
I agree with this in general. For example everyone likes to talk about modules (which of course aren't in V8 yet and there aren't any commits showing progress in that direction, but that's another story). I think the fair thing to do is let the community build integration tooling, module loader, etc. and see what people like, before rolling the best solution into core.
FWIW the only features of ES6 that I think could potentially impact io.js core at all are modules and promises. Everything else (classes, arrow functions, etc.) really only impacts user code. Maybe proxies and weak maps would let us move some stuff out of C++ into JS.
@domenic I think Promises don't need to affect core at all. They can remain in user code. Modules are the only conflicting feature. ES6 has 0 conflicts with ES5. Node.js only added CommonJS, and nothing else.
This is really exciting! Thanks for pulling the trigger on this.
What's the official message in terms of eco system fragmentation?
@alexgorbatchev there is no ecosystem fragmentation, there are 100K+ modules in npm that will work on iojs just like they work on nodejs. the only thing that is fracturing is the effort being put in to core, but if you take a look at the contribution graph for joyent/node there's nowhere to go but up :)
Very much looking forward to seeing where all this goes. :+1:
Is the plan to have the installer install an iojs binary and an alias to node?
Could it also create an io alias as long as it doesn't conflict with Io? Much nicer to type.