-
Notifications
You must be signed in to change notification settings - Fork 514
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
feat(azure-functions): support azure functions v4 #2479
base: main
Are you sure you want to change the base?
Conversation
I Still have to do some manual checks for this one + docs |
Manually verified the workings of the V4 handler by using a local build of this nitro fork and deploying a Solid Start app to Azure Functions. Will verify the legacy azure-function runtime next. |
Manually verified that the legacy V3 handler still works and is still the default. |
verified cookies work on 4.x runtime (with Solid Start app) + updated docs |
Azure Static Web Apps can use |
Will update the Azure Static Web Apps preset next week too in this PR. |
Hi @supersoniko, I'm currently reseraching on how to build a preset of a v4 function to a static web app with streaming support. Can I somehow support you with building the preset or help testing it? I'm also wondering how does this PR correlate to #2477? From my point of view it may make sense to keep the I'm not sure if creating two new templates |
Hey sorry for the late response; I have been working weekends because of deadlines my company has and haven't had time to look back to this PR. It would be great to get some support on these Azure presets! I haven't looked at Nitro in a while, but iirc there's another preset that has some kind of configuration that you can give with it. If I have some time this weekend 🙏, I will look into the possibility of configuration options this weekend and report back here. |
🔗Linked issues
❓Type of change
📚 Description
I upgraded the
@azure/functions
package to the latest version, and added the configuration to support the new programming model of Azure functions V4: https://learn.microsoft.com/en-us/azure/azure-functions/functions-node-upgrade-v4?tabs=v4&pivots=programming-language-javascriptI implemented it with the date compatibility system, so it can be adopted progressively.
📝 Checklist