Skip to content

Conversation

@hayemaxi
Copy link
Contributor

@hayemaxi hayemaxi commented Nov 25, 2024

Use Node 20 using microsoft guidance: https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-build-task?view=azure-devops#q-how-can-i-upgrade-my-custom-task-to-the-latest-node

Keep Node 10 as a fallback.

Adding support requires a hacky patch to fix shell.js, which doesn't support bundlers.
Mitigates the issue described in #539

Addresses #566

Credit to ivanduplenskikh: https://github.com/ivanduplenskikh/aws-toolkit-azure-devops/pull/1

Checklist

  • I have read the README document
  • I have read the CONTRIBUTING document
  • My code follows the code style of this project
  • I have added tests to cover my changes
  • A short description of the change has been added to the changelog using the script npm run newChange

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@hayemaxi hayemaxi force-pushed the node10 branch 14 times, most recently from 345c5ff to 6229150 Compare November 25, 2024 22:08
@venugopal508
Copy link

@hayemaxi please review this PR and merge...

we are waiting for these changes merged and for the new release...

so that we can avoid the warning Awsshellscriot@1 support node 10 end of life

Addresses aws#566. Use Node 20 using microsoft guidance: https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-build-task?view=azure-devops#q-how-can-i-upgrade-my-custom-task-to-the-latest-node

Keep Node 10 as a fallback. However, we are still building the node10 with esbuild to ensure backwards compatibility. In the future, we can consider building for a higher node version only.

Adding support requires a hacky patch to fix shell.js, which doesn't support bundlers.
Mitigates the issue described in aws#539

Credit to ivanduplenskikh:  https://github.com/ivanduplenskikh/aws-toolkit-azure-devops/pull/1

Co-authored-by: Ivan Duplenskikh <[email protected]>
@hayemaxi hayemaxi marked this pull request as ready for review December 2, 2024 21:16
@hayemaxi hayemaxi requested a review from a team as a code owner December 2, 2024 21:16
@venugopal508
Copy link

@nkomonen-amazon thanks for the quick around reviewing... @hayemaxi please merge this and release the new version

@hayemaxi hayemaxi merged commit d6157e0 into aws:master Dec 3, 2024
2 checks passed
@venugopal508
Copy link

@hayemaxi thanks for the quick review and merging the PR

@venugopal508
Copy link

@hayemaxi Please do release for the latest changes

@venugopal508
Copy link

@hayemaxi when we can expect the new version of release with these changes ?

@hayemaxi
Copy link
Contributor Author

The changes have been released in v1.18.0

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.

3 participants