azure-functions-powershell-worker icon indicating copy to clipboard operation
azure-functions-powershell-worker copied to clipboard

PowerShell 7.1 support in Azure Functions

Open stefanushinardi opened this issue 4 years ago • 5 comments

Unless there are critical fixes in the release, we currently do not plan to support PowerShell 7.1 as it is not an LTS release.

Please let us know if you have concern about this.

stefanushinardi avatar Sep 21 '20 21:09 stefanushinardi

Other than it not being an LTS is there any other reason why you aren't planning on supporting it?

Many in the PowerShell world will be looking to Functions to run the latest supported, non preview, version where possible, i.e 7.1 when that releases

kilasuit avatar Sep 22 '20 06:09 kilasuit

I Agree with @kilasuit.

I know we have an opportunity to implement Custom Handlers for languages without support but if we have this without the need to implement a local server (without serverless way). If we can choose that in the configuration or in development time it's a good way.

EwertonJordao avatar Nov 07 '20 04:11 EwertonJordao

If PowerShell 7.1 support is not planned for Azure Functions, can we at least make it possible to use the PSNullConditionalOperators experimental feature in 7.0? I've spent an hour trying to figure out why my code will run locally but not in Azure Functions, only to realize that it's behind a feature flag which cannot be changed (When I try Enable-ExperimentalFeature PSNullConditionalOperators I get access denied)

@stefanushinardi thoughts?

joeskeen avatar Dec 15 '20 04:12 joeskeen

We are currently thinking about enabling PowerShell 7.2 early, while it is still in preview. PowerShell 7.2 will become LTS, so we definitely will support it (as opposed to 7.1, which will reach end-of-life in about one year). If you could use PowerShell 7.2 (preview) in Functions soon, would you still have a strong reason to use 7.1 instead?

This is to track the Enable-ExperimentalFeature problem: #579.

AnatoliB avatar Dec 28 '20 07:12 AnatoliB

I would like to use the -UseNewRunspace parameter for the ForEach-Object cmdlet in AzFunctions. Currently it doesn't work.

Ayanmullick avatar Apr 15 '21 00:04 Ayanmullick