nitro icon indicating copy to clipboard operation
nitro copied to clipboard

[wip] feat: new azure-functions-streaming preset

Open supersoniko opened this issue 1 year ago โ€ข 5 comments

๐Ÿ”—Linked issue

#2478

โ“Type of change

  • [ ] ๐Ÿ“– Documentation (updates to the documentation, readme, or JSdoc annotations)
  • [ ] ๐Ÿž Bug fix (a non-breaking change that fixes an issue)
  • [ ] ๐Ÿ‘Œ Enhancement (improving an existing functionality like performance)
  • [x] โœจ New feature (a non-breaking change that adds functionality)
  • [ ] ๐Ÿงน Chore (updates to the build process or auxiliary tools and libraries)
  • [ ] โš ๏ธ Breaking change (fix or feature that would cause existing functionality to change)

๐Ÿ“š Description

Added a preset azure-functions-streaming which adds support for the Azure Functions V4 runtime with HTTP Streaming enabled. This allows applications (like Solid Start) that require HTTP Streaming to now work properly on Azure Functions.

I also upgraded the @azure/functions package to the latest version, which is required to support this functionality.

๐Ÿ“ Checklist

  • [x] I have linked an issue or discussion.
  • [ ] I have updated the documentation accordingly.

supersoniko avatar May 28 '24 19:05 supersoniko

To do: Update regular azure-function preset to v4

supersoniko avatar May 28 '24 22:05 supersoniko

Thanks for working on this dear Sacha. For now i have marked it as draft mainly to see if we can avoid new preset but instead add functionality to the main azure-functions (worst case via a runtime flag)


If you like to work and help on v4 support, feel free to open a new PR. Using new compatibility date system we can adopt it progressively (see netlify for reference)

pi0 avatar May 28 '24 22:05 pi0

Thanks for working on this dear Sacha. For now i have marked it as draft mainly to see if we can avoid new preset but instead add functionality to the main azure-functions (worst case via a runtime flag)


If you like to work and help on v4 support, feel free to open a new PR. Using new compatibility date system we can adopt it progressively (see netlify for reference)

Thank you for your feedback! I would love to help with v4 support and will get on it this evening. ^^

supersoniko avatar May 29 '24 06:05 supersoniko

@supersoniko is attempting to deploy a commit to the Nitro Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Dec 01 '25 23:12 vercel[bot]

somehow it got closed when we switched branch. Reopened mainly for reminder. We need to rebase it against latest v3/main./

pi0 avatar Dec 01 '25 23:12 pi0