-
Notifications
You must be signed in to change notification settings - Fork 140
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
[2.x] Fix Crashing with Old Node.JS Versions When Manually Instrumenting #1362
[2.x] Fix Crashing with Old Node.JS Versions When Manually Instrumenting #1362
Conversation
README.md
Outdated
@@ -32,7 +32,8 @@ You can manually track more aspects of your app and system using the API describ | |||
|
|||
|
|||
|
|||
## Supported Node.JS versions | |||
## Supported Node.JS versions | |||
> *Note:* Versions of Node.JS that are not supported by the [JS Azure SDK](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) will not support AAD authentication. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a little bit confusing, we need azure/identity package to be included to use the feature, as customer need to pass an instance of a Credential object, so this extra note could cause more confusion than helping here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll reword to make it clearer what the exception to our support for older versions really is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved the note to the aadCredential description. Hopefully that makes it clearer that old versions of Node don't impact using any other scenario with the SDK.
Fix node.js versions that are not supported by the Azure SDK by conditionally loading Azure SDK packages when manually instrumenting.
Azure/azure-sdk-for-js#30217