|
1 | 1 | # Preview Changelog
|
2 | 2 |
|
| 3 | +## [7.6.0-preview.4] |
| 4 | + |
| 5 | +### Breaking Changes |
| 6 | + |
| 7 | +- Fix `WildcardPattern.Escape` to escape lone backticks correctly (#25211) (Thanks @ArmaanMcleod!) |
| 8 | +- Convert `-ChildPath` parameter to `string[]` for `Join-Path` cmdlet (#24677) (Thanks @ArmaanMcleod!) |
| 9 | + |
| 10 | +PowerShell 7.6-preview.4 includes the following updated modules: |
| 11 | + |
| 12 | +- **Microsoft.PowerShell.ThreadJob** v2.2.0 |
| 13 | +- **ThreadJob** v2.1.0 |
| 14 | +The **ThreadJob** module was renamed to **Microsoft.PowerShell.ThreadJob**. There is no difference |
| 15 | +in the functionality of the module. To ensure backward compatibility for scripts that use the old |
| 16 | +name, the **ThreadJob** v2.1.0 module is a proxy module that points to the |
| 17 | +**Microsoft.PowerShell.ThreadJob** v2.2.0. |
| 18 | + |
| 19 | +### Engine Updates and Fixes |
| 20 | + |
| 21 | +- Add `PipelineStopToken` to `Cmdlet` which will be signaled when the pipeline is stopping (#24620) (Thanks @jborean93!) |
| 22 | +- Fallback to AppLocker after `WldpCanExecuteFile` (#24912) |
| 23 | +- Move .NET method invocation logging to after the needed type conversion is done for method arguments (#25022) |
| 24 | +- Fix share completion with provider and spaces (#19440) (Thanks @MartinGC94!) |
| 25 | + |
| 26 | +### General Cmdlet Updates and Fixes |
| 27 | + |
| 28 | +- Exclude `-OutVariable` assignments within the same `CommandAst` when inferring variables (#25224) (Thanks @MartinGC94!) |
| 29 | +- Fix infinite loop in variable type inference (#25206) (Thanks @MartinGC94!) |
| 30 | +- Update `Microsoft.PowerShell.PSResourceGet` version in `PSGalleryModules.csproj` (#25135) |
| 31 | +- Add tooltips for hashtable key completions (#17864) (Thanks @MartinGC94!) |
| 32 | +- Fix type inference of parameters in classic functions (#25172) (Thanks @MartinGC94!) |
| 33 | +- Improve assignment type inference (#21143) (Thanks @MartinGC94!) |
| 34 | +- Fix `TypeName.GetReflectionType()` to work when the `TypeName` instance represents a generic type definition within a `GenericTypeName` (#24985) |
| 35 | +- Remove the old fuzzy suggestion and fix the local script filename suggestion (#25177) |
| 36 | +- Improve variable type inference (#19830) (Thanks @MartinGC94!) |
| 37 | +- Fix parameter completion when script requirements fail (#17687) (Thanks @MartinGC94!) |
| 38 | +- Improve the completion for attribute arguments (#25129) (Thanks @MartinGC94!) |
| 39 | +- Fix completion that relies on pseudobinding in script blocks (#25122) (Thanks @MartinGC94!) |
| 40 | +- Don't complete duplicate command names (#21113) (Thanks @MartinGC94!) |
| 41 | +- Make `SystemPolicy` public APIs visible but non-op on Unix platforms so that they can be included in `PowerShellStandard.Library` (#25051) |
| 42 | +- Set standard handles explicitly when starting a process with `-NoNewWindow` (#25061) |
| 43 | +- Fix tooltip for variable expansion and include desc (#25112) (Thanks @jborean93!) |
| 44 | +- Add type inference for functions without OutputType attribute and anonymous functions (#21127) (Thanks @MartinGC94!) |
| 45 | +- Add completion for variables assigned by command redirection (#25104) (Thanks @MartinGC94!) |
| 46 | +- Handle type inference for redirected commands (#21131) (Thanks @MartinGC94!) |
| 47 | +- Allow empty prefix string in `Import-Module -Prefix` to override default prefix in manifest (#20409) (Thanks @MartinGC94!) |
| 48 | +- Update variable/property assignment completion so it can fallback to type inference (#21134) (Thanks @MartinGC94!) |
| 49 | +- Use `Get-Help` approach to find `about_*.help.txt` files with correct locale for completions (#24194) (Thanks @MartinGC94!) |
| 50 | +- Use script filepath when completing relative paths for using statements (#20017) (Thanks @MartinGC94!) |
| 51 | +- Fix completion of variables assigned inside Do loops (#25076) (Thanks @MartinGC94!) |
| 52 | +- Fix completion of provider paths when a path returns itself instead of its children (#24755) (Thanks @MartinGC94!) |
| 53 | +- Enable completion of scoped variables without specifying scope (#20340) (Thanks @MartinGC94!) |
| 54 | +- Fix issue with incomplete results when completing paths with wildcards in non-filesystem providers (#24757) (Thanks @MartinGC94!) |
| 55 | +- Allow DSC parsing through OS architecture translation layers (#24852) (Thanks @bdeb1337!) |
| 56 | + |
| 57 | +### Code Cleanup |
| 58 | + |
| 59 | +<details> |
| 60 | + |
| 61 | +<summary> |
| 62 | + |
| 63 | +<p>We thank the following contributors!</p> |
| 64 | +<p>@ArmaanMcleod, @pressRtowin</p> |
| 65 | + |
| 66 | +</summary> |
| 67 | + |
| 68 | +<ul> |
| 69 | +<li>Refactor and add comments to <code>CompletionRequiresQuotes</code> to clarify implementation (#25223) (Thanks @ArmaanMcleod!)</li> |
| 70 | +<li>Add <code>QuoteCompletionText</code> method to CompletionHelpers class (#25180) (Thanks @ArmaanMcleod!)</li> |
| 71 | +<li>Remove CompletionHelpers <code>escape</code> parameter from <code>CompletionRequiresQuotes</code> (#25178) (Thanks @ArmaanMcleod!)</li> |
| 72 | +<li>Refactor CompletionHelpers <code>HandleDoubleAndSingleQuote</code> to have less nesting logic (#25179) (Thanks @ArmaanMcleod!)</li> |
| 73 | +<li>Make the use of Oxford commas consistent (#25139)(#25140)(Thanks @pressRtowin!)</li> |
| 74 | +<li>Move common completion methods to CompletionHelpers class (#25138) (Thanks @ArmaanMcleod!)</li> |
| 75 | +<li>Return <code>Array.Empty</code> instead of collection <code>[]</code> (#25137) (Thanks @ArmaanMcleod!)</li> |
| 76 | +</ul> |
| 77 | + |
| 78 | +</details> |
| 79 | + |
| 80 | +### Tools |
| 81 | + |
| 82 | +- Check GH token availability for Get-Changelog (#25133) |
| 83 | + |
| 84 | +### Tests |
| 85 | + |
| 86 | +- Add XUnit test for `HandleDoubleAndSingleQuote` in CompletionHelpers class (#25181) (Thanks @ArmaanMcleod!) |
| 87 | + |
| 88 | +### Build and Packaging Improvements |
| 89 | + |
| 90 | +<details> |
| 91 | + |
| 92 | +<ul> |
| 93 | +<li>Switch to ubuntu-lastest for CI (#25247)</li> |
| 94 | +<li>Update outdated package references (#25026)(#25232)</li> |
| 95 | +<li>Bump <code>Microsoft.PowerShell.ThreadJob</code> and <code>ThreadJob</code> modules (#25232)</li> |
| 96 | +<li>Bump github/codeql-action from 3.27.9 to 3.28.13 (#25218)(#25231)</li> |
| 97 | +<li>Update .NET SDK to <code>10.0.100-preview.2</code> (#25154)(#25225)</li> |
| 98 | +<li>Remove obsolete template from Windows Packaging CI (#25226)</li> |
| 99 | +<li>Bump actions/upload-artifact from 4.5.0 to 4.6.2 (#25220)</li> |
| 100 | +<li>Bump agrc/reminder-action from 1.0.15 to 1.0.16 (#25222)</li> |
| 101 | +<li>Bump actions/checkout from 2 to 4 (#25221)</li> |
| 102 | +<li>Add <code>NoWarn NU1605</code> to System.ServiceModel.* (#25219)</li> |
| 103 | +<li>Bump actions/github-script from 6 to 7 (#25217)</li> |
| 104 | +<li>Bump ossf/scorecard-action from 2.4.0 to 2.4.1 (#25216)</li> |
| 105 | +<li>Bump super-linter/super-linter from 7.2.1 to 7.3.0 (#25215)</li> |
| 106 | +<li>Bump agrc/create-reminder-action from 1.1.16 to 1.1.17 (#25214)</li> |
| 107 | +<li>Remove dependabot updates that don't work (#25213)</li> |
| 108 | +<li>Update GitHub Actions to work in private GitHub repo (#25197)</li> |
| 109 | +<li>Cleanup old release pipelines (#25201)</li> |
| 110 | +<li>Update package pipeline windows image version (#25191)</li> |
| 111 | +<li>Skip additional packages when generating component manifest (#25102)</li> |
| 112 | +<li>Only build Linux for packaging changes (#25103)</li> |
| 113 | +<li>Remove Az module installs and AzureRM uninstalls in pipeline (#25118)</li> |
| 114 | +<li>Add GitHub Actions workflow to verify PR labels (#25145)</li> |
| 115 | +<li>Add back-port workflow using dotnet/arcade (#25106)</li> |
| 116 | +<li>Make Component Manifest Updater use neutral target in addition to RID target (#25094)</li> |
| 117 | +<li>Make sure the vPack pipeline does not produce an empty package (#24988)</li> |
| 118 | +</ul> |
| 119 | + |
| 120 | +</details> |
| 121 | + |
| 122 | +### Documentation and Help Content |
| 123 | + |
| 124 | +- Add 7.4.9 changelog (#25169) |
| 125 | +- Create changelog for 7.4.8 (#25089) |
| 126 | + |
| 127 | +[7.6.0-preview.4]: https://github.com/PowerShell/PowerShell/compare/v7.6.0-preview.3...v7.6.0-preview.4 |
| 128 | + |
3 | 129 | ## [7.6.0-preview.3]
|
4 | 130 |
|
5 | 131 | ### Breaking Changes
|
|
0 commit comments