node icon indicating copy to clipboard operation
node copied to clipboard

Initial Release

Open mikeal opened this issue 12 years ago • 97 comments

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 build confident we can have enough automation in place to hit this date.
  • Is the plan to have the installer install an iojs binary and an alias to node?

mikeal avatar Dec 02 '14 22:12 mikeal

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)

boneskull avatar Dec 05 '14 19:12 boneskull

Out of curiosity, will io.js pull commits from node.js that make sense to apply, preserving some common git history beyond today?

jamonholmgren avatar Dec 06 '14 06:12 jamonholmgren

@jamonholmgren we already have pulled a couple in :)

mikeal avatar Dec 06 '14 16:12 mikeal

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.

JamesKyburz avatar Dec 06 '14 18:12 JamesKyburz

Adding to nvm would be such a great thing, easy install = easy testing = easy adoption.

naholyr avatar Dec 06 '14 18:12 naholyr

@JamesKyburz @naholyr that is currently being discussed in #40

cjihrig avatar Dec 06 '14 20:12 cjihrig

@cjihrig ok thx!

JamesKyburz avatar Dec 06 '14 20:12 JamesKyburz

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.

creationix avatar Dec 07 '14 02:12 creationix

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.

im-evo avatar Dec 07 '14 09:12 im-evo

looking forward to use my n-semver with semver'ed io.js :)

guybrush avatar Dec 09 '14 00:12 guybrush

io.js takes a good direction, exciting!

Nicolab avatar Dec 13 '14 22:12 Nicolab

I was in doubt with node.js but I started to learn ES6 just by confidence in IO.JS to be the next platform

Solido avatar Jan 08 '15 20:01 Solido

will it be released today?

siliconprime-tung avatar Jan 14 '15 08:01 siliconprime-tung

@siliconprime-tung: It has been released already! Get io.js v1.0.1 here: https://iojs.org/

mathiasbynens avatar Jan 14 '15 08:01 mathiasbynens

This issue should be closed.

MoOx avatar Jan 14 '15 08:01 MoOx

Congrats all! Closing this as fixed. :heart:

chrisdickinson avatar Jan 14 '15 08:01 chrisdickinson

Glad to see it.

davidhuang3 avatar Jan 14 '15 08:01 davidhuang3