-
Notifications
You must be signed in to change notification settings - Fork 54
Upgrade to PowerShell 7.4 #900
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
Conversation
9c6fa8c to
93deda1
Compare
93deda1 to
3a24303
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A minor change requested for the README.md and a clarifying question
96a40af to
5627df6
Compare
michaelpeng36
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
AnatoliB
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ac94ce8 to
b14fe2f
Compare
b14fe2f to
d185932
Compare
|
@AnatoliB / @michaelpeng36 / @davidmrdavid -- I have updated the PR description with all the changes for the |
d185932 to
70421e3
Compare
… deserializing JSON
70421e3 to
894ab06
Compare
davidmrdavid
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just left a suggestion on naming
|
LGTM |
davidmrdavid
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after reviewing updates as well
b6d2720 to
f5ea212
Compare
* Upgrade to PowerShell SDK 7.4.0-preview.1 * Upgrade to .NET SDK 7.0 * Update README.md to target net7.0 and PowerShell 7.4 * Upgrade TargetFramework to net7.0 * Update tests: Convertfrom-Json returns an ordered hashtable * Reset build counter for PowerShell 7.4 * Update package id to Microsoft.Azure.Functions.PowerShellWorker.PS7.4 * Add PowerShell 7.4 to the list of supported versions * Update E2E tests to target PowerShell 7.4 * Remove logic to create case-insensitive hashtable from the ConvertFromJson output * Update tests * Add support to update the PowerShell 7.2 and 7.4 language workers in the Core Tools * Try to create a case insensitive Hashtable for the DurableClient when deserializing JSON * Update ConvertFromJson logic for Durable client * Add test case to validate TypedDataToCaseInsensitiveHashtable deserialization * Update build.ps1 logging
Issue describing the changes in this PR
This PR contains the following changes:
devbranch will build thePowerShell 7.4language worker. Changes that are applicable to thePowerShell 7.2language worker will need to be cherry-picked from thedevto thev4.x/ps7.2branchMicrosoft.Azure.Functions.PowerShellWorker.PS7.4, version4.0.001PowerShell 7.4ConvertFromJsonreturns an ordered hashtable instead of a hashtable. This is a breaking change in the PowerShell language worker (Please see [PowerShell 7.4 Breaking Change] Document case-sensitivity breaking change #909 for more information).In addition, in previous versions of the language worker, we had logic to try to create a case-insensitive hashtable from the output
ConvertFromJson. ForPowerShell 7.4language worker, we are removing this logic and just returning the output ofConvertFromJson. However, for theDurableClient, we will continue to create the case-insensitive hashtable, so that we can call into thecmdletsof theMicrosoft.Azure.Functions.PowerShellWorker.psm1module without having to worry about the casing.Pull request checklist
release_notes.mdAdditional information
Additional PR information