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

feat: support dns-result-order Node.js cli flag #39376

Merged
merged 3 commits into from
Aug 15, 2023

Conversation

deepak1556
Copy link
Member

Description of Change

This allows applications that load 3-party plugins to provide the legacy behavior with a process wide flag. There is also dns.setDefaultResultOder but it is per thread API so cannot be used effectively in a plugin process.

Checklist

Release Notes

Notes: Add support for --dns-result-order Node.js cli flag

@deepak1556 deepak1556 requested a review from a team as a code owner August 4, 2023 13:27
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Aug 4, 2023
@deepak1556 deepak1556 added target/25-x-y PR should also be added to the "25-x-y" branch. target/26-x-y PR should also be added to the "26-x-y" branch. labels Aug 4, 2023
@deepak1556 deepak1556 requested a review from a team August 4, 2023 13:38
@deepak1556 deepak1556 added the semver/minor backwards-compatible functionality label Aug 4, 2023
Copy link
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.

API LGTM

@deepak1556 deepak1556 force-pushed the robo/support_dns_result_order branch from 926ee4c to 7e0ffa6 Compare August 9, 2023 02:45
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Aug 11, 2023
Copy link
Member

@zcbenz zcbenz left a comment

Choose a reason for hiding this comment

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

API LGTM

@zcbenz
Copy link
Member

zcbenz commented Aug 15, 2023

The patch fails to apply.

@deepak1556 deepak1556 force-pushed the robo/support_dns_result_order branch from 7e0ffa6 to 4d0608f Compare August 15, 2023 02:57
@deepak1556
Copy link
Member Author

main is now on v18.17.0 which contains dns.getDefaultResultOrder. Removed the patch.

@codebytere codebytere merged commit bee5d94 into main Aug 15, 2023
17 checks passed
@codebytere codebytere deleted the robo/support_dns_result_order branch August 15, 2023 10:19
@release-clerk
Copy link

release-clerk bot commented Aug 15, 2023

Release Notes Persisted

Add support for --dns-result-order Node.js cli flag

@trop
Copy link
Contributor

trop bot commented Aug 15, 2023

I have automatically backported this PR to "25-x-y", please check out #39500

@trop trop bot added in-flight/25-x-y and removed target/25-x-y PR should also be added to the "25-x-y" branch. labels Aug 15, 2023
@trop
Copy link
Contributor

trop bot commented Aug 15, 2023

I have automatically backported this PR to "26-x-y", please check out #39501

@trop trop bot added merged/25-x-y PR was merged to the "25-x-y" branch. merged/26-x-y PR was merged to the "26-x-y" branch. and removed target/26-x-y PR should also be added to the "26-x-y" branch. in-flight/25-x-y in-flight/26-x-y labels Aug 15, 2023
win32ss pushed a commit to win32ss/supermium-electron that referenced this pull request Sep 24, 2023
* feat: support dns-result-order Node.js cli flag

* chore: update docs

Co-authored-by: Erick Zhao <erick@hotmail.ca>

* chore: remove patch

---------

Co-authored-by: Erick Zhao <erick@hotmail.ca>
MrHuangJser pushed a commit to MrHuangJser/electron that referenced this pull request Dec 11, 2023
* feat: support dns-result-order Node.js cli flag

* chore: update docs

Co-authored-by: Erick Zhao <erick@hotmail.ca>

* chore: remove patch

---------

Co-authored-by: Erick Zhao <erick@hotmail.ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-review/approved ✅ merged/25-x-y PR was merged to the "25-x-y" branch. merged/26-x-y PR was merged to the "26-x-y" branch. semver/minor backwards-compatible functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants