PowerShell 7.1 Preview.1 发布

PowerShell 7.1 Preview.1 现已发布。值得注意的是,该团队还在此次更新中针对 .NET 5 preview 1 进行了构建。

PowerShell 7.1 Preview.1 中的一些更新内容如下:

重大变化

  • 对 -replace 运算符使用不变的 culture 字符串转换(#10954

Engine 更新和修复

  • 还原将 DBNull.Value 和 NullString.Value 视为 $null 的 PR(#11648

常规 Cmdlet 更新和修复

  • 修复了绑定程序代码中的操作员偏好顺序问题(#12075
  • 修复绑定 ActionPreference 类型的常用参数时的 NullReferenceException(#12124
  • 修复反序列化 MatchInfo 的默认格式(#11728
  • 在 Invoke-RestMethod 中使用异步流(#11095
  • 解决 Get-Content -Tail 中的 UTF-8 检测(#11899
  • 处理 Get-FileHash 中的 IOException(#11944
  • ......

Tools

  • 将建议的VS Code扩展名从ms-vscode.csharp更改为ms-dotnettools.csharp(#12083
  • 在 EditorConfig 中指定 csharp_preferred_modifier_order(#11775
  • 更新 .editorconfig(#11675
  • 在 OmniSharp 中启用 EditorConfig 支持(#11627
  • 在 .editorconfig 中将字符集指定为 utf-8(noBOM)(#11654
  • 配置问题标签机器人
  • 避免与自动变量冲突的变量名(#11392

......

更多详细信息可查看更新说明: https://github.com/PowerShell/PowerShell/releases

猜你喜欢

转载自www.oschina.net/news/114525/powershell-7-1-preview-1-released
7.1