Skip to content

Commit d6827f9

Browse files
tracyboehrerTracy BoehrerJhontSouthsw-joelmut
authored
Tracyboehrer/4.22.8 patch release (#6847)
* Fix for Skills endorsement check (#6846) Co-authored-by: Tracy Boehrer <[email protected]> * FederatedAppCredentials and factory * add token credential authentication to BlobsTranscriptStore (#6813) * [#6741] Remove .Net Core 3.1 from projects (#6819) * Remove netcoreapp3.1 and fix System.Text.Json issue * Fix System.Formats.Asn1 security issue * Fix remaining System.Text.Json issue * Removed unused argument from FederatedAuthenticator.CreateClientApplication * Fix Microsoft.Bcl.AsyncInterfaces warning (#6837) # Conflicts: # libraries/Microsoft.Bot.Builder.Azure/Microsoft.Bot.Builder.Azure.csproj * add code ql comment about TypeNameHandling.None (#6843) --------- Co-authored-by: Tracy Boehrer <[email protected]> Co-authored-by: Jhonatan Sandoval Velasco <[email protected]> Co-authored-by: Joel Mut <[email protected]>
1 parent a810e73 commit d6827f9

File tree

65 files changed

+434
-195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+434
-195
lines changed

build/onebranch/ci-test-steps.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,12 @@ steps:
2020
customCommand: 'install -g @microsoft/botframework-cli@next'
2121

2222
- task: UseDotNet@2
23-
displayName: "Install .NET Core 3.1.415"
23+
displayName: "Install .NET Core 6.0"
2424
continueOnError: true
2525
inputs:
2626
packageType: "sdk"
27-
version: 3.1.415
28-
condition: and(succeeded(), eq(variables['BuildConfiguration'],'Release-Windows'), eq(variables['BuildTarget'],'netcoreapp31'))
29-
30-
- task: DotNetCoreCLI@2
31-
displayName: 'dotnet test (release) 3.1'
32-
inputs:
33-
command: test
34-
projects: |
35-
Tests/**/*Tests.csproj
36-
arguments: '-v n -f netcoreapp3.1 --configuration release --no-build --no-restore --filter "TestCategory!=IgnoreInAutomatedBuild&TestCategory!=FunctionalTests" --collect:"Code Coverage" --settings $(Build.SourcesDirectory)\CodeCoverage.runsettings'
37-
condition: and(succeeded(), eq(variables['BuildConfiguration'],'Release-Windows'), eq(variables['BuildTarget'],'netcoreapp31'))
27+
version: 6.x
28+
condition: and(succeeded(), eq(variables['BuildConfiguration'],'Release-Windows'), eq(variables['BuildTarget'],'net6'))
3829

3930
- task: DotNetCoreCLI@2
4031
displayName: 'dotnet test (release) 6.0'

build/onebranch/pr.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,6 @@ variables:
4242
stages:
4343
- stage: Build
4444
jobs:
45-
- job: Debug_Windows_Configuration_31
46-
variables:
47-
BuildConfiguration: Debug-Windows
48-
BuildTarget: 'netcoreapp31' # set the TargetFramework property for tests to use netcoreapp3.1
49-
steps:
50-
- template: ci-build-steps.yml
51-
- template: ci-test-steps.yml
52-
- template: ci-component-detection-steps.yml
5345
- job: Debug_Windows_Configuration_6
5446
variables:
5547
BuildConfiguration: Debug-Windows
@@ -66,14 +58,6 @@ stages:
6658
- template: ci-build-steps.yml
6759
- template: ci-test-steps.yml
6860
- template: ci-component-detection-steps.yml
69-
- job: Release_Windows_Configuration_31
70-
variables:
71-
BuildConfiguration: Release-Windows
72-
BuildTarget: 'netcoreapp31' # set the TargetFramework property for tests to use netcoreapp3.1
73-
steps:
74-
- template: ci-build-steps.yml
75-
- template: ci-test-steps.yml
76-
- template: ci-component-detection-steps.yml
7761
- job: Release_Windows_Configuration_6
7862
variables:
7963
BuildConfiguration: Release-Windows

build/yaml/botbuilder-dotnet-ci.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,6 @@ variables:
4242
stages:
4343
- stage: Build
4444
jobs:
45-
- job: Debug_Windows_Configuration_31
46-
variables:
47-
BuildConfiguration: Debug-Windows
48-
BuildTarget: 'netcoreapp31' # set the TargetFramework property for tests to use netcoreapp3.1
49-
steps:
50-
- template: ci-build-steps.yml
51-
- template: ci-test-steps.yml
52-
- template: ci-component-detection-steps.yml
5345
- job: Debug_Windows_Configuration_6
5446
variables:
5547
BuildConfiguration: Debug-Windows
@@ -66,14 +58,6 @@ stages:
6658
- template: ci-build-steps.yml
6759
- template: ci-test-steps.yml
6860
- template: ci-component-detection-steps.yml
69-
- job: Release_Windows_Configuration_31
70-
variables:
71-
BuildConfiguration: Release-Windows
72-
BuildTarget: 'netcoreapp31' # set the TargetFramework property for tests to use netcoreapp3.1
73-
steps:
74-
- template: ci-build-steps.yml
75-
- template: ci-test-steps.yml
76-
- template: ci-component-detection-steps.yml
7761
- job: Release_Windows_Configuration_6
7862
variables:
7963
BuildConfiguration: Release-Windows

build/yaml/ci-test-steps.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,12 @@ steps:
2020
customCommand: 'install -g @microsoft/botframework-cli@next'
2121

2222
- task: UseDotNet@2
23-
displayName: "Install .NET Core 3.1.415"
23+
displayName: "Install .NET Core 6.0"
2424
continueOnError: true
2525
inputs:
2626
packageType: "sdk"
27-
version: 3.1.415
28-
condition: and(succeeded(), eq(variables['BuildConfiguration'],'Release-Windows'), eq(variables['BuildTarget'],'netcoreapp31'))
29-
30-
- task: DotNetCoreCLI@2
31-
displayName: 'dotnet test (release) 3.1'
32-
inputs:
33-
command: test
34-
projects: |
35-
Tests/**/*Tests.csproj
36-
arguments: '-v n -f netcoreapp3.1 --configuration release --no-build --no-restore --filter "TestCategory!=IgnoreInAutomatedBuild&TestCategory!=FunctionalTests" --collect:"Code Coverage" --settings $(Build.SourcesDirectory)\CodeCoverage.runsettings'
37-
condition: and(succeeded(), eq(variables['BuildConfiguration'],'Release-Windows'), eq(variables['BuildTarget'],'netcoreapp31'))
27+
version: 6.x
28+
condition: and(succeeded(), eq(variables['BuildConfiguration'],'Release-Windows'), eq(variables['BuildTarget'],'net6'))
3829

3930
- task: DotNetCoreCLI@2
4031
displayName: 'dotnet test (release) 6.0'

generators/dotnet-templates/Microsoft.BotFramework.CSharp.CoreBot/content/.template.config/template.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@
4545
"description": "The target framework for the project.",
4646
"datatype": "choice",
4747
"choices": [
48-
{
49-
"choice": "netcoreapp3.1",
50-
"description": "Target netcoreapp3.1"
51-
},
5248
{
5349
"choice": "net6.0",
5450
"description": "Target net6.0"

generators/dotnet-templates/Microsoft.BotFramework.CSharp.EchoBot/content/.template.config/template.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@
4444
"description": "The target framework for the project.",
4545
"datatype": "choice",
4646
"choices": [
47-
{
48-
"choice": "netcoreapp3.1",
49-
"description": "Target netcoreapp3.1"
50-
},
5147
{
5248
"choice": "net6.0",
5349
"description": "Target net6.0"

generators/dotnet-templates/Microsoft.BotFramework.CSharp.EmptyBot/content/.template.config/template.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@
4444
"description": "The target framework for the project.",
4545
"datatype": "choice",
4646
"choices": [
47-
{
48-
"choice": "netcoreapp3.1",
49-
"description": "Target netcoreapp3.1"
50-
},
5147
{
5248
"choice": "net6.0",
5349
"description": "Target net6.0"

libraries/Microsoft.Bot.AdaptiveExpressions.Core/Microsoft.Bot.AdaptiveExpressions.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<PrivateAssets>all</PrivateAssets>
4141
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4242
</PackageReference>
43-
<PackageReference Include="System.Text.Json" Version="8.0.3" />
43+
<PackageReference Include="System.Text.Json" Version="8.0.4" />
4444
</ItemGroup>
4545

4646
<ItemGroup>

libraries/Microsoft.Bot.Builder.AI.LUIS/Microsoft.Bot.Builder.AI.Luis.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
</ItemGroup>
3232

3333
<ItemGroup>
34+
<!-- Force System.Text.Json to a safe version. -->
35+
<PackageReference Include="System.Text.Json" Version="8.0.4" />
3436
<PackageReference Include="Microsoft.Extensions.Configuration" Version="3.1.22" />
3537
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="3.1.22" />
3638
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />

libraries/Microsoft.Bot.Builder.AI.QnA/Microsoft.Bot.Builder.AI.QnA.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
</ItemGroup>
3131

3232
<ItemGroup>
33+
<!-- Force System.Text.Json to a safe version. -->
34+
<PackageReference Include="System.Text.Json" Version="8.0.4" />
3335
<PackageReference Include="Microsoft.Bot.Configuration" Condition=" '$(ReleasePackageVersion)' == '' " Version="$(LocalPackageVersion)" />
3436
<PackageReference Include="Microsoft.Bot.Configuration" Condition=" '$(ReleasePackageVersion)' != '' " Version="$(ReleasePackageVersion)" />
3537
<PackageReference Include="Microsoft.Bot.Builder.Dialogs.Declarative" Condition=" '$(ReleasePackageVersion)' == '' " Version="$(LocalPackageVersion)" />

0 commit comments

Comments
 (0)