Skip to content

Commit 5938ffd

Browse files
Copilotbaywet
andauthored
Merge remote-tracking branch 'refs/remotes/origin/main' into gavinbarron-xunit-mtp-main-squash-port
# Conflicts: # test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj # test/Microsoft.OpenApi.Hidi.Tests/Microsoft.OpenApi.Hidi.Tests.csproj Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
2 parents 76a74c5 + 2427ec2 commit 5938ffd

11 files changed

Lines changed: 38 additions & 36 deletions

File tree

‎.azure-pipelines/hidi-release.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,11 +400,12 @@ extends:
400400
$env:FEED_ACCESS_TOKEN = $null
401401
az acr login --name msgraphprodregistry
402402
if ($LASTEXITCODE -ne 0) { throw "ACR login failed with exit code $LASTEXITCODE." }
403-
docker run --privileged --rm tonistiigi/binfmt --install all
403+
docker run --privileged --rm msgraphprodregistry.azurecr.io/tonistiigi/binfmt --install all
404404
if ($LASTEXITCODE -ne 0) { throw "Docker platform setup failed with exit code $LASTEXITCODE." }
405405
docker buildx create --use
406406
if ($LASTEXITCODE -ne 0) { throw "Docker BuildX setup failed with exit code $LASTEXITCODE." }
407407
docker buildx build --platform linux/amd64,linux/arm64/v8 `
408+
--pull `
408409
--secret "id=nuget_config,src=$nugetConfigPath" `
409410
--tag "msgraphprodregistry.azurecr.io/public/openapi/hidi:$(HidiReleaseVersion)" `
410411
--tag "msgraphprodregistry.azurecr.io/public/openapi/hidi:latest" `
@@ -485,11 +486,12 @@ extends:
485486
$env:FEED_ACCESS_TOKEN = $null
486487
az acr login --name msgraphprodregistry
487488
if ($LASTEXITCODE -ne 0) { throw "ACR login failed with exit code $LASTEXITCODE." }
488-
docker run --privileged --rm tonistiigi/binfmt --install all
489+
docker run --privileged --rm msgraphprodregistry.azurecr.io/tonistiigi/binfmt --install all
489490
if ($LASTEXITCODE -ne 0) { throw "Docker platform setup failed with exit code $LASTEXITCODE." }
490491
docker buildx create --use
491492
if ($LASTEXITCODE -ne 0) { throw "Docker BuildX setup failed with exit code $LASTEXITCODE." }
492493
docker buildx build --platform linux/amd64,linux/arm64/v8 `
494+
--pull `
493495
--secret "id=nuget_config,src=$nugetConfigPath" `
494496
--tag "msgraphprodregistry.azurecr.io/public/openapi/hidi:$(HidiPreviewVersion)" `
495497
--tag "msgraphprodregistry.azurecr.io/public/openapi/hidi:nightly" `

‎.github/workflows/ci-cd.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
GITHUB_RUN_NUMBER: ${{ github.run_number }}
1818
steps:
1919
- name: Setup .NET
20-
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
20+
uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6.1.0
2121
with:
2222
dotnet-version: |
2323
8.0.x
@@ -145,7 +145,7 @@ jobs:
145145
if (-not (Select-String $diagramOutput -Pattern 'mermaid' -Quiet)) { throw "Expected a Mermaid diagram from hidi show." }
146146
147147
- name: Upload hidi NuGet artifact (not a release)
148-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
148+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
149149
with:
150150
name: hidi-nuget
151151
path: artifacts/hidi/nuget
@@ -166,7 +166,7 @@ jobs:
166166
contents: read
167167
steps:
168168
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
169-
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
169+
- uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6.1.0
170170
with:
171171
dotnet-version: |
172172
8.0.x
@@ -179,7 +179,7 @@ jobs:
179179
& .\artifacts\hidi\win-x64\Microsoft.OpenApi.Hidi.exe --help
180180
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
181181
Compress-Archive -Path .\artifacts\hidi\win-x64\* -DestinationPath .\artifacts\hidi\hidi-win-x64.zip
182-
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
182+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
183183
with:
184184
name: hidi-windows-executable
185185
path: |

‎.github/workflows/codeql-analysis.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ jobs:
4242
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4343

4444
- name: Setup .NET
45-
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
45+
uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6.1.0
4646
with:
4747
dotnet-version: |
4848
8.0.x
4949
10.0.x
5050
5151
# Initializes the CodeQL tools for scanning.
5252
- name: Initialize CodeQL
53-
uses: github/codeql-action/init@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2
53+
uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
5454
with:
5555
languages: ${{ matrix.language }}
5656
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -78,4 +78,4 @@ jobs:
7878
# make release
7979

8080
- name: Perform CodeQL Analysis
81-
uses: github/codeql-action/analyze@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2
81+
uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1

‎.github/workflows/release-please-gha.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Generate GitHub App token
4040
id: app-token
41-
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
41+
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
4242
with:
4343
client-id: ${{ vars.RELEASE_PLEASE_TOKEN_PROVIDER_APP_ID }}
4444
private-key: ${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM }}

‎.github/workflows/sonarcloud.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ jobs:
3636
runs-on: windows-latest
3737
steps:
3838
- name: Set up JDK 17
39-
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
39+
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
4040
with:
4141
distribution: 'temurin'
4242
java-version: 17
4343
- name: Setup .NET
44-
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
44+
uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6.1.0
4545
with:
4646
dotnet-version: |
4747
8.0.x

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
".": "3.2.1",
3-
"src/Microsoft.OpenApi.Hidi": "3.11.0"
3+
"src/Microsoft.OpenApi.Hidi": "3.11.1"
44
}

‎Directory.Build.props‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
2121
</PropertyGroup>
2222
<ItemGroup>
23-
<PackageReference Condition="!$(MSBuildProjectName.EndsWith('Tests'))" Include="Microsoft.SourceLink.GitHub" Version="10.0.401" PrivateAssets="All"/>
23+
<PackageReference Condition="!$(MSBuildProjectName.EndsWith('Tests'))" Include="Microsoft.SourceLink.GitHub" Version="10.0.402" PrivateAssets="All"/>
2424
</ItemGroup>
2525
</Project>

‎src/Microsoft.OpenApi.Hidi/CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Hidi changelog
22

3+
## [3.11.1](https://github.com/microsoft/OpenAPI.NET.OData/compare/hidi-v3.11.0...hidi-v3.11.1) (2026-11-06)
4+
5+
6+
### Bug Fixes
7+
8+
* **hidi:** retain signed assembly in official tool package ([ae0d7a6](https://github.com/microsoft/OpenAPI.NET.OData/commit/ae0d7a64a7ae76a810cb6c5e90f9e3c85cb08cbf))
9+
310
## [3.11.0](https://github.com/microsoft/OpenAPI.NET.OData/compare/hidi-v3.10.2...hidi-v3.11.0) (2026-10-09)
411

512

‎src/Microsoft.OpenApi.Hidi/Microsoft.OpenApi.Hidi.csproj‎

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<Nullable>enable</Nullable>
1010
<ToolCommandName>hidi</ToolCommandName>
1111
<PackageId>Microsoft.OpenApi.Hidi</PackageId>
12-
<Version>3.11.0</Version>
12+
<Version>3.11.1</Version>
1313
<PackageOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\hidi\nuget</PackageOutputPath>
1414
<Description>OpenAPI.NET CLI tool for slicing OpenAPI documents</Description>
1515
<SignAssembly>true</SignAssembly>
@@ -35,15 +35,15 @@
3535

3636
<ItemGroup>
3737
<PackageReference Include="Humanizer.Core" Version="3.0.10"/>
38-
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.12"/>
39-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.12"/>
38+
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.14"/>
39+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.14"/>
4040
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="10.0.12"/>
4141
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.12"/>
42-
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="18.7.23">
42+
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="18.12.1">
4343
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4444
<PrivateAssets>all</PrivateAssets>
4545
</PackageReference>
46-
<PackageReference Include="System.CommandLine" Version="2.0.12"/>
46+
<PackageReference Include="System.CommandLine" Version="2.0.13"/>
4747
<PackageReference Include="Microsoft.OData.Edm" Version="8.4.4"/>
4848
<PackageReference Include="Microsoft.OpenApi" Version="3.10.2"/>
4949
<PackageReference Include="Microsoft.OpenApi.YamlReader" Version="3.10.2"/>
@@ -70,23 +70,16 @@
7070
<None Include="./readme.md" Pack="true" PackagePath=""/>
7171
</ItemGroup>
7272

73-
<Target Name="UseHidiSignedAssemblyForPublish"
74-
AfterTargets="ComputeFilesToPublish"
75-
Condition="'$(PackAsTool)' == 'true' and '$(HidiSignedAssemblyPath)' != ''">
76-
<Error Condition="!Exists('$(HidiSignedAssemblyPath)')"
77-
Text="The signed Hidi assembly does not exist: $(HidiSignedAssemblyPath)" />
73+
<Target Name="UseHidiSignedAssemblyForPublish" AfterTargets="ComputeFilesToPublish" Condition="'$(PackAsTool)' == 'true' and '$(HidiSignedAssemblyPath)' != ''">
74+
<Error Condition="!Exists('$(HidiSignedAssemblyPath)')" Text="The signed Hidi assembly does not exist: $(HidiSignedAssemblyPath)"/>
7875
<ItemGroup>
79-
<_HidiAssemblyToReplace Include="@(ResolvedFileToPublish)"
80-
Condition="'%(ResolvedFileToPublish.RelativePath)' == '$(TargetFileName)'" />
76+
<_HidiAssemblyToReplace Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.RelativePath)' == '$(TargetFileName)'"/>
8177
</ItemGroup>
82-
<Error Condition="'@(_HidiAssemblyToReplace->Count())' != '1'"
83-
Text="Expected exactly one Hidi assembly in ResolvedFileToPublish." />
78+
<Error Condition="'@(_HidiAssemblyToReplace-&gt;Count())' != '1'" Text="Expected exactly one Hidi assembly in ResolvedFileToPublish."/>
8479
<ItemGroup>
8580
<!-- Tool packing publishes the intermediate assembly, not the bin copy. -->
86-
<ResolvedFileToPublish Remove="@(_HidiAssemblyToReplace)" />
87-
<ResolvedFileToPublish Include="$(HidiSignedAssemblyPath)"
88-
RelativePath="$(TargetFileName)"
89-
CopyToPublishDirectory="Always" />
81+
<ResolvedFileToPublish Remove="@(_HidiAssemblyToReplace)"/>
82+
<ResolvedFileToPublish Include="$(HidiSignedAssemblyPath)" RelativePath="$(TargetFileName)" CopyToPublishDirectory="Always"/>
9083
</ItemGroup>
9184
</Target>
9285

‎src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<PackageReference Include="Microsoft.OData.Edm" Version="8.4.4" />
3535
<PackageReference Include="Microsoft.OpenApi" Version="3.10.2" />
3636
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
37-
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="18.7.23">
37+
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="18.12.1">
3838
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3939
<PrivateAssets>all</PrivateAssets>
4040
</PackageReference>

0 commit comments

Comments
 (0)