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

@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.

darrenderidder avatar Dec 04 '14 00:12 darrenderidder

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.

loretoparisi avatar Dec 04 '14 13:12 loretoparisi

What about 1.0 for alpha and 1.0.1 for final release? imo this is less confusing.

YurySolovyov avatar Dec 04 '14 13:12 YurySolovyov

@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.

kenperkins avatar Dec 04 '14 15:12 kenperkins

@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.

mikeal avatar Dec 04 '14 15:12 mikeal

Nice guys! Are streams changing?

gx0r avatar Dec 04 '14 16:12 gx0r

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:

nonsensery avatar Dec 04 '14 16:12 nonsensery

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. :-)

bnoordhuis avatar Dec 04 '14 17:12 bnoordhuis

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 ?

elghazal-a avatar Dec 05 '14 13:12 elghazal-a

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

YurySolovyov avatar Dec 05 '14 13:12 YurySolovyov

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.

aredridel avatar Dec 05 '14 14:12 aredridel

What about compatibility with node? io.js must have the same API as node? Or they will eventually diverge?

madbence avatar Dec 05 '14 15:12 madbence

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.

aredridel avatar Dec 05 '14 15:12 aredridel

I mean issues like #9, #11, and #5. These are huge breaking changes.

madbence avatar Dec 05 '14 15:12 madbence

@madbence only #5 is a breaking change of those you list.

domenic avatar Dec 05 '14 15:12 domenic

@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 avatar Dec 05 '14 15:12 madbence

@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.

domenic avatar Dec 05 '14 15:12 domenic

I thought #9 is about developing projects separately (like libuv and node) ...

YurySolovyov avatar Dec 05 '14 15:12 YurySolovyov

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.

gkatsev avatar Dec 05 '14 16:12 gkatsev

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.)

cscott avatar Dec 05 '14 18:12 cscott