Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start running tests on Node.js v12. #2983

Merged
merged 2 commits into from
Jul 3, 2019
Merged

Start running tests on Node.js v12. #2983

merged 2 commits into from
Jul 3, 2019

Conversation

abernix
Copy link
Member

@abernix abernix commented Jul 3, 2019

While not currently a so-called "Long-Term-Support" (LTS) release, Node.js v12 is on target to become LTS in October 2019 and Node.js 8 will end LTS earlier than previous even-numbered Node.js releases.

See the Node.js schedule: https://github.com/nodejs/Release#release-schedule

With that only a few months away, it's time to start getting a read on whether we're going to pass tests in that new engine.

This required the removal of meteor-promise and fibers from the root package.json manifest - since fibers@3 doesn't support Node.js 12 but fibers@4 doesn't support Node.js 8 — a temporary conundrum until we drop Node.js 8 support in Apollo Server 3!), but those packages were entirely unused anyhow, so we're not losing anything by doing this, though I'm certainly questioning when that removal happened and how it might have affected Meteor users!

abernix added 2 commits July 3, 2019 17:23
While not currently a so-called "Long-Term-Support" (LTS) release, Node.js
v12 is on target to become LTS in October 2019 and Node.js 8 will end LTS
earlier than previous even-numbered Node.js releases.

See the Node.js schedule: https://github.com/nodejs/Release#release-schedule

With that only a few months away, it's time to start getting a read on
whether we're going to pass tests in that new engine.
…ely.

While originally introduced in
#92 to accommodate
Meteor, it seems that we're no longer making `Promise`s Fiber-aware using
the `meteor-promise` library which leverages `fibers` under-the-hood.

Since this package seems to be the sole reason that bootstrapping is failing
on Node.js 12.  To support Node.js 12, we could update to `fibers@4` which
accommodates changes to the V8 API which have been made in recent Node.js
versions, the `fibers@4` implementation is only compatible with Node.js 10
and 12 and is incompatible with Node.js 8, which we still actively support
(though not for much longer!).
@abernix abernix merged commit 5235716 into master Jul 3, 2019
@abernix abernix deleted the abernix/test-node-12 branch July 3, 2019 17:14
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 22, 2023
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.

1 participant