Skip to content

feat: upgrade to Node 12 (master)#17838

Merged
zcbenz merged 14 commits intomasterfrom
node-12-master
Apr 26, 2019
Merged

feat: upgrade to Node 12 (master)#17838
zcbenz merged 14 commits intomasterfrom
node-12-master

Conversation

@zcbenz
Copy link
Copy Markdown
Contributor

@zcbenz zcbenz commented Apr 17, 2019

Description of Change

Upgrade to Node 12 on master branch.

Cherry-picks changes from #17752 and #17828, node module version uses 71.

Checklist

Release Notes

Notes: Upgrade to Node 12

@zcbenz zcbenz requested a review from a team as a code owner April 17, 2019 10:44
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Apr 17, 2019
@codebytere codebytere changed the title Upgrade to Node 12 (master) feat: upgrade to Node 12 (master) Apr 17, 2019
Comment thread build/args/all.gn Outdated
root_extra_deps = [ "//electron" ]

# Registry of NMVs --> https://github.com/nodejs/node/pull/24114/files
node_module_version = 71
Copy link
Copy Markdown
Member

@deepak1556 deepak1556 Apr 17, 2019

Choose a reason for hiding this comment

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

we are on v8 7.5 in master, but this number doesn't matter in master. I am thinking if we should have a gclient hook that pulls the right number from that json registry if one is available, which might be useful sanity check when we cut branches,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This number shouldn't be 71, it is in direct conflict with node. We should request another number in that JSON registry and set this to that number.

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.

Requested here: nodejs/node#27288

@deepak1556 deepak1556 requested a review from a team April 17, 2019 17:35
Copy link
Copy Markdown
Member

@MarshallOfSound MarshallOfSound left a comment

Choose a reason for hiding this comment

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

@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Apr 18, 2019
Copy link
Copy Markdown
Member

@codebytere codebytere left a comment

Choose a reason for hiding this comment

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

✅ now that the last nmv concern has been addressed.

@zcbenz zcbenz merged commit a4fcc32 into master Apr 26, 2019
@release-clerk
Copy link
Copy Markdown

release-clerk Bot commented Apr 26, 2019

Release Notes Persisted

Upgrade to Node 12

@zcbenz zcbenz deleted the node-12-master branch April 26, 2019 09:55
MarshallOfSound pushed a commit that referenced this pull request Apr 29, 2019
* fix: add boringssl backport to support node upgrade

* fix: Update node_includes.h, add DCHECK macros

* fix: Update node Debug Options parser usage

* fix: Fix asar setup

* fix: using v8Util in isolated context

* fix: make "process" available in preload scripts

* fix: use proper options parser and remove setting of _breakFirstLine

_breakFirstLine was being set on the process, but that has changed in node 12 and so is no longer needed. Node will handle it properly when --inspect-brk is provided

* chore: update node dep sha

* fix: process.binding => _linkedBinding in sandboxed isolated preload

* fix: make original-fs work with streams

* build: override node module version

* fix: use _linkedBinding in content_script/init.js

* chore: update node ref in DEPS

* build: node_module_version should be 73
@trop
Copy link
Copy Markdown
Contributor

trop Bot commented Apr 29, 2019

A maintainer has manually backported this PR to "6-0-x", please check out #18044

1 similar comment
@trop
Copy link
Copy Markdown
Contributor

trop Bot commented Apr 29, 2019

A maintainer has manually backported this PR to "6-0-x", please check out #18044

@trop trop Bot added the in-flight/6-0-x label Apr 29, 2019
MarshallOfSound added a commit that referenced this pull request Apr 29, 2019
* fix: add boringssl backport to support node upgrade

* fix: Update node_includes.h, add DCHECK macros

* fix: Update node Debug Options parser usage

* fix: Fix asar setup

* fix: using v8Util in isolated context

* fix: make "process" available in preload scripts

* fix: use proper options parser and remove setting of _breakFirstLine

_breakFirstLine was being set on the process, but that has changed in node 12 and so is no longer needed. Node will handle it properly when --inspect-brk is provided

* chore: update node dep sha

* fix: process.binding => _linkedBinding in sandboxed isolated preload

* fix: make original-fs work with streams

* build: override node module version

* fix: use _linkedBinding in content_script/init.js

* chore: update node ref in DEPS

* build: node_module_version should be 73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants