Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Upgrade to Node v4.x - #449

Merged
thomasjo merged 6 commits into
masterfrom
tj-bump-node-to-v4
Oct 14, 2015
Merged

thomasjo merged 6 commits into
masterfrom
tj-bump-node-to-v4

Conversation

@thomasjo

Copy link
Copy Markdown
Contributor

I reckon it's about time to head for greener pastures — Node v4. Ensuring apm runs on v4 should help @jlord with getting Atom to run on ARM machines. In addition Node v4 has all the performance improvements, ES6 support, bug fixes, etc. that were added to io.js.

I experimented with bumping npm to v3 (3.3.6) but that proved less trivial due to the removal(?) of peerDependencies, so that will require more changes, and testing.

Note that I also bumped npm to v2.14.7 (latest stable v2 version as of writing this); I can easily yank that change if someone wants to keep the changeset here as minimal as possible.

/cc @atom/feedback


Supersedes #430
Refs atom/atom#7822

@thedaniel

Copy link
Copy Markdown
Contributor

I'm happy about 4.2 because it's their first LTS release as well, which is something node really needs and we'll benefit from.

@thomasjo

Copy link
Copy Markdown
Contributor Author

I'm happy 4.2 because it's their first LTS as well, which is something node really needs and we'll benefit from.

That's a really good point that I completely forgot to mention! Thanks for the heads up 🙇

@thomasjo
thomasjo force-pushed the tj-bump-node-to-v4 branch 2 times, most recently from 54df923 to ab67057 Compare October 13, 2015 18:28
@thomasjo

Copy link
Copy Markdown
Contributor Author

I've rebased this after a bunch of experimentation getting the build correct on Travis CI, but everything is working now. Hence I believe this is good to go 🚀

Comment thread .travis.yml Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm okay removing v0.10 since we are completely moving past support for it, any concerns there?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mostly left it in for legacy reasons, so no concerns about removing it. Want me to keep stable? For the time being stable is aliased to 4.2, so we're building against the same version twice. I don't think stable will follow along with Argon releases (v4.2.x), assuming I understand their LTS system correctly — I think we should stick with LTS for the time being to minimize our own effort keeping this thing running on the "bleeding edge" releases.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think pinning to the version we ship is fine so just v4.2 and we can just upgrade here when we upgrade versions going forward.

@abe33

abe33 commented Oct 14, 2015

Copy link
Copy Markdown
Contributor

👏 Definitely waiting for this as well!

@jlord

jlord commented Oct 14, 2015

Copy link
Copy Markdown

Awesome! This will make ARM testing so much smoother ✨

thomasjo added a commit that referenced this pull request Oct 14, 2015
@thomasjo
thomasjo merged commit c76a5d8 into master Oct 14, 2015
@thomasjo
thomasjo deleted the tj-bump-node-to-v4 branch October 14, 2015 18:19
@thomasjo

Copy link
Copy Markdown
Contributor Author

I guess someone on the core team will need to cut a new release since this is an npm package.

@joefitzgerald

Copy link
Copy Markdown
Contributor

🎉

@kevinsawicki

Copy link
Copy Markdown
Contributor

👍

@nathansobo

Copy link
Copy Markdown
Contributor

Hey, I've reverted this merge due to issues with Atom's build on CI. Not quite sure what's going on there, but Atom needs to build reliably on CI with this version of apm before we proceed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants