From 452fccf947a380522667ae3f0f39a21845744adf Mon Sep 17 00:00:00 2001 From: Patrick Meinecke Date: Tue, 15 Aug 2023 16:59:36 -0400 Subject: [PATCH 1/3] Update ThirdPartyNotices for 7.4.0-preview.5 --- ThirdPartyNotices.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ThirdPartyNotices.txt b/ThirdPartyNotices.txt index f9d238879a..9b173d4463 100644 --- a/ThirdPartyNotices.txt +++ b/ThirdPartyNotices.txt @@ -238,7 +238,7 @@ SOFTWARE. --------------------------------------------------------- -JsonSchema.Net 4.1.6 - MIT +JsonSchema.Net 4.1.8 - MIT From f6664e8409ad5caf1fb7b04b3aee6d746f5e40c9 Mon Sep 17 00:00:00 2001 From: Patrick Meinecke Date: Thu, 17 Aug 2023 18:40:10 +0000 Subject: [PATCH 2/3] Merged PR 27216: Disambiguate the pattern for Linux FXD packages --- tools/releaseBuild/azureDevOps/releasePipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/releaseBuild/azureDevOps/releasePipeline.yml b/tools/releaseBuild/azureDevOps/releasePipeline.yml index 6955e8be12..51117ca99d 100644 --- a/tools/releaseBuild/azureDevOps/releasePipeline.yml +++ b/tools/releaseBuild/azureDevOps/releasePipeline.yml @@ -113,14 +113,14 @@ stages: jobName: FxdPackageLinux displayName: Fxd Package Test Linux imageName: ubuntu-latest - packageNamePattern: '**/*fxdependent.tar.gz' + packageNamePattern: '**/*linux-x64-fxdependent.tar.gz' - template: templates/release-ValidateFxdPackage.yml parameters: jobName: FxdPackageLinuxonARM displayName: Fxd Package Test Linux ARM64 imageName: 'PSMMSUbuntu20.04-ARM64-secure' - packageNamePattern: '**/*fxdependent.tar.gz' + packageNamePattern: '**/*linux-x64-fxdependent.tar.gz' use1ES: true - stage: StaticPkgValidation From 80f4734368ff1981d81bb2138bfb7347d67172f5 Mon Sep 17 00:00:00 2001 From: Patrick Meinecke Date: Mon, 21 Aug 2023 19:33:31 +0000 Subject: [PATCH 3/3] Merged PR 27224: Update CHANGELOG for v7.4.0-preview.5 --- CHANGELOG/preview.md | 145 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 133 insertions(+), 12 deletions(-) diff --git a/CHANGELOG/preview.md b/CHANGELOG/preview.md index 1bd020db9c..ea1e0efc49 100644 --- a/CHANGELOG/preview.md +++ b/CHANGELOG/preview.md @@ -1,5 +1,127 @@ # Current preview release +## [7.4.0-preview.5] - 2023-08-21 + +### Breaking Changes + +- Change how relative paths in `Resolve-Path` are handled when using the `RelativeBasePath` parameter (#19755) (Thanks @MartinGC94!) + +### Engine Updates and Fixes + +- Fix dynamic parameter completion (#19510) (Thanks @MartinGC94!) +- Use `OrdinalIgnoreCase` to lookup script breakpoints (#20046) (Thanks @fflaten!) +- Guard against `null` or blank path components when adding to module path (#19922) (Thanks @stevenebutler!) +- Fix deadlock when piping to shell associated file extension (#19940) +- Fix completion regression for filesystem paths with custom `PSDrive` names (#19921) (Thanks @MartinGC94!) +- Add completion for variables assigned by the `Data` statement (#19831) (Thanks @MartinGC94!) +- Fix a null reference crash in completion code (#19916) (Thanks @MartinGC94!) + +### General Cmdlet Updates and Fixes + +- Fix `Out-GridView` by implementing `Clone()` method to replace old use of binary format serialization (#20050) +- Support Unix domain socket in WebCmdlets (#19343) (Thanks @CarloToso!) +- Wait-Process: add `-Any` and `-PassThru` parameters (#19423) (Thanks @dwtaber!) +- Added the switch parameter `-CaseInsensitive` to `Select-Object` and `Get-Unique` cmdlets (#19683) (Thanks @ArmaanMcleod!) +- `Restore-Computer` and `Stop-Computer` should fail with error when not running via `sudo` on Unix (#19824) +- Add Help proxy function for non-Windows platforms (#19972) +- Remove input text from the error message resulted by `SecureString` and `PSCredential` conversion failure (#19977) (Thanks @ArmaanMcleod!) +- Add `Microsoft.PowerShell.PSResourceGet` to the telemetry module list (#19926) + +### Code Cleanup + +
+ + + +

We thank the following contributors!

+

@eltociear, @Molkree, @MartinGC94

+ +
+ +
    +
  • Fix use of ThrowIf where the arguments were reversed (#20052)
  • +
  • Fix typo in Logging.Tests.ps1 (#20048) (Thanks @eltociear!)
  • +
  • Apply the InlineAsTypeCheck in the engine code - 2nd pass (#19694) (Thanks @Molkree!)
  • +
  • Apply the InlineAsTypeCheck rule in the engine code - 1st pass (#19692) (Thanks @Molkree!)
  • +
  • Remove unused string completion code (#19879) (Thanks @MartinGC94!)
  • +
+ +
+ +### Tools + +- Give the `assignPRs` workflow write permissions (#20021) + +### Tests + +- Additional test hardening for tests which fail in release pass. (#20093) +- Don't use a completion which has a space in it (#20064) +- Fixes for release tests (#20028) +- Remove spelling CI in favor of GitHub Action (#19973) +- Hide expected error for negative test on windows for script extension (#19929) +- Add more debugging to try to determine why these test fail in release build. (#19829) + +### Build and Packaging Improvements + +
    +
  • Update ThirdPartyNotices for 7.4.0-preview.5
  • +
  • Update PSResourceGet to 0.5.24-beta24 (#20118)
  • +
  • Fix build after the change to remove win-arm32 (#20102)
  • +
  • Add comment about pinned packages (#20096)
  • +
  • Bump to .NET 8 Preview 7 (#20092)
  • +
  • Remove Win-Arm32 from release build. (#20095)
  • +
  • Add alpine framework dependent package (#19995)
  • +
  • Bump JsonSchema.Net from 4.1.8 to 5.1.3 (#20089)
  • +
  • Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 (#20088)
  • +
  • Move build to .NET 8 preview 6 (#19991)
  • +
  • Bump Microsoft.Management.Infrastructure from 2.0.0 to 3.0.0-preview.1 (#20081)
  • +
  • Bump Markdig.Signed from 0.31.0 to 0.32.0 (#20076)
  • +
  • Auto assign PR Maintainer (#20020)
  • +
  • Delete rule that was supposed to round-robin assign a maintainer (#20019)
  • +
  • Update the cgmanifest (#20012)
  • +
  • Update the cgmanifest (#20008)
  • +
  • Bump JsonSchema.Net from 4.1.7 to 4.1.8 (#20006)
  • +
  • Bump JsonSchema.Net from 4.1.6 to 4.1.7 (#20000)
  • +
  • Add mariner arm64 package build to release build (#19946)
  • +
  • Check for pre-release packages when it's a stable release (#19939)
  • +
  • Make PR creation tool use --web because it is more reliable (#19944)
  • +
  • Update to the latest NOTICES file (#19971)
  • +
  • Update variable used to bypass the blocking check for multiple NuGet feeds for release pipeline (#19963)
  • +
  • Update variable used to bypass the blocking check for multiple NuGet feeds (#19967)
  • +
  • Update README.md and metadata.json for release v7.2.13 and v7.3.6 (#19964)
  • +
  • Don't publish notice on failure because it prevent retry (#19955)
  • +
  • Change variable used to bypass nuget security scanning (#19954)
  • +
  • Update the cgmanifest (#19924)
  • +
  • Publish rpm package for rhel9 (#19750)
  • +
  • Bump XunitXml.TestLogger from 3.0.78 to 3.1.11 (#19900)
  • +
  • Bump JsonSchema.Net from 4.1.5 to 4.1.6 (#19885)
  • +
  • Bump xunit from 2.4.2 to 2.5.0 (#19902)
  • +
  • Remove HostArchitecture dynamic parameter for osxpkg (#19917)
  • +
  • FabricBot: Onboarding to GitOps.ResourceManagement because of FabricBot decommissioning (#19905)
  • +
  • Change variable used to bypass nuget security scanning (#19907)
  • +
  • Checkout history for markdown lint check (#19908)
  • +
  • Switch to GitHub Action for linting markdown (#19899)
  • +
  • Bump xunit.runner.visualstudio from 2.4.5 to 2.5.0 (#19901)
  • +
  • Add runtime and packaging type info for mariner2 arm64 (#19450)
  • +
  • Update to the latest NOTICES file (#19856)
  • +
+ + + +### Documentation and Help Content + +- Update `README.md` and `metadata.json` for `7.4.0-preview.4` release (#19872) +- Fix grammatical issue in `ADOPTERS.md` (#20037) (Thanks @nikohoffren!) +- Replace docs.microsoft.com URLs in code with FWLinks (#19996) +- Change `docs.microsoft.com` to `learn.microsoft.com` (#19994) +- Update man page to match current help for pwsh (#19993) +- Merge `7.3.5`, `7.3.6`, `7.2.12` and `7.2.13` changelogs (#19968) +- Fix ///-comments that violate the docs schema (#19957) +- Update the link for getting started in `README.md` (#19932) +- Migrate user docs to the PowerShell-Docs repository (#19871) + +[7.4.0-preview.5]: https://github.com/PowerShell/PowerShell/compare/v7.4.0-preview.4...v7.4.0-preview.5 + ## [7.4.0-preview.4] - 2023-06-29 ### Breaking Changes @@ -287,7 +409,7 @@ - Fix class member completion for classes with base types (#19179) (Thanks @MartinGC94!) - Add `-Path` and `-LiteralPath` parameters to `Test-Json` cmdlet (#19042) (Thanks @ArmaanMcleod!) - Allow to preserve the original HTTP method by adding `-PreserveHttpMethodOnRedirect` to Web cmdlets (#18894) (Thanks @CarloToso!) -- Webcmdlets display an error on https to http redirect (#18595) (Thanks @CarloToso!) +- Webcmdlets display an error on HTTPS to http redirect (#18595) (Thanks @CarloToso!) - Build the relative URI for links from the response in `Invoke-WebRequest` (#19092) (Thanks @CarloToso!) - Fix redirection for `-CustomMethod` `POST` in WebCmdlets (#19111) (Thanks @CarloToso!) - Dispose previous response in Webcmdlets (#19117) (Thanks @CarloToso!) @@ -437,15 +559,15 @@ - Update to the latest NOTICES file (#19169)(#19309)(#19086)(#19077) - Update supported distros in Readme (#18667) (Thanks @techguy16!) - Remove the 'Code Coverage Status' badge (#19265) -- Pull in change logs for `v7.2.10` and `v7.3.3` releases (#19219) +- Pull in changelogs for `v7.2.10` and `v7.3.3` releases (#19219) - Update tools `metadata` and `README` (#18831)(#19204)(#19014) - Update a broken link in the `README.md` (#19187) - Fix typos in comments (#19064) (Thanks @spaette!) -- Add `7.2` and `7.3` change logs (#19025) +- Add `7.2` and `7.3` changelogs (#19025) - typos (#19058) (Thanks @spaette!) - Fix typo in `dotnet-tools/README.md` (#19021) (Thanks @spaette!) - Fix up all comments to be in the proper order with proper spacing (#18619) -- Change log for `v7.4.0-preview.1` release (#18835) +- Changelog for `v7.4.0-preview.1` release (#18835) [7.4.0-preview.2]: https://github.com/PowerShell/PowerShell/compare/v7.4.0-preview.1...v7.4.0-preview.2 @@ -472,7 +594,7 @@ ### Performance - Remove some static constants from `Utils.Separators` (#18154) (Thanks @iSazonov!) -- Avoid using regex when unnecessary in `ScriptWriter` (#18348) +- Avoid using regular expression when unnecessary in `ScriptWriter` (#18348) - Use source generator for `PSVersionInfo` to improve startup time (#15603) (Thanks @iSazonov!) - Skip evaluating suggestions at startup (#18232) - Avoid using `Regex` when not necessary (#18210) @@ -487,7 +609,7 @@ - Fix `New-Item -ItemType Hardlink` to resolve target to absolute path and not allow link to itself (#18634) - Add output types to Format commands (#18746) (Thanks @MartinGC94!) - Fix the process `CommandLine` on Linux (#18710) (Thanks @jborean93!) -- Fix `SuspiciousContentChecker.Match` to detect a pre-defined string when the text starts with it (#18693) +- Fix `SuspiciousContentChecker.Match` to detect a predefined string when the text starts with it (#18693) - Switch `$PSNativeCommandUseErrorActionPreference` to `$true` when feature is enabled (#18695) - Fix `Start-Job` to check the existence of working directory using the PowerShell way (#18675) - Webcmdlets add 308 to redirect codes and small cleanup (#18536) (Thanks @CarloToso!) @@ -630,7 +752,7 @@ ### Tests -- Add `testexe.exe -echocmdline` to output raw command line received by the process on Windows (#18591) +- Add `testexe.exe -echocmdline` to output raw command-line received by the process on Windows (#18591) - Mark charset test as pending (#18511) - Skip output rendering tests on Windows Server 2012 R2 (#18382) - Increase timeout to make subsystem tests more reliable (#18380) @@ -728,14 +850,13 @@ - Change unsupported XML documentation tag (#18608) - Change public API mention of `monad` to PowerShell (#18491) - Update security reporting policy to recommend security portal for more streamlined reporting (#18437) -- Change log for v7.3.0 (#18505) (Internal 23161) +- Changelog for v7.3.0 (#18505) (Internal 23161) - Replace `msh` in public API comment based documentation with PowerShell equivalent (#18483) - Add missing XML doc elements for methods in `RunspaceFactory` (#18450) -- Change log for `v7.3.0-rc.1` (#18400) -- Update change logs for `v7.2.7` and `v7.0.13` (#18342) -- Update the change log for v7.3.0-preview.8 (#18136) +- Changelog for `v7.3.0-rc.1` (#18400) +- Update changelogs for `v7.2.7` and `v7.0.13` (#18342) +- Update the changelog for v7.3.0-preview.8 (#18136) - Add the `ConfigurationFile` option to the PowerShell help content (#18093) - Update help content about the PowerShell flag `-NonInteractive` (#17952) [7.4.0-preview.1]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.8...v7.4.0-preview.1 -