Node 6 deprecation warning #228
Comments
Hi @brettzook, |
New versions of the task are released using Node10. |
I'm reopening the issue because i had to revert to node6 as there was some issue with some on-premises installation. I will try to contact the MS team to see what are the solutions. |
Do you have news about this case? |
Hi @gorziza, |
Seems Node10 is deprecated too. Might as well shoot for the latest LTS of Node which is like Node 14. Check here for more information |
Thanks @FilBot3 for the heads up. |
It also seems like NodeJS 16 is current LTS. https://nodejs.org/en/about/releases/ |
Hi all, The deprecation warning about Node 6 now mentions 31st of March 2022 in the build logs explicitly. Administrators of a devops tenant can check the "Disable node 6 tasks" in Azure Devops, which will block any task using Node 6. See https://dev.azure.com/-tenantname-/_settings/pipelinessettings As harsh admins can break the task any moment, while MS will do that at 31st of March 2022, and Node 14 execution handler is still on hold since 2020, then Node 10 is currently the way to go. I think Node 10 support will be extended some more months after 2022 Q1, while Node 16 would take at least another year before it's mentioned on the features timeline link above. So to have plenty of time to repair pipelines (if necessary), it would be appreciated to have a new version within a few months ;) |
I'd recommend moving to the Node10 handler. Currently, there is an internal discussion about whether a new handler is necessary at all, or if the node10 handler can simply use newer node versions in the future. The internal migration to Node10 is still going on and, according to the product group, moving to newer versions of Node.js is much easier as there aren't as many breaking changes as between Node6 and Node10. |
Thanks @gitnubster and @ReneSchumacher for your insight, |
@qetza Afaik, you can have both handlers, the node and node10. The task will then prefer the node10 handler on newer systems and fall back to the node handler on older versions of TFS. Of course, this only works if you don't have to do code changes that are incompatible with Node.js 6.x. Might be worth testing, as it would not need a major version update. |
@ReneSchumacher, the task has no incompatibility with node6 and node10. I've already tried to deploy a minor version with just the change to the handler (changed the execution handler to |
@qetza any update on this? Do you plan to publish a new major version anytime soon? |
New version 5 of the task was released which is executing on node10. Please be award that the v5 was based on the v4 so all breaking change of v4 applies to v5. |
So for the execution of this version we need to change the version number in the task name right?
|
Hi @mtlosquintero, |
Hello,
I'm noticing this warning in the last day or two from the deployment logs when using the Replace Tokens task:
It's working fine and doesn't seem urgent, just wanted to make you aware.
Thanks for a great tool.
The text was updated successfully, but these errors were encountered: