Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
49893b6
Bumping DotNet version
Jun 28, 2021
b655f26
Update js sdk to 4.14rc0 as well
Jun 28, 2021
0a8cceb
update tests
Jun 28, 2021
20b0fdf
Update JS tests
Jun 28, 2021
e37c9a3
Update JS test expectation
Jun 28, 2021
b22f9f2
chore: Cherry pick 1171 and 1164 into 4.14 (#1172)
thomas-chung Jun 29, 2021
527aa16
feat: Update bot framework package deps (#1168)
thomas-chung Jun 29, 2021
d6627ba
fix: Send message to teams channel support both adapters (#1174)
EricDahlvang Jun 30, 2021
d3fe361
feat: Update package versions (#1182)
thomas-chung Jun 30, 2021
5f8ad91
Update generator package version (#1183)
thomas-chung Jun 30, 2021
307d89c
Update .NET SDK to 4.14 final (#1187)
thomas-chung Jul 1, 2021
5daab7e
move .NET tests
mdrichardson Jul 6, 2021
18217cb
Allow previews to generate version as well (#1189)
thomas-chung Jul 6, 2021
f08a504
update for CloudAdapter
mdrichardson Jul 7, 2021
00f1dce
add js test workspace
mdrichardson Jul 7, 2021
8e9da37
update packages
mdrichardson Jul 7, 2021
b6fa120
fix: nuget package version override to allow "preview" ring (#1191)
thomas-chung Jul 7, 2021
570ebf3
un-ignore tests/unit/packages dir
mdrichardson Jul 7, 2021
f80c674
lint
mdrichardson Jul 7, 2021
08c4011
fix: Send message to teams channel support both adapters
mdrichardson Jul 7, 2021
02cd57c
feat: Use preview version for RC/preview releases (#1194)
thomas-chung Jul 7, 2021
4bdd0a7
package update
mdrichardson Jul 7, 2021
0a7f14a
chore: fix netcore install steps for various deployment stages (#1196)
ryanisgrig Jul 7, 2021
52e3355
pr review adjustments
mdrichardson Jul 8, 2021
9afcb7f
lint fix
mdrichardson Jul 8, 2021
266cd63
Merge branch '4.14' into teamsTests
mdrichardson Jul 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error"
}
},
"root": true
}

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,9 @@ experimental/generator-dotnet-yeoman/node_modules
# Allow the root-level /packages/ directory or it gets confused with NuGet directories
!/[Pp]ackages/*

# Allow the packages directory under tests
!/tests/unit/[Pp]ackages/*

# Ignore correct yarn files (no zero install support)
.yarn/*
!.yarn/patches
Expand Down
2 changes: 0 additions & 2 deletions build/yaml/templates/component-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ stages:
- job: build_test_dotnet
displayName: Build and test .csproj with dotnet
steps:
- template: dotnet-install-sdk-steps.yml
- template: dotnet-build-test-steps.yml

- stage: stage_package_nuget
Expand All @@ -44,7 +43,6 @@ stages:
condition: eq(variables.ComponentType, 'codeExtension')
steps:
- template: nuget-versioning-steps.yml
- template: dotnet-install-sdk-steps.yml
- template: dotnet-package-steps.yml
- template: nuget-signing-steps.yml
- job: job_pack_nuspec
Expand Down
10 changes: 10 additions & 0 deletions build/yaml/templates/dotnet-build-test-steps.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
steps:
- task: UseDotNet@2
displayName: 'Use .Net Core sdk 2.1.x'
inputs:
version: 2.1.x

- task: UseDotNet@2
displayName: 'Use .Net Core sdk 3.1.x'
inputs:
version: 3.1.x

- task: DotNetCoreCLI@2
displayName: 'Run `dotnet restore`'
inputs:
Expand Down
10 changes: 0 additions & 10 deletions build/yaml/templates/dotnet-install-sdk-steps.yml

This file was deleted.

5 changes: 5 additions & 0 deletions build/yaml/templates/dotnet-package-steps.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
steps:
- task: UseDotNet@2
displayName: 'Use .Net Core sdk 2.1.x'
inputs:
version: 2.1.x

- task: DotNetCoreCLI@2
displayName: 'Run `dotnet publish`'
inputs:
Expand Down
2 changes: 1 addition & 1 deletion build/yaml/templates/npm-versioning-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ steps:
$deploymentRing = $deploymentRingOverride;
}

if ($deploymentRing.ToLowerInvariant() -eq "rc") {
if (($deploymentRing.ToLowerInvariant() -eq "rc") -or ($deploymentRing.ToLowerInvariant() -eq "preview")) {
$releaseCandidateNumber = "$env:RELEASECANDIDATENUMBER";
"Release Candidate Number = $releaseCandidateNumber";

Expand Down
5 changes: 0 additions & 5 deletions build/yaml/templates/nuget-signing-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
# Extra steps are required to sign the binaries of the code extensions.

steps:
- task: UseDotNet@2
displayName: 'Use .Net Core sdk 2.1.x'
inputs:
version: 2.1.x

- task: CopyFiles@2
displayName: 'Copy packages to Signing'
inputs:
Expand Down
2 changes: 1 addition & 1 deletion build/yaml/templates/nuget-versioning-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ steps:
$deploymentRing = $deploymentRingOverride;
}

if ($deploymentRing.ToLowerInvariant() -eq "rc") {
if (($deploymentRing.ToLowerInvariant() -eq "rc") -or ($deploymentRing.ToLowerInvariant() -eq "preview")) {
$releaseCandidateNumber = "$env:RELEASECANDIDATENUMBER";
"Release Candidate Number = $releaseCandidateNumber";

Expand Down
2 changes: 1 addition & 1 deletion generators/generator-bot-adaptive/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/generator-bot-adaptive",
"version": "1.0.0",
"version": "1.1.0",
"description": "Yeoman generator for creating a base bot built on the Azure Bot Framework and the Adaptive stack.",
"keywords": [
"microsoft",
Expand Down
4 changes: 2 additions & 2 deletions generators/generator-bot-adaptive/platforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

const dotnet = {
name: 'dotnet',
defaultSdkVersion: '4.13.2',
defaultSdkVersion: '4.14.0',
};

const js = {
name: 'js',
defaultSdkVersion: '4.13.4-preview',
defaultSdkVersion: '4.14.0-preview.rc1',
};

module.exports = { dotnet, js };
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe(`generator-bot-adaptive --platform ${platform} --integration ${integrat
{
botName,
packageReferences: '',
sdkVersion: '4.13.2',
sdkVersion: '4.14.0',
}
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe(`generator-bot-adaptive --platform ${platform} --integration ${integrat
{
botName,
packageReferences: '',
sdkVersion: '4.13.2',
sdkVersion: '4.14.0',
}
);

Expand Down
6 changes: 3 additions & 3 deletions generators/generator-bot-adaptive/test/js-functions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ describe(`generator-bot-adaptive --platform ${platform} --integration ${integrat
},
dependencies: {
'cross-env': 'latest',
'botbuilder-ai-luis': '4.13.4-preview',
'botbuilder-ai-qna': '4.13.4-preview',
'botbuilder-ai-luis': '4.14.0-preview.rc1',
'botbuilder-ai-qna': '4.14.0-preview.rc1',
'botbuilder-dialogs-adaptive-runtime-integration-azure-functions':
'4.13.4-preview',
'4.14.0-preview.rc1',
},
};

Expand Down
6 changes: 3 additions & 3 deletions generators/generator-bot-adaptive/test/js-webapp.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ describe(`generator-bot-adaptive --platform ${platform} --integration ${integrat
},
dependencies: {
'cross-env': 'latest',
'botbuilder-ai-luis': '4.13.4-preview',
'botbuilder-ai-qna': '4.13.4-preview',
'botbuilder-ai-luis': '4.14.0-preview.rc1',
'botbuilder-ai-qna': '4.14.0-preview.rc1',
'botbuilder-dialogs-adaptive-runtime-integration-express':
'4.13.4-preview',
'4.14.0-preview.rc1',
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ const packageReferences = {
[platforms.dotnet.name]: [
{
name: 'Microsoft.Bot.Components.HelpAndCancel',
version: '1.0.0',
version: '1.1.0-preview.0',
},
],
[platforms.js.name]: [
{ name: '@microsoft/bot-components-helpandcancel', version: 'latest' },
{ name: '@microsoft/bot-components-helpandcancel', version: 'next' },
],
};

Expand Down
4 changes: 2 additions & 2 deletions generators/generator-bot-core-assistant/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/generator-bot-core-assistant",
"version": "1.0.0",
"version": "1.1.0",
"description": "Yeoman generator for creating an assistant-style bot with NLP built on the Azure Bot Framework.",
"keywords": [
"microsoft",
Expand All @@ -24,7 +24,7 @@
"lint": "eslint -c ../../.eslintrc.json ."
},
"dependencies": {
"@microsoft/generator-bot-adaptive": "workspace:^1.0.0",
"@microsoft/generator-bot-adaptive": "workspace:^1.1.0-preview.0",
"yeoman-generator": "^2.0.5",
"yeoman-test": "^1.9.1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ const packageReferences = {
[platforms.dotnet.name]: [
{
name: 'Microsoft.Bot.Components.HelpAndCancel',
version: '1.0.0',
version: '1.1.0-preview.0',
},
{
name: 'Microsoft.Bot.Components.Welcome',
version: '1.0.0',
version: '1.1.0-preview.0',
},
],
[platforms.js.name]: [
{ name: '@microsoft/bot-components-helpandcancel', version: 'latest' },
{ name: '@microsoft/bot-components-welcome', version: 'latest' },
{ name: '@microsoft/bot-components-helpandcancel', version: 'next' },
{ name: '@microsoft/bot-components-welcome', version: 'next' },
],
};

Expand Down
4 changes: 2 additions & 2 deletions generators/generator-bot-core-language/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/generator-bot-core-language",
"version": "1.0.0",
"version": "1.1.0",
"description": "Yeoman generator for creating a simple conversational bot with NLP built on the Azure Bot Framework.",
"keywords": [
"microsoft",
Expand All @@ -26,7 +26,7 @@
"lint": "eslint -c ../../.eslintrc.json ."
},
"dependencies": {
"@microsoft/generator-bot-adaptive": "workspace:^1.0.0",
"@microsoft/generator-bot-adaptive": "workspace:^1.1.0",
"yeoman-generator": "^2.0.5",
"yeoman-test": "^1.9.1"
},
Expand Down
4 changes: 2 additions & 2 deletions generators/generator-bot-core-qna/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/generator-bot-core-qna",
"version": "1.0.0",
"version": "1.1.0",
"description": "Yeoman generator for creating a bot and connecting to a QnA Maker knowledge base.",
"keywords": [
"microsoft",
Expand All @@ -23,7 +23,7 @@
"lint": "eslint -c ../../.eslintrc.json ."
},
"dependencies": {
"@microsoft/generator-bot-adaptive": "workspace:^1.0.0",
"@microsoft/generator-bot-adaptive": "workspace:^1.1.0-preview.0",
"yeoman-generator": "^2.0.5",
"yeoman-test": "^1.9.1"
},
Expand Down
4 changes: 2 additions & 2 deletions generators/generator-bot-empty/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/generator-bot-empty",
"version": "1.0.0",
"version": "1.1.0",
"description": "Yeoman generator for creating an empty bot built on the Azure Bot Framework.",
"keywords": [
"microsoft",
Expand All @@ -26,7 +26,7 @@
"lint": "eslint -c ../../.eslintrc.json ."
},
"dependencies": {
"@microsoft/generator-bot-adaptive": "workspace:^1.0.0",
"@microsoft/generator-bot-adaptive": "workspace:^1.1.0-preview.0",
"yeoman-generator": "^2.0.5",
"yeoman-test": "^1.9.1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = class extends BaseGenerator {
{
isPlugin: true,
name: 'Microsoft.Bot.Builder.AI.Orchestrator',
version: '4.13.2',
version: '4.14.0',
},
],
modifyApplicationSettings: (appSettings) => {
Expand Down
8 changes: 4 additions & 4 deletions generators/generator-bot-enterprise-assistant/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/generator-bot-enterprise-assistant",
"version": "1.0.0",
"version": "1.1.0",
"description": "Yeoman generator for creating an enterprise assistant, with a root bot and two skills built on the Azure Bot Framework.",
"keywords": [
"microsoft",
Expand All @@ -25,9 +25,9 @@
"lint": "eslint -c ../../.eslintrc.json ."
},
"dependencies": {
"@microsoft/generator-bot-adaptive": "workspace:^1.0.0",
"@microsoft/generator-bot-enterprise-calendar": "workspace:^1.0.0",
"@microsoft/generator-bot-enterprise-people": "workspace:^1.0.0",
"@microsoft/generator-bot-adaptive": "workspace:^1.1.0-preview.0",
"@microsoft/generator-bot-enterprise-calendar": "workspace:^1.1.0-preview.0",
"@microsoft/generator-bot-enterprise-people": "workspace:^1.1.0-preview.0",
"uuid": "^8.3.2",
"yeoman-generator": "^2.0.5",
"yeoman-test": "^1.9.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = class extends BaseGenerator {
{
isPlugin: true,
name: 'Microsoft.Bot.Components.Graph',
version: '1.0.0',
version: '1.1.0-preview.0',
},
],
modifyApplicationSettings: (appSettings) => {
Expand Down
4 changes: 2 additions & 2 deletions generators/generator-bot-enterprise-calendar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/generator-bot-enterprise-calendar",
"version": "1.0.0",
"version": "1.1.0",
"description": "Yeoman generator for creating an Adaptive bot built on the Azure Bot Framework using the Calendar template.",
"keywords": [
"microsoft",
Expand All @@ -24,7 +24,7 @@
"lint": "eslint ."
},
"dependencies": {
"@microsoft/generator-bot-adaptive": "workspace:^1.0.0",
"@microsoft/generator-bot-adaptive": "workspace:^1.1.0-preview.0",
"yeoman-generator": "^2.0.5",
"yeoman-test": "^1.9.1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = class extends BaseGenerator {
{
isPlugin: true,
name: 'Microsoft.Bot.Components.Graph',
version: '1.0.0',
version: '1.1.0-preview.0',
},
],
modifyApplicationSettings: (appSettings) => {
Expand Down
4 changes: 2 additions & 2 deletions generators/generator-bot-enterprise-people/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/generator-bot-enterprise-people",
"version": "1.0.0",
"version": "1.1.0",
"description": "Yeoman generator for creating an Adaptive bot built on the Azure Bot Framework using the People template.",
"keywords": [
"microsoft",
Expand All @@ -24,7 +24,7 @@
"lint": "eslint -c ../../.eslintrc.json ."
},
"dependencies": {
"@microsoft/generator-bot-adaptive": "workspace:^1.0.0",
"@microsoft/generator-bot-adaptive": "workspace:^1.1.0-preview.0",
"yeoman-generator": "^2.0.5",
"yeoman-test": "^1.9.1"
},
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"packages/*",
"packages/*/js",
"skills/declarative/*",
"testing/*"
"tests/**/js",
"!tests/functional"
],
"scripts": {
"lint": "yarn workspaces foreach run lint"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PropertyGroup>
<PackageId>Microsoft.Bot.Components.AdaptiveCards</PackageId>
<PackageProjectUrl>https://github.com/microsoft/botframework-components/tree/main/packages/AdaptiveCards</PackageProjectUrl>
<VersionPrefix>1.0.0</VersionPrefix>
<VersionPrefix>1.1.0</VersionPrefix>
<Description>Composer triggers and actions for working with Adaptive Cards.</Description>
<Summary>Composer triggers and actions for working with Adaptive Cards.</Summary>
<SignAssembly>true</SignAssembly>
Expand All @@ -20,7 +20,7 @@

<ItemGroup>
<PackageReference Include="AdaptiveCards.Templating" Version="1.2.1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs.Adaptive.Runtime" Version="4.13.2" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs.Adaptive.Runtime" Version="4.14.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading