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?
w/r/t a symlink/alias for the node executable:
I think an alias to node would be useful but not by default. An uneducated user who doesn't know about the relationship between iojs and Node might not be expecting it.
Frequently in the scripts section of npm's package.json, a module will have this:
"scripts": {
"install": "node scripts/install.js"
}
Why? Windows doesn't know what to do with a shebang:
#!/usr/bin/env node
...so the install script cannot be simply be an executable scripts/install.js.
If someone is using iojs, and no node executable is present, the package will fail to install.
If I understand how running scripts with npm works, a potential hack around this would be for the npm packaged with iojs to attempt to put a symlink to the iojs executable at ./node_modules/.bin/node. (Assuming you can do that sort of thing with Windows; I'm a bit out of practice.)
(Edited to reflect proposed name of executable in /node-forward#19)
Out of curiosity, will io.js pull commits from node.js that make sense to apply, preserving some common git history beyond today?
@jamonholmgren we already have pulled a couple in :)
This is awesome!
What do you think about the idea of adding iojs to n and nvm?
Easy to switch between versions for developers + should then work in all CI servers who support n/nvm.
Adding to nvm would be such a great thing, easy install = easy testing = easy adoption.
@JamesKyburz @naholyr that is currently being discussed in #40
@cjihrig ok thx!
FWIW, nvm doesn't deal with symlinks at all. It works by putting a certain
version of node's bin folder front in the user's path in their current
shell session. Thus a user is able to have multiple shell sessions going
on at once with different versions of node in each one. And it can do this
without a subshell. n and nave use two other techniques and have their
own strengths and weaknesses.
But this means that if you want node in your path to run a certain
version of iojs, there needs to be a node binary in the iojs bin folder
or putting it first in the PATH won't mean anything.
On Sat, Dec 6, 2014 at 2:08 PM, James Kyburz [email protected] wrote:
@cjihrig https://github.com/cjihrig ok thx!
— Reply to this email directly or view it on GitHub https://github.com/iojs/io.js/issues/28#issuecomment-65911762.
I think aliasing iojs to node should be used. It's generally a good practice, have a look at mysql/mariadb. You just install maria and you're ready to go. Another option is to use iojs as a sub-version of node, which would still allow seamless switching.
looking forward to use my n-semver with semver'ed io.js :)
io.js takes a good direction, exciting!
I was in doubt with node.js but I started to learn ES6 just by confidence in IO.JS to be the next platform
will it be released today?
@siliconprime-tung: It has been released already! Get io.js v1.0.1 here: https://iojs.org/
This issue should be closed.
Congrats all! Closing this as fixed. :heart:
Glad to see it.