-
Notifications
You must be signed in to change notification settings - Fork 45
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
Node.js v12 support #200
Comments
Thanks for filing :) we don't have plans to support Node.js v12 until it becomes "Active LTS" instead of current. @JamieMagee - does |
Looking a bit closer at the chocolatey package history, the jump from v8.x to v10.x more closely lines up with the Active LTS date. Whoops! Never hurts to be prepared! That means that this work can be put off until October 2019. |
Awesome! Thanks for checking that. We'll do this in October! |
Update on the timeline - Active LTS for node 12 starts on 10/21, and we won't have an Active LTS version deployed and ready to use until November |
How's the process to update azure functions to the latest LTS node version usually like? Is there a way we can subscribe/be notified of updates when that happens so we know how/when to update? |
We post announcements on Azure/app-service-announcements which you can subscribe to, although this includes many announcements that are not node-related. Examples of node-related announcements here and here. cc: @ColbyTresness |
I would highly recommend using nvm for local development while Node.js v12 is still blocked. Thanks! |
It seems like node 12.9 is now supported as the option exists in the portal. I have not given a try yet though. However, I have not been able to find any updates regarding this anywhere. Is it still in beta, or is there a particular place I should be subscribing to for node version updates on App Service? Looked at the following places:
(In the latter, php versions seem to be regularly announced, but nothing mentioning node versions.) |
We haven't made the announcement for this yet, but will at some point. This issue will be updated once we have "official" support. |
Update: (Aside - the best way to increase performance for V2 is to deploy with WEBSITE_RUN_FROM_PACKAGE and use Node.js v8 or v10). I imagine one of the features that people are waiting for is worker threads. I want to mention that there is another way to get better performance on CPU-intensive async operations with V2. You can increase the number of node.exe processes that are handling requests per instance by using the the app setting FUNCTIONS_WORKER_PROCESS_COUNT. For each instance, there will be FUNCTIONS_WORKER_PROCESS_COUNT node.exe processes (default = 1). An instance can be thought of as a single server or single VM (locally, when you run |
Hi - do we have an update on when we feel Node 12 will be supported? |
@johnpapa It was announced two hours ago: Azure/app-service-announcements#216 |
Cool! I didnt know that repo existed. What's the plan for telling the world? I'll test this in the azure functions extension to see if it works ... should "just work" or if not, we should look at that. |
@johnpapa - For Functions V2, Node.js 12 is currently unblocked but not officially supported (meaning no perf optimizations and not available for Linux... you'll see a short warning when you run with 12). You can try this out today by changing WEBSITE_NODE_DEFAULT_VERSION to ~12. Functions V3 is where we will more broadly tell the world about Node.js 12 support :) A preview version with Node.js 12 will be available to run on by around the end of the week. The bits pushed out this week should be very close to those that will be shipped. We are hoping to ship (GA) by the end of this year (I think our current ETA is Dec. 23). There are some breaking changes from V2 => V3 for JavaScript, which are being (loosely...) documented here. These are largely bug fixes that have breaking impact, and there will be a setting to opt out of those breaks too. All that to say, if you want to start developing a functions with Node.js 12, my recommendations are to: wait about a week for the next functions host v3 release or use v2 for now and then switch to v3 when it is GA. |
Node.js 12 is now supported with our Azure Functions 3.0 go-live announcement: https://azure.microsoft.com/en-us/updates/announcing-go-live-release-for-azure-functions-v3/ Note: difference between go-live and "GA" (general availability) are also talked about in the link above. Specifically, see link to progress of known tooling gaps |
How can NVM be used within VSCode? I'm following this guide, and if I run:
I still get this error:
Any help is appreciated 😄 |
Also note that VS Code starts a new terminal when you start debugging, so it might not use the session in which you switched versions with |
Yes, I think the problem is that if in VS Code you click Run -> Start Debugging it starts a new terminal. If, instead, you run it from the same terminal where you use |
According to nodejs/Release, the next LTS version is Node.js, v12, is due to be released in 1 week on the 23rd April. Do you currently have a plan to support this?
Any package managers that currently target Node.js v10 for their
nodejs-lts
packages will shortly point to v12. I think this will provide a bad developer experience for anyone who upgrades.The text was updated successfully, but these errors were encountered: