-
Notifications
You must be signed in to change notification settings - Fork 30k
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
create vee-eight-4.9 branch #4722
Conversation
@targos Can you cherry pick e9f499e and b83a33f as the solution for nodejs/build#304? |
Oh, I see that you already added that commit to your list. You can ignore the previous message. |
@targos I updated to 4.9.385.11, and added some commits here: https://github.com/ofrobots/node/commits/vee-eight-4.9. With this the tests are now fully passing. There are still some deprecation warnings that need to be ironed out, but this is looking good to land into the Your commits LGTM. |
@ofrobots thanks, I picked up your branch here |
thanks @ofrobots. I updated the proxy tab-completion test. |
/cc @nodejs/addon-api, also see #4869, I haven't looked at this but it sounds like there's enough movement that it impacts NAN. Node.js v6 will be out with at least V8 v4.9, hopefully V8 v5.0. |
Part of the problem here has been that we are only now getting to integrating V8 4.9 with Node.js. V8 4.9 is not stable yet, so if there is a deal breaker deprecation, let's provide the feedback to the V8 team and see what can be one. |
I pushed two new V8 deprecation-related commits. Perhaps we could go with a review of the PR as it is now, merge it into |
@targos Your commits LGTM. Someone else will have to review mine. |
ping @nodejs/v8 for additional review |
@targos perhaps you can review my commits. |
Style nits but otherwise LGTM. |
Pick up the current branch head for V8 4.9 v8/v8@1ecba0f PR-URL: nodejs#4722 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
PR-URL: nodejs#4722 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
PR-URL: nodejs#4722 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
- An error message changed for undefined references - `let` is now allowed in sloppy mode - ES2015 proxies are shipped and the `Proxy` global is now a function PR-URL: nodejs#4722 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Proxies support is now complete in V8. The tests needed slight modification to match the spec implementation. PR-URL: nodejs#4722 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
PR-URL: nodejs#4722 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
PR-URL: nodejs#4722 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
PR-URL: nodejs#4722 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
PR-URL: nodejs#4722 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
This commit documents Node.js compatibility for function rest parameters. This mainly depends on V8 but I tracked the relevant Node versions, commits and PRs. Flagged support (V8 4.4): - [Node.js changelog entry for version 3.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_IOJS.md#2015-08-04-version-300-rvagg) - [Pull Request](nodejs/node#2022) - [Commit, with anchor to relevant line](nodejs/node@70d1f32f56#diff-b2e04de0d939630d882245c2243e7e47R200) Stable support (V8 4.7): - [Node.js changelog entry for version 6.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#2016-04-26-version-600-current-jasnell) - [Pull Request](nodejs/node#4106) - [Commit, with anchor to relevant line](nodejs/node@8a43a3d#diff-b2e04de0d939630d882245c2243e7e47R217) Flag removal (V8 4.9): - [Node.js changelog entry for version 6.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#2016-04-26-version-600-current-jasnell) - [Pull Request](nodejs/node#4722) - [Commit, with anchor to relevant line](nodejs/node@069e02a#diff-b2e04de0d939630d882245c2243e7e47L221)
This commit documents Node.js compatibility for function rest parameters. This mainly depends on V8 but I tracked the relevant Node versions, commits and PRs. Note that I used `4` for the version of the flag addition because `3` corresponds to the io.js fork and is not recognized as a valid `nodejs` version by the linter. Flagged support (io.js 3.0.0, V8 4.4): - [Node.js changelog entry for version 3.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_IOJS.md#2015-08-04-version-300-rvagg) - [Pull Request](nodejs/node#2022) - [Commit, with anchor to relevant line](nodejs/node@70d1f32f56#diff-b2e04de0d939630d882245c2243e7e47R200) Stable support (Node.js 6.0.0, V8 4.7): - [Node.js changelog entry for version 6.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#2016-04-26-version-600-current-jasnell) - [Pull Request](nodejs/node#4106) - [Commit, with anchor to relevant line](nodejs/node@8a43a3d#diff-b2e04de0d939630d882245c2243e7e47R217) Flag removal (Node.js 6.0.0, V8 4.9): - [Node.js changelog entry for version 6.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#2016-04-26-version-600-current-jasnell) - [Pull Request](nodejs/node#4722) - [Commit, with anchor to relevant line](nodejs/node@069e02a#diff-b2e04de0d939630d882245c2243e7e47L221)
Flagged support: - [Node.js changelog entry for version 3.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_IOJS.md#2015-08-04-version-300-rvagg) - [Pull Request](nodejs/node#2022) - [Commit, with anchor to relevant line](nodejs/node@70d1f32f56#diff-b2e04de0d939630d882245c2243e7e47R200) Stable support: - [Node.js changelog entry for version 6.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#2016-04-26-version-600-current-jasnell) - [Pull Request](nodejs/node#4106) - [Commit, with anchor to relevant line](nodejs/node@8a43a3d#diff-b2e04de0d939630d882245c2243e7e47R217) Flag removal: - [Node.js changelog entry for version 6.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#2016-04-26-version-600-current-jasnell) - [Pull Request](nodejs/node#4722) - [Commit, with anchor to relevant line](nodejs/node@069e02a#diff-b2e04de0d939630d882245c2243e7e47L221)
This commit documents Node.js compatibility for function rest parameters. This mainly depends on V8 but I tracked the relevant Node versions, commits and PRs. Flagged support (V8 4.4): - [Node.js changelog entry for version 3.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_IOJS.md#2015-08-04-version-300-rvagg) - [Pull Request](nodejs/node#2022) - [Commit, with anchor to relevant line](nodejs/node@70d1f32f56#diff-b2e04de0d939630d882245c2243e7e47R200) Stable support (V8 4.7): - [Node.js changelog entry for version 6.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#2016-04-26-version-600-current-jasnell) - [Pull Request](nodejs/node#4106) - [Commit, with anchor to relevant line](nodejs/node@8a43a3d#diff-b2e04de0d939630d882245c2243e7e47R217) Flag removal (V8 4.9): - [Node.js changelog entry for version 6.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#2016-04-26-version-600-current-jasnell) - [Pull Request](nodejs/node#4722) - [Commit, with anchor to relevant line](nodejs/node@069e02a#diff-b2e04de0d939630d882245c2243e7e47L221)
* Update nodejs compat for javascript.function.rest_parameters This commit documents Node.js compatibility for function rest parameters. This mainly depends on V8 but I tracked the relevant Node versions, commits and PRs. Note that I used `4` for the version of the flag addition because `3` corresponds to the io.js fork and is not recognized as a valid `nodejs` version by the linter. Flagged support (io.js 3.0.0, V8 4.4): - [Node.js changelog entry for version 3.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_IOJS.md#2015-08-04-version-300-rvagg) - [Pull Request](nodejs/node#2022) - [Commit, with anchor to relevant line](nodejs/node@70d1f32f56#diff-b2e04de0d939630d882245c2243e7e47R200) Stable support (Node.js 6.0.0, V8 4.7): - [Node.js changelog entry for version 6.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#2016-04-26-version-600-current-jasnell) - [Pull Request](nodejs/node#4106) - [Commit, with anchor to relevant line](nodejs/node@8a43a3d#diff-b2e04de0d939630d882245c2243e7e47R217) Flag removal (Node.js 6.0.0, V8 4.9): - [Node.js changelog entry for version 6.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#2016-04-26-version-600-current-jasnell) - [Pull Request](nodejs/node#4722) - [Commit, with anchor to relevant line](nodejs/node@069e02a#diff-b2e04de0d939630d882245c2243e7e47L221)
The V8 team just cut the 4.9 branch so I started working on its integration.
That's still a work in progress but I'm creating the PR now because I have issues with a failing test and we will have to discuss about what we do with the V8 APIs that have been deprecated in 4.9 (as an example, I fixed the deprecation warning about String::NewFromOneByte here).
The branch cannot be built without manually copying the trace_event dependency (see nodejs/build#304)
cc @ofrobots @nodejs/v8