Upgrade Node version to 24 for AzureSpringCloudV0#21971
Open
dingmeng-xue wants to merge 9 commits intomasterfrom
Open
Upgrade Node version to 24 for AzureSpringCloudV0#21971dingmeng-xue wants to merge 9 commits intomasterfrom
dingmeng-xue wants to merge 9 commits intomasterfrom
Conversation
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the Azure Spring Cloud V0 task to improve compatibility with newer Node.js versions and modernizes the development dependencies. It also refactors all test files to use asynchronous test execution patterns, ensuring better handling of asynchronous operations and errors.
Node.js compatibility and configuration updates:
Nodehandler section in bothtask.jsonandtask.loc.json, and incremented the patch version to 0.273.1. [1] [2] [3] [4]package.jsonto use newer versions of@types/node,azure-pipelines-task-lib, andtypescript, and removed unused XML-related dependencies.Test refactoring for async/await:
Tasks/AzureSpringCloudV0/Tests/to userunAsync().then().catch()instead of synchronoustry/catchblocks, improving asynchronous test handling and error reporting. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]This pull request updates theAzureSpringCloudV0task to support Node.js 24, updates several dependencies, and makes minor maintenance changes. The most important updates are grouped below.Node.js 24 Support:
Node24as a supported runtime in bothtask.jsonandtask.loc.json, enabling the task to run on Node.js 24. [1] [2]Dependency Updates:
@types/nodeto^24.10.0,azure-pipelines-task-libto^5.2.4, andtypescriptto^5.7.2inpackage.jsonto ensure compatibility with newer Node.js versions.@xmldom/xmldomandxml2jsfrompackage.jsonto clean up the dependency tree.Task and Build Metadata:
0.273.0to0.273.1in bothtask.jsonandtask.loc.json. [1] [2]tsconfig.jsonby removing unnecessary options incompilerOptionsand adjusting theexcludefield.Context
Describe the context or motivation for this PR. Include links to any related Azure DevOps Work Items or GitHub issues.
📌 How to link to ADO Work Items
Task Name
AzureSpringCloudV0
Description
Upgrade Node version to 24
Risk Assessment (Low / Medium / High)
Low
Change Behind Feature Flag (Yes / No)
No
Tech Design / Approach
Bump version only
Documentation Changes Required (Yes/No)
No
Unit Tests Added or Updated (Yes / No)
No
Additional Testing Performed
No
Logging Added/Updated (Yes/No)
No
Telemetry Added/Updated (Yes/No)
No
Rollback Scenario and Process (Yes/No)
No
Dependency Impact Assessed and Regression Tested (Yes/No)
No
Checklist