2021-05-31 11:14:24
PowerShell 7.2-preview.6 is out!Experimental Features- [Breaking Change] Update prediction interface to provide additional feedback to a predictor plugin
Performance- Avoid collecting logs in buffer if a pipeline execution event is not going to be logged
- Avoid allocation in LanguagePrimitives.UpdateTypeConvertFromTypeTable
- Replace Directory.GetDirectories with Directory.EnumerateDirectories to avoid array allocations
- Use List.ConvertAll instead of LINQ
General Cmdlet Updates and Fixes- Use AllocConsole before initializing CLR to ensure codepage is correct for WinRM remoting
- Add completions for #requires statements
- Add completions for comment-based help keywords
- Move cross platform DSC code to a PowerShell engine subsystem
- Fix Minimal progress view to handle activity that is longer than console width
- Handle exception if ConsoleHost tries to set cursor out of bounds because screen buffer changed
- Fix NullReferenceException in DSC ClearCache()
- Update ControlSequenceLength to handle colon as a virtual terminal parameter separator
- Update the summary comment for StopTranscriptCmdlet.cs
- Remove the unusable alias d for the -Directory parameter from Get-ChildItem
- Fix tab completion for un-localized about topics
- Remove the unneeded SSH stdio handle workaround
- Add LoadAssemblyFromNativeMemory API to load assemblies from memory in a native PowerShell host
- Re-implement Remove-Item OneDrive support
- Kill native processes in pipeline when pipeline is disposed on Unix
- Default to MTA on Windows platforms where STA is not supported
292 views08:14